pub fn init(config: Config) -> PeripheralsAvailable on crate feature
rt only.Expand description
Initializes the system.
Sets up the CPU clock and watchdog, then returns the peripherals and clocks.
ยงExamples
use esp_hal::{Config, init};
let peripherals = init(Config::default());