![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 748](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801748.webp)
GD32F20x User Manual
748
Time Stamp on SOF reception
Time Stamp sent in last two data bytes
26.3.
Function overview
Figure 26-1. CAN module block diagram
Figure 26-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
ai
lb
o
x
2
M
ai
lb
o
x
1
M
ai
lb
o
x
0
M
ai
lb
o
x
2
M
ai
lb
o
x
1
M
ai
lb
o
x
0
26.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 while 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.
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 GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...