1 /** 2 * @file lv_init.h 3 * 4 */ 5 6 #ifndef LV_INIT_H 7 #define LV_INIT_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "lv_conf_internal.h" 17 #include "misc/lv_types.h" 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 /********************** 28 * GLOBAL PROTOTYPES 29 **********************/ 30 31 /** 32 * Initialize LVGL library. 33 * Should be called before any other LVGL related function. 34 */ 35 void lv_init(void); 36 37 /** 38 * Deinit the 'lv' library 39 */ 40 void lv_deinit(void); 41 42 /** 43 * Returns whether the 'lv' library is currently initialized 44 */ 45 bool lv_is_initialized(void); 46 47 /********************** 48 * MACROS 49 **********************/ 50 51 #ifdef __cplusplus 52 } /*extern "C"*/ 53 #endif 54 55 #endif /*LV_INIT_H*/ 56