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§
- CTimer
Config - Top level configuration for
CTimerinstances. - Clk1M
Config - A basic type that always returns
OkwhenPreEnablePartsis called. - Div4
- This type represents a divider in the range 1..=16.
- Lpi2c
Config - Top level configuration for
Lpi2cinstances. - Lpspi
Config - Top level configuration for
Lpspiinstances. - 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§
- CTimer
Clock Sel - Selectable clocks for
CTimerperipherals - CTimer
Instance - Which instance of the
CTimeris this? - 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? - Ostimer
Clock Sel - Selectable clocks for the OSTimer peripheral
Traits§
- SPConf
Helper - Sealed Peripheral Configuration Helper