PIDUINO
Loading...
Searching...
No Matches
Gpio2::LineEvent

The actual event being pushed to userspace. More...

#include <gpio2.h>

Inheritance diagram for Gpio2::LineEvent:
Collaboration diagram for Gpio2::LineEvent:

Public Member Functions

 LineEvent ()
 Default constructor initializes the LineEvent structure.
 

Detailed Description

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.

Definition at line 497 of file gpio2.h.

Constructor & Destructor Documentation

◆ LineEvent()

Gpio2::LineEvent::LineEvent ( )
inline

Default constructor initializes the LineEvent structure.

Definition at line 501 of file gpio2.h.