1 /** 2 * @file lv_port_disp_templ.h 3 * 4 */ 5 6 /*Copy this file as "lv_port_disp.h" and set this value to "1" to enable content*/ 7 #if 0 8 9 #ifndef LV_PORT_DISP_TEMPL_H 10 #define LV_PORT_DISP_TEMPL_H 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /********************* 17 * INCLUDES 18 *********************/ 19 #if defined(LV_LVGL_H_INCLUDE_SIMPLE) 20 #include "lvgl.h" 21 #else 22 #include "lvgl/lvgl.h" 23 #endif 24 25 /********************* 26 * DEFINES 27 *********************/ 28 29 /********************** 30 * TYPEDEFS 31 **********************/ 32 33 /********************** 34 * GLOBAL PROTOTYPES 35 **********************/ 36 /* Initialize low level display driver */ 37 void lv_port_disp_init(void); 38 39 /* Enable updating the screen (the flushing process) when disp_flush() is called by LVGL 40 */ 41 void disp_enable_update(void); 42 43 /* Disable updating the screen (the flushing process) when disp_flush() is called by LVGL 44 */ 45 void disp_disable_update(void); 46 47 /********************** 48 * MACROS 49 **********************/ 50 51 #ifdef __cplusplus 52 } /*extern "C"*/ 53 #endif 54 55 #endif /*LV_PORT_DISP_TEMPL_H*/ 56 57 #endif /*Disable/Enable content*/ 58