embassy-stm32

Crates

git

Versions

stm32c011d6

Flavors

Function embassy_stm32::init

source ยท
pub fn init(config: Config) -> Peripherals
Expand description

Initialize the embassy-stm32 HAL with the provided configuration.

This returns the peripheral singletons that can be used for creating drivers.

This should only be called once at startup, otherwise it panics.