Describes a single GPIO line event.
More...
#include <gpiod.hpp>
Describes a single GPIO line event.
Definition at line 478 of file gpiod.hpp.
◆ anonymous enum
Possible event types.
Enumerator |
---|
RISING_EDGE | Rising edge event.
|
FALLING_EDGE | Falling edge event.
|
Definition at line 484 of file gpiod.hpp.
◆ event_type
int gpiod::line_event::event_type |
Type of the event that occurred.
Definition at line 493 of file gpiod.hpp.
◆ source
line gpiod::line_event::source |
Line object referencing the GPIO line on which the event occurred.
Definition at line 495 of file gpiod.hpp.
◆ timestamp
::std::chrono::nanoseconds gpiod::line_event::timestamp |
Best estimate of time of event occurrence in nanoseconds.
Definition at line 491 of file gpiod.hpp.
The documentation for this struct was generated from the following file: