Trait kernel::hil::spi::SpiSlaveClient [] [src]

pub trait SpiSlaveClient {
    fn chip_selected(&self);
fn read_write_done(
        &self,
        write_buffer: Option<&'static mut [u8]>,
        read_buffer: Option<&'static mut [u8]>,
        len: usize
    ); }

Required Methods

This is called whenever the slave is selected by the master

This is called as a DMA interrupt when a transfer has completed

Implementors