#[repr(transparent)]pub struct Intsetstat(pub u32);Expand description
USB set interrupt status register
Tuple Fields§
§0: u32Implementations§
Source§impl Intsetstat
impl Intsetstat
Sourcepub const fn ep_set_int(&self) -> u16
pub const fn ep_set_int(&self) -> u16
If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.
Sourcepub const fn set_ep_set_int(&mut self, val: u16)
pub const fn set_ep_set_int(&mut self, val: u16)
If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.
Sourcepub const fn frame_set_int(&self) -> bool
pub const fn frame_set_int(&self) -> bool
If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.
Sourcepub const fn set_frame_set_int(&mut self, val: bool)
pub const fn set_frame_set_int(&mut self, val: bool)
If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.
Sourcepub const fn dev_set_int(&self) -> bool
pub const fn dev_set_int(&self) -> bool
If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.
Sourcepub const fn set_dev_set_int(&mut self, val: bool)
pub const fn set_dev_set_int(&mut self, val: bool)
If software writes a one to one of these bits, the corresponding USB interrupt status bit is set.
Trait Implementations§
Source§impl Clone for Intsetstat
impl Clone for Intsetstat
Source§fn clone(&self) -> Intsetstat
fn clone(&self) -> Intsetstat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Intsetstat
impl Debug for Intsetstat
Source§impl Default for Intsetstat
impl Default for Intsetstat
Source§fn default() -> Intsetstat
fn default() -> Intsetstat
Returns the “default value” for a type. Read more
Source§impl PartialEq for Intsetstat
impl PartialEq for Intsetstat
impl Copy for Intsetstat
impl Eq for Intsetstat
impl StructuralPartialEq for Intsetstat
Auto Trait Implementations§
impl Freeze for Intsetstat
impl RefUnwindSafe for Intsetstat
impl Send for Intsetstat
impl Sync for Intsetstat
impl Unpin for Intsetstat
impl UnwindSafe for Intsetstat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more