Macro esp_ward::take_periph

source ·
macro_rules! take_periph {
    () => { ... };
}
Expand description

Takes the ESP peripherals. This should be one of the first steps in an ESP application, ensuring that the peripherals are properly acquired before use.

§Examples

let peripherals = esp_ward::take_periph!();