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

Macros

#define USART_CR1_M1   (1 << 28) /* F07x */
 M1: Wordlength. More...
 
#define USART_CR1_EOBIE   (1 << 27)
 EOBIE: End of Block interrupt enable. More...
 
#define USART_CR1_RTOIE   (1 << 26)
 RTOIE: Receiver timeout interrupt enable. More...
 
#define USART_CR1_DEAT_SHIFT   21
 
#define USART_CR1_DEAT   (0x1F << USART_CR1_DEAT_SHIFT)
 
#define USART_CR1_DEAT_VAL(x)   ((x) << USART_CR1_DEAT_SHIFT)
 DEAT[4:0]: Driver Enable assertion time. More...
 
#define USART_CR1_DEDT_SHIFT   16
 
#define USART_CR1_DEDT   (0x1F << USART_CR1_DEDT_SHIFT)
 
#define USART_CR1_DEDT_VAL(x)   ((x) << USART_CR1_DEDT_SHIFT)
 DEDT[4:0]: Driver Enable deassertion time. More...
 
#define USART_CR1_OVER8   (1 << 15)
 OVER8: Oversampling mode. More...
 
#define USART_CR1_CMIE   (1 << 14)
 CMIE: Character match interrupt enable. More...
 
#define USART_CR1_MME   (1 << 13)
 MME: Mute mode enable. More...
 
#define USART_CR1_M0   (1 << 12)
 M0: Word length. More...
 
#define USART_CR1_M   USART_CR1_M0
 
#define USART_CR1_WAKE   (1 << 11)
 WAKE: Receiver wakeup method. More...
 
#define USART_CR1_PCE   (1 << 10)
 PCE: Parity control enable. More...
 
#define USART_CR1_PS   (1 << 9)
 PS: Parity selection. More...
 
#define USART_CR1_PEIE   (1 << 8)
 PEIE: PE interrupt enable. More...
 
#define USART_CR1_TXEIE   (1 << 7)
 TXEIE: Interrupt enable. More...
 
#define USART_CR1_TCIE   (1 << 6)
 TCIE: Transmission complete interrupt enable. More...
 
#define USART_CR1_RXNEIE   (1 << 5)
 RXNEIE: RXNE interrupt enable. More...
 
#define USART_CR1_IDLEIE   (1 << 4)
 IDLEIE: IDLE interrupt enable. More...
 
#define USART_CR1_TE   (1 << 3)
 TE: Transmitter enable. More...
 
#define USART_CR1_RE   (1 << 2)
 RE: Receiver enable. More...
 
#define USART_CR1_UESM   (1 << 1)
 UESM: USART enable in Stop mode. More...
 
#define USART_CR1_UE   (1 << 0)
 UE: USART enable. More...
 

Detailed Description

Macro Definition Documentation

◆ USART_CR1_CMIE

#define USART_CR1_CMIE   (1 << 14)

CMIE: Character match interrupt enable.

Definition at line 248 of file usart_common_v2.h.

◆ USART_CR1_DEAT

#define USART_CR1_DEAT   (0x1F << USART_CR1_DEAT_SHIFT)

Definition at line 235 of file usart_common_v2.h.

◆ USART_CR1_DEAT_SHIFT

#define USART_CR1_DEAT_SHIFT   21

Definition at line 234 of file usart_common_v2.h.

◆ USART_CR1_DEAT_VAL

#define USART_CR1_DEAT_VAL (   x)    ((x) << USART_CR1_DEAT_SHIFT)

DEAT[4:0]: Driver Enable assertion time.

Definition at line 237 of file usart_common_v2.h.

◆ USART_CR1_DEDT

#define USART_CR1_DEDT   (0x1F << USART_CR1_DEDT_SHIFT)

Definition at line 240 of file usart_common_v2.h.

◆ USART_CR1_DEDT_SHIFT

#define USART_CR1_DEDT_SHIFT   16

Definition at line 239 of file usart_common_v2.h.

◆ USART_CR1_DEDT_VAL

#define USART_CR1_DEDT_VAL (   x)    ((x) << USART_CR1_DEDT_SHIFT)

DEDT[4:0]: Driver Enable deassertion time.

Definition at line 242 of file usart_common_v2.h.

◆ USART_CR1_EOBIE

#define USART_CR1_EOBIE   (1 << 27)

EOBIE: End of Block interrupt enable.

Definition at line 229 of file usart_common_v2.h.

◆ USART_CR1_IDLEIE

#define USART_CR1_IDLEIE   (1 << 4)

IDLEIE: IDLE interrupt enable.

Definition at line 280 of file usart_common_v2.h.

◆ USART_CR1_M

#define USART_CR1_M   USART_CR1_M0
Deprecated:
alias for M0.

Definition at line 256 of file usart_common_v2.h.

◆ USART_CR1_M0

#define USART_CR1_M0   (1 << 12)

M0: Word length.

Definition at line 254 of file usart_common_v2.h.

◆ USART_CR1_M1

#define USART_CR1_M1   (1 << 28) /* F07x */

M1: Wordlength.

See also
M0

Definition at line 226 of file usart_common_v2.h.

◆ USART_CR1_MME

#define USART_CR1_MME   (1 << 13)

MME: Mute mode enable.

Definition at line 251 of file usart_common_v2.h.

◆ USART_CR1_OVER8

#define USART_CR1_OVER8   (1 << 15)

OVER8: Oversampling mode.

Definition at line 245 of file usart_common_v2.h.

◆ USART_CR1_PCE

#define USART_CR1_PCE   (1 << 10)

PCE: Parity control enable.

Definition at line 262 of file usart_common_v2.h.

◆ USART_CR1_PEIE

#define USART_CR1_PEIE   (1 << 8)

PEIE: PE interrupt enable.

Definition at line 268 of file usart_common_v2.h.

◆ USART_CR1_PS

#define USART_CR1_PS   (1 << 9)

PS: Parity selection.

Definition at line 265 of file usart_common_v2.h.

◆ USART_CR1_RE

#define USART_CR1_RE   (1 << 2)

RE: Receiver enable.

Definition at line 286 of file usart_common_v2.h.

◆ USART_CR1_RTOIE

#define USART_CR1_RTOIE   (1 << 26)

RTOIE: Receiver timeout interrupt enable.

Definition at line 232 of file usart_common_v2.h.

◆ USART_CR1_RXNEIE

#define USART_CR1_RXNEIE   (1 << 5)

RXNEIE: RXNE interrupt enable.

Definition at line 277 of file usart_common_v2.h.

◆ USART_CR1_TCIE

#define USART_CR1_TCIE   (1 << 6)

TCIE: Transmission complete interrupt enable.

Definition at line 274 of file usart_common_v2.h.

◆ USART_CR1_TE

#define USART_CR1_TE   (1 << 3)

TE: Transmitter enable.

Definition at line 283 of file usart_common_v2.h.

◆ USART_CR1_TXEIE

#define USART_CR1_TXEIE   (1 << 7)

TXEIE: Interrupt enable.

Definition at line 271 of file usart_common_v2.h.

◆ USART_CR1_UE

#define USART_CR1_UE   (1 << 0)

UE: USART enable.

Definition at line 292 of file usart_common_v2.h.

◆ USART_CR1_UESM

#define USART_CR1_UESM   (1 << 1)

UESM: USART enable in Stop mode.

Definition at line 289 of file usart_common_v2.h.

◆ USART_CR1_WAKE

#define USART_CR1_WAKE   (1 << 11)

WAKE: Receiver wakeup method.

Definition at line 259 of file usart_common_v2.h.