GD32F403xx User Manual
607
done immediately.
In the
transmit
state, the abort of transmission does not take effect immediately until the
transmission is finished. In case that the transmission is successful, the MTFNERR and MTF
in CAN_TSTAT are set and state changes to be
empty
. In case that the transmission is 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 that TFO is 1, the three transmit mailboxes work first-in first-out (FIFO).
In case that 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 firstly.
22.3.4.
Data reception
Reception register
Two Rx FIFOs are used f or the application. Rx FIFOs are managed by f ive 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 f rame data can be achieved through the registers: CAN_RFIFOMIx,
CAN_RFIFOMPx, CAN_RFIFOMDATA0x and CAN_RFIFOMDATA1x.
Each FIFO consists of three receive mailboxes. As is shown in
Figure 22-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
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...