GD32W51x User Manual
608
18.4.
Register definition
USART0 access secure base address: 0x5000 4800
USART0 access non-secure base address: 0x4000 4800
USART1 access secure base address: 0x5000 4400
USART1 access non-secure base address: 0x4000 4400
USART2 access secure base address: 0x5001 1000
USART2 access non-secure base address: 0x4001 1000
18.4.1.
Control register 0 (USART_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
EBIE
RTIE
DEA[4:0]
DED[4:0]
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
OVSMOD
AMIE
MEN
WL
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
rw
Bits
Fields
Descriptions
31:28
Reserved
Must be kept at reset value
27
EBIE
End of Block interrupt enable
0: End of Block interrupt is disabled
1: End of Block interrupt is enabled
This bit is reserved in USART1.
26
RTIE
Receiver timeout interrupt enable
0: Receiver timeout interrupt is disabled
1: Receiver timeout interrupt is enabled
This bit is reserved in USART1.
25:21
DEA[4:0]
Driver Enable assertion time
These bits are used to define the time betw een the activation of the DE (Driver
Enable) signal and the beginning of the start bit. It is expressed in sample time
units (1/8 or 1/16 bit time), w hich are configured by the OVSMOD bit.
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
20:16
DED[4:0]
Driver Enable de-assertion time
These bits are used to define the time betw een 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 sample time units (1/8 or 1/16 bit time), w hich are configured by the