IOCxF

IOCxF

Interrupt-on-Change Flag Register
Important:
  • If MCLRE = 1 or LVP = 1, the MCLR pin port functionality is disabled and IOC on that pin is not available
  • Refer to the “Pin Allocation Table” for details about pins with configurable IOC per port
    8  

IOCxF

Bit  7 6 5 4 3 2 1 0  
  IOCxF7 IOCxF6 IOCxF5 IOCxF4 IOCxF3 IOCxF2 IOCxF1 IOCxF0  
Access  R/W/HS R/W/HS 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 0 0  

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

Interrupt-on-Change Flag

ValueNameDescription
1 IOCxP[n] = 1 A positive edge was detected on the Rx[n] pin
1 IOCxN[n] = 1 A negative edge was detected on the Rx[n] pin
0 IOCxP[n] = x and IOCxN[n] = x No change was detected, or the user cleared the detected change