
User’s Manual U15862EJ3V0UD
607
CHAPTER 19 INTERRUPT/EXCEPTION PROCESSING FUNCTION
19.1 Overview
The V850ES/KF1, V850ES/KG1, and V850ES/KJ1 are provided with a dedicated interrupt controller (INTC) for
interrupt servicing and realize a high-powered interrupt function that can service interrupt requests from a total of 33 to
45 sources.
An interrupt is an event that occurs independently of program execution, and an exception is an event whose
occurrence is dependent on program execution.
The V850ES/KF1, V850ES/KG1, and V850ES/KJ1 can process interrupt requests from the on-chip peripheral
hardware and external sources. Moreover, exception processing can be started by the TRAP instruction (software
exception) or by generation of an exception event (fetching of an illegal op code) (exception trap).
19.1.1 Features
Interrupt Source
V850ES/KF1
V850ES/KG1
V850ES/KJ1
External
1 channel (NMI pin)
Non-maskable
interrupt
Internal
2 channels (WDT1, WDT2)
External
7 channels (all edge detection interrupts)
WDT1
1 channel
1 channel
1 channel
TM0
4 channels
8 channels
12 channels
TMH
2 channels
2 channels
2 channels
TM5
2 channels
2 channels
2 channels
WT
2 channels
2 channels
2 channels
BRG
1 channel
1 channel
1 channel
UART
6 channels
6 channels
9 channels
CSI0
2 channels
2 channels
3 channels
CSIA
1 channel
2 channels
2 channels
IIC
1 channel
1 channel
2 channels
KR
1 channel
1 channel
1 channel
AD
1 channel
1 channel
1 channel
Interrupt
function
Maskable interrupt
Internal
Total
24 channels
29 channels
38 channels
16 channels (TRAP00H to TRAP0FH)
Software exception
16 channels (TRAP10H to TRAP1FH)
Exception
function
Exception trap
2 channels (ILGOP/DBG0)
Tables 19-1 to 19-3 list the interrupt/exception sources.