embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Module periph_helpers

Module periph_helpers 

Source
Expand description

Peripheral Helpers

The purpose of this module is to define the per-peripheral special handling required from a clocking perspective. Different peripherals have different selectable source clocks, and some peripherals have additional pre-dividers that can be used.

See the docs of SPConfHelper for more details.

Structs§

AdcConfig
Top level configuration for the ADC peripheral
Div4
This type represents a divider in the range 1..=16.
Lpi2cConfig
Top level configuration for Lpi2c instances.
LpuartConfig
Top level configuration for Lpuart instances.
NoConfig
A basic type that always returns Ok(0) when post_enable_config is called.
OsTimerConfig
Top level configuration for the OSTimer peripheral
UnimplementedConfig
A basic type that always returns an error when post_enable_config is called.

Enums§

AdcClockSel
Selectable clocks for the ADC peripheral
Lpi2cClockSel
Selectable clocks for Lpi2c peripherals
Lpi2cInstance
Which instance of the Lpi2c is this?
LpuartClockSel
Selectable clocks for Lpuart peripherals
LpuartInstance
Which instance of the Lpuart is this?
OstimerClockSel
Selectable clocks for the OSTimer peripheral

Traits§

SPConfHelper
Sealed Peripheral Configuration Helper