![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 515](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801515.webp)
GD32F20x User Manual
515
19.4.9.
Receiver timeout register (USART_RT)
Address offset: 0x84
Reset value: 0x0000 0000
This register is not available for UART3/4/6/7.
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
BL[7:0]
RT[23:16]
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RT[15:0]
rw
Bits
Fields
Descriptions
31:24
BL[7:0]
Block Length
These bits specify the block length in Smartcard T=1 reception. Its value equals to
the number of information char the length of the Epilogue Field (1-LEC/2-
CRC) - 1.
This value, which must be programmed only once per received block, can be
programmed after the start of the block reception (using the data from the LEN
character in the Prologue Field). The block length counter is reset when TBE=0 in
Smartcard mode.
In other modes, when REN=0 (receiver disabled), or when the EBF bit of
USART_STAT1 is written to 0, the block length counter is reset.
23:0
RT[23:0]
Receiver timeout threshold
These bits are used to specify receiver timeout value in terms of number of baud
clocks.
If Smartcard mode is not enabled, the RTF bit of USART_STAT1 is set if no new
start bit is detected longer than RT bits time after the last received character.
If Smartcard mode is enabled, the CWT and BWT are implemented by this value.
In this case, the timeout measurement is started from the start bit of the last received
character.
These bits can be written on the fly. The RTF flag will be set if the new value is lower
than or equal to the internal timeout counter. These bits must only be programmed
once per received character.
19.4.10.
Status register 1 (USART_STAT1)
Address offset: 0x88
Reset value: 0x0000 0000
This register is not available for UART3/4/6/7.
This register has to be accessed by word(32-bit)
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 ...