[]Struct nucleo_f042k6::usart1::cr2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn rtoen(&mut self) -> _RTOENW

Bit 23 - Receiver timeout enable

pub fn abrmod(&mut self) -> _ABRMODW

Bits 21:22 - Auto baud rate mode

pub fn abren(&mut self) -> _ABRENW

Bit 20 - Auto baud rate enable

pub fn msbfirst(&mut self) -> _MSBFIRSTW

Bit 19 - Most significant bit first

pub fn datainv(&mut self) -> _DATAINVW

Bit 18 - Binary data inversion

pub fn txinv(&mut self) -> _TXINVW

Bit 17 - TX pin active level inversion

pub fn rxinv(&mut self) -> _RXINVW

Bit 16 - RX pin active level inversion

pub fn swap(&mut self) -> _SWAPW

Bit 15 - Swap TX/RX pins

pub fn linen(&mut self) -> _LINENW

Bit 14 - LIN mode enable

pub fn stop(&mut self) -> _STOPW

Bits 12:13 - STOP bits

pub fn clken(&mut self) -> _CLKENW

Bit 11 - Clock enable

pub fn cpol(&mut self) -> _CPOLW

Bit 10 - Clock polarity

pub fn cpha(&mut self) -> _CPHAW

Bit 9 - Clock phase

pub fn lbcl(&mut self) -> _LBCLW

Bit 8 - Last bit clock pulse

pub fn lbdie(&mut self) -> _LBDIEW

Bit 6 - LIN break detection interrupt enable

pub fn lbdl(&mut self) -> _LBDLW

Bit 5 - LIN break detection length

pub fn addm7(&mut self) -> _ADDM7W

Bit 4 - 7-bit Address Detection/4-bit Address Detection

pub fn add(&mut self) -> _ADDW

Bits 24:31 - Address of the USART node

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]