pub trait DisplayController {
    // Required methods
    fn init(&mut self, config: DisplayConfiguration);
    fn clock(&self) -> u32;
}
Expand description

A microcontroller peripheral that drives a LCD-TFT display

Required Methods§

source

fn init(&mut self, config: DisplayConfiguration)

Initialize the controller with a given configuration

source

fn clock(&self) -> u32

Returns the clock frequency (Hz) of the controller

Implementors§