Skip to main content

Module config

Module config 

Source
Expand description

Serial line configuration and modem-status types.

These are the framing and flow parameters every SerialDevice needs to expose. They intentionally mirror the classic termios model (data bits / stop bits / parity / flow control) so behaviour lines up with user expectations inherited from picocom and tio.

Structs§

ModemStatus
Snapshot of the input-side modem control lines.
SerialConfig
Full serial-link configuration.

Enums§

DataBits
Number of data bits per frame.
FlowControl
Flow-control mode.
Parity
Parity mode.
StopBits
Number of stop bits appended after the data / parity bits.

Constants§

DEFAULT_READ_TIMEOUT
Default read poll timeout used by blocking backends.