GD32A50x User Manual
645
1: Bus off recovery sequence event occurs
18
SYN
Synchronization flag
0: Not synchronized to the CAN bus
1: Synchronized to the CAN bus
17
TWERRIF
Tx error warning interrupt flag
This bit is not used during Bus off state.
0: No event occurrence
1: TWERRF bit in CAN_ERR1 register changes from 0 to 1
16
RWERRIF
Rx error warning interrupt flag
This bit is updated when exiting from Pretended Networking mode.
0: No event occurrence
1: RWERRF bit in CAN_ERR1 register changes from 0 to 1
15
BRERR
Bit recessive error for all format frames
This bit is updated when exiting from Pretended Networking mode.
0: No error occurrence
1: At least one bit sent as recessive is received as dominant
14
BDERR
Bit dominant error for all format frames
This bit is updated when exiting from Pretended Networking mode.
0: No error occurrence
1: At least one bit sent as dominant is received as recessive
13
ACKERR
ACK error
This bit is updated when exiting from Pretended Networking mode.
0: No error occurrence
1: An ACK error occurred
12
CRCERR
CRC error
This bit is updated when exiting from Pretended Networking mode.
0: No error occurrence
1: A CRC error occurred
11
FMERR
Form error
This bit is updated when exiting from Pretended Networking mode.
0: No error occurrence
1: A form error occurred
10
STFERR
Stuff error
This bit is updated when exiting from Pretended Networking mode.
0: No error occurrence
1: A stuffing error occurred
9
TWERRF
Tx error warning flag
0: No event occurrence
1: TECNT[7:0] in CAN_ERR0 register is greater than or equal to 96