Usart Mode Configuration; Usart Registers; Status Register (Usart_Sr); Table 156. Usart Modes Configuration - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

Universal synchronous asynchronous receiver transmitter (USART)
24.5

USART mode configuration

Table 156. USART modes 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.
24.6

USART registers

Refer to
24.6.1

Status register (USART_SR)

Address offset: 0x00
Reset value: 0x00C0
31
30
29
15
14
13
Reserved
Res.
Bits 31:10 Reserved, forced by hardware to 0.
Bit 9 CTS: CTS Flag
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
Note: This bit is not available for UART4 & UART5.
Bit 8 LBD: LIN Break Detection Flag
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
Note: An interrupt is generated when LBD=1 if LBDIE=1
638/690
USART modes
Section 1.1 on page 32
28
27
26
25
12
11
10
9
CTS
rc_w0
(1)
USART1
USART2
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
USART3
UART4
X
X
X
NA
X
X
X
X
X
NA
X
NA
X
X
X
X
X
X
21
20
19
18
5
4
3
2
IDLE
ORE
NE
r
r
r
RM0008
UART5
X
NA
NA
X
NA
NA
X
X
X
17
16
1
0
FE
PE
r
r

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents