Struct zinc_hal_lpc11xx::ioregs::UART_lsr
[−]
[src]
pub struct UART_lsr { // some fields omitted }
Register LSR
: Line Status Register. Contains flags for transmit and receive status, including line errors.
Methods
impl UART_lsr
fn get(&self) -> UART_lsr_Get
Fetch the value of the LSR
register.
fn rdr(&self) -> UART_lsr_rdr
Get value of RDR
field.
fn oe(&self) -> UART_lsr_oe
Get value of OE
field.
fn pe(&self) -> UART_lsr_pe
Get value of PE
field.
fn fe(&self) -> UART_lsr_fe
Get value of FE
field.
fn bi(&self) -> UART_lsr_bi
Get value of BI
field.
fn thre(&self) -> UART_lsr_thre
Get value of THRE
field.
fn temt(&self) -> UART_lsr_temt
Get value of TEMT
field.
fn rxfe(&self) -> UART_lsr_rxfe
Get value of RXFE
field.