View Source Circuits.GPIO.Line (circuits_gpio v2.0.0-pre.2)
Information about a GPIO line returned from GPIO.enumerate/0
Summary
Types
@type t() :: %Circuits.GPIO.Line{ controller: Circuits.GPIO.controller(), gpio_spec: Circuits.GPIO.gpio_spec(), label: {Circuits.GPIO.label(), Circuits.GPIO.label()} }
Line information
:gpio_spec
- the gpio spec to pass toGPIO.open/3
to use the GPIO:controller
- the GPIO controller name or an empty string if unnamed:label
- a controller label, line label tuple. Could have empty strings if no labels