58 lines
1.1 KiB
C
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 1
|
|
|
|
#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.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*/
|