Skip to main content

Module drivers

Module drivers 

Source
Expand description

Chip-specific USB serial drivers. USB serial driver implementations.

Each chip family implements the Driver trait. Prefer crate::open_port, which calls create_driver after crate::ProbeTable selection.

Structs§

CdcAcmDriver
Ch34xDriver
ChromeCcdDriver
Cp21xxDriver
FtdiDriver
GsmModemDriver
ModemStatus
Modem status lines reported by chips that support them.
ProlificDriver

Constants§

WRITE_TIMEOUT_MS
Default bulk OUT timeout used by drivers.

Traits§

Driver
Chip-specific USB serial protocol (control transfers + bulk endpoints).

Functions§

create_driver
Construct an uninitialized driver for driver_type / port_index.
ftdi_baud_encoding
FTDI baud encoding (ported from FtdiSerialDriver.java).
line_coding_bytes