Re: Disable/Enable DT interrupt
You can use the macro's
@ INT_ENABLE TMR1_INT
@ INT_DISABLE TMR1_INT
I have a chunk of time critical bit banging code for driving WS2811 LEDs so I cant allow it to be interupted.
If I do the following.....
Code:
@ INT_DISABLE TMR1_INT
{whole chunk of time critical code}
@ INT_ENABLE TMR1_INT
Would TMR1 be able to flag an interrupt that would then be picked up when I re-enabled the DT Interrupt or would I miss that event completely ?
Thanks in advance.
Keith
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks