If you also have other interrupt sources then clearing the GIE-bit will of course disable them too. Clearing TMR2IE will disable that interrupt only. If you're using DT-INTS then you can use @ INT_DISABLE TMR2_INT.
/Henrik.
If you also have other interrupt sources then clearing the GIE-bit will of course disable them too. Clearing TMR2IE will disable that interrupt only. If you're using DT-INTS then you can use @ INT_DISABLE TMR2_INT.
/Henrik.
Bookmarks