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§
- CdcAcm
Driver - Ch34x
Driver - Chrome
CcdDriver - Cp21xx
Driver - Ftdi
Driver - GsmModem
Driver - Modem
Status - Modem status lines reported by chips that support them.
- Prolific
Driver
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