GD32W51x User Manual
616
0: Normal mode
1: Low -pow er mode
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
1
IREN
IrDA mode enable
0: IrDA disabled
1: IrDA enabled
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
This bit is reserved in USART1.
0
ERRIE
Error interrupt enable
0: Error interrupt disabled
1: An interrupt w ill occur w henever the FERR bit or the ORERR bit or the NERR
bit is set in USART_STAT in multibuffer communication
18.4.4.
Baud rate generator register (USART_BAUD)
Address offset: 0x0C
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
This register cannot be written when the USART is enabled (UEN=1)
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
BRR [15:4]
BRR[3:0]
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value
15:4
BRR[15:4]
Integer of baud-rate divider
DIV_INT[11:0] = BRR[15:4]
3:0
BRR [3:0]
Fraction of baud-rate divider
If OVSMOD = 0, USARTDIV [3:0] = BRR [3:0];
If OVSMOD = 1, USARTDIV [3:1] = BRR [2:0], BRR [3] must be reset.
18.4.5.
Prescaler and guard time configuration register (USART_GP)
Address offset: 0x10
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
This register cannot be written when the USART is enabled (UEN=1)