Struct stm32_hal2::pac::otg1_hs_host::hcint11::W
source · [−]pub struct W(_);
Expand description
Register HCINT11
writer
Implementations
sourceimpl W
impl W
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed
sourcepub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 1>
pub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 1>
Bit 1 - Channel halted
sourcepub fn ahberr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 2>
pub fn ahberr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 2>
Bit 2 - AHB error
sourcepub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 3>
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 3>
Bit 3 - STALL response received interrupt
sourcepub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 4>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 4>
Bit 4 - NAK response received interrupt
sourcepub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 5>
pub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 5>
Bit 5 - ACK response received/transmitted interrupt
sourcepub fn nyet(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 6>
pub fn nyet(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 6>
Bit 6 - Response received interrupt
sourcepub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 7>
pub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 7>
Bit 7 - Transaction error
sourcepub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 8>
pub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 8>
Bit 8 - Babble error
sourcepub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 9>
pub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 9>
Bit 9 - Frame overrun
sourcepub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 10>
pub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT11_SPEC, bool, BitM, 10>
Bit 10 - Data toggle error
Methods from Deref<Target = W<HCINT11_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
sourceimpl From<W<HCINT11_SPEC>> for W
impl From<W<HCINT11_SPEC>> for W
sourcefn from(writer: W<HCINT11_SPEC>) -> W
fn from(writer: W<HCINT11_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more