Control Register 2 (Usart_Cr2) - ST STM32F101 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F101 series:
Table of Contents

Advertisement

RM0008
27.6.5

Control register 2 (USART_CR2)

Address offset: 0x10
Reset value: 0x0000
31
30
29
15
14
13
LINEN
STOP[1:0]
Res.
rw
rw
Bits 31:15 Reserved, forced by hardware to 0.
Bit 14 LINEN: LIN mode enable
Bits 13:12 STOP: STOP bits
Bit 11 CLKEN: Clock enable
Bit 10 CPOL: Clock polarity
Bit 9 CPHA: Clock phase
Universal synchronous asynchronous receiver transmitter (USART)
28
27
26
25
12
11
10
9
CLK
CPOL
CPHA
EN
rw
rw
rw
rw
This bit is set and cleared by software.
0: LIN mode disabled
1: LIN mode enabled
The LIN mode enables the capability to send LIN Synch Breaks (13 low bits) using the SBK
bit in the USART_CR1 register, and to detect LIN Sync breaks.
These bits are used for programming the stop bits.
00: 1 Stop bit
01: 0.5 Stop bit
10: 2 Stop bits
11: 1.5 Stop bit
The 0.5 Stop bit and 1.5 Stop bit are not available for UART4 & UART5.
This bit allows the user to enable the CK pin.
0: CK pin disabled
1: CK pin enabled
This bit is not available for UART4 & UART5.
This bit allows the user to select the polarity of the clock output on the CK pin in synchronous
mode. It works in conjunction with the CPHA bit to produce the desired clock/data
relationship
0: Steady low value on CK pin outside transmission window.
1: Steady high value on CK pin outside transmission window.
This bit is not available for UART4 & UART5.
This bit allows the user to select the phase of the clock output on the CK pin in synchronous
mode. It works in conjunction with the CPOL bit to produce the desired clock/data
relationship (see figures
0: The first clock transition is the first data capture edge.
1: The second clock transition is the first data capture edge.
This bit is not available for UART4 & UART5.
24
23
22
Reserved
8
7
6
LBCL
Res.
LBDIE
rw
rw
289
to 290)
DocID13902 Rev 15
21
20
19
18
5
4
3
2
LBDL
Res.
rw
rw
rw
rw
17
16
1
0
ADD[3:0]
rw
rw
816/1128
820

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F101 series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents