[][src]Type Definition stm32l0::stm32l0x3::lpuart1::cr2::W

type W = W<u32, CR2>;

Writer for register CR2

Methods

impl W[src]

pub fn msbfirst(&mut self) -> MSBFIRST_W[src]

Bit 19 - Most significant bit first

pub fn datainv(&mut self) -> DATAINV_W[src]

Bit 18 - Binary data inversion

pub fn txinv(&mut self) -> TXINV_W[src]

Bit 17 - TX pin active level inversion

pub fn rxinv(&mut self) -> RXINV_W[src]

Bit 16 - RX pin active level inversion

pub fn swap(&mut self) -> SWAP_W[src]

Bit 15 - Swap TX/RX pins

pub fn stop(&mut self) -> STOP_W[src]

Bits 12:13 - STOP bits

pub fn clken(&mut self) -> CLKEN_W[src]

Bit 11 - Clock enable

pub fn addm7(&mut self) -> ADDM7_W[src]

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

pub fn add(&mut self) -> ADD_W[src]

Bits 24:31 - Address of the USART node