Module neotron_common_bios::serial
source · Expand description
§Serial
Serial Port / UART related types.
Note that all types in this file that are exported in the Api
structure
must be #[repr(C)]
and ABI stable.
Structs§
- A particular configuration for a serial port.
- Information about a particular serial device.
- An FFI-safe version of DataBits
- An FFI-safe version of DeviceType
- An FFI-safe version of Handshaking
- An FFI-safe version of Parity
- An FFI-safe version of StopBits
Enums§
- The number of data bits in each word sent or received by the UART.
- Identifies which sort of serial port each device represents.
- Whether to use hardware handshaking lines.
- Whether each word contains a parity bit, and if so, how it is calculated
- The number of stop bits after each word.