Trait esp_ward::peripherals::Writable

source ·
pub trait Writable {
    type Input;

    // Required method
    fn write(&mut self, data: Self::Input) -> Result<(), PeripheralError>;
}
Expand description

Trait for peripherals capable of writing data.

Required Associated Types§

Required Methods§

source

fn write(&mut self, data: Self::Input) -> Result<(), PeripheralError>

Implementors§