Chapter 29 Wakeup Unit (WKPU)
MPC5602P Microcontroller Reference Manual, Rev. 4
784
Freescale Semiconductor
29.4.2
Registers description
This section describes the Wakeup Unit registers.
29.4.2.1
NMI Status Flag Register (NSR)
This register holds the non-maskable interrupt status flags.
29.4.2.2
NMI Configuration Register (NCR)
This register holds the configuration bits for the non-maskable interrupt settings.
0x0008
NCR—NMI Configuration Register
0x000C–0x3FFF
Reserved
Address: Base + 0x0000
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R NIF
NOVF
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W w1c
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 29-1. NMI Status Flag Register (NSR)
Table 29-2. NSR field descriptions
Field
Description
0
NIF
NMI Status Flag
This flag can be cleared only by writing a 1. Writing a 0 has no effect. If enabled (NCR.NREE or
NCR.NFEE is set), NIF causes an interrupt request.
0: No event has occurred on the pad.
1: An event as defined by NRRC.NREE or NCR.NFEE has occurred.
1
NOVF
NMI Overrun Status Flag x
This flag can be cleared only by writing a 1. Writing a 0 has no effect. It will be a copy of the current
NIF value whenever an NMI event occurs, thereby indicating to the software that an NMI occurred
while the last one was not yet serviced. If enabled (NCR.NREE or NCR.NFEE set), NOVF causes
an interrupt request.
0: No overrun has occurred on NMI input.
1: An overrun has occurred on NMI input.
Table 29-1. WKPU memory map (continued)
Offset from
WKPU_BASE
(0xC3F9_4000)
Register
Location