Struct lpc82x::usart0::stat::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn rxrdy(&mut self) -> _RXRDYW
[src]
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.
fn rxidle(&mut self) -> _RXIDLEW
[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.
fn txrdy(&mut self) -> _TXRDYW
[src]
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.
fn txidle(&mut self) -> _TXIDLEW
[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.
fn cts(&mut self) -> _CTSW
[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.
fn deltacts(&mut self) -> _DELTACTSW
[src]
Bit 5 - This bit is set when a change in the state is detected for the CTS flag above. This bit is cleared by software.
fn txdisstat(&mut self) -> _TXDISSTATW
[src]
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).
fn overrunint(&mut self) -> _OVERRUNINTW
[src]
Bit 8 - Overrun Error interrupt flag. This flag is set when a new character is received while the receiver buffer is still in use. If this occurs, the newly received character in the shift register is lost.
fn rxbrk(&mut self) -> _RXBRKW
[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.
fn deltarxbrk(&mut self) -> _DELTARXBRKW
[src]
Bit 11 - This bit is set when a change in the state of receiver break detection occurs. Cleared by software.
fn start(&mut self) -> _STARTW
[src]
Bit 12 - This bit is set when a start is detected on the receiver input. Its purpose is primarily to allow wake-up from Deep-sleep or Power-down mode immediately when a start is detected. Cleared by software.
fn framerrint(&mut self) -> _FRAMERRINTW
[src]
Bit 13 - Framing Error interrupt flag. This flag is set when a character is received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source.
fn parityerrint(&mut self) -> _PARITYERRINTW
[src]
Bit 14 - Parity Error interrupt flag. This flag is set when a parity error is detected in a received character..
fn rxnoiseint(&mut self) -> _RXNOISEINTW
[src]
Bit 15 - Received Noise interrupt flag. Three samples of received data are taken in order to determine the value of each received data bit, except in synchronous mode. This acts as a noise filter if one sample disagrees. This flag is set when a received data bit contains one disagreeing sample. This could indicate line noise, a baud rate or character format mismatch, or loss of synchronization during data reception.
fn aberr(&mut self) -> _ABERRW
[src]
Bit 16 - Autobaud Error. An autobaud error can occur if the BRG counts to its limit before the end of the start bit that is being measured, essentially an autobaud time-out.