Struct kawaii::gpio::AsyncPort [] [src]

pub struct AsyncPort {
    pub port: Port,
    pub edge: Edge,
    // some fields omitted
}

Fields

Methods

impl AsyncPort
[src]

Constructs a new asynchronous GPIO Port.

Parameter

  • number GPIO Port number of pin.
  • edge GPIO Port edge detection setting.

Read asynchronous from GPIO AsyncPort sysfs file

Read asynchronous from GPIO AsyncPort sysfs file with measure support (ignore poll time)

Trait Implementations

impl Debug for AsyncPort
[src]

Formats the value using the given formatter.