Trait ssd1325::ControlChannel
[−]
[src]
pub trait ControlChannel { fn run_in_mode(
&mut self,
mode: DisplayMode,
f: &mut FnMut() -> Result<(), Box<Error>>
) -> Result<(), Box<Error>>; }
Responsible for placing the display in a given mode prior to executing a command.
Required Methods
fn run_in_mode(
&mut self,
mode: DisplayMode,
f: &mut FnMut() -> Result<(), Box<Error>>
) -> Result<(), Box<Error>>
&mut self,
mode: DisplayMode,
f: &mut FnMut() -> Result<(), Box<Error>>
) -> Result<(), Box<Error>>
Put the display communication channel in the specified mode
.
Once the command is executed the display must be left in a state other than Reset
.