GD32VF103 User Manual
450
2
RFFIE0
Receive FIFO0 full interrupt enable
0: Receive FIFO0 full interrupt disable
1: Receive FIFO0 full interrupt enable
1
RFNEIE0
Receive FIFO0 not empty interrupt enable
0: Receive FIFO0 not empty interrupt disable
1: Receive FIFO0 not empty interrupt enable
0
TMEIE
Transmit mailbox empty interrupt enable
0: Transmit mailbox empty interrupt disable
1: Transmit mailbox empty interrupt enable
20.4.7.
Error register (CAN_ERR)
Address offset: 0x18
Reset value: 0x0000 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
RECNT[7:0]
TECNT[7:0]
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
ERRN[2:0]
Reserved BOERR
PERR
WERR
rw
r
r
r
Bits
Fields
Descriptions
31:24
RECNT[7:0]
Receive Error Count defined by the CAN standard
23:16
TECNT[7:0]
Transmit Error Count defined by the CAN standard
15:7
Reserved
Must be kept at reset value
6:4
ERRN[2:0]
Error number
These bits indicate the error status of bit transformation. They are updated by the
hardware. While the bit transformation is successful, they are equal to 0. Software
can set these bits to 0b111.
000: No Error
001: Stuff Error
010: Form Error
011: Acknowledgment Error
100: Bit recessive Error
101: Bit dominant Error
110: CRC Error
111: Set by software