GD32F403xx User Manual
423
17.4.8.
Control register 3 (USART_CTL3)
Address offset: 0x80
Reset value: 0x0000 0000
This register is not available for UART3/4.
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
MSBF
DINV
TINV
RINV
Reserved
EBIE
RTIE
SCRTNUM[2:0]
RTEN
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:12
Reserved
Must be kept the reset value.
11
MSBF
Most significant bit first.
This bit specifies the sequence of the data bits in transmission and reception.
0: data is transmitted/received with the LSB first.
1: data is transmitted/received with the MSB first.
This bit field cannot be written when the USART is enabled (UEN=1).
10
DINV
Data bit level inversion.
This bit specifies the polarity of the data bits in transmission and reception.
0: Data bit signal values are not inverted.
1: Data bit signal values are inverted.
This bit field cannot be written when the USART is enabled (UEN=1).
9
TINV
TX pin level inversion.
This bit specifies the polarity of the TX pin.
0: TX pin signal values are not inverted.
1: TX pin signal values are inverted.
This bit field cannot be written when the USART is enabled (UEN=1).
8
RINV
RX pin level inversion.
This bit specifies the polarity of the RX pin.
0: RX pin signal values are not inverted.
1: RX pin signal values are inverted.
This bit field cannot be written when the USART is enabled (UEN=1).
7:6
Reserved
Must be kept the reset value.
5
EBIE
Interrupt enable bit of end of block event.
If this bit is set, an interrupt occurs when the EBF bit in USART_STAT1 is set.
0: End of block interrupt is enabled.
1: End of block interrupt is disabled.