Wafer.Driver.ElixirALE.SPI (wafer v1.0.2)
A connection to a chip via ElixirALE's SPI driver.
Implements the Wafer.Conn behaviour as well as the Wafer.SPI protocol.
Link to this section Summary
Functions
Acquire a connection to a peripheral using the ElixirALE' SPI driver on the specified bus and address.
Link to this section Types
Link to this type
driver_option()
Specs
driver_option() ::
{:mode, 0..3}
| {:bits_per_word, 0..16}
| {:speed_hz, pos_integer()}
| {:delay_us, non_neg_integer()}
Link to this type
option()
Specs
option() :: {:bus_name, binary()}
Link to this type
options()
Specs
options() :: [option() | driver_option()]
Specs
Link to this section Functions
Link to this function
acquire(opts)
Specs
Acquire a connection to a peripheral using the ElixirALE' SPI driver on the specified bus and address.