134
User’s Manual U15195EJ5V0UD
CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
The V850E/IA2 is provided with an interrupt controller (INTC) that can process a total of 48 interrupt requests.
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 V850E/IA2 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 (i.e. fetching of an illegal opcode) (exception trap).
Eight levels of software-programmable priorities can be specified for each interrupt request. Interrupt servicing
starts after at least 4 system clocks (100 ns (@ 40 MHz)) following the generation of an interrupt request.
7.1 Features
{
Interrupts
• Non-maskable interrupts: 1 source
Caution P00 alternately functions as NMI, and is fixed to input. P00 and NMI cannot be switched. If
the P00 bit of the P0 register is read, the level of the P00/NMI pin is read.
Set the valid edge of the NMI pin using the ESN0 bit of the INTM0 register (default value:
falling edge detection).
• Maskable interrupts: 47 sources
• 8 levels of programmable priorities (maskable interrupts)
• Multiple interrupt control according to priority
• Masks can be specified for each maskable interrupt request.
• Noise elimination
Note
, edge detection, and valid edge specification for external interrupt request signals.
Note
For details of the noise eliminator, refer to
12.4 Noise Eliminator.
{
Exceptions
• Software exceptions: 32 sources
• Exception traps: 2 sources (illegal opcode exception and debug trap)
Interrupt/exception sources are listed in Table 7-1.
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...