lv_nuttx_entry.h
Typedefs
-
typedef struct lv_nuttx_ctx_t lv_nuttx_ctx_t
Functions
-
void lv_nuttx_dsc_init(lv_nuttx_dsc_t *dsc)
Initialize the lv_nuttx_dsc_t structure with default values for the NuttX port of LVGL.
- 参数:
dsc -- Pointer to the lv_nuttx_dsc_t structure to be initialized.
-
void lv_nuttx_init(const lv_nuttx_dsc_t *dsc, lv_nuttx_result_t *result)
Initialize the LVGL display driver for NuttX using the provided configuration information.
- 参数:
dsc -- Pointer to the lv_nuttx_dsc_t structure containing the configuration information for the display driver.
result -- Pointer to the lv_nuttx_result_t structure containing display and input device handler.
-
void lv_nuttx_deinit(lv_nuttx_result_t *result)
Deinitialize the LVGL display driver for NuttX.
- 参数:
result -- Pointer to the lv_nuttx_result_t structure containing display and input device handler.
-
void lv_nuttx_init_custom(const lv_nuttx_dsc_t *dsc, lv_nuttx_result_t *result)
Initialize the LVGL display driver for NuttX using the provided custom configuration information.
- 参数:
dsc -- Pointer to the lv_nuttx_dsc_t structure containing the custom configuration for the display driver.
result -- Pointer to the lv_nuttx_result_t structure containing display and input device handler.
-
void lv_nuttx_deinit_custom(lv_nuttx_result_t *result)
Deinitialize the LVGL display driver for NuttX using the provided custom configuration information.
- 参数:
result -- Pointer to the lv_nuttx_result_t structure containing display and input device handler.
-
void lv_nuttx_run(lv_nuttx_result_t *result)
Call
lv_timer_handler()
(LVGL's super loop) in an endless loop. If LV_USE_NUTTX_LIBUV is enabled an UV timer will be created, elselv_timer_handler()
will be called in a loop with some sleep.- 参数:
result -- pointer to a variable initialized by
lv_nuttx_init()
orlv_nuttx_init_custom()
-
uint32_t lv_nuttx_get_idle(void)
Get the idle percentage of the system.
- 返回:
The idle percentage of the system.
-
struct lv_nuttx_dsc_t
-
struct lv_nuttx_result_t
-
struct lv_nuttx_ctx_t
Public Members
-
void *image_cache
-
void *image_cache