libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Line Status Register bits
Collaboration diagram for Line Status Register bits:

Macros

#define USART_LSR_RDR   BIT0
 Receiver Data Ready. More...
 
#define USART_LSR_OE   BIT1
 Overrun Error. More...
 
#define USART_LSR_PE   BIT2
 Parity Error. More...
 
#define USART_LSR_FE   BIT3
 Framing Error. More...
 
#define USART_LSR_BI   BIT4
 Break Interrupt. More...
 
#define USART_LSR_THRE   BIT5
 Transmitter Holding Register Empty. More...
 
#define USART_LSR_TEMT   BIT6
 Transmitter Empty. More...
 
#define USART_LSR_RXFE   BIT7
 Error in RX FIFO. More...
 

Detailed Description

Macro Definition Documentation

◆ USART_LSR_BI

#define USART_LSR_BI   BIT4

Break Interrupt.

Definition at line 170 of file usart.h.

◆ USART_LSR_FE

#define USART_LSR_FE   BIT3

Framing Error.

Definition at line 168 of file usart.h.

◆ USART_LSR_OE

#define USART_LSR_OE   BIT1

Overrun Error.

Definition at line 164 of file usart.h.

◆ USART_LSR_PE

#define USART_LSR_PE   BIT2

Parity Error.

Definition at line 166 of file usart.h.

◆ USART_LSR_RDR

#define USART_LSR_RDR   BIT0

Receiver Data Ready.

Definition at line 162 of file usart.h.

◆ USART_LSR_RXFE

#define USART_LSR_RXFE   BIT7

Error in RX FIFO.

Definition at line 176 of file usart.h.

◆ USART_LSR_TEMT

#define USART_LSR_TEMT   BIT6

Transmitter Empty.

Definition at line 174 of file usart.h.

◆ USART_LSR_THRE

#define USART_LSR_THRE   BIT5

Transmitter Holding Register Empty.

Definition at line 172 of file usart.h.