[][src]Crate libftd2xx

libftd2xx rust library.

This takes the libftd2xx-ffi-rs C bindings library and extends it with rust safe wrappers.

Documentation for the underlying C API can be found here: D2xx Programmers Guide V1.4.

Downloads for the ftd2xx compiled releases (FTDI does not release source) can be found here: D2XX Drivers.

Licensing for the underlying driver can be found here: Driver License Terms.

Structs

DeviceInfo

FTDI device information.

FTDI

FTDI device.

Ftd2xxError

FTD2XX API errors.

Version

D2xx library version.

Enums

BitMode

BitModes for the FTDI ports.

DeviceType

FTDI device types.

Speed

USB device speed.

Functions

library_version

Returns the version of the underlying library.

list_devices

This function returns a device information vector with information about the D2xx devices connected to the system.

num_devices

Returns the number of FTDI devices connected to the system.

Type Definitions

DWORD