Type Alias gd32f1::gd32f130::usart0::stat::R

source ·
pub type R = R<StatSpec>;
Expand description

Register STAT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn perr(&self) -> PerrR

Bit 0 - Parity error flag

source

pub fn ferr(&self) -> FerrR

Bit 1 - Frame error flag

source

pub fn nerr(&self) -> NerrR

Bit 2 - Noise error flag

source

pub fn orerr(&self) -> OrerrR

Bit 3 - Overrun error

source

pub fn idlef(&self) -> IdlefR

Bit 4 - IDLE line detected flag

source

pub fn rbne(&self) -> RbneR

Bit 5 - Read data buffer not empty

source

pub fn tc(&self) -> TcR

Bit 6 - Transmission complete

source

pub fn tbe(&self) -> TbeR

Bit 7 - Transmit data register empty

source

pub fn lbdf(&self) -> LbdfR

Bit 8 - LIN break detection flag

source

pub fn ctsf(&self) -> CtsfR

Bit 9 - CTS change flag

source

pub fn cts(&self) -> CtsR

Bit 10 - CTS level

source

pub fn rtf(&self) -> RtfR

Bit 11 - Receiver timeout

source

pub fn ebf(&self) -> EbfR

Bit 12 - End of block flag

source

pub fn abde(&self) -> AbdeR

Bit 14 - Auto baudrate detection error

source

pub fn abdf(&self) -> AbdfR

Bit 15 - Auto baudrate detection flag

source

pub fn bsy(&self) -> BsyR

Bit 16 - Busy flag

source

pub fn amf(&self) -> AmfR

Bit 17 - ADDR match flag

source

pub fn sbf(&self) -> SbfR

Bit 18 - Send break flag

source

pub fn rwu(&self) -> RwuR

Bit 19 - Receiver wakeup from Mute mode

source

pub fn wuf(&self) -> WufR

Bit 20 - Wakeup from Deep-sleep mode flag

source

pub fn tea(&self) -> TeaR

Bit 21 - Transmit enable acknowledge flag

source

pub fn rea(&self) -> ReaR

Bit 22 - Receive enable acknowledge flag