lv_st_ltdc.h
Functions
-
lv_display_t *lv_st_ltdc_create_direct(void *fb_adr_1, void *fb_adr_2, uint32_t layer_idx)
Create a direct render mode display bound to a LTDC layer.
- Parameters:
fb_adr_1 – The LTDC layer's framebuffer memory address.
fb_adr_2 – An additional framebuffer-sized buffer to use for double buffering, or
NULL
.layer_idx – The LTDC layer number to bind the display to. Typically 0 or 1.
- Returns:
The display.
-
lv_display_t *lv_st_ltdc_create_partial(void *render_buf_1, void *render_buf_2, uint32_t buf_size, uint32_t layer_idx)
Create a partial render mode display bound to a LTDC layer. The layer's framebuffer is flushed to internally. Enable
LV_ST_LTDC_USE_DMA2D_FLUSH
for parallel flushing.- Parameters:
render_buf_1 – A render buffer.
render_buf_2 – An additional render buffer for double-buffering, or
NULL
.buf_size – The size of the buffer(s) in bytes.
layer_idx – The LTDC layer number to bind the display to. Typically 0 or 1.
- Returns:
The display.