Enum esp32_hal::gpio::Event [−][src]
pub enum Event { RisingEdge, FallingEdge, AnyEdge, LowLevel, HighLevel, }
Expand description
Interrupt events
Note: ESP32 has a bug (3.14), which prevents correct triggering of interrupts when multiple GPIO’s are configured for edge triggering in a group (GPIO0-31 is one group, GPIO32-39 is the other group). This can be worked around by using level triggering on the GPIO with edge triggering on the CPU.
Variants
Trigger on the rising edge
Trigger on the falling edge
Trigger on any edge
Trigger while low level
Trigger while high level