[][src]Type Definition lpc54606_pac::usart0::stat::R

type R = R<u32, STAT>;

Reader of register STAT

Methods

impl R[src]

pub fn rxidle(&self) -> RXIDLE_R[src]

Bit 1 - Receiver Idle. When 0, indicates that the receiver is currently in the process of receiving data. When 1, indicates that the receiver is not currently in the process of receiving data.

pub fn txidle(&self) -> TXIDLE_R[src]

Bit 3 - Transmitter Idle. When 0, indicates that the transmitter is currently in the process of sending data.When 1, indicate that the transmitter is not currently in the process of sending data.

pub fn cts(&self) -> CTS_R[src]

Bit 4 - This bit reflects the current state of the CTS signal, regardless of the setting of the CTSEN bit in the CFG register. This will be the value of the CTS input pin unless loopback mode is enabled.

pub fn txdisstat(&self) -> TXDISSTAT_R[src]

Bit 6 - Transmitter Disabled Status flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS bit in the CFG register (TXDIS = 1).

pub fn rxbrk(&self) -> RXBRK_R[src]

Bit 10 - Received Break. This bit reflects the current state of the receiver break detection logic. It is set when the Un_RXD pin remains low for 16 bit times. Note that FRAMERRINT will also be set when this condition occurs because the stop bit(s) for the character would be missing. RXBRK is cleared when the Un_RXD pin goes high.