Files
2025-11-07 20:19:23 +08:00

49 lines
705 B
C

/**
* @file lv_port_disp_templ.h
*
*/
#ifndef LV_PORT_DISP_TEMPL_H
#define LV_PORT_DISP_TEMPL_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "lvgl.h"
/*********************
* DEFINES
*********************/
struct disp_data {
void* dc;
void* g2d;
};
lv_disp_t *get_display(int display_id);
void lvgl_init(void);
void lvgl_mainloop(void);
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /*LV_PORT_DISP_TEMPL_H*/