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
- CTimer
Config - Top level configuration for
CTimerinstances. - Div4
- This type represents a divider in the range 1..=16.
- I3cConfig
- Top level configuration for
I3cinstances. - Lpi2c
Config - Top level configuration for
Lpi2cinstances. - Lpspi
Config - Top level configuration for
Lpspiinstances. - Lpuart
Config - Top level configuration for
Lpuartinstances. - NoConfig
- A basic type that always returns
OkwhenPreEnablePartsis called. - OsTimer
Config - Top level configuration for the
OSTimerperipheral - PreEnable
Parts - Unimplemented
Config - A basic type that always returns an error when
post_enable_configis called.
Enums§
- AdcClock
Sel - Selectable clocks for the ADC peripheral
- CTimer
Clock Sel - Selectable clocks for
CTimerperipherals - CTimer
Instance - Which instance of the
CTimeris this? - I3cClock
Sel - Selectable clocks for
I3cperipherals - Lpi2c
Clock Sel - Selectable clocks for
Lpi2cperipherals - Lpi2c
Instance - Which instance of the
Lpi2cis this? - Lpspi
Clock Sel - Selectable clocks for
Lpspiperipherals - Lpspi
Instance - Which instance of the
Lpspiis this? - Lpuart
Clock Sel - Selectable clocks for Lpuart peripherals
- Lpuart
Instance - Which instance of the Lpuart is this?
- Ostimer
Clock Sel - Selectable clocks for the OSTimer peripheral
Traits§
- SPConf
Helper - Sealed Peripheral Configuration Helper