In some cases, it is useful to save INTCON0 into a variable, and then clear INTCON0.
When you want to turn on the interrupts again, restore INTCON0. That way, you don't turn on interrupts that weren't on in the first place.
In some cases, it is useful to save INTCON0 into a variable, and then clear INTCON0.
When you want to turn on the interrupts again, restore INTCON0. That way, you don't turn on interrupts that weren't on in the first place.
Charles Linquist
Bookmarks