IOCxP

IOCxP

Interrupt-on-Change Positive Edge 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  

IOCxP

Bit  7 6 5 4 3 2 1 0  
  IOCxP7 IOCxP6 IOCxP5 IOCxP4 IOCxP3 IOCxP2 IOCxP1 IOCxP0  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

Bits 0, 1, 2, 3, 4, 5, 6, 7 – IOCxPn: Interrupt-on-Change Positive Edge Enable

Interrupt-on-Change Positive Edge Enable

ValueDescription
1 Interrupt-on-change enabled on the IOCx pin for a positive-going edge. Associated Status bit and interrupt flag will be set upon detecting an edge.
0 Rising edge interrupt-on-change disabled for the associated pin.