32.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 32-18. 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: PAC Write-Protection

Bit 3130292827262524 
 NMI        
Access R/W 
Reset 0 
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 EXTINT15EXTINT14EXTINT13EXTINT12EXTINT11EXTINT10EXTINT9EXTINT8 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 EXTINT7EXTINT6EXTINT5EXTINT4EXTINT3EXTINT2EXTINT1EXTINT0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 31 – NMI Non-Secure Non-Maskable Interrupt

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 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 – EXTINT 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, DEBOUNCEN, INTENCLR, INTENSET, INTFLAG and CONFIG registers.

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