Wakeup Unit (WKPU)MPC5606S Microcontroller Reference Manual, Rev. 71246 Freescale SemiconductorThe Wakeup Unit supports the generation of three types of interrupts from the NMI. The Wakeup Unitsupports the capturing of a second event per NMI input before the interrupt is cleared, thus reducing thechance of losing an NMI event.Each NMI passes through a bypassable analog glitch filter.NOTEGlitch filter control and pad configuration should be done while the NMI isdisabled in order to avoid erroneous triggering by glitches caused by theconfiguration process itself.Figure 41-11. NMI Pad Diagram41.5.2.1 NMI ManagementThe NMI can be enabled or disabled using the single NCR register laid out to contain all configuration bitsfor an NMI in a single byte (see Figure 41-3). The pad defined as an NMI can be configured by the userto recognize interrupts with an active rising edge, an active falling edge or both edges being active. Asetting of having both edge events disabled results in no interrupt being detected and should not beconfigured.The active NMI edge is controlled by the user through the configuration of the NREE and NFEE bits.Glitch FilterEdge DetectFlag OverrunDestinationNMIcritical IRQmachine checkWakeup EnableCPUMode/Pwr CtlNDSSNWRENREENFEENFENMI Configuration Register (NCR)