[][src]Trait kernel::hil::screen::ScreenClient

pub trait ScreenClient {
    fn command_complete(&self, r: ReturnCode);
fn write_complete(&self, buffer: &'static mut [u8], r: ReturnCode);
fn screen_is_ready(&self); }

Required methods

fn command_complete(&self, r: ReturnCode)

The screen will call this function to notify that a command (except write) has finished.

fn write_complete(&self, buffer: &'static mut [u8], r: ReturnCode)

The screen will call this function to notify that the write command has finished. This is different from command_complete as it has to pass back the write buffer

fn screen_is_ready(&self)

Some screens need some time to start, this function is called when the screen is ready

Loading content...

Implementors

Loading content...