GD32F20x User Manual
510
10
CPL
CK polarity
This bit specifies the polarity of the CK pin in synchronous mode.
0: The CK pin is in low state when the USART is in idle state
1: The CK pin is in high state when the USART is in idle state
This bit field cannot be written when the USART is enabled (UEN=1).
This bit is reserved for UART3/4/6/7.
9
CPH
CK phase
This bit specifies the phase of the CK pin in synchronous mode.
0: The capture edge of the LSB bit is the first edge of CK pin
1: The capture edge of the LSB bit is the second edge of CK pin
This bit field cannot be written when the USART is enabled (UEN=1).
This bit is reserved for UART3/4/6/7.
8
CLEN
CK Length
This bit specifies the length of the CK signal in synchronous mode.
0: There are 7 CK pulses for an 8 bit frame and 8 CK pulses for a 9 bit frame
1: There are 8 CK pulses for an 8 bit frame and 9 CK pulses for a 9 bit frame
This bit field cannot be written when the USART is enabled (UEN=1).
This bit is reserved for UART3/4/6/7.
7
Reserved
Must be kept the reset value
6
LBDIE
LIN break detected interrupt enable
If this bit is set, an interrupt occurs when the LBDF bit in USART_STAT0 is set.
0: LIN break detected interrupt is disabled
1: LIN break detected interrupt is enabled
5
LBLEN
LIN break frame length
This bit specifies the length of a LIN break frame.
0: 10 bit
1: 11 bit
This bit field cannot be written when the USART is enabled (UEN=1).
4
Reserved
Must be kept the reset value
3:0
ADDR[3:0]
Address of the USART
In wake up by address match mode (WM=1), the USART enters mute mode when
the LSB 4 bits of a received frame do not equal with the ADDR[3:0] bits, and wakes
up when the LSB 4 bits of a received frame equal with the ADDR[3:0] bits.
19.4.6.
Control register 2 (USART_CTL2)
Address offset: 0x14
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
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...