[][src]Trait kernel::hil::flash::Client

pub trait Client<F: Flash> {
    fn read_complete(&self, read_buffer: &'static mut F::Page, error: Error);
fn write_complete(&self, write_buffer: &'static mut F::Page, error: Error);
fn erase_complete(&self, error: Error); }

Implement Client to receive callbacks from Flash.

Required methods

fn read_complete(&self, read_buffer: &'static mut F::Page, error: Error)

Flash read complete.

fn write_complete(&self, write_buffer: &'static mut F::Page, error: Error)

Flash write complete.

fn erase_complete(&self, error: Error)

Flash erase complete.

Loading content...

Implementors

Loading content...