198
Chapter 7
Interrupt/Exception Processing Function
Preliminary User’s Manual U14913EE1V0UM00
7.3.3 Priorities of maskable interrupts
The V850E/CA1 / ATOMIC provides multiple interrupt servicing in which an interrupt is acknowledged
while another interrupt is being serviced. Multiple interrupts can be controlled by priority levels.
There are two types of priority level control: control based on the default priority levels, and control
based on the programmable priority levels that are specified by the interrupt priority level specification
bit (xxPRn) of the interrupt control register (xxICn). When two or more interrupts having the same prior-
ity level specified by the xxPRn bit are generated at the same time, interrupts are serviced in order
depending on the priority level allocated to each interrupt request type (default priority level) before-
hand. For more information, refer to Table 7-1: Interrupt/Exception Source List (Sheet 1 of 3). The
programmable priority control customizes interrupt requests into eight levels by setting the priority level
specification flag.
Note that when an interrupt request is acknowledged, the ID flag of PSW is automatically set to 1.
Therefore, when multiple interrupts are to be used, clear the ID flag to 0 beforehand (for example, by
placing the EI instruction in the interrupt service program) to set the interrupt enable mode.
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...