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

Macros

#define USART_PARITY_NONE   0x00
 
#define USART_PARITY_EVEN   USART_CR1_PCE
 
#define USART_PARITY_ODD   (USART_CR1_PS | USART_CR1_PCE)
 

Detailed Description

Macro Definition Documentation

◆ USART_PARITY_EVEN

#define USART_PARITY_EVEN   USART_CR1_PCE

Definition at line 47 of file usart_common_all.h.

◆ USART_PARITY_NONE

#define USART_PARITY_NONE   0x00

Definition at line 46 of file usart_common_all.h.

◆ USART_PARITY_ODD

#define USART_PARITY_ODD   (USART_CR1_PS | USART_CR1_PCE)

Definition at line 48 of file usart_common_all.h.