2018-12-18 12:19 PM
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
2018-12-18 12:35 PM
Would expect it could be done at the EXTI level, or NVIC. The Reference Manual should describe the registers for the former.
2018-12-18 11:53 PM
Use NVIC_DisableIRQ and NVIC_EnableIRQ, passing your IRQ as a parameter, example:
NVIC_DisableIRQ(EXTI15_10_IRQn);
2019-01-05 11:06 AM
Thank you