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

Macros

#define USART_CR3_WUFIE   (1 << 22)
 WUFIE: Wakeup from Stop mode interrupt enable. More...
 
#define USART_CR3_WUS_ADDRMATCH   (0x0 << 20)
 WUS[1:0]: Wakeup from Stop mode interrupt flag selection. More...
 
#define USART_CR3_WUS_START_BIT   (0x2 << 20)
 
#define USART_CR3_WUS_RXNE   (0x3 << 20)
 
#define USART_CR3_SCARCNT_SHIFT   17
 
#define USART_CR3_SCARCNT_MASK   0x7
 
#define USART_CR3_SCARCNT_DISABLE   (0 << USART_CR3_SCARCNT_SHIFT)
 SCARCNT[2:0]: Smartcard auto retry count. More...
 
#define USART_CR3_SCARCNT_VAL(x)   ((x) << USART_CR3_SCARCNT_SHIFT)
 
#define USART_CR3_DEP   (1 << 15)
 DEP: Driver enable polarity selection. More...
 
#define USART_CR3_DEM   (1 << 14)
 DEM: Driver enable mode. More...
 
#define USART_CR3_DDRE   (1 << 13)
 DDRE: DMA Disable on Reception Error. More...
 
#define USART_CR3_OVRDIS   (1 << 12)
 OVRDIS: Overrun Disable. More...
 
#define USART_CR3_ONEBIT   (1 << 11)
 ONEBIT: One sample bit method enable. More...
 
#define USART_CR3_CTSIE   (1 << 10)
 CTSIE: CTS interrupt enable. More...
 
#define USART_CR3_CTSE   (1 << 9)
 CTSE: CTS enable. More...
 
#define USART_CR3_RTSE   (1 << 8)
 RTSE: RTS enable. More...
 
#define USART_CR3_DMAT   (1 << 7)
 DMAT: DMA enable transmitter. More...
 
#define USART_CR3_DMAR   (1 << 6)
 DMAR: DMA enable receiver. More...
 
#define USART_CR3_SCEN   (1 << 5)
 SCEN: Smartcard mode enable. More...
 
#define USART_CR3_NACK   (1 << 4)
 NACK: Smartcard NACK enable. More...
 
#define USART_CR3_HDSEL   (1 << 3)
 HDSEL: Half-duplex selection. More...
 
#define USART_CR3_IRLP   (1 << 2)
 IRLP: IrDA low-power. More...
 
#define USART_CR3_IREN   (1 << 1)
 IREN: IrDA mode enable. More...
 
#define USART_CR3_EIE   (1 << 0)
 EIE: Error interrupt enable. More...
 

Detailed Description

Macro Definition Documentation

◆ USART_CR3_CTSE

#define USART_CR3_CTSE   (1 << 9)

CTSE: CTS enable.

Not on UARTS

Definition at line 402 of file usart_common_v2.h.

◆ USART_CR3_CTSIE

#define USART_CR3_CTSIE   (1 << 10)

CTSIE: CTS interrupt enable.

Not on UARTs

Definition at line 399 of file usart_common_v2.h.

◆ USART_CR3_DDRE

#define USART_CR3_DDRE   (1 << 13)

DDRE: DMA Disable on Reception Error.

Definition at line 390 of file usart_common_v2.h.

◆ USART_CR3_DEM

#define USART_CR3_DEM   (1 << 14)

DEM: Driver enable mode.

Definition at line 387 of file usart_common_v2.h.

◆ USART_CR3_DEP

#define USART_CR3_DEP   (1 << 15)

DEP: Driver enable polarity selection.

Definition at line 384 of file usart_common_v2.h.

◆ USART_CR3_DMAR

#define USART_CR3_DMAR   (1 << 6)

DMAR: DMA enable receiver.

Not on UARTS

Definition at line 411 of file usart_common_v2.h.

◆ USART_CR3_DMAT

#define USART_CR3_DMAT   (1 << 7)

DMAT: DMA enable transmitter.

Not on UARTs

Definition at line 408 of file usart_common_v2.h.

◆ USART_CR3_EIE

#define USART_CR3_EIE   (1 << 0)

EIE: Error interrupt enable.

Definition at line 429 of file usart_common_v2.h.

◆ USART_CR3_HDSEL

#define USART_CR3_HDSEL   (1 << 3)

HDSEL: Half-duplex selection.

Definition at line 420 of file usart_common_v2.h.

◆ USART_CR3_IREN

#define USART_CR3_IREN   (1 << 1)

IREN: IrDA mode enable.

Definition at line 426 of file usart_common_v2.h.

◆ USART_CR3_IRLP

#define USART_CR3_IRLP   (1 << 2)

IRLP: IrDA low-power.

Definition at line 423 of file usart_common_v2.h.

◆ USART_CR3_NACK

#define USART_CR3_NACK   (1 << 4)

NACK: Smartcard NACK enable.

Not UARTs

Definition at line 417 of file usart_common_v2.h.

◆ USART_CR3_ONEBIT

#define USART_CR3_ONEBIT   (1 << 11)

ONEBIT: One sample bit method enable.

Definition at line 396 of file usart_common_v2.h.

◆ USART_CR3_OVRDIS

#define USART_CR3_OVRDIS   (1 << 12)

OVRDIS: Overrun Disable.

Definition at line 393 of file usart_common_v2.h.

◆ USART_CR3_RTSE

#define USART_CR3_RTSE   (1 << 8)

RTSE: RTS enable.

Not on UARTs

Definition at line 405 of file usart_common_v2.h.

◆ USART_CR3_SCARCNT_DISABLE

#define USART_CR3_SCARCNT_DISABLE   (0 << USART_CR3_SCARCNT_SHIFT)

SCARCNT[2:0]: Smartcard auto retry count.

Definition at line 380 of file usart_common_v2.h.

◆ USART_CR3_SCARCNT_MASK

#define USART_CR3_SCARCNT_MASK   0x7

Definition at line 378 of file usart_common_v2.h.

◆ USART_CR3_SCARCNT_SHIFT

#define USART_CR3_SCARCNT_SHIFT   17

Definition at line 377 of file usart_common_v2.h.

◆ USART_CR3_SCARCNT_VAL

#define USART_CR3_SCARCNT_VAL (   x)    ((x) << USART_CR3_SCARCNT_SHIFT)

Definition at line 381 of file usart_common_v2.h.

◆ USART_CR3_SCEN

#define USART_CR3_SCEN   (1 << 5)

SCEN: Smartcard mode enable.

Not on UARTs

Definition at line 414 of file usart_common_v2.h.

◆ USART_CR3_WUFIE

#define USART_CR3_WUFIE   (1 << 22)

WUFIE: Wakeup from Stop mode interrupt enable.

Definition at line 370 of file usart_common_v2.h.

◆ USART_CR3_WUS_ADDRMATCH

#define USART_CR3_WUS_ADDRMATCH   (0x0 << 20)

WUS[1:0]: Wakeup from Stop mode interrupt flag selection.

Definition at line 373 of file usart_common_v2.h.

◆ USART_CR3_WUS_RXNE

#define USART_CR3_WUS_RXNE   (0x3 << 20)

Definition at line 375 of file usart_common_v2.h.

◆ USART_CR3_WUS_START_BIT

#define USART_CR3_WUS_START_BIT   (0x2 << 20)

Definition at line 374 of file usart_common_v2.h.