User’s Manual U13850EJ6V0UD
146
CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
5.1 Outline
The V850/SB1 and V850/SB2 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 37 to 40 sources.
An interrupt is an event that occurs independently of program execution, and an exception is an event that is
dependent on program execution. Generally, an exception takes precedence over an interrupt.
The V850/SB1 and V850/SB2 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 opcode) (exception trap).
5.1.1 Features
•
Interrupts
•
Non-maskable interrupts: 2 sources
•
Maskable interrupts: (the number of maskable interrupt sources differs depending on the product)
(V850/SB1)
µ
PD703030B, 703031A, 703031B, 703032A, 703032B, 703033A, 703033B,
70F3030B, 70F3032A, 70F3032B, 70F3033A, 70F3033B:
37 sources
µ
PD703030BY, 703031AY, 703031BY, 703032AY, 703032BY, 703033AY, 703033BY,
70F3030BY, 70F3032AY, 70F3032BY, 70F3033AY, 70F3033BY:
38 sources
(V850/SB2)
µ
PD703034A, 703034B, 703035A, 703035B, 703036H, 703037A, 703037H,
70F3035A, 70F3035B, 70F3036H, 70F3037A, 70F3037H:
39 sources
µ
PD703034AY, 703034BY, 703035AY, 703035BY, 703036HY, 703037AY, 703037HY,
70F3035AY, 70F3035BY, 70F3036HY, 70F3037AY, 70F3037HY:
40 sources
•
8 levels of programmable priorities
•
Mask specification for interrupt requests according to priority
•
Masks can be specified for each maskable interrupt request.
•
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 opcode exception)
The interrupt/exception sources are listed in Table 5-1.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...