libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
USART Status register Flags
Collaboration diagram for USART Status register Flags:

Macros

#define USART_SR_CTS   (1 << 9)
 CTS: CTS flag. More...
 
#define USART_SR_LBD   (1 << 8)
 LBD: LIN break detection flag. More...
 
#define USART_SR_TXE   (1 << 7)
 TXE: Transmit data buffer empty. More...
 
#define USART_SR_TC   (1 << 6)
 TC: Transmission complete. More...
 
#define USART_SR_RXNE   (1 << 5)
 RXNE: Read data register not empty. More...
 
#define USART_SR_IDLE   (1 << 4)
 IDLE: Idle line detected. More...
 
#define USART_SR_ORE   (1 << 3)
 ORE: Overrun error. More...
 
#define USART_SR_NE   (1 << 2)
 NE: Noise error flag. More...
 
#define USART_SR_FE   (1 << 1)
 FE: Framing error. More...
 
#define USART_SR_PE   (1 << 0)
 PE: Parity error. More...
 

Detailed Description

Macro Definition Documentation

◆ USART_SR_CTS

#define USART_SR_CTS   (1 << 9)

CTS: CTS flag.

Note
: undefined on UART4 and UART5

Definition at line 136 of file usart_common_f124.h.

◆ USART_SR_FE

#define USART_SR_FE   (1 << 1)

FE: Framing error.

Definition at line 160 of file usart_common_f124.h.

◆ USART_SR_IDLE

#define USART_SR_IDLE   (1 << 4)

IDLE: Idle line detected.

Definition at line 151 of file usart_common_f124.h.

◆ USART_SR_LBD

#define USART_SR_LBD   (1 << 8)

LBD: LIN break detection flag.

Definition at line 139 of file usart_common_f124.h.

◆ USART_SR_NE

#define USART_SR_NE   (1 << 2)

NE: Noise error flag.

Definition at line 157 of file usart_common_f124.h.

◆ USART_SR_ORE

#define USART_SR_ORE   (1 << 3)

ORE: Overrun error.

Definition at line 154 of file usart_common_f124.h.

◆ USART_SR_PE

#define USART_SR_PE   (1 << 0)

PE: Parity error.

Definition at line 163 of file usart_common_f124.h.

◆ USART_SR_RXNE

#define USART_SR_RXNE   (1 << 5)

RXNE: Read data register not empty.

Definition at line 148 of file usart_common_f124.h.

◆ USART_SR_TC

#define USART_SR_TC   (1 << 6)

TC: Transmission complete.

Definition at line 145 of file usart_common_f124.h.

◆ USART_SR_TXE

#define USART_SR_TXE   (1 << 7)

TXE: Transmit data buffer empty.

Definition at line 142 of file usart_common_f124.h.