
Originally Posted by
mackrackit
ON INTERRUPT will take care of the interrupt when it has time. A flag is set when the interrupt happens and is executed between instructions. If you have a long PAUSE the interrupt will not be serviced until the PAUSE is finished.
ASM interrupts will take care of the interrupt immediately. Everything the chip is doing at the moment has to be saved then returned to. And the ISR is coded in ASM.
Read the interrupt section in the back of the manual.
DT's instant interrupts will make even a PBP type work like an ASM type.
Dave,
Thank you. Your answer was really helpful. I have a lot of reading to do to understand better how these different interrupts work.
Robert
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks