#[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. When this register is read, the same value as the USB interrupt status register is returned.
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. When this register is read, the same value as the USB interrupt status register is returned.
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. When this register is read, the same value as the USB interrupt status register is returned.
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. When this register is read, the same value as the USB interrupt status register is returned.
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. When this register is read, the same value as the USB interrupt status register is returned.
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. When this register is read, the same value as the USB interrupt status register is returned.
Trait Implementations§
Source§impl Clone for Intsetstat
impl Clone for Intsetstat
Source§fn clone(&self) -> Intsetstat
fn clone(&self) -> Intsetstat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more