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