1 /** 2 * @file lv_tft_espi.h 3 * 4 */ 5 6 #ifndef LV_TFT_ESPI_H 7 #define LV_TFT_ESPI_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "../../../display/lv_display.h" 17 18 #if LV_USE_TFT_ESPI 19 20 /********************* 21 * DEFINES 22 *********************/ 23 24 /********************** 25 * TYPEDEFS 26 **********************/ 27 28 /********************** 29 * GLOBAL PROTOTYPES 30 **********************/ 31 lv_display_t * lv_tft_espi_create(uint32_t hor_res, uint32_t ver_res, void * buf, uint32_t buf_size_bytes); 32 33 /********************** 34 * MACROS 35 **********************/ 36 37 #endif /* LV_USE_TFT_ESPI */ 38 39 #ifdef __cplusplus 40 } /* extern "C" */ 41 #endif 42 43 #endif /* LV_TFT_ESPI_H */ 44