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