I have searched for this, including Darrell's site, but can't seem to find an answer.
Once you have the interrupts running, is there a way to temporarily disable them to complete some critical task?
Thanks,
Andy
Printable View
I have searched for this, including Darrell's site, but can't seem to find an answer.
Once you have the interrupts running, is there a way to temporarily disable them to complete some critical task?
Thanks,
Andy
Code:
'----------- Enable Interupt Service Routines -------------------
@ INT_ENABLE TMR0_INT ; enable Timer 0 interrupts and start Timer 0
'----------- disable Interupt Service Routines -------------------
@ INT_DISABLE TMR0_INT ; enable Timer 0 interrupts and start Timer 0
Thanks! Not sure why I never tried that.......