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.
- Lpi2c
Config - Top level configuration for
Lpi2cinstances. - Lpuart
Config - Top level configuration for
Lpuartinstances. - NoConfig
- A basic type that always returns
Ok(0)whenpost_enable_configis called. - OsTimer
Config - Top level configuration for the
OSTimerperipheral - Unimplemented
Config - A basic type that always returns an error when
post_enable_configis called.
Enums§
- AdcClock
Sel - Selectable clocks for the ADC peripheral
- Lpi2c
Clock Sel - Selectable clocks for
Lpi2cperipherals - Lpi2c
Instance - Which instance of the
Lpi2cis 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