#[repr(transparent)]pub struct Gintsts(pub u32);Expand description
Interrupt Register
Tuple Fields§
§0: u32Implementations§
Source§impl Gintsts
impl Gintsts
Sourcepub const fn curmod(&self) -> GintstsCurmod
pub const fn curmod(&self) -> GintstsCurmod
Mode: Host and Device. Current Mode of Operation (CurMod)
Sourcepub const fn set_curmod(&mut self, val: GintstsCurmod)
pub const fn set_curmod(&mut self, val: GintstsCurmod)
Mode: Host and Device. Current Mode of Operation (CurMod)
Sourcepub const fn set_modemis(&mut self, val: bool)
pub const fn set_modemis(&mut self, val: bool)
Mode: Host and Device. Mode Mismatch Interrupt (ModeMis)
Sourcepub const fn set_otgint(&mut self, val: bool)
pub const fn set_otgint(&mut self, val: bool)
Mode: Host and Device. OTG Interrupt (OTGInt)
Sourcepub const fn set_rxflvl(&mut self, val: bool)
pub const fn set_rxflvl(&mut self, val: bool)
Mode: Host and Device. RxFIFO Non-Empty (RxFLvl)
Sourcepub const fn nptxfemp(&self) -> bool
pub const fn nptxfemp(&self) -> bool
Mode: Host and Device. Non-periodic TxFIFO Empty (NPTxFEmp)
Sourcepub const fn set_nptxfemp(&mut self, val: bool)
pub const fn set_nptxfemp(&mut self, val: bool)
Mode: Host and Device. Non-periodic TxFIFO Empty (NPTxFEmp)
Sourcepub const fn ginnakeff(&self) -> bool
pub const fn ginnakeff(&self) -> bool
Mode: Device only. Global IN Non-periodic NAK Effective (GINNakEff)
Sourcepub const fn set_ginnakeff(&mut self, val: bool)
pub const fn set_ginnakeff(&mut self, val: bool)
Mode: Device only. Global IN Non-periodic NAK Effective (GINNakEff)
Sourcepub const fn goutnakeff(&self) -> bool
pub const fn goutnakeff(&self) -> bool
Mode: Device only. Global OUT NAK Effective (GOUTNakEff)
Sourcepub const fn set_goutnakeff(&mut self, val: bool)
pub const fn set_goutnakeff(&mut self, val: bool)
Mode: Device only. Global OUT NAK Effective (GOUTNakEff)
Sourcepub const fn set_erlysusp(&mut self, val: bool)
pub const fn set_erlysusp(&mut self, val: bool)
Mode: Device only. Early Suspend (ErlySusp)
Sourcepub const fn set_usbsusp(&mut self, val: bool)
pub const fn set_usbsusp(&mut self, val: bool)
Mode: Device only. USB Suspend (USBSusp)
Sourcepub const fn set_usbrst(&mut self, val: bool)
pub const fn set_usbrst(&mut self, val: bool)
Mode: Device only. USB Reset (USBRst)
Sourcepub const fn set_enumdone(&mut self, val: bool)
pub const fn set_enumdone(&mut self, val: bool)
Mode: Device only. Enumeration Done (EnumDone)
Sourcepub const fn isooutdrop(&self) -> bool
pub const fn isooutdrop(&self) -> bool
Mode: Device only. Isochronous OUT Packet Dropped Interrupt (ISOOutDrop)
Sourcepub const fn set_isooutdrop(&mut self, val: bool)
pub const fn set_isooutdrop(&mut self, val: bool)
Mode: Device only. Isochronous OUT Packet Dropped Interrupt (ISOOutDrop)
Sourcepub const fn set_eopf(&mut self, val: bool)
pub const fn set_eopf(&mut self, val: bool)
Mode: Device only. End of Periodic Frame Interrupt (EOPF)
Sourcepub const fn rstrdoneint(&self) -> bool
pub const fn rstrdoneint(&self) -> bool
Mode: Device only. Restore Done Interrupt (RstrDoneInt)
Sourcepub const fn set_rstrdoneint(&mut self, val: bool)
pub const fn set_rstrdoneint(&mut self, val: bool)
Mode: Device only. Restore Done Interrupt (RstrDoneInt)
Sourcepub const fn set_epmis(&mut self, val: bool)
pub const fn set_epmis(&mut self, val: bool)
Mode: Device only. Endpoint Mismatch Interrupt (EPMis)
Sourcepub const fn set_iepint(&mut self, val: bool)
pub const fn set_iepint(&mut self, val: bool)
Mode: Device only. IN Endpoints Interrupt (IEPInt)
Sourcepub const fn set_oepint(&mut self, val: bool)
pub const fn set_oepint(&mut self, val: bool)
Mode: Device only. OUT Endpoints Interrupt (OEPInt)
Sourcepub const fn incompisoin(&self) -> bool
pub const fn incompisoin(&self) -> bool
Mode: Device only. Incomplete Isochronous IN Transfer (incompISOIN)
Sourcepub const fn set_incompisoin(&mut self, val: bool)
pub const fn set_incompisoin(&mut self, val: bool)
Mode: Device only. Incomplete Isochronous IN Transfer (incompISOIN)
Sourcepub const fn set_incomplp(&mut self, val: bool)
pub const fn set_incomplp(&mut self, val: bool)
Incomplete Periodic Transfer (incomplP)
Sourcepub const fn set_fetsusp(&mut self, val: bool)
pub const fn set_fetsusp(&mut self, val: bool)
Mode: Device only. Data Fetch Suspended (FetSusp)
Sourcepub const fn set_resetdet(&mut self, val: bool)
pub const fn set_resetdet(&mut self, val: bool)
Mode: Device only. Reset detected Interrupt (ResetDet)
Sourcepub const fn set_prtint(&mut self, val: bool)
pub const fn set_prtint(&mut self, val: bool)
Mode: Host only. Host Port Interrupt (PrtInt)
Sourcepub const fn set_hchint(&mut self, val: bool)
pub const fn set_hchint(&mut self, val: bool)
Mode: Host only. Host Channels Interrupt (HChInt)
Sourcepub const fn lpmint(&self) -> bool
pub const fn lpmint(&self) -> bool
Mode: Host and Device. LPM Transaction Received Interrupt (LPM_Int).
Sourcepub const fn set_lpmint(&mut self, val: bool)
pub const fn set_lpmint(&mut self, val: bool)
Mode: Host and Device. LPM Transaction Received Interrupt (LPM_Int).
Sourcepub const fn conidstschng(&self) -> bool
pub const fn conidstschng(&self) -> bool
Mode: Host and Device. Connector ID Status Change (ConIDStsChng)
Sourcepub const fn set_conidstschng(&mut self, val: bool)
pub const fn set_conidstschng(&mut self, val: bool)
Mode: Host and Device. Connector ID Status Change (ConIDStsChng)
Sourcepub const fn disconnint(&self) -> bool
pub const fn disconnint(&self) -> bool
Mode: Host only. Disconnect Detected Interrupt (DisconnInt)
Sourcepub const fn set_disconnint(&mut self, val: bool)
pub const fn set_disconnint(&mut self, val: bool)
Mode: Host only. Disconnect Detected Interrupt (DisconnInt)
Sourcepub const fn sessreqint(&self) -> bool
pub const fn sessreqint(&self) -> bool
Mode: Host and Device. Session Request/New Session Detected Interrupt (SessReqInt)
Sourcepub const fn set_sessreqint(&mut self, val: bool)
pub const fn set_sessreqint(&mut self, val: bool)
Mode: Host and Device. Session Request/New Session Detected Interrupt (SessReqInt)
Sourcepub const fn wkupint(&self) -> bool
pub const fn wkupint(&self) -> bool
Mode: Host and Device. Resume/Remote Wakeup Detected Interrupt (WkUpInt)
Sourcepub const fn set_wkupint(&mut self, val: bool)
pub const fn set_wkupint(&mut self, val: bool)
Mode: Host and Device. Resume/Remote Wakeup Detected Interrupt (WkUpInt)
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
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)
clone_to_uninit)