Configuration Reference
Normative
The configuration items a conformant UART driver MUST support (CHI-UART-MUST-23). The configuration toolchain, data structure, and file schema are implementation-defined; vendor extensions are allowed. For a worked example see Configuration. The model follows the common configuration structure in the General part.
General
Property |
Type |
Description |
|---|---|---|
|
bool |
If true, development error checking and reporting is enabled (see Errors). |
Configuration set and channels
Property |
Type |
Description |
|---|---|---|
|
str |
Name of the configuration set; must be a valid C identifier. |
|
List[Channel] |
Per-channel configurations. Size ≥ 1; maximum is implementation-defined. |
Property |
Type |
Description |
|---|---|---|
|
int |
Logical channel id. Starts at 0, unique within a ConfigSet. |
|
impl-defined |
Hardware channel assigned to this logical channel. |
|
EventHandlingMode |
|
|
TransmissionCallbackType |
|
|
int |
UART hardware clock divider; derives the baudrate. Range ≥ 1 (maximum implementation-defined). |
|
int |
Data bits per frame. Range |
|
StopBitLength |
|
|
Parity |
|
|
BitOrder |
|
|
bool |
Enable hardware flow control. Only |
Note
transmission_callback_type fixes the TX notification style per channel — the driver uses
Uart_Callout_OnTransmission or Uart_Callout_OnStreamingDataRequest for a channel, never both.