Struct gpio_cdev::LineEvent[][src]

pub struct LineEvent(_);

Information about a change to the state of a Line

Wraps kernel struct gpioevent_data.

Methods

impl LineEvent
[src]

Best estimate of event occurrence time, in nanoseconds

In most cases, the timestamp for the event is captured in an interrupt handler so it should be very accurate.

The nanosecond timestamp value should are captured using the CLOCK_REALTIME offsets in the kernel and should be compared against CLOCK_REALTIME values.

Was this a rising or a falling edge?

Trait Implementations

impl Debug for LineEvent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for LineEvent

impl Sync for LineEvent