16.10.4 IOCGF
Note:
- If MCLRE =
1
or LVP =1
, RG5 port functionality is disabled and IOC on RG5 is not available.
Name: | IOCGF |
Offset: | 0xEB5 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
IOCGF5 | |||||||||
Access | R/W | ||||||||
Reset | 0 |
Bit 5 – IOCGF5 RG5 Interrupt-on-Change Flag bit
Value | Name | Description |
---|---|---|
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 |