
CH32V003
Reference Manual
V1.3
141
1: Send; 0: Do not send.
12.10.5 USART Control register 2 (USART_CTLR2)
Offset address: 0x10
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reser
ved
LINE
N
STOP
CLK
EN
CPO
L
CPH
A
LBC
L
Reser
ved
LBDI
E
LBD
L
Reser
ved
ADD[3:0]
Bit
Name
Access
Description
Reset value
[31:15] Reserved
RO Reserved
0
14
LINEN
RW
LIN mode enable,
set to enable LIN mode. The
LIN mode enables the capability to send LIN
Synch Breaks using the SBK bit in the
USART_CR1 register, and to detect LIN Sync
breaks.
0
[13:12] STOP
RW
STOP bits.
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
0
11
CLKEN
RW
Clock enable.
This bit allows the user to enable the CK pin.
0: CK pin disabled
1: CK pin enabled
0
10
CPOL
RW
Clock polarity
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.
Note: This bit cannot be modified after enabling
transmit.
0
9
CPHA
RW
Clock phase
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
0: The first clock transition is the first data capture
edge.
1: The second clock transition is the first data
capture edge.
Note: This bit cannot be modified after enabling
transmit.
0
8
LBCL
RW
Last bit clock pulse
This bit allows the user to select whether the clock
pulse associated with the last data bit transmitted
(MSB) has to be output on the CK pin in
synchronous mode.
0: The clock pulse of the last data bit is not output
to the CK pin
0