30.11.13 Pin State

Important: On PIC32CMSG devices where the EIC is configured as Mix-Secure, non-secure read accesses will return the true value only for external interrupt x (EXTINTx) set as Non-Secure in the NONSEC register (NONSEC.EXTINTx bit). Else the read will return 0 for the external interrupt x (EXTINTx) set as Secure in the NONSEC register (NONSEC.EXTINTx bit).
Table 30-14. 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: PINSTATE
Offset: 0x38
Reset: 0x00000000
Property: R

Bit 3130292827262524 
 PINSTATE[31:24] 
Access RRRRRRRR 
Reset 00000000 
Bit 2322212019181716 
 PINSTATE[23:16] 
Access RRRRRRRR 
Reset 00000000 
Bit 15141312111098 
 PINSTATE[15:8] 
Access RRRRRRRR 
Reset 00000000 
Bit 76543210 
 PINSTATE[7:0] 
Access RRRRRRRR 
Reset 00000000 

Bits 31:0 – PINSTATE[31:0] Pin State

These bits return the valid pin state of the debounced external interrupt pin, EIC_EXTINTx.