Struct stm32f4xx_hal::pac::otg_fs_global::gintsts::W
source · pub struct W(/* private fields */);
Expand description
Register GINTSTS
writer
Implementations§
source§impl W
impl W
sourcepub fn mmis(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 1>
pub fn mmis(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 1>
Bit 1 - Mode mismatch interrupt
sourcepub fn sof(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 3>
pub fn sof(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 3>
Bit 3 - Start of frame
sourcepub fn esusp(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 10>
pub fn esusp(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 10>
Bit 10 - Early suspend
sourcepub fn usbsusp(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 11>
pub fn usbsusp(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 11>
Bit 11 - USB suspend
sourcepub fn usbrst(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 12>
pub fn usbrst(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 12>
Bit 12 - USB reset
sourcepub fn enumdne(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 13>
pub fn enumdne(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 13>
Bit 13 - Enumeration done
sourcepub fn isoodrp(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 14>
pub fn isoodrp(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 14>
Bit 14 - Isochronous OUT packet dropped interrupt
sourcepub fn eopf(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 15>
pub fn eopf(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 15>
Bit 15 - End of periodic frame interrupt
sourcepub fn iisoixfr(
&mut self
) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 20>
pub fn iisoixfr( &mut self ) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 20>
Bit 20 - Incomplete isochronous IN transfer
sourcepub fn ipxfr_incompisoout(
&mut self
) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 21>
pub fn ipxfr_incompisoout( &mut self ) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 21>
Bit 21 - Incomplete periodic transfer(Host mode)/Incomplete isochronous OUT transfer(Device mode)
sourcepub fn cidschg(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 28>
pub fn cidschg(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 28>
Bit 28 - Connector ID status change
sourcepub fn discint(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 29>
pub fn discint(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 29>
Bit 29 - Disconnect detected interrupt
sourcepub fn srqint(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 30>
pub fn srqint(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 30>
Bit 30 - Session request/new session detected interrupt
sourcepub fn wkupint(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 31>
pub fn wkupint(&mut self) -> BitWriterRaw<'_, u32, GINTSTS_SPEC, bool, BitM, 31>
Bit 31 - Resume/remote wakeup detected interrupt
Methods from Deref<Target = W<GINTSTS_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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