embassy-nrf

Crates

git

Versions

nrf52810

Flavors

📣 We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Function embassy_nrf::init

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

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