
GD32F10x User Manual
624
Time Stamp sent in last two data bytes
21.3.
Function overview
Figure 21-1. CAN module block diagram
Figure 21-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
21.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.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...