[][src]Type Definition lpc82x_pac::usart0::rxdatstat::R

type R = R<u32, RXDATSTAT>;

Reader of register RXDATSTAT

Methods

impl R[src]

pub fn rxdat(&self) -> RXDAT_R[src]

Bits 0:8 - The USART Receiver Data register contains the next received character. The number of bits that are relevant depends on the USART configuration settings.

pub fn framerr(&self) -> FRAMERR_R[src]

Bit 13 - Framing Error status flag. This bit is valid when there is a character to be read in the RXDAT register and reflects the status of that character. This bit will set when the character in RXDAT was 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.

pub fn parityerr(&self) -> PARITYERR_R[src]

Bit 14 - Parity Error status flag. This bit is valid when there is a character to be read in the RXDAT register and reflects the status of that character. This bit will be set when a parity error is detected in a received character.

pub fn rxnoise(&self) -> RXNOISE_R[src]

Bit 15 - Received Noise flag.