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_SR_PE
 
#define USART_FLAG_FE   USART_SR_FE
 
#define USART_FLAG_NF   USART_SR_NF
 
#define USART_FLAG_ORE   USART_SR_ORE
 
#define USART_FLAG_IDLE   USART_SR_IDLE
 
#define USART_FLAG_RXNE   USART_SR_RXNE
 
#define USART_FLAG_TC   USART_SR_TC
 
#define USART_FLAG_TXE   USART_SR_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_SR_FE

Definition at line 118 of file usart_common_f124.h.

◆ USART_FLAG_IDLE

#define USART_FLAG_IDLE   USART_SR_IDLE

Definition at line 121 of file usart_common_f124.h.

◆ USART_FLAG_NF

#define USART_FLAG_NF   USART_SR_NF

Definition at line 119 of file usart_common_f124.h.

◆ USART_FLAG_ORE

#define USART_FLAG_ORE   USART_SR_ORE

Definition at line 120 of file usart_common_f124.h.

◆ USART_FLAG_PE

#define USART_FLAG_PE   USART_SR_PE

Definition at line 117 of file usart_common_f124.h.

◆ USART_FLAG_RXNE

#define USART_FLAG_RXNE   USART_SR_RXNE

Definition at line 122 of file usart_common_f124.h.

◆ USART_FLAG_TC

#define USART_FLAG_TC   USART_SR_TC

Definition at line 123 of file usart_common_f124.h.

◆ USART_FLAG_TXE

#define USART_FLAG_TXE   USART_SR_TXE

Definition at line 124 of file usart_common_f124.h.