pub struct R(_);
Expand description
Register STAT
reader
Implementations§
source§impl R
impl R
sourcepub fn rxrdy(&self) -> RXRDY_R
pub fn rxrdy(&self) -> RXRDY_R
Bit 0 - Receiver Ready flag. When 1, indicates that data is available to be read from the receiver buffer. Cleared after a read of the RXDAT or RXDATSTAT registers.
sourcepub fn rxidle(&self) -> RXIDLE_R
pub fn rxidle(&self) -> RXIDLE_R
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.
sourcepub fn txrdy(&self) -> TXRDY_R
pub fn txrdy(&self) -> TXRDY_R
Bit 2 - Transmitter Ready flag. When 1, this bit indicates that data may be written to the transmit buffer. Previous data may still be in the process of being transmitted. Cleared when data is written to TXDAT. Set when the data is moved from the transmit buffer to the transmit shift register.
sourcepub fn txidle(&self) -> TXIDLE_R
pub fn txidle(&self) -> TXIDLE_R
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.
sourcepub fn cts(&self) -> CTS_R
pub fn cts(&self) -> CTS_R
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.
sourcepub fn txdisstat(&self) -> TXDISSTAT_R
pub fn txdisstat(&self) -> TXDISSTAT_R
Bit 6 - Transmitter Disabled Interrupt flag. When 1, this bit indicates that the USART transmitter is fully idle after being disabled via the TXDIS in the CTL register (TXDIS = 1).
sourcepub fn rxbrk(&self) -> RXBRK_R
pub fn rxbrk(&self) -> RXBRK_R
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.