CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
142
User’s Manual U15195EJ5V0UD
7.2.3 Non-maskable interrupt status flag (NP)
The NP flag is a status flag that indicates that non-maskable interrupt (NMI) servicing is under execution.
This flag is set when an NMI interrupt has been acknowledged, and masks all interrupt requests and exceptions to
prohibit multiple interrupts from being acknowledged.
31
0
PSW
After reset
00000020H
7
NP
6
EP
5
ID
4
SAT
3
CY
2
OV
1
S Z
8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit position
Bit name
Function
7
NP
Indicates whether NMI interrupt servicing is in progress.
0: No NMI interrupt servicing
1: NMI interrupt currently being serviced
7.2.4 Edge detection function
(1) External interrupt mode register 0 (INTM0)
External interrupt mode register 0 (INTM0) is a register that specifies the valid edge of a non-maskable
interrupt (NMI). The NMI valid edge can be specified to be either the rising edge or the falling edge by the
ESN0 bit.
This register can be read/written in 8-bit or 1-bit units.
Address
FFFFF880H
7
0
INTM0
6
0
5
0
4
0
3
0
2
0
1
0
<0>
ESN0
After reset
00H
Bit position
Bit name
Function
0
ESN0
Specifies the NMI pin’s valid edge.
0: Falling edge
1: Rising edge
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...