embassy-stm32

Crates

git

Versions

stm32f767bi

Flavors

Function reinit

Source
pub fn reinit<'a>(config: Config, _rcc: &'a mut Peri<'a, RCC>)
Expand description

Re-initialize the embassy-stm32 clock configuration with the provided configuration.

This is useful when you need to alter the CPU clock after configuring peripherals. For instance, configure an external clock via spi or i2c.

Please not this only re-configures the rcc and the time driver (not GPIO, EXTI, etc).

This should only be called after init.