You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there reason for this? I think that negative edge should trigger LEVEL_LO as well.. Am i right?
Problem with edge trigger is that when i miss the edge while interrupts are disabled, it will not get triggered afterwards while pin is still low. So i need to trigger on low-level instead, but it's broken :-/
The text was updated successfully, but these errors were encountered:
i seem to recall that there is a hardware problem that has to do with different kinds of interrupts on the same GPIO block.
never used level interrupts myself, only edge.
Hello, i am working on esp32 and tried to use this:
mgos_gpio_set_int_handler(MY_INTERRUPT_PIN, MGOS_GPIO_INT_LEVEL_LO, my_cb, NULL);
but callback is never called. when i use this, the callback is called properly:
mgos_gpio_set_int_handler(MY_INTERRUPT_PIN, MGOS_GPIO_INT_EDGE_NEG, my_cb, NULL);
Is there reason for this? I think that negative edge should trigger LEVEL_LO as well.. Am i right?
Problem with edge trigger is that when i miss the edge while interrupts are disabled, it will not get triggered afterwards while pin is still low. So i need to trigger on low-level instead, but it's broken :-/
The text was updated successfully, but these errors were encountered: