User’s Manual U15109EJ3V0UD
217
CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
7.1 Outline
The V850/SC1, V850/SC2, and V850/SC3 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 49 to 56
sources.
An interrupt is an event that occurs independently of program execution, and an exception is an event that whose
occurrence is dependent on program execution.
The V850/SC1, V850/SC2, and V850/SC3 can process interrupt requests from the on-chip peripheral hardware
and external sources. Moreover, exception processing can be started (exception trap) by the TRAP instruction
(software exception) or by generation of an exception event (fetching of an illegal op code).
7.1.1 Features
•
Interrupts
•
Non-maskable: 2 sources
•
Maskable: (Number of maskable interrupt sources differs depending on product)
(V850/SC1)
µ
PD703068Y, 70F3089Y:
49 sources
(V850/SC2)
µ
PD703069Y, 70F3089Y:
51 sources
(V850/SC3)
µ
PD703088Y:
53 sources
µ
PD703089Y, 70F3089Y:
56 sources
•
8 levels of programmable priorities
•
Mask specification for interrupt requests according to priority
•
Masks can be individually specified for maskable interrupt requests.
•
Noise elimination, edge detection, and valid edge of external interrupt request signal can be specified.
•
Exceptions
•
Software exceptions: 32 sources
•
Exception trap:
1 source (illegal op code exception)
The interrupt/exception sources are listed in Table 7-1.