Usart Request Register (Usart_Rqr) - ST STM32G0 1 Series Reference Manual

Table of Contents

Advertisement

Universal synchonous receiver transmitter (USART)
Bits 31:24 BLEN[7:0]: Block Length
This bitfield gives the Block length in Smartcard T = 1 Reception. Its value equals the
number of information characters + the length of the Epilogue Field (1-LEC/2-CRC) - 1.
Examples:
BLEN = 0: 0 information characters + LEC
BLEN = 1: 0 information characters + CRC
BLEN = 255: 254 information characters + CRC (total 256 characters))
In Smartcard mode, the Block length counter is reset when TXE = 0 (TXFE = 0 in case FIFO
mode is enabled).
This bitfield can be used also in other modes. In this case, the Block length counter is reset
when RE = 0 (receiver disabled) and/or when the EOBCF bit is written to 1.
Note: This value can be programmed after the start of the block reception (using the data
Bits 23:0 RTO[23:0]: Receiver timeout value
This bitfield gives the Receiver timeout value in terms of number of bits during which there is
no activity on the RX line.
In standard mode, the RTOF flag is set if, after the last received character, no new start bit is
detected for more than the RTO value.
In Smartcard mode, this value is used to implement the CWT and BWT. See Smartcard
chapter for more details. In the standard, the CWT/BWT measurement is done starting from
the start bit of the last received character.
Note: This value must only be programmed once per received character.
Note:
RTOR can be written on-the-fly. If the new value is lower than or equal to the counter, the
RTOF flag is set.
This register is reserved and forced by hardware to "0x00000000" when the Receiver
timeout feature is not supported. Refer to
33.8.8

USART request register (USART_RQR)

Address offset: 0x18
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
1068/1390
from the LEN character in the Prologue Field). It must be programmed only once per
received block.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
Section 33.4: USART implementation on page 1000
24
23
22
Res.
Res.
Res.
Res.
8
7
6
Res.
Res.
Res.
Res.
RM0444 Rev 5
21
20
19
18
Res.
Res.
Res.
5
4
3
2
TXFRQ RXFRQ MMRQ SBKRQ ABRRQ
w
w
w
RM0444
.
17
16
Res.
Res.
1
0
w
w

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G0 1 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF