pub trait _esp_hal_spi_slave_Instance {
    // Required methods
    fn register_block(&self) -> &RegisterBlock;
    fn sclk_signal(&self) -> InputSignal;
    fn mosi_signal(&self) -> InputSignal;
    fn miso_signal(&self) -> OutputSignal;
    fn cs_signal(&self) -> InputSignal;
    fn enable_peripheral(&self);
    fn spi_num(&self) -> u8;

    // Provided methods
    fn init(&mut self) { ... }
    fn set_data_mode(&mut self, data_mode: SpiMode) -> &mut Self { ... }
    fn is_bus_busy(&self) -> bool { ... }
    fn flush(&mut self) -> Result<(), Error> { ... }
    fn setup_for_flush(&self) { ... }
}

Required Methods§

Provided Methods§

source

fn init(&mut self)

Initialize for full-duplex 1 bit mode

source

fn set_data_mode(&mut self, data_mode: SpiMode) -> &mut Self

source

fn is_bus_busy(&self) -> bool

source

fn flush(&mut self) -> Result<(), Error>

source

fn setup_for_flush(&self)

Object Safety§

This trait is not object safe.

Implementors§