embassy-rp

Crates

git

Versions

rp2040

Flavors

embassy_rp

Function init

Source
pub fn init(config: Config) -> Peripherals
Expand description

Initialize the embassy-rp 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.