30.11.2 Non-Maskable Interrupt Control

Important: On PIC32CMSG devices where the EIC is configured as Mix-Secure, read and write accesses are allowed only if the NMI interrupt is set as Non-Secure in the NONSEC register (NONSEC.NMI bit).
Table 30-3. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: NMICTRL
Offset: 0x01
Reset: 0x00
Property: RW

Bit 76543210 
    NMIASYNCHNMIFILTENNMISENSE[2:0] 
Access RWRWRWRWRW 
Reset 00000 

Bit 4 – NMIASYNCH Asynchronous Edge Detection Mode

The NMI edge detection can be operated synchronously or asynchronously to the EIC clock.

ValueNameDescription
0SYNCEdge detection is clock synchronously operated
1ASYNCEdge detection is clock asynchronously operated

Bit 3 – NMIFILTEN Non-Maskable Interrupt Filter Enable

ValueDescription
0NMI filter is disabled.
1NMI filter is enabled.

Bits 2:0 – NMISENSE[2:0] Non-Maskable Interrupt Sense Configuration

These bits define on which edge or level the NMI triggers.

ValueNameDescription
0NONENo detection
1RISERising-edge detection
2FALLFalling-edge detection
3BOTHBoth-edges detection
4HIGHHigh-level detection
5LOWLow-level detection