Enum ruspiro_gpio::GpioEvent [−][src]
pub enum GpioEvent {
RisingEdge,
FallingEdge,
BothEdges,
High,
Low,
AsyncRisingEdge,
AsyncFallingEdge,
AsyncBothEdges,
}
Expand description
The different GPIO detect events, an event handler can be registered for
Variants
Event triggered when the level changes from low to high
Event triggered when the level changes from high to low
Event triggerd when the level changes from low to high or high to low
Event riggered as long as the pin level is high
Event riggered as long as the pin level is low
Event triggered when the level changes from low to high, but the detection is not bound to the GPIO clock rate and allows for faster detections
Event triggered when the level changes from high to low, but the detection is not bound to the GPIO clock rate and allows for faster detections
Event triggered when the level changes from high to low or low to high, but the detection is not bound to the GPIO clock rate and allows for faster detections