ENABLE and DISABLE have no effect with DT_INTS.
Those are only for ON INTERRUPT.
With DT_INTS there are two commands ...
They can be used anywhere in your program.Code:@ INT_ENABLE TMR1_INT @ INT_DISABLE TMR1_INT
Once disabled, you will not receive any interrupts from that source or peripheral until you execute another @ INT_ENABLE.
When you INT_ENABLE, the flag is automatically cleared so you don't get an interrupt immediately if the flag was set.
<br>




Bookmarks