PDA

View Full Version : DT's Instant Interrupts disable?



andywpg
- 15th October 2014, 23:30
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

longpole001
- 16th October 2014, 00:03
'----------- 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

andywpg
- 16th October 2014, 02:17
Thanks! Not sure why I never tried that.......