Struct stm32f103xx::uart4::sr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn pe(&self) -> PER
[src]
Bit 0 - Parity error
pub fn fe(&self) -> FER
[src]
Bit 1 - Framing error
pub fn ne(&self) -> NER
[src]
Bit 2 - Noise error flag
pub fn ore(&self) -> ORER
[src]
Bit 3 - Overrun error
pub fn idle(&self) -> IDLER
[src]
Bit 4 - IDLE line detected
pub fn rxne(&self) -> RXNER
[src]
Bit 5 - Read data register not empty
pub fn tc(&self) -> TCR
[src]
Bit 6 - Transmission complete
pub fn txe(&self) -> TXER
[src]
Bit 7 - Transmit data register empty
pub fn lbd(&self) -> LBDR
[src]
Bit 8 - LIN break detection flag