Page 1 of 1

gpio_set_intr_type(pinX, GPIO_INTR_DISABLE) vs. gpio_intr_disable(pinX);

Posted: Sat Jun 24, 2017 2:01 am
by samsam
Assunming the gpio_set_intr_type() was set for any interrupt type other than GPIO_INTR_DISABLE and the interrupt was enabled for a pin in interest. Now if I want to disable (temporary) the interrupt on this pin:
is gpio_set_intr_type(pinX, GPIO_INTR_DISABLE); enough
or have to add and gpio_intr_disable(pinX); ?
Thanks