30.11.14 Non-secure Interrupt Check Enable

Important: This register is only relevant for PIC32CMSG devices when the EIC has been defined as Mix-Secure in the H2PB bridge.

This register allows the user to select one or more external pins to check their security attribution as non-secured.

Table 30-15. 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: NSCHK
Offset: 0x3C
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
 NMIEXTINT[30:24] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 2322212019181716 
 EXTINT[23:16] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 15141312111098 
 EXTINT[15:8] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 76543210 
 EXTINT[7:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 

Bit 31 – NMI Non-Maskable External Interrupt Nonsecure Check Enable

This bit selects the Non-Maskable Interrupt pin for security attribution check. If the NMI bit in NONSECNMI is set to the opposite value, then the NSCHK interrupt flag will be set.

ValueDescription
00-to-1 transition will be detected on corresponding NONSEC bit.
11-to-0 transition will be detected on corresponding NONSEC bit.

Bits 30:0 – EXTINT[30:0] External Interrupt Nonsecure Check Enable

These bits select the individual pins for security attribution check. If any pin selected in NSCHK has the corresponding bit in NONSEC set to the opposite value, then the NSCHK interrupt flag will be set.

ValueDescription
00-to-1 transition will be detected on corresponding NONSEC bit.
11-to-0 transition will be detected on corresponding NONSEC bit.