Current section

Files

Jump to
circuits_cdev lib chip line_handle.ex
Raw

lib/chip/line_handle.ex

defmodule Circuits.GPIO.Chip.LineHandle do
@moduledoc """
A handle to read and set values to GPIO line(s)
"""
alias Circuits.GPIO.Chip
@type t() :: %__MODULE__{
chip: Chip.t(),
handle: reference()
}
defstruct chip: nil, handle: nil
end