28.7.16 Non-secure Interrupt

This register allows to set the NMI or external interrupt control and status registers in non-secure mode, individually per interrupt pin.
Important: This register is only available for PIC32CM LS00/LS60 and has no effect for PIC32CM LE00.
Name: NONSEC
Offset: 0x40
Reset: 0x00000000
Property: PAC Write-Protection, Write-Secure

Bit 3130292827262524 
 NMI        
Access RW/R/RW 
Reset 0 
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 EXTINT15EXTINT14EXTINT13EXTINT12EXTINT11EXTINT10EXTINT9EXTINT8 
Access RW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RW 
Reset 00000000 
Bit 76543210 
 EXTINT7EXTINT6EXTINT5EXTINT4EXTINT3EXTINT2EXTINT1EXTINT0 
Access RW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RWRW/R/RW 
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
0 NMI is secure.
1 NMI is non-secure.

Bits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 – EXTINT Non-Secure External Interrupt

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, NTENCLR, INTENSET, INTFLAG and CONFIG registers.

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