
GD32L23x User Manual
460
20.4.
Register definition
LPUART base address: 0x4000 8000
20.4.1.
Control register 0 (LPUART_CTL0)
Address offset: 0x00
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
WL1
Reserved
DEA[4:0]
DED[4:0]
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
AMIE
MEN
WL0
WM
PCEN
PM
PERRIE
TBEIE
TCIE
RBNEIE
IDLEIE
TEN
REN
UESM
UEN
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:29
Reserved
Must be kept at reset value
28
WL1
Word length
This bit, with WL0 bit determines the word length
WL[1:0] = 00, 8 data bits
WL[1:0] = 01, 9 data bits
WL[1:0] = 10, 7 data bits
WL[1:0] = 11, 7 data bits
This bit field cannot be written when the LPUART is enabled (UEN=1).
27:26
Reserved
Must be kept at reset value
25:21
DEA[4:0]
Driver Enable assertion time
These bits are used to define the time between the activation of the DE (Driver
Enable) signal and the beginning of the start bit. It is expressed in LPUART CLK
cycles.
This bit field cannot be written when the LPUART is enabled (UEN=1).
20:16
DED[4:0]
Driver Enable de-assertion time
These bits are used to define the time between the end of the last stop bit, in a
transmitted message, and the de-activation of the DE (Driver Enable) signal. It is
expressed in LPUART CLK cycles.
This bit field cannot be written when the LPUART is enabled (UEN=1).
15
Reserved
Must be kept at reset value
14
AMIE
ADDR match interrupt enable
0: ADDR match interrupt is disabled