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
CTimerConfig
Top level configuration for CTimer instances.
Div4
This type represents a divider in the range 1..=16.
I3cConfig
Top level configuration for I3c instances.
Lpi2cConfig
Top level configuration for Lpi2c instances.
LpspiConfig
Top level configuration for Lpspi instances.
LpuartConfig
Top level configuration for Lpuart instances.
NoConfig
A basic type that always returns Ok when PreEnableParts is called.
OsTimerConfig
Top level configuration for the OSTimer peripheral
PreEnableParts
UnimplementedConfig
A basic type that always returns an error when post_enable_config is called.

Enums§

AdcClockSel
Selectable clocks for the ADC peripheral
CTimerClockSel
Selectable clocks for CTimer peripherals
CTimerInstance
Which instance of the CTimer is this?
I3cClockSel
Selectable clocks for I3c peripherals
Lpi2cClockSel
Selectable clocks for Lpi2c peripherals
Lpi2cInstance
Which instance of the Lpi2c is this?
LpspiClockSel
Selectable clocks for Lpspi peripherals
LpspiInstance
Which instance of the Lpspi 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