AnsweredAssumed Answered

What would be the best practice to disable an interrupt?

Question asked by Clonimus74 on Nov 1, 2017
Latest reply on Nov 1, 2017 by howard n2wx



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?