cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt Disable, ??/

JHERI
Senior

Hello

using HAL libraries is it possible to disable for a short time an external interrupt pin ??

I have had a look in the HAL GPIO files and can not see anything useful

Just want to disable while a trigger a debounce timer, there must be a way of just disabling the external gpio interrupt pin

any help will be very much appreciated

3 REPLIES 3

Would expect it could be done at the EXTI level, or NVIC. The Reference Manual should describe the registers for the former.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Use NVIC_DisableIRQ and NVIC_EnableIRQ, passing your IRQ as a parameter, example:

NVIC_DisableIRQ(EXTI15_10_IRQn);

JHERI
Senior

Thank you