30.11.15 Non-secure Interrupt

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 to set the NMI or external interrupt control and status registers in non-secure mode, individually per interrupt pin.

Table 30-16. 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: NONSEC
Offset: 0x40
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 Interrupt Nonsecure Enable

This bit enables the non-secure mode of NMI.

The registers whose content is set in non-secure mode by NONSEC.NMI are NMICTRL and NMIFLAG registers.

ValueDescription
0NMI is secure.
1NMI is non-secure.

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

The bit x of EXTINT enables the non-secure mode of EXTINTx.

The registers whose EXTINT bit or bitfield x is set in non-secure mode by NONSEC.EXTINTx are EVCTRL, ASYNCH, IDEBOUNCEN, INTENCLR, INTENSET, INTFLAG and CONFIG registers.

ValueDescription
0EXTINTx is secure.
1EXTINTx is non-secure.