#[repr(transparent)]pub struct Usbintr(pub u32);Expand description
USB Interrupt Enable register
Tuple Fields§
§0: u32Implementations§
Source§impl Usbintr
impl Usbintr
Sourcepub const fn set_pcde(&mut self, val: bool)
pub const fn set_pcde(&mut self, val: bool)
Port Change Detect Interrupt Enable: 1: enable 0: disable.
Sourcepub const fn set_flre(&mut self, val: bool)
pub const fn set_flre(&mut self, val: bool)
Frame List Rollover Interrupt Enable: 1: enable 0: disable.
Sourcepub const fn set_atl_irq_e(&mut self, val: bool)
pub const fn set_atl_irq_e(&mut self, val: bool)
ATL IRQ Enable bit: 1: enable 0: disable.
Sourcepub const fn set_iso_irq_e(&mut self, val: bool)
pub const fn set_iso_irq_e(&mut self, val: bool)
ISO IRQ Enable bit: 1: enable 0: disable.
Sourcepub const fn set_int_irq_e(&mut self, val: bool)
pub const fn set_int_irq_e(&mut self, val: bool)
INT IRQ Enable bit: 1: enable 0: disable.
Trait Implementations§
impl Copy for Usbintr
impl Eq for Usbintr
impl StructuralPartialEq for Usbintr
Auto Trait Implementations§
impl Freeze for Usbintr
impl RefUnwindSafe for Usbintr
impl Send for Usbintr
impl Sync for Usbintr
impl Unpin for Usbintr
impl UnwindSafe for Usbintr
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