R

Type Alias R 

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

Reader of register SR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn rxne(&self) -> RXNE_R

Bit 0 - Receive buffer not empty

Source

pub fn txe(&self) -> TXE_R

Bit 1 - Transmit buffer empty

Source

pub fn crcerr(&self) -> CRCERR_R

Bit 4 - CRC error flag

Source

pub fn modf(&self) -> MODF_R

Bit 5 - Mode fault

Source

pub fn ovr(&self) -> OVR_R

Bit 6 - Overrun flag

Source

pub fn bsy(&self) -> BSY_R

Bit 7 - Busy flag

Source

pub fn fre(&self) -> FRE_R

Bit 8 - Frame format error

Source

pub fn frlvl(&self) -> FRLVL_R

Bits 9:10 - FIFO reception level

Source

pub fn ftlvl(&self) -> FTLVL_R

Bits 11:12 - FIFO transmission level