Struct stm32f1xx_hal::pac::otg_fs_host::fs_hcint0::W
source · pub struct W(_);
Expand description
Register FS_HCINT0
writer
Implementations§
source§impl W
impl W
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed
sourcepub fn chh(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 1>
pub fn chh(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 1>
Bit 1 - Channel halted
sourcepub fn stall(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 3>
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 3>
Bit 3 - STALL response received interrupt
sourcepub fn nak(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 4>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 4>
Bit 4 - NAK response received interrupt
sourcepub fn ack(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 5>
pub fn ack(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 5>
Bit 5 - ACK response received/transmitted interrupt
sourcepub fn txerr(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 7>
pub fn txerr(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 7>
Bit 7 - Transaction error
sourcepub fn bberr(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 8>
pub fn bberr(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 8>
Bit 8 - Babble error
sourcepub fn frmor(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 9>
pub fn frmor(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 9>
Bit 9 - Frame overrun
sourcepub fn dterr(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 10>
pub fn dterr(&mut self) -> BitWriterRaw<'_, u32, FS_HCINT0_SPEC, bool, BitM, 10>
Bit 10 - Data toggle error
Methods from Deref<Target = W<FS_HCINT0_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.