[][src]Type Definition stm32f3::stm32f303::usart1::cr2::W

type W = W<u32, CR2>;

Writer for register CR2

Methods

impl W[src]

pub fn rtoen(&mut self) -> RTOEN_W[src]

Bit 23 - Receiver timeout enable

pub fn abrmod(&mut self) -> ABRMOD_W[src]

Bits 21:22 - Auto baud rate mode

pub fn abren(&mut self) -> ABREN_W[src]

Bit 20 - Auto baud rate enable

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 linen(&mut self) -> LINEN_W[src]

Bit 14 - LIN mode enable

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 cpol(&mut self) -> CPOL_W[src]

Bit 10 - Clock polarity

pub fn cpha(&mut self) -> CPHA_W[src]

Bit 9 - Clock phase

pub fn lbcl(&mut self) -> LBCL_W[src]

Bit 8 - Last bit clock pulse

pub fn lbdie(&mut self) -> LBDIE_W[src]

Bit 6 - LIN break detection interrupt enable

pub fn lbdl(&mut self) -> LBDL_W[src]

Bit 5 - LIN break detection length

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