542
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
CAN interrupt
Figure 20-13 Event flag and interrupt generation
CAN has four interrupt vectors. By setting the CAN interrupt enable register (CAN_INTE), you can individually
enable or disable each interrupt source. The following are the events that can generate each interrupt.
FIFO0 interrupt(CAN_RX0_IRQn):
FIFO0 receives a new message, and the CAN_RFF0.FFMP0 bit is not '00' ;
When FIFO0 becomes full, and the CAN_ RFF0.FFULL0 bit is set;
When FIFO0 overruns, and the CAN_ RFF0.FFOVR0 bit is set.
FIFO1 interrupt(CAN_RX1_IRQn):
FIFO1 receive a new message, and the CAN_RFF1.FFMP1 bit is not '00'.
When FIFO1 becomes full, and the CAN_RFF1.FFULL1 bit is set.
When FIFO1 overruns, and the CAN_ RFF1.FFOVR1 bit is set.
Send interrupts(CAN_TX_IRQn):
RQCPM0
RQCPM1
RQCPM2
TMEITE
CAN_TX_IRQn
FFMP0
FMPITE0
FFULL0
FFITE0
CA
N_
RF
F0
FFOVR0
FOVITE0
FFMP1
FMPITE1
FFULL1
FFITE1
FFOVR1
FOVITE1
CAN_RX0_IRQn
EWGFL
EWGITE
EPVFL
EPVITE
BOFFL
BOFITE
ERRINT
1
LEC
6
LECITE
ERRITE
CAN_MSTS
WKUINT
WKUITE
SLAKINT
SLKITE
CAN_SCE_IRQn
CAN_RX1_IRQn
CA
N_
RF
F1
CAN_
TSTS
CA
N_
ES
TS
CAN_
MSTS
C
A
N
_
I
N
T
E