esp_idf_hal::spi

Trait Spi

Source
pub trait Spi: Send {
    // Required method
    fn device() -> spi_host_device_t;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Spi for SPI1

Source§

impl Spi for SPI2