libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
U(S)ART convenience Flags

We define the "common" lower flag bits using a standard name, allowing them to be used regardless of which usart peripheral version you have. More...

Collaboration diagram for U(S)ART convenience Flags:

Macros

#define USART_FLAG_PE   USART_ISR_PE
 
#define USART_FLAG_FE   USART_ISR_FE
 
#define USART_FLAG_NF   USART_ISR_NF
 
#define USART_FLAG_ORE   USART_ISR_ORE
 
#define USART_FLAG_IDLE   USART_ISR_IDLE
 
#define USART_FLAG_RXNE   USART_ISR_RXNE
 
#define USART_FLAG_TC   USART_ISR_TC
 
#define USART_FLAG_TXE   USART_ISR_TXE
 

Detailed Description

We define the "common" lower flag bits using a standard name, allowing them to be used regardless of which usart peripheral version you have.

Macro Definition Documentation

◆ USART_FLAG_FE

#define USART_FLAG_FE   USART_ISR_FE

Definition at line 207 of file usart_common_v2.h.

◆ USART_FLAG_IDLE

#define USART_FLAG_IDLE   USART_ISR_IDLE

Definition at line 210 of file usart_common_v2.h.

◆ USART_FLAG_NF

#define USART_FLAG_NF   USART_ISR_NF

Definition at line 208 of file usart_common_v2.h.

◆ USART_FLAG_ORE

#define USART_FLAG_ORE   USART_ISR_ORE

Definition at line 209 of file usart_common_v2.h.

◆ USART_FLAG_PE

#define USART_FLAG_PE   USART_ISR_PE

Definition at line 206 of file usart_common_v2.h.

◆ USART_FLAG_RXNE

#define USART_FLAG_RXNE   USART_ISR_RXNE

Definition at line 211 of file usart_common_v2.h.

◆ USART_FLAG_TC

#define USART_FLAG_TC   USART_ISR_TC

Definition at line 212 of file usart_common_v2.h.

◆ USART_FLAG_TXE

#define USART_FLAG_TXE   USART_ISR_TXE

Definition at line 213 of file usart_common_v2.h.