1 /** 2 * @file lv_tick_private.h 3 * 4 */ 5 6 #ifndef LV_TICK_PRIVATE_H 7 #define LV_TICK_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "lv_tick.h" 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 typedef struct { 28 uint32_t sys_time; 29 volatile uint8_t sys_irq_flag; 30 lv_tick_get_cb_t tick_get_cb; 31 lv_delay_cb_t delay_cb; 32 } lv_tick_state_t; 33 34 /********************** 35 * GLOBAL PROTOTYPES 36 **********************/ 37 38 /********************** 39 * MACROS 40 **********************/ 41 42 #ifdef __cplusplus 43 } /*extern "C"*/ 44 #endif 45 46 #endif /*LV_TICK_PRIVATE_H*/ 47