Question
What would be the best practice to disable an interrupt?
Posted on November 01, 2017 at 11:42
Hi,
In your opinion, what would be the proper way to disable an interrupt, disabling only the peripheral enable bit or also the NVIC bit?
Is there a risk to disable only the peripheral bit and leaving the NVIC IRQ enabled? in the case of EXTI5-9, for example, that is a must, so I wonder, if for efficiency sake it is good practice to leave the NVIC always enabled?
#interrupts #nvic #irq