pub struct W(_);
Expand description
Register TX_PAYSZR
writer
Implementations
sourceimpl W
impl W
sourcepub fn txpaysz(&mut self) -> TXPAYSZ_W<'_, 0>
pub fn txpaysz(&mut self) -> TXPAYSZ_W<'_, 0>
Bits 0:9 - Payload size yet to transmit The bitfield is modified by software and by hardware. It contains the number of bytes of a payload (including header but excluding CRC) yet to transmit: each time a data byte is written into the UCPD_TXDR register, the bitfield value decrements and the TXIS bit is set, except when the bitfield value reaches zero. The enumerated values are standard payload sizes before the start of transmission.
Methods from Deref<Target = W<TX_PAYSZR_SPEC>>
Trait Implementations
sourceimpl From<W<TX_PAYSZR_SPEC>> for W
impl From<W<TX_PAYSZR_SPEC>> for W
sourcefn from(writer: W<TX_PAYSZR_SPEC>) -> Self
fn from(writer: W<TX_PAYSZR_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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