lv_timer_private.h
API reference for lv_timer_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_timer.h
Summary
Functions
misc/lv_timer_private.h:70function
lv_timer_core_init
Init the lv_timer module
void lv_timer_core_init(void)misc/lv_timer_private.h:75function
lv_timer_core_deinit
Deinit the lv_timer module
void lv_timer_core_deinit(void)Structs
struct
_lv_timer_t
Descriptor of a lv_timer
| Member | Type | Description |
|---|---|---|
ext_data | lv_ext_data_t | |
period | uint32_t | How often the timer should run |
last_run | uint32_t | Last time the timer ran |
timer_cb | lv_timer_cb_t | Timer function |
user_data | void * | Custom user data |
repeat_count | int32_t | 1: One time; -1 : infinity; n>0: residual times |
paused | volatile int | |
auto_delete | uint32_t |
struct
lv_timer_state_t
| Member | Type | Description |
|---|---|---|
timer_ll | lv_ll_t | Linked list to store the lv_timers |
lv_timer_run | bool | |
idle_last | uint8_t | |
timer_deleted | bool | |
timer_created | bool | |
timer_time_until_next | volatile uint32_t | |
already_running | bool | |
periodic_last_tick | uint32_t | |
busy_time | uint32_t | |
idle_period_start | uint32_t | |
run_cnt | uint32_t | |
resume_cb | lv_timer_handler_resume_cb_t | |
resume_data | void * |
Dependencies
How is this guide?
Last updated on