Struct stm32f4xx_hal::pac::otg_hs_host::hcint5::W
source · pub struct W(/* private fields */);
Expand description
Register HCINT5
writer
Implementations§
source§impl W
impl W
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed
sourcepub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 1>
pub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 1>
Bit 1 - Channel halted
sourcepub fn ahberr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 2>
pub fn ahberr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 2>
Bit 2 - AHB error
sourcepub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 3>
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 3>
Bit 3 - STALL response received interrupt
sourcepub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 4>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 4>
Bit 4 - NAK response received interrupt
sourcepub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 5>
pub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 5>
Bit 5 - ACK response received/transmitted interrupt
sourcepub fn nyet(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 6>
pub fn nyet(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 6>
Bit 6 - Response received interrupt
sourcepub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 7>
pub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 7>
Bit 7 - Transaction error
sourcepub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 8>
pub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 8>
Bit 8 - Babble error
sourcepub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 9>
pub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 9>
Bit 9 - Frame overrun
sourcepub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 10>
pub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT5_SPEC, bool, BitM, 10>
Bit 10 - Data toggle error
Methods from Deref<Target = W<HCINT5_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