Struct kawaii::gpio::Port [] [src]

pub struct Port {
    pub number: u8,
    pub direction: Direction,
}

Fields

Methods

impl Port
[src]

Constructs a new GPIO Port.

Parameter

  • number GPIO Port number of pin.
  • direction GPIO Port direction.

Drop GPIO Port: unexport

Trait Implementations

impl Debug for Port
[src]

Formats the value using the given formatter.