GD32F20x User Manual
761
26.4.
Register definition
CAN0 start address: 0x4000 6400
CAN1 start address: 0x4000 6800
26.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
SLPWMOD
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 stops for
debug or works normal. If the CANx_HOLD in DBG_CTL0 register is cleared, this
bit takes no effect.
0: CAN reception and transmission works normal even during debug
1: CAN reception and transmission stops working during debug
15
SWRST
Software reset
0: No effect
1: Reset CAN with working mode of sleep. 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
If this bit is set, the sleep mode left when CAN bus activity detected, and SLPWMOD
bit in CAN_CTL register will be cleared automatically.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...