Trait esp_ward::peripherals::Shutdown

source ·
pub trait Shutdown {
    // Required method
    fn shutdown(&mut self) -> Result<(), PeripheralError>;
}
Expand description

Trait for peripherals that can be explicitly shut down or deactivated.

Required Methods§

source

fn shutdown(&mut self) -> Result<(), PeripheralError>

Implementors§