#[repr(transparent)]pub struct Gintmsk(pub u32);
Expand description
Interrupt mask register
Tuple Fields§
§0: u32
Implementations§
Source§impl Gintmsk
impl Gintmsk
Sourcepub fn set_otgint(&mut self, val: bool)
pub fn set_otgint(&mut self, val: bool)
OTG interrupt mask
Sourcepub fn set_rxflvlm(&mut self, val: bool)
pub fn set_rxflvlm(&mut self, val: bool)
Receive FIFO non-empty mask
Sourcepub fn set_nptxfem(&mut self, val: bool)
pub fn set_nptxfem(&mut self, val: bool)
Non-periodic TxFIFO empty mask
Sourcepub fn set_ginakeffm(&mut self, val: bool)
pub fn set_ginakeffm(&mut self, val: bool)
Global non-periodic IN NAK effective mask
Sourcepub fn set_gonakeffm(&mut self, val: bool)
pub fn set_gonakeffm(&mut self, val: bool)
Global OUT NAK effective mask
Sourcepub fn set_esuspm(&mut self, val: bool)
pub fn set_esuspm(&mut self, val: bool)
Early suspend mask
Sourcepub fn set_usbsuspm(&mut self, val: bool)
pub fn set_usbsuspm(&mut self, val: bool)
USB suspend mask
Sourcepub fn set_usbrst(&mut self, val: bool)
pub fn set_usbrst(&mut self, val: bool)
USB reset mask
Sourcepub fn set_enumdnem(&mut self, val: bool)
pub fn set_enumdnem(&mut self, val: bool)
Enumeration done mask
Sourcepub fn set_isoodrpm(&mut self, val: bool)
pub fn set_isoodrpm(&mut self, val: bool)
Isochronous OUT packet dropped interrupt mask
Sourcepub fn set_epmism(&mut self, val: bool)
pub fn set_epmism(&mut self, val: bool)
Endpoint mismatch interrupt mask
Sourcepub fn set_iepint(&mut self, val: bool)
pub fn set_iepint(&mut self, val: bool)
IN endpoints interrupt mask
Sourcepub fn set_oepint(&mut self, val: bool)
pub fn set_oepint(&mut self, val: bool)
OUT endpoints interrupt mask
Sourcepub fn set_iisoixfrm(&mut self, val: bool)
pub fn set_iisoixfrm(&mut self, val: bool)
Incomplete isochronous IN transfer mask
Sourcepub const fn ipxfrm_iisooxfrm(&self) -> bool
pub const fn ipxfrm_iisooxfrm(&self) -> bool
Incomplete periodic transfer mask (host mode) / Incomplete isochronous OUT transfer mask (device mode)
Sourcepub fn set_ipxfrm_iisooxfrm(&mut self, val: bool)
pub fn set_ipxfrm_iisooxfrm(&mut self, val: bool)
Incomplete periodic transfer mask (host mode) / Incomplete isochronous OUT transfer mask (device mode)
Sourcepub fn set_fsuspm(&mut self, val: bool)
pub fn set_fsuspm(&mut self, val: bool)
Data fetch suspended mask
Sourcepub fn set_ptxfem(&mut self, val: bool)
pub fn set_ptxfem(&mut self, val: bool)
Periodic TxFIFO empty mask
Sourcepub fn set_lpmintm(&mut self, val: bool)
pub fn set_lpmintm(&mut self, val: bool)
LPM interrupt mask
Sourcepub fn set_cidschgm(&mut self, val: bool)
pub fn set_cidschgm(&mut self, val: bool)
Connector ID status change mask
Sourcepub fn set_discint(&mut self, val: bool)
pub fn set_discint(&mut self, val: bool)
Disconnect detected interrupt mask
Trait Implementations§
impl Copy for Gintmsk
impl Eq for Gintmsk
impl StructuralPartialEq for Gintmsk
Auto Trait Implementations§
impl Freeze for Gintmsk
impl RefUnwindSafe for Gintmsk
impl Send for Gintmsk
impl Sync for Gintmsk
impl Unpin for Gintmsk
impl UnwindSafe for Gintmsk
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)