pub struct W(_);
Expand description
Register CFG
writer
Implementations
sourceimpl W
impl W
sourcepub fn paritysel(&mut self) -> PARITYSEL_W<'_>
pub fn paritysel(&mut self) -> PARITYSEL_W<'_>
Bits 4:5 - Selects what type of parity is used by the USART.
sourcepub fn stoplen(&mut self) -> STOPLEN_W<'_>
pub fn stoplen(&mut self) -> STOPLEN_W<'_>
Bit 6 - Number of stop bits appended to transmitted data. Only a single stop bit is required for received data.
sourcepub fn ctsen(&mut self) -> CTSEN_W<'_>
pub fn ctsen(&mut self) -> CTSEN_W<'_>
Bit 9 - CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART’s own RTS if loopback mode is enabled.
sourcepub fn syncen(&mut self) -> SYNCEN_W<'_>
pub fn syncen(&mut self) -> SYNCEN_W<'_>
Bit 11 - Selects synchronous or asynchronous operation.
sourcepub fn clkpol(&mut self) -> CLKPOL_W<'_>
pub fn clkpol(&mut self) -> CLKPOL_W<'_>
Bit 12 - Selects the clock polarity and sampling edge of received data in synchronous mode.
sourcepub fn oeta(&mut self) -> OETA_W<'_>
pub fn oeta(&mut self) -> OETA_W<'_>
Bit 18 - Output Enable Turnaround time enable for RS-485 operation.
sourcepub fn autoaddr(&mut self) -> AUTOADDR_W<'_>
pub fn autoaddr(&mut self) -> AUTOADDR_W<'_>
Bit 19 - Automatic Address matching enable.
Methods from Deref<Target = W<CFG_SPEC>>
Trait Implementations
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