2.3 Software Interrupt Mode
The CCP Interrupt Flag (CCPxIF) bit is set with every capture. If the device is in Sleep and the CCP Interrupt Enable (CCPxIE) bit is set, the device will wake up.
When the Capture mode is changed, a false capture interrupt may be
         generated. Software should keep the CCPxIE bit clear (CCPxIE = 0) to avoid
         false interrupts. Additionally, the user can clear the CCPxIF bit following any change in
         Operating mode.
