Usart Mode Configuration; Usart Registers; Status Register (Usart_Sr); Table 122. Usart Mode Configuration - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090
26.5

USART mode configuration

Table 122. USART mode configuration

Asynchronous mode
Hardware flow control
Multibuffer communication (DMA)
Multiprocessor communication
Synchronous
Smartcard
Half-duplex (single-wire mode)
IrDA
LIN
1. X = supported; NA = not applicable.
26.6

USART registers

Refer to
The peripheral registers can be accessed by half-words (16 bits) or words (32 bits).
26.6.1

Status register (USART_SR)

Address offset: 0x00
Reset value: 0x00C0 0000
31
30
29
15
14
13
Reserved
Bits 31:10 Reserved, must be kept at reset value
Bit 9 CTS: CTS flag
Note: This bit is not available for UART4 & UART5.
Bit 8 LBD: LIN break detection flag
Note: An interrupt is generated when LBD=1 if LBDIE=1
Universal synchronous asynchronous receiver transmitter (USART)
USART modes
Section 1.1 on page 47
28
27
26
25
12
11
10
9
CTS
rc_w0
This bit is set by hardware when the nCTS input toggles, if the CTSE bit is set. It is cleared
by software (by writing it to 0). An interrupt is generated if CTSIE=1 in the USART_CR3
register.
0: No change occurred on the nCTS status line
1: A change occurred on the nCTS status line
This bit is set by hardware when the LIN break is detected. It is cleared by software (by
writing it to 0). An interrupt is generated if LBDIE = 1 in the USART_CR2 register.
0: LIN Break not detected
1: LIN break detected
Doc ID 018909 Rev 4
(1)
USART1 USART2 USART3 UART4
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
for a list of abbreviations used in register descriptions.
24
23
22
Reserved
8
7
6
LBD
TXE
TC
RXNE
rc_w0
r
rc_w0
rc_w0
UART5 USART6
X
X
X
NA
NA
X
X
X
X
X
NA
NA
X
NA
NA
X
X
X
X
X
X
21
20
19
18
5
4
3
2
IDLE
ORE
NF
r
r
r
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
17
16
1
0
FE
PE
r
r
782/1422

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F40 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF