lv_st_ltdc.h
API reference for lv_st_ltdc.h
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)| Name | Type | Description |
|---|---|---|
fb_adr_1 | void * | The LTDC layer's framebuffer memory address. |
fb_adr_2 | void * | An additional framebuffer-sized buffer to use for double buffering, or NULL. |
layer_idx | uint32_t | The 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)| Name | Type | Description |
|---|---|---|
render_buf_1 | void * | A render buffer. |
render_buf_2 | void * | An additional render buffer for double-buffering, or NULL. |
buf_size | uint32_t | The size of the buffer(s) in bytes. |
layer_idx | uint32_t | The 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