Crate ftd2xx_embedded_hal[][src]

Inspired by ftdi-embedded-hal this is an embedded-hal implementation for the for the FTDI chips using the libftd2xx drivers.

This enables development of embedded devices drivers without the use of a microcontroller. The FTDI 2xx devices interface with your PC via USB. They have a multi-protocol synchronous serial engine which allows them to interface with most UART, SPI, and I2C embedded devices.

Setup

One-time device setup instructions can be found in the libftd2xx crate.

Examples

Limitations

  • Limited trait support: Blocking SPI and OutputPin traits are implemented.
  • Limited device support: FT232H.
  • No methods to control basic parameters such as clock frequency, USB latency, timeouts, ect…

Re-exports

pub use embedded_hal;
pub use libftd2xx;

Structs

Delay

Delay structure.

Ft232hHal

FT232H device.

OutputPin

Output pin interface for FTD2xx devices.

Spi

SPI interface for FTD2xx devices.