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.

Parameters:

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.

Parameters:
  • 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.

Parameters:

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.

Parameters:
  • 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.

Parameters:

result -- Pointer to the lv_nuttx_result_t structure containing display and input device handler.

uint32_t lv_nuttx_get_idle(void)

Get the idle percentage of the system.

Returns:

The idle percentage of the system.

struct lv_nuttx_dsc_t

Public Members

const char *fb_path
const char *input_path
const char *utouch_path
struct lv_nuttx_result_t

Public Members

lv_display_t *disp
lv_indev_t *indev
lv_indev_t *utouch_indev
struct _lv_nuttx_ctx_t

Public Members

void *image_cache