16.10.4 IOCGF

PORTG Interrupt-on-Change Flag Register
Note:
  1. If MCLRE = 1 or LVP = 1, RG5 port functionality is disabled and IOC on RG5 is not available.
Name: IOCGF
Offset: 0xEB5

Bit 76543210 
   IOCGF5      
Access R/W 
Reset 0 

Bit 5 – IOCGF5 RG5 Interrupt-on-Change Flag bit

ValueNameDescription
1 IOCGP5 = 1 A positive edge was detected on the RG5 pin
1 IOCGN5 = 1 A negative edge was detected on the RG5 pin
0 IOCGP5 = x and IOCGN5=x No change was detected, or the user cleared the detected change
If MCLRE = 1 or LVP = 1, RG5 port functionality is disabled and IOC on RG5 is not available.