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 rtoen(&self) -> RTOEN_R

Bit 23 - Receiver timeout enable

Source

pub fn abren(&self) -> ABREN_R

Bit 20 - Auto baud rate enable

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 linen(&self) -> LINEN_R

Bit 14 - LIN mode enable

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 cpol(&self) -> CPOL_R

Bit 10 - Clock polarity

Source

pub fn cpha(&self) -> CPHA_R

Bit 9 - Clock phase

Source

pub fn lbcl(&self) -> LBCL_R

Bit 8 - Last bit clock pulse

Source

pub fn lbdie(&self) -> LBDIE_R

Bit 6 - LIN break detection interrupt enable

Source

pub fn lbdl(&self) -> LBDL_R

Bit 5 - LIN break detection length

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

Source

pub fn abrmod(&self) -> ABRMOD_R

Bits 21:22 - Auto baud rate mode