Struct daisy::pac::otg1_hs_host::hcint13::W
pub struct W(/* private fields */);
Expand description
Register HCINT13
writer
Implementations§
§impl W
impl W
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed
pub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 1>
pub fn chh(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 1>
Bit 1 - Channel halted
pub fn ahberr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 2>
pub fn ahberr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 2>
Bit 2 - AHB error
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 3>
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 3>
Bit 3 - STALL response received interrupt
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 4>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 4>
Bit 4 - NAK response received interrupt
pub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 5>
pub fn ack(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 5>
Bit 5 - ACK response received/transmitted interrupt
pub fn nyet(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 6>
pub fn nyet(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 6>
Bit 6 - Response received interrupt
pub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 7>
pub fn txerr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 7>
Bit 7 - Transaction error
pub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 8>
pub fn bberr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 8>
Bit 8 - Babble error
pub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 9>
pub fn frmor(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 9>
Bit 9 - Frame overrun
pub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 10>
pub fn dterr(&mut self) -> BitWriterRaw<'_, u32, HCINT13_SPEC, bool, BitM, 10>
Bit 10 - Data toggle error
Methods from Deref<Target = W<HCINT13_SPEC>>§
pub 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§
§impl From<W<HCINT13_SPEC>> for W
impl From<W<HCINT13_SPEC>> for W
§fn from(writer: W<HCINT13_SPEC>) -> W
fn from(writer: W<HCINT13_SPEC>) -> W
Converts to this type from the input type.
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