wafer v0.1.0 Wafer.Driver.Circuits.GPIO
A connection to a native GPIO pin via Circuits' GPIO driver.
Implements the Wafer.Conn behaviour as well as the Wafer.GPIO protocol.
Link to this section Summary
Functions
Acquire a connection to a native GPIO pin via Circuit's GPIO driver.
Link to this section Types
Link to this type
option()
option() :: {:pin, non_neg_integer()} | {:direction, Wafer.GPIO.pin_direction()}
Link to this type
t()
t() :: %Wafer.Driver.Circuits.GPIO{
direction: Wafer.GPIO.pin_direction(),
pin: non_neg_integer(),
ref: reference()
}