GD32A50x User Manual
646
8
RWERRF
Rx error warning flag
This bit is updated when exiting from Pretended Networking mode.
0: No event occurrence.
1: RECNT[7:0] in CAN_ERR0 register is greater than or equal to 96
7
IDLEF
IDLE flag
0: No event occurrence
1: In Bus idle state
6
TS
Transmitting state
0: CAN is not working in transmitting state
1: CAN is working in transmitting state
5:4
ERRSI[1:0]
Error state indicator
When MMOD bit in CAN_CTL1 register and SWRST bit in CAN_CTL0 register are
both set to 1, this bit will be reset for one CAN bit time, and then changes to 0b01
to reflect Monitor mode state.
00: Error active
01: Error passive
1x: Bus off
3
RS
Receiving state
0: CAN is not working in receiving state
1: CAN is working in receiving state
2
BOF
Bus off flag
0: No event occurrence
1: In Bus off state
1
ERRSF
Error summary flag
This bit is logical ORed by the following bits:
CAN_ERR1[15]: Bit recessive error
CAN_ERR1[14]: Bit dominant error
CAN_ERR1[13]: ACK error
CAN_ERR1[12]: CRC error
CAN_ERR1[11]: Form error
CAN_ERR1[10]: Stuff error
0
Reserved
Must be kept at reset value.
23.5.7.
Interrupt enable register (CAN_INTEN)
Address offset: 0x28
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