DocID025202 Rev 7
886/1080
RM0365
Universal synchronous asynchronous receiver transmitter (USART)
901
Note:
The 3 bits (CPOL, CPHA, LBCL) should not be written while the transmitter is enabled.
29.8.3
Control register 3 (USART_CR3)
Address offset: 0x08
Reset value: 0x0000
Bit 5
LBDL
: LIN
break detection length
This bit is for selection between 11 bit or 10 bit break detection.
0: 10-bit break detection
1: 11-bit break detection
This bit can only be written when the USART is disabled (UE=0).
Note: If LIN mode is not supported, this bit is reserved and forced by hardware to ‘0’. Please refer to
Section 29.4: USART implementation on page 837
Bit 4
ADDM7
:7-bit Address Detection/4-bit Address Detection
This bit is for selection between 4-bit address detection or 7-bit address detection.
0: 4-bit address detection
1: 7-bit address detection (in 8-bit data mode)
This bit can only be written when the USART is disabled (UE=0)
Note: In 7-bit and 9-bit data modes, the address detection is done on 6-bit and 8-bit address
(ADD[5:0] and ADD[7:0]) respectively.
Bits 3:0 Reserved, must be kept at reset value.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
WUFIE
WUS
SCARCNT2:0]
Res.
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DEP
DEM
DDRE
OVR
DIS
ONE
BIT
CTSIE
CTSE
RTSE
DMAT
DMAR
SCEN
NACK HDSEL
IRLP
IREN
EIE
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
v
v
rw
rw
rw
rw
Bits 31:25 Reserved, must be kept at reset value.
Bit 24 Reserved, must be kept at reset value.
Bit 23 Reserved, must be kept at reset value.
Bit 22
WUFIE
: Wakeup from Stop mode interrupt enable
This bit is set and cleared by software.
0: Interrupt is inhibited
1: An USART interrupt is generated whenever WUF=1 in the USART_ISR register
Note: WUFIE must be set before entering in Stop mode.
The WUF interrupt is active only in Stop mode.
If the USART does not support the wakeup from Stop feature, this bit is reserved and
forced by hardware to ‘0’.