R

Type Alias R 

Source
pub type R = R<u32, CR2>;
Expand description

Reader of register CR2

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn msbfirst(&self) -> MSBFIRST_R

Bit 19 - Most significant bit first

Source

pub fn datainv(&self) -> DATAINV_R

Bit 18 - Binary data inversion

Source

pub fn txinv(&self) -> TXINV_R

Bit 17 - TX pin active level inversion

Source

pub fn rxinv(&self) -> RXINV_R

Bit 16 - RX pin active level inversion

Source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap TX/RX pins

Source

pub fn stop(&self) -> STOP_R

Bits 12:13 - STOP bits

Source

pub fn clken(&self) -> CLKEN_R

Bit 11 - Clock enable

Source

pub fn addm7(&self) -> ADDM7_R

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

Source

pub fn add(&self) -> ADD_R

Bits 24:31 - Address of the USART node