827
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
18.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.
Table 18-1:
List of CAN module interrupt sources
Note:
The IE bit (message buffer interrupt enable bit) in the CnMCTRL register of the corresponding
message buffer has to be set to 1 for that message buffer to participate in the interrupt genera-
tion process.
Notes: 1.
This interrupt is generated when the transmission/reception error counter is at the warning
level, or in the error passive or bus-off state.
2.
This interrupt is generated when a stuff error, form error, ACK error, bit error, or CRC error
occurs.
3.
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 reces-
sive to dominant).
No.
Interrupt status bit
Interrupt enable bit
Interrupt
request
signal
Interrupt source description
Name
Register
Name
Register
1
CINTS0
CnINTS
CIE0
Note
CnIE
INTCnTRX
Message frame successfully transmitted from
message buffer m
2
CINTS1
CnINTS
CIE1
Note
CnIE
INTCnREC
Valid message frame reception in message
buffer m
3
CINTS2
CnINTS
CIE2
CnIE
INTCnERR
CAN module error state interrupt
(Supplement 1)
4
CINTS3
CnINTS
CIE3
CnIE
CAN module protocol error interrupt
(Supplement 2)
5
CINTS4
CnINTS
CIE4
CnIE
CAN module arbitration loss interrupt
6
CINTS5
CnINTS
CIE5
CnIE
INTCnWUP
CAN module wakeup interrupt from CAN
sleep mode (Supplement 3)
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......