lv_nxp_elcdif.h
API reference for lv_nxp_elcdif.h
Driver for NXP's ELCD
Summary
Functions
lv_nxp_display_elcdif_create_direct
Attach LVGL to ELCDIF using DIRECT rendering mode. ELCDIF should be already initialized.
lv_display_t * lv_nxp_display_elcdif_create_direct(LCDIF_Type *base, const elcdif_rgb_mode_config_t *config, void *frame_buffer1, void *frame_buffer2, size_t buf_size)| Name | Type | Description |
|---|---|---|
base | LCDIF_Type * | The NXP eLCD controller base address |
config | const elcdif_rgb_mode_config_t * | NXP eLCD config object |
frame_buffer1 | void * | pointer the first frame buffers |
frame_buffer2 | void * | pointer the second frame buffers |
buf_size | size_t | size of a buffer in bytes (must be at least as large as the screen) |
Returns: lv_display_t * — a display object initialized and registered on the LVGL runtime
lv_nxp_display_elcdif_create_partial
Attach LVGL to ELCDIF using PARTIAL rendering mode. ELCDIF should be already initialized.
lv_display_t * lv_nxp_display_elcdif_create_partial(LCDIF_Type *base, const elcdif_rgb_mode_config_t *config, void *frame_buffer1, void *frame_buffer2, size_t buf_size)| Name | Type | Description |
|---|---|---|
base | LCDIF_Type * | The NXP eLCD controller base address |
config | const elcdif_rgb_mode_config_t * | NXP eLCD config object |
frame_buffer1 | void * | pointer the first frame buffers |
frame_buffer2 | void * | pointer the second frame buffers |
buf_size | size_t | size of a buffer in bytes |
Returns: lv_display_t * — a display object initialized and registered on the LVGL runtime
lv_nxp_display_elcdif_event_handler
Call this function on the LCD Interrupt Service Routine It tells to LVGL what to do when a framebuffer is transmitted to the LCD panel
void lv_nxp_display_elcdif_event_handler(const lv_display_t *disp)| Name | Type | Description |
|---|---|---|
disp | const lv_display_t * | The display instance that contains the eLCD related data |
: the parameter disp is typically the return value after lv_nxp_display_elcdif_create_direct has been successfully executed
Dependencies
How is this guide?
Last updated on