The title is pretty much self explanatory. When I write to the Output Compare Register (OC8RS or OC8R), an interrupt on the External Interrupt INT4 pin is triggered. I'm using the Timer3 & OC8 modules for PWM. The INT4 pin is connected to a physical switch that when pressed, triggers an interrupt. But, when I update the OC8RS register for my PWM function, an interrupt is triggered from INT4... which doesn't make sense (again, since this pin is connected to a physical switch - nothing to do with PWM).
I'm guessing I'm not initializing, setting, or clearing something correctly, but I'm out of ideas. Does anyone else have any? Thanks!
I'm using a PIC24HJ256GP610A processor, along with the latest MPLAB v8 and C30, and an ICD3.