lv_nuttx_entry.h
API reference for lv_nuttx_entry.h
Functions
lv_nuttx_get_idle
Get the idle percentage of the system.
uint32_t lv_nuttx_get_idle(void)Returns: uint32_t — The idle percentage of the system.
lv_nuttx_dsc_init
Initialize the lv_nuttx_dsc_t structure with default values for the NuttX port of LVGL.
void lv_nuttx_dsc_init(lv_nuttx_dsc_t *dsc)| Name | Type | Description |
|---|---|---|
dsc | lv_nuttx_dsc_t * | Pointer to the lv_nuttx_dsc_t structure to be initialized. |
lv_nuttx_init
Initialize the LVGL display driver for NuttX using the provided configuration information.
void lv_nuttx_init(const lv_nuttx_dsc_t *dsc, lv_nuttx_result_t *result)| Name | Type | Description |
|---|---|---|
dsc | const lv_nuttx_dsc_t * | Pointer to the lv_nuttx_dsc_t structure containing the configuration information for the display driver. |
result | lv_nuttx_result_t * | Pointer to the lv_nuttx_result_t structure containing display and input device handler. May be NULL. |
lv_nuttx_deinit
Deinitialize the LVGL display driver for NuttX.
void lv_nuttx_deinit(lv_nuttx_result_t *result)| Name | Type | Description |
|---|---|---|
result | lv_nuttx_result_t * | Pointer to the lv_nuttx_result_t structure containing display and input device handler. May be NULL. |
lv_nuttx_init_custom
Initialize the LVGL display driver for NuttX using the provided custom configuration information.
void lv_nuttx_init_custom(const lv_nuttx_dsc_t *dsc, lv_nuttx_result_t *result)| Name | Type | Description |
|---|---|---|
dsc | const lv_nuttx_dsc_t * | Pointer to the lv_nuttx_dsc_t structure containing the custom configuration for the display driver. |
result | lv_nuttx_result_t * | Pointer to the lv_nuttx_result_t structure containing display and input device handler. |
lv_nuttx_deinit_custom
Deinitialize the LVGL display driver for NuttX using the provided custom configuration information.
void lv_nuttx_deinit_custom(lv_nuttx_result_t *result)| Name | Type | Description |
|---|---|---|
result | lv_nuttx_result_t * | Pointer to the lv_nuttx_result_t structure containing display and input device handler. |
lv_nuttx_run
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, else lv_timer_handler() will be called in a loop with some sleep.
void lv_nuttx_run(lv_nuttx_result_t *result)| Name | Type | Description |
|---|---|---|
result | lv_nuttx_result_t * | pointer to a variable initialized by lv_nuttx_init() or lv_nuttx_init_custom() |
Structs
lv_nuttx_dsc_t
| Member | Type | Description |
|---|---|---|
fb_path | const char * | |
input_path | const char * | |
utouch_path | const char * | |
mouse_path | const char * | |
trace_path | const char * |
Used by 3 functions
lv_nuttx_dsc_init— paramdsclv_nuttx_init— paramdsclv_nuttx_init_custom— paramdsc
lv_nuttx_result_t
| Member | Type | Description |
|---|---|---|
disp | lv_display_t * | |
indev | lv_indev_t * | |
utouch_indev | lv_indev_t * | |
mouse_indev | lv_indev_t * |
Used by 5 functions
lv_nuttx_init— paramresultlv_nuttx_deinit— paramresultlv_nuttx_init_custom— paramresultlv_nuttx_deinit_custom— paramresultlv_nuttx_run— paramresult
_lv_nuttx_ctx_t
| Member | Type | Description |
|---|---|---|
image_cache | void * | |
trace_fd | int |
Typedefs
lv_nuttx_ctx_t
typedef struct _lv_nuttx_ctx_t lv_nuttx_ctx_tDependencies
Last updated on