Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 1002 of 1513
Aug 12, 2011
20.12 Interrupt Function
The CAN module provides 6 different interrupt sources.
The occurrence of these interrupt sources is stored in interrupt status registers. Four separate interrupt request signals
are generated from the six interrupt sources. When an interrupt request signal that corresponds to two or more interrupt
sources is generated, the interrupt sources can be identified by using an interrupt status register. After an interrupt source
has occurred, the corresponding interrupt status bit must be cleared to 0 by software.
Table 20-20. List of CAN Module Interrupt Sources
Interrupt Status Bit Interrupt Enable Bit No.
Name Register Name Register
Interrupt
Request Signal
Interrupt Source Description
1 CINTS0
Note 1
C0INTS CIE0
Note 1
C0IE INTC0TRX
Message frame successfully transmitted from
message buffer m
2 CINTS1
Note 1
C0INTS CIE1
Note 1
C0IE INTC0REC Valid message frame reception in message buffer m
3 CINTS2 C0INTS CIE2 C0IE CAN module error state interrupt
Note 2
4 CINTS3 C0INTS CIE3 C0IE CAN module protocol error interrupt
Note 3
5 CINTS4 C0INTS CIE4 C0IE
INTC0ERR
CAN module arbitration loss interrupt
6 CINTS5 C0INTS CIE5 C0IE INTC0WUP
CAN module wakeup interrupt from CAN sleep
mode
Note 4
Notes 1. The C0MCTRL.IE bit (message buffer interrupt enable bit) of the corresponding message buffer has to be
set to 1 for that message buffer to participate in the interrupt generation process.
2. This interrupt is generated when the transmission/reception error counter is at the warning level, or in the
error passive or bus-off state.
3. This interrupt is generated when a stuff error, form error, ACK error, bit error, or CRC error occurs.
4. This interrupt is generated when the CAN module is woken up from the CAN sleep mode because a falling
edge is detected at the CAN reception pin (CAN bus transition from recessive to dominant).
Remark m = 00 to 31