Struct gpiochip::GpioHandle[][src]

pub struct GpioHandle {
    pub gpio: u32,
    pub consumer: String,
    pub flags: RequestFlags,
    // some fields omitted
}

A GPIO handle acquired from the gpiochip

Fields

Methods

impl GpioHandle
[src]

Get GPIO value

Set GPIO value

Trait Implementations

impl IntoRawFd for GpioHandle
[src]

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

impl AsRawFd for GpioHandle
[src]

Extracts the raw file descriptor. Read more

Auto Trait Implementations

impl Send for GpioHandle

impl Sync for GpioHandle