1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00
lvgl/examples/porting/lv_port_disp_template.h
Gabriel Wang 922108dbbe
chore: cmsis pack monthly update (#3435)
* update lv_gpu_arm2d to support  LV_IMG_CF_RGB565A8

* feat(porting) minor update

* feat(cmsis-pack): monthly update for June

* Update LVGL.pidx

* fix(draw): solve memory leaking issue

* Update lv_draw_sw_layer.c

* Update LVGL.lvgl.1.0.5.pack

* Update LVGL.lvgl.1.0.5.pack
2022-07-01 20:20:48 +02:00

58 lines
1.1 KiB
C

/**
* @file lv_port_disp_templ.h
*
*/
/*Copy this file as "lv_port_disp.h" and set this value to "1" to enable content*/
#if 0
#ifndef LV_PORT_DISP_TEMPL_H
#define LV_PORT_DISP_TEMPL_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/* Initialize low level display driver */
void lv_port_disp_init(void);
/* Enable updating the screen (the flushing process) when disp_flush() is called by LVGL
*/
void disp_enable_update(void);
/* Disable updating the screen (the flushing process) when disp_flush() is called by LVGL
*/
void disp_disable_update(void);
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /*LV_PORT_DISP_TEMPL_H*/
#endif /*Disable/Enable content*/