Configuration Reference
Normative
The configuration items a conformant MCU driver MUST support (CHI-MCU-MUST-13). 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
Property |
Type |
Description |
|---|---|---|
|
str |
Name of the configuration set; must be a valid C identifier. |
|
List[ClockSetting] |
List of clock configurations. Size ≥ 1; maximum is implementation-defined. The index of
an entry is the |
Property |
Type |
Description |
|---|---|---|
(implementation-defined) |
impl-defined |
The contents of a clock setting are entirely implementation-defined — they depend tightly on the MCU hardware (clock sources, dividers, PLL/FLL stabilisation, peripheral clock distribution, …). |
Note
Only the shape is normative: a General section plus a ConfigSet with a non-empty
clock_settings list addressable by clockId. The per-setting content is left to the vendor.