![]() |
PIDUINO
|
The actual event being pushed to userspace. More...
#include <gpio2.h>
Public Member Functions | |
LineEvent () | |
Default constructor initializes the LineEvent structure. | |
The actual event being pushed to userspace.
By default the @timestamp_ns is read from #CLOCK_MONOTONIC and is intended to allow the accurate measurement of the time between events. It does not provide the wall-clock time.
If the #GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME flag is set then the @timestamp_ns is read from #CLOCK_REALTIME.
If the #GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE flag is set then the @timestamp_ns is provided by the hardware timestamping engine (HTE) subsystem.