15.6.3 IOCAF
Name: | IOCAF |
Offset: | 0x1F3F |
PORTA Interrupt-on-Change Flag Register
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
IOCAF5 | IOCAF4 | IOCAF3 | IOCAF2 | IOCAF1 | IOCAF0 | ||||
Access | R/W/HS | R/W/HS | R/W/HS | R/W/HS | R/W/HS | R/W/HS | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 0, 1, 2, 3, 4, 5 – IOCAFn Interrupt-on-Change Flag bits
Note:
- IOCAF0 and IOCAF1 are not available for use if the debugger is enabled.
- If MCLRE =
1
or LVP =1
, port functionality is disabled and IOCAF3 is not available.
Value | Name | Description |
---|---|---|
1 |
IOCAP[n] = 1 |
A positive edge was detected on the RA[n] pin |
1 |
IOCAN[n] = 1 |
A negative edge was detected on the RA[n] pin |
0 |
IOCAP[n] = x and IOCAN[n] =
x |
No change was detected, or the user cleared the detected change |