
GD32F403xx User Manual
626
2
BOERR
Bus-Off error
Whenever the CAN enters Bus-Off state, the bit will be set by hardware.
1
PERR
Passive error
Whenever the TECNT or RECNT is greater than 127, the bit will be set by
hardware.
0
WERR
Warning error
Whenever the TECNT or RECNT is greater than or equal to 96, the bit will be set
by hardware.
22.4.8.
Bit timing register (CAN_BT)
Address offset: 0x1C
Reset value: 0x0123 0000
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
SCMOD LCMOD
Reserved
SJW[1:0]
Reserved
BS2[2:0]
BS1[3:0]
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
BAUDPSC[9:0]
rw
Bits
Fields
Descriptions
31
SCMOD
Silent communication mode
0: Silent communication disabled
1: Silent communication enabled
30
LCMOD
Loopback communication mode
0: Loopback communication disabled
1: Loopback communication enabled
29:26
Reserved
Must be kept at reset value.
25:24
SJW[1:0]
Resynchronization jump width
Resynchronization jump width time quantum= SJW[1:0]+1
23
Reserved
Must be kept at reset value.
22:20
BS2[2:0]
Bit segment 2
Bit segment 2 time quantum = BS2[2:0]+1
19:16
BS1[3:0]
Bit segment 1
Bit segment 1 time quantum = BS1[3:0]+1
15:10
Reserved
Must be kept at reset value.