GD32F20x User Manual
763
10
LASTRX
Last sample value of RX pin
9
RS
Receiving state
0: CAN is not working in the receiving state
1: CAN is working in the receiving state
8
TS
Transmitting state
0: CAN is not working in the transmitting state
1: CAN is working in the transmitting state
7:5
Reserved
Must be kept at reset value
4
SLPIF
Status change interrupt flag of sleep working mode entering
This bit is set by hardware when entering sleep working mode, and cleared by
hardware when the CAN is not in sleep working mode. This bit can also be cleared
by software when writing 1 to this bit.
0: CAN is not entering the sleep working mode
1: CAN is entering the sleep working mode
3
WUIF
Status change interrupt flag of wakeup from sleep working mode
This bit is set when CAN bus activity is detected in sleep working mode. This bit can
be cleared by software when writing 1 to this bit.
0: Wakeup event is not coming
1: Wakeup event is coming
2
ERRIF
Error interrupt flag
This bit is set by following event. The BOERR bit in CAN_ERR register is set and
BOIE bit in CAN_INTEN register is set. Or the PERR bit in CAN_ERR register is set
and PERRIE bit in CAN_INTEN register is set. Or the WERR bit in CAN_ERR
register is set and WERRIE bit in CAN_INTEN register is set. Or the ERRN bits in
CAN_ERR register are set to 1 to 6 (not 0 and not 7) and ERRNIE in CAN_INTEN
register is set. This bit is cleared by software when writing 1 to this bit.
0: No error interrupt flag
1: Any error interrupt flag has happened
1
SLPWS
Sleep working state
This bit is set by hardware when the CAN enters sleep working mode after setting
SLPWMOD bit in CAN_CTL register. If the CAN leaves from normal working mode
to sleep working mode, it must wait the current frame transmission or reception
completed. This bit is cleared by hardware when the CAN leaves sleep working
mode. Clear SLPWMOD bit in CAN_CTL register or automatically detect the CAN
bus activity when AWU bit is set in CAN_CTL register. If CAN leaves sleep working
mode to normal working mode, this bit will be cleared after receiving 11 consecutive
recessive bits from the CAN bus.
0: CAN is not the state of sleep working mode
1: CAN is the state of sleep working mode
0
IWS
Initial working state
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...