15.6.3 IOCAF

Name: IOCAF
Address: 0x1F3F

PORTA Interrupt-on-Change Flag Register Example

Bit 76543210 
 IOCAF7IOCAF6IOCAF5IOCAF4IOCAF3IOCAF2IOCAF1IOCAF0 
Access R/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HS 
Reset 00000000 

Bits 0, 1, 2, 3, 4, 5, 6, 7 – IOCAFn Interrupt-on-Change Flag bits

ValueNameDescription
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