
GD32F403xx User Manual
603
22.3.
Function
overview
Figure 22-1. CAN module block diagram
shows the CAN block diagram.
Figure 22-1. CAN module block diagram
CAN0
Transmit
mailbox[0..2]
Receive
FIFO[0..1]
CAN1
Transmit
mailbox[0..2]
Receive
FIFO[0..1]
CAN0 Tx/Rx
CAN1 Tx/Rx
M
a
ilb
o
x
2
M
a
ilb
o
x
1
M
a
ilb
o
x
0
M
a
ilb
o
x
2
M
a
ilb
o
x
1
M
a
ilb
o
x
0
22.3.1.
Working mode
The CAN interface has three working modes:
◼
Sleep working mode.
◼
Initial working mode.
◼
Normal working mode.
Sleep working mode
Sleep working mode is the default mode after reset. In sleep working mode, the CAN is in the
low-power status and the CAN clock is stopped.
When SLPWMOD bit in CAN_CTL register is set, the CAN enters the sleep working mode.
Then the SLPWS bit in CAN_STAT register is set by hardware.
To leave sleep working mode automatically: the AWU bit in CAN_CTL register is set and the
CAN bus activity is detected. To leave sleep working mode by software: clear the SLPWMOD
bit in CAN_CTL register.
Sleep working mode to initial working mode: set IWMOD bit and clear SLPWMOD bit in
CAN_CTL register.
Sleep working mode to normal working mode: clear IWMOD and SLPWMOD bit in CAN_CTL
register.
Содержание 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 ...