#[repr(transparent)]pub struct Gintsts(pub u32);
Expand description
Core interrupt register
Tuple Fields§
§0: u32
Implementations§
Source§impl Gintsts
impl Gintsts
Sourcepub fn set_otgint(&mut self, val: bool)
pub fn set_otgint(&mut self, val: bool)
OTG interrupt
Sourcepub fn set_rxflvl(&mut self, val: bool)
pub fn set_rxflvl(&mut self, val: bool)
RxFIFO non-empty
Sourcepub fn set_nptxfe(&mut self, val: bool)
pub fn set_nptxfe(&mut self, val: bool)
Non-periodic TxFIFO empty
Sourcepub fn set_ginakeff(&mut self, val: bool)
pub fn set_ginakeff(&mut self, val: bool)
Global IN non-periodic NAK effective
Sourcepub const fn goutnakeff(&self) -> bool
pub const fn goutnakeff(&self) -> bool
Global OUT NAK effective
Sourcepub fn set_goutnakeff(&mut self, val: bool)
pub fn set_goutnakeff(&mut self, val: bool)
Global OUT NAK effective
Sourcepub fn set_usbsusp(&mut self, val: bool)
pub fn set_usbsusp(&mut self, val: bool)
USB suspend
Sourcepub fn set_usbrst(&mut self, val: bool)
pub fn set_usbrst(&mut self, val: bool)
USB reset
Sourcepub fn set_enumdne(&mut self, val: bool)
pub fn set_enumdne(&mut self, val: bool)
Enumeration done
Sourcepub fn set_isoodrp(&mut self, val: bool)
pub fn set_isoodrp(&mut self, val: bool)
Isochronous OUT packet dropped interrupt
Sourcepub fn set_iepint(&mut self, val: bool)
pub fn set_iepint(&mut self, val: bool)
IN endpoint interrupt
Sourcepub fn set_oepint(&mut self, val: bool)
pub fn set_oepint(&mut self, val: bool)
OUT endpoint interrupt
Sourcepub fn set_iisoixfr(&mut self, val: bool)
pub fn set_iisoixfr(&mut self, val: bool)
Incomplete isochronous IN transfer
Sourcepub const fn ipxfr_incompisoout(&self) -> bool
pub const fn ipxfr_incompisoout(&self) -> bool
Incomplete periodic transfer (host mode) / Incomplete isochronous OUT transfer (device mode)
Sourcepub fn set_ipxfr_incompisoout(&mut self, val: bool)
pub fn set_ipxfr_incompisoout(&mut self, val: bool)
Incomplete periodic transfer (host mode) / Incomplete isochronous OUT transfer (device mode)
Sourcepub fn set_datafsusp(&mut self, val: bool)
pub fn set_datafsusp(&mut self, val: bool)
Data fetch suspended
Sourcepub fn set_hprtint(&mut self, val: bool)
pub fn set_hprtint(&mut self, val: bool)
Host port interrupt
Sourcepub fn set_cidschg(&mut self, val: bool)
pub fn set_cidschg(&mut self, val: bool)
Connector ID status change
Sourcepub fn set_discint(&mut self, val: bool)
pub fn set_discint(&mut self, val: bool)
Disconnect detected interrupt
Sourcepub fn set_srqint(&mut self, val: bool)
pub fn set_srqint(&mut self, val: bool)
Session request/new session detected interrupt
Sourcepub fn set_wkupint(&mut self, val: bool)
pub fn set_wkupint(&mut self, val: bool)
Resume/remote wakeup detected interrupt
Trait Implementations§
impl Copy for Gintsts
impl Eq for Gintsts
impl StructuralPartialEq for Gintsts
Auto Trait Implementations§
impl Freeze for Gintsts
impl RefUnwindSafe for Gintsts
impl Send for Gintsts
impl Sync for Gintsts
impl Unpin for Gintsts
impl UnwindSafe for Gintsts
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