API Reference circuits_ft232h v#0.1.0

Copy Markdown

Modules

Use an Adafruit FT232H breakout as an I2C master, SPI master, or GPIO controller from your host machine, via the circuits_i2c, circuits_spi, and circuits_gpio APIs.

A GenServer that owns the USB handle to one FT232H and serialises all traffic with it.

GPIO support for the FT232H's general-purpose pins.

Circuits.GPIO.Backend implementation for the FT232H.

The struct returned by Circuits.GPIO.open/3 when CircuitsFT232H.GPIO.Backend is configured as the GPIO backend.

Per-chip polling GenServer that emulates GPIO interrupts.

Wires the FT232H's MPSSE engine up as an I2C master.

Circuits.I2C.Backend implementation that exposes each connected FT232H as an I2C bus named "ftdi-<id>-i2c".

The struct returned by Circuits.I2C.open/2 when CircuitsFT232H.I2C.Backend is configured as the I2C backend.

Pure-function encoder for the FT232H Multi-Protocol Synchronous Serial Engine (MPSSE) command stream.

Wires the FT232H's MPSSE engine up as an SPI master.

Circuits.SPI.Backend implementation that exposes each connected FT232H as a SPI bus named "ftdi-<id>-spi".

The struct returned by Circuits.SPI.open/2 when CircuitsFT232H.SPI.Backend is configured as the SPI backend.

Thin USB transport layer for the FT232H.

Metadata for a single FT232H device discovered on the USB bus.