Hi,I have an rising edge interrupt on P0.5. I wake up the system on P0.5 and insdie the Port 0 ISr handler I clear the (port 0.5) P0IEN bit to disable the interrupt and I re-enable the interrupt when I go to sleep again. But there seems to be a false trigger when I reanable the interrupt i.e. setting P0IEN for P0.5. I see the ISR being called again due to a trigger as soon as I re-enable the interrupt. Am I missing something here? Is there a trigger supposed to happen after enabling the interrupt register?? I also see P0IF flag being set in IRCON indicating that interrupt is pending, which is not supposed to happen?
Please let me know.
Thanks,
Venkat