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