This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Effect of disabling an interrupt line in the VIC

Hello,
If I call

VIC_ITCmd(..., DISABLE)

(hence, writing into the interrupt enable clear register of the respective VIC to disable an interrupt line), can it happen that an interrupt from the associated peripheral would still happen (assuming all the respective instruction of the above call have been executed)? I guess so because of pipe-line considerations. I don't want to make the call from within a SWI function because of the extra incurred run-time cost. Can you suggest a safer way? Does adding NOPs help? If so, how many are needed for a STR9?

0