embassy-mcxa

Crates

git

Versions

mcx-a577

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§

CTimerConfig
Top level configuration for CTimer instances.
Clk1MConfig
A basic type that always returns Ok when PreEnableParts is called.
Div4
This type represents a divider in the range 1..=16.
Lpi2cConfig
Top level configuration for Lpi2c instances.
LpspiConfig
Top level configuration for Lpspi 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§

CTimerClockSel
Selectable clocks for CTimer peripherals
CTimerInstance
Which instance of the CTimer is this?
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?
OstimerClockSel
Selectable clocks for the OSTimer peripheral

Traits§

SPConfHelper
Sealed Peripheral Configuration Helper