lv_st_ltdc.h

API reference for lv_st_ltdc.h

Report on GitHub
Summary

Functions

lv_st_ltdc_create_direct

Create a direct render mode display bound to a LTDC layer.

 
lv_display_t * lv_st_ltdc_create_direct(void *fb_adr_1, void *fb_adr_2, uint32_t layer_idx)
Parameters
NameTypeDescription
fb_adr_1void *The LTDC layer's framebuffer memory address.
fb_adr_2void *An additional framebuffer-sized buffer to use for double buffering, or NULL.
layer_idxuint32_tThe LTDC layer number to bind the display to. Typically 0 or 1.

Returns: lv_display_t * — The display.

lv_st_ltdc_create_partial

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.

 
lv_display_t * lv_st_ltdc_create_partial(void *render_buf_1, void *render_buf_2, uint32_t buf_size, uint32_t layer_idx)
Parameters
NameTypeDescription
render_buf_1void *A render buffer.
render_buf_2void *An additional render buffer for double-buffering, or NULL.
buf_sizeuint32_tThe size of the buffer(s) in bytes.
layer_idxuint32_tThe LTDC layer number to bind the display to. Typically 0 or 1.

Returns: lv_display_t * — The display.

Dependencies

How is this guide?

Last updated on

On this page