GD32VF103 User Manual
451
3
Reserved
Must be kept at reset value
2
BOERR
Bus-off error
Whenever the CAN enters bus-off state, the bit will be set by the hardware. The
bus-off state is entered on TECNT overflow, greater than 255.
1
PERR
Passive error
Whenever the TECNT or RECNT is greater than 127, the bit will be set by the
hardware.
0
WERR
Warning error
Whenever the TECNT or RECNT is greater than or equal to 96, the bit will be set
by the hardware.
20.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 disable
1: Silent communication enable
30
LCMOD
Loopback communication mode
0: Loopback communication disable
1: Loopback communication enable
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