upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 647

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.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 cor-
responds 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.
Note: The IE bit (message buffer interrupt enable bit) in the CnMCTRL register of the corresponding
Supplements: 1. This interrupt is generated when the transmission/reception error counter is at the
Remark:
No
1
2
3
4
5
6
Interrupt Status Bit Interrupt Enable Bit
CINTS0 CnINTS CIE0
CINTS1 CnINTS CIE1
CINTS2 CnINTS
CINTS3 CnINTS
CINTS4 CnINTS
CINTS5 CnINTS
Name
message buffer has to be set to 1 for that message buffer to participate in the interrupt genera-
tion process.
n = 0, 1
m = 0 to 31
Register
2. This interrupt is generated when a stuff error, form error, ACK error, bit error, or CRC
3. This interrupt is generated when the CAN module is woken up from the CAN sleep
warning level, or in the error passive or bus-off state.
error occurs.
mode because a falling edge is detected at the CAN reception pin (CAN bus transi-
tion from recessive to dominant).
Table 16-20: List of CAN Module Interrupt Sources
Name
CIE2
CIE3
CIE4
CIE5
Note
Note
User’s Manual U16702EE3V2UD00
Register
CnIE
CnIE
CnIE
CnIE
CnIE
CnIE
Chapter 16 FCAN Controller
Request Signal
INTCnWUP
INTCnREC
INTCnERR
INTCnTRX
Interrupt
Message frame successfully transmitted from mes-
sage buffer m
Valid message frame reception in message buffer m
CAN module error state interrupt (Supplement 1)
CAN module protocol error interrupt (Supplement 2)
CAN module arbitration loss interrupt
CAN module wake-up interrupt from CAN sleep
mode (Supplement 3)
Interrupt Source Description
647

Related parts for upd70f3402