Struct stm32f7xx_hal::ltdc::DisplayController [−][src]
pub struct DisplayController<T: 'static + SupportedWord> { /* fields omitted */ }
Implementations
pub fn new(
ltdc: LTDC,
dma2d: DMA2D,
pixel_format: PixelFormat,
config: DisplayConfig,
hse: Option<&HSEClock>
) -> DisplayController<T>
pub fn new(
ltdc: LTDC,
dma2d: DMA2D,
pixel_format: PixelFormat,
config: DisplayConfig,
hse: Option<&HSEClock>
) -> DisplayController<T>
Create and configure the DisplayController
pub fn config_layer(
&mut self,
layer: Layer,
buffer: &'static mut [T],
pixel_format: PixelFormat
)
pub fn config_layer(
&mut self,
layer: Layer,
buffer: &'static mut [T],
pixel_format: PixelFormat
)
Configure the layer
Note : the choice is made (for the sake of simplicity) to make the layer as big as the screen
Color Keying and CLUT are not yet supported
Enable the layer
Draw a pixel at position (x,y) on the given layer