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 add4_7(&self) -> ADD4_7_R

Bits 28:31 - Address of the USART node

Source

pub fn add0_3(&self) -> ADD0_3_R

Bits 24:27 - Address of the USART node

Source

pub fn rtoen(&self) -> RTOEN_R

Bit 23 - Receiver timeout enable

Source

pub fn abrmod1(&self) -> ABRMOD1_R

Bit 22 - Auto baud rate mode

Source

pub fn abrmod0(&self) -> ABRMOD0_R

Bit 21 - ABRMOD0

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 tainv(&self) -> TAINV_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 dis_nss(&self) -> DIS_NSS_R

Bit 3 - When the DSI_NSS bit is set, the NSS pin input will be ignored

Source

pub fn slven(&self) -> SLVEN_R

Bit 0 - Synchronous Slave mode enable