Struct gpiochip::GpioEventHandle[][src]

pub struct GpioEventHandle {
    pub gpio: u32,
    pub eventflags: EventRequestFlags,
    pub handleflags: RequestFlags,
    // some fields omitted
}

A GPIO event handle acquired from the gpiochip

Fields

Methods

impl GpioEventHandle
[src]

Read GpioEvent

Flush event buffer

Get GPIO value

Trait Implementations

impl IntoRawFd for GpioEventHandle
[src]

Consumes this object, returning the raw underlying file descriptor. Read more

impl AsRawFd for GpioEventHandle
[src]

Extracts the raw file descriptor. Read more

Auto Trait Implementations