Trait DisplayController

Source
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§