R01UH0823EJ0100 Rev.1.00 Page 1278 of 1823
Jul 31, 2019
RX23W Group 36. CAN Module (RSCAN)
36.7 Interrupt
The CAN module has 5 interrupts that are grouped into global interrupts and channel interrupts.
Global interrupts (2 interrupts):
Global receive FIFO interrupt (RXFINT)
Global error interrupt (GLERRINT)
Channel interrupts (3 interrupts per channel):
Channel transmit interrupt (TXINT)
- Transmit complete interrupt
- Transmit abort interrupt
- Transmit/receive FIFO transmit complete interrupt (transmit mode)
- Transmit history interrupt
Transmit/receive FIFO receive interrupt (COMFRXINT)
Channel error interrupt (CHERRINT)
When an interrupt request is generated, the corresponding CAN module interrupt request flag becomes 1 (interrupt
request present). In that case, when the interrupt enable bit is set to 1 (enabling interrupts), an interrupt request is output
from the CAN module. (Generation of interrupts also is controlled by the interrupt function.)
Setting the interrupt request flag to 0 (no interrupt request present) or setting the interrupt enable bit to 0 (disabling
interrupts) clears the current interrupt request. The next interrupt request is not generated until the interrupt request is
cleared.
For details on the setting of the interrupt functions, refer to
section 15, Interrupt Controller (ICUb).
In the following pages,
Table 36.11 lists the CAN interrupt sources, Figure 36.13 shows the CAN global interrupt
block diagram, and
Figure 36.14 shows the CAN channel interrupt block diagram.