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
General options

Property

Type

Description

enable_development_error_reporting

bool

If true, development error checking and reporting is enabled (see Errors).

Configuration set
ConfigSet

Property

Type

Description

config_set_name

str

Name of the configuration set; must be a valid C identifier.

clock_settings

List[ClockSetting]

List of clock configurations. Size ≥ 1; maximum is implementation-defined. The index of an entry is the clockId passed to Mcu_InitClock.

ClockSetting

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.