GD32A50x User Manual
643
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MFD15
MFD14
MFD13
MFD12
MFD11
MFD10
MFD9
MFD8
MFD7
MFD6
MFD5
MFD4
MFD3
MFD2
MFD1
MFD0
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:0
MFDx
Mailbox filter data
MFD31 bit is used to filter the mailbox descriptor RTR field.
MFD30 bit is used to filter the mailbox descriptor IDE field.
MFDx (x = 0..28) bits are used to filter the mailbox descriptor ID field.
0: The bit is "don't care"
1: The bit is checked
23.5.5.
Error register 0 (CAN_ERR0)
Address offset: 0x1C
Reset value: 0x0000 0000
All bits of this register are read-only except in Inactive mode.
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
REFCNT[7:0]
TEFCNT[7:0]
rw0
rw0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RECNT[7:0]
TECNT[7:0]
rw
rw
Bits
Fields
Descriptions
31:24
REFCNT[7:0]
Receive error counter for data phase of FD frames with BRS bit set
This bit field can only be written as zero in Inactive mode.
23:16
TEFCNT[7:0]
Transmit error count for the data phase of FD frames with BRS bit set
This bit field can only be written as zero in Inactive mode.
15:8
RECNT[7:0]
Receive error count defined by the CAN standard
7:0
TECNT[7:0]
Transmit error count defined by the CAN standard
23.5.6.
Error register 1 (CAN_ERR1)
Address offset: 0x20
Reset value: 0x000X 000X
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
BRFERR BDFERR Reserved CRCFERR FMFERR STFFERR
Reserved
ERROVR ERRFSF
BORF
SYN
TWERRIF RWERRIF