pub struct W(/* private fields */);
Expand description
Register HCINT3
writer
Implementations§
Source§impl W
impl W
Sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed
Sourcepub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 1>
pub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 1>
Bit 1 - Channel halted
Sourcepub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 3>
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 3>
Bit 3 - STALL response received interrupt
Sourcepub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 4>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 4>
Bit 4 - NAK response received interrupt
Sourcepub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 5>
pub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 5>
Bit 5 - ACK response received/transmitted interrupt
Sourcepub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 7>
pub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 7>
Bit 7 - Transaction error
Sourcepub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 8>
pub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 8>
Bit 8 - Babble error
Sourcepub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 9>
pub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 9>
Bit 9 - Frame overrun
Sourcepub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 10>
pub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT3_SPEC, bool, BitM, 10>
Bit 10 - Data toggle error
Methods from Deref<Target = W<HCINT3_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