GD32F403xx User Manual
616
22.4.
CAN registers
CAN0 base address: 0x4000 6400
CAN1 base address: 0x4000 6800
22.4.1.
Control register (CAN_CTL)
Address offset: 0x00
Reset value: 0x0001 0002
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
DFZ
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
SWRST
Reserved
TTC
ABOR
AWU
ARD
RFOD
TFO
SLPWMO
D
IWMOD
rs
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:17
Reserved
Must be kept at reset value.
16
DFZ
Debug freeze
If the CANx_HOLD in DBG_CTL0 register is set, this bit defines the CAN
controller is in debug freezing mode or normal working mode. If the CANx_HOLD
in DBG_CTL0 register is cleared, this bit takes no effect.
0: CAN reception and transmission work normal even during debug
1: CAN reception and transmission stop working during debug
15
SWRST
Software reset
0: No effect
1: Reset CAN to enter sleep working mode. This bit is automatically reset to 0.
14:8
Reserved
Must be kept at reset value.
7
TTC
Time-triggered communication
0: Disable time-triggered communication
1: Enable time-triggered communication
6
ABOR
Automatic Bus-Off recovery
0: The Bus-Off state is left manually by software
1: The Bus-Off state is left automatically by hardware
5
AWU
Automatic wakeup