GD32F20x User Manual
752
In the state of transmit, the abort of transmission does not take effect immediately until the
transmission is finished. In case of transmission successful, the MTFNERR and MTF in
CAN_TSTAT are set and state changes to empty. In case of transmission failed, the state
changes to be scheduled and then the abort of transmission can be done immediately.
Priority
When more than one transmit mailbox is pending, the transmission order is given by the TFO
bit in CAN_CTL register.
In case TFO is 1, the three transmit mailboxes work as FIFO.
In case TFO is 0, the transmit mailbox with lowest identifier has the highest priority of
transmission. If the identifiers are equal, the lower mailbox number will be scheduled first.
26.3.4.
Data reception
Reception register
Two receive FIFOs are transparent to the application. You can use receive FIFOs through
five registers: CAN_RFIFOx, CAN_RFIFOMIx, CAN_RFIFOMPx, CAN_RFIFOMDATA0x and
CAN_RFIFOMDATA1x. FIFO
’s status and operation can be handled by CAN_RFIFOx
register. Reception frame data can be achieved through the registers: CAN_RFIFOMIx,
CAN_RFIFOMPx, CAN_RFIFOMDATA0x and CAN_RFIFOMDATA1x.
Each FIFO consists of three receive mailboxes. As shown in
Figure 26-4. Reception register
Figure 26-4. Reception register
Application
Receive FIFO0
Receive FIFO1
RFIFOMI0
RFIFOMP0
RFIFOMDATA00
RFIFOMDATA10
RFIFOMI1
RFIFOMP1
RFIFOMDATA01
RFIFOMDATA11
M
a
ilb
o
x
0
M
a
ilb
o
x
1
M
a
ilb
o
x
2
M
a
ilb
o
x
0
M
a
ilb
o
x
1
M
a
ilb
o
x
2
RFIFO0
RFIFO1
Receive FIFO
Receive FIFO has three mailboxes. The reception frames are stored in the mailbox ordered
by the arriving sequence of the frames. First arrived frame can be accessed by application
firstly.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...