In-Service Priority Register (Ispr) - NEC V850E/IA1 mPD703116 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

7.3.6 In-service priority register (ISPR)

This register holds the priority level of the maskable interrupt currently acknowledged. When an interrupt request
is acknowledged, the bit of this register corresponding to the priority level of that interrupt request is set to 1 and
remains set while the interrupt is serviced.
When the RETI instruction is executed, the bit corresponding to the interrupt request having the highest priority is
automatically reset to 0 by hardware. However, it is not reset to 0 when execution is returned from non-maskable
interrupt servicing or exception processing.
This register is read-only in 8-bit or 1-bit units.
Caution In the interrupt enabled (EI) state, if an interrupt is acknowledged during the reading of the ISPR
register, the value of the ISPR register may be read after the bit is set to 1 by this interrupt
acknowledgement.
acknowledgement, read it in the interrupt disabled (DI) state.
<7>
<6>
ISPR
ISPR7
ISPR6
Bit Position
Bit Name
7 to 0
ISPR7 to ISPR0
Remark n = 0 to 7 (priority level)
CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
To read the value of the ISPR register properly before interrupt
<5>
<4>
<3>
ISPR5
ISPR4
ISPR3
Indicates priority of interrupt currently acknowledged
0: Interrupt request with priority n not acknowledged
1: Interrupt request with priority n acknowledged
User's Manual U14492EJ3V0UD
<2>
<1>
<0>
ISPR2
ISPR1
ISPR0
Function
Address
Initial value
FFFFF1FAH
00H
183

Advertisement

Table of Contents
loading

Table of Contents