lv_timer_private.h

API reference for lv_timer_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_timer.h

Functions

lv_timer_core_init

Init the lv_timer module

 
void lv_timer_core_init(void)

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

MemberTypeDescription
ext_datalv_ext_data_t
perioduint32_tHow often the timer should run
last_runuint32_tLast time the timer ran
timer_cblv_timer_cb_tTimer function
user_datavoid *Custom user data
repeat_countint32_t1: One time; -1 : infinity; n>0: residual times
pausedvolatile int
auto_deleteuint32_t
struct

lv_timer_state_t

MemberTypeDescription
timer_lllv_ll_tLinked list to store the lv_timers
lv_timer_runbool
idle_lastuint8_t
timer_deletedbool
timer_createdbool
timer_time_until_nextvolatile uint32_t
already_runningbool
periodic_last_tickuint32_t
busy_timeuint32_t
idle_period_startuint32_t
run_cntuint32_t
resume_cblv_timer_handler_resume_cb_t
resume_datavoid *

Dependencies

How is this guide?

Last updated on

On this page