/lvgl-3.7.0/src/misc/ |
D | lv_timer.c | 28 static bool lv_timer_exec(lv_timer_t * timer); 29 static uint32_t lv_timer_time_remaining(lv_timer_t * timer); 192 void lv_timer_set_cb(lv_timer_t * timer, lv_timer_cb_t timer_cb) in lv_timer_set_cb() argument 194 timer->timer_cb = timer_cb; in lv_timer_set_cb() 201 void lv_timer_del(lv_timer_t * timer) in lv_timer_del() argument 203 _lv_ll_remove(&LV_GC_ROOT(_lv_timer_ll), timer); in lv_timer_del() 206 lv_mem_free(timer); in lv_timer_del() 213 void lv_timer_pause(lv_timer_t * timer) in lv_timer_pause() argument 215 timer->paused = true; in lv_timer_pause() 218 void lv_timer_resume(lv_timer_t * timer) in lv_timer_resume() argument [all …]
|
D | lv_async.c | 31 static void lv_async_timer_cb(lv_timer_t * timer); 54 lv_timer_t * timer = lv_timer_create(lv_async_timer_cb, 0, info); in lv_async_call() local 56 if(timer == NULL) { in lv_async_call() 64 lv_timer_set_repeat_count(timer, 1); in lv_async_call() 70 lv_timer_t * timer = lv_timer_get_next(NULL); in lv_async_call_cancel() local 73 while(timer != NULL) { in lv_async_call_cancel() 75 lv_timer_t * timer_next = lv_timer_get_next(timer); in lv_async_call_cancel() 78 if(timer->timer_cb == lv_async_timer_cb) { in lv_async_call_cancel() 79 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_call_cancel() 83 lv_timer_del(timer); in lv_async_call_cancel() [all …]
|
D | lv_timer.h | 112 void lv_timer_del(lv_timer_t * timer); 118 void lv_timer_pause(lv_timer_t * timer); 120 void lv_timer_resume(lv_timer_t * timer); 127 void lv_timer_set_cb(lv_timer_t * timer, lv_timer_cb_t timer_cb); 134 void lv_timer_set_period(lv_timer_t * timer, uint32_t period); 140 void lv_timer_ready(lv_timer_t * timer); 147 void lv_timer_set_repeat_count(lv_timer_t * timer, int32_t repeat_count); 154 void lv_timer_reset(lv_timer_t * timer); 173 lv_timer_t * lv_timer_get_next(lv_timer_t * timer);
|
/lvgl-3.7.0/docs/overview/ |
D | timer.md | 3 LVGL has a built-in timer system. You can register a function to have it be called periodically. Th… 4 See [Porting](/porting/timer-handler) for more information. 6 …-preemptive, which means a timer cannot interrupt another timer. Therefore, you can call any LVGL … 9 ## Create a timer 10 …timer, use `lv_timer_create(timer_cb, period_ms, user_data)`. It will create an `lv_timer_t *` var… 11 `lv_timer_create_basic()` can also be used. This allows you to create a new timer without specifyin… 13 A timer callback should have a `void (*lv_timer_cb_t)(lv_timer_t *);` prototype. 17 void my_timer(lv_timer_t * timer) 20 uint32_t * user_data = timer->user_data; 33 lv_timer_t * timer = lv_timer_create(my_timer, 500, &user_data); [all …]
|
D | index.md | 24 timer
|
/lvgl-3.7.0/src/extra/others/monkey/ |
D | lv_monkey.c | 27 lv_timer_t * timer; member 54 static void lv_monkey_timer_cb(lv_timer_t * timer); 83 monkey->timer = lv_timer_create(lv_monkey_timer_cb, monkey->config.period_range.min, monkey); in lv_monkey_create() 84 lv_timer_pause(monkey->timer); in lv_monkey_create() 100 en ? lv_timer_resume(monkey->timer) : lv_timer_pause(monkey->timer); in lv_monkey_set_enable() 106 return !monkey->timer->paused; in lv_monkey_get_enable() 129 lv_timer_del(monkey->timer); in lv_monkey_del() 157 static void lv_monkey_timer_cb(lv_timer_t * timer) in lv_monkey_timer_cb() argument 159 lv_monkey_t * monkey = timer->user_data; in lv_monkey_timer_cb() 184 …lv_timer_set_period(monkey->timer, lv_monkey_random(monkey->config.period_range.min, monkey->confi… in lv_monkey_timer_cb()
|
/lvgl-3.7.0/examples/widgets/arc/ |
D | lv_example_arc_2.py | 33 timer = lv.timer_create_basic() variable 34 timer.set_period(20) 35 timer.set_cb(lambda src: arc_loader.arc_loader_cb(timer,arc))
|
/lvgl-3.7.0/src/extra/libs/gif/ |
D | lv_gif.c | 90 lv_timer_resume(gifobj->timer); in lv_gif_set_src() 91 lv_timer_reset(gifobj->timer); in lv_gif_set_src() 93 next_frame_task_cb(gifobj->timer); in lv_gif_set_src() 101 lv_timer_resume(gifobj->timer); in lv_gif_restart() 102 lv_timer_reset(gifobj->timer); in lv_gif_restart() 116 gifobj->timer = lv_timer_create(next_frame_task_cb, 10, obj); in lv_gif_constructor() 117 lv_timer_pause(gifobj->timer); in lv_gif_constructor() 127 lv_timer_del(gifobj->timer); in lv_gif_destructor()
|
D | lv_gif.h | 33 lv_timer_t * timer; member
|
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_7.py | 31 def add_data(timer,chart): argument 75 timer = lv.timer_create_basic() variable 76 timer.set_period(100) 77 timer.set_cb(lambda src: add_data(timer,chart))
|
D | lv_example_chart_7.c | 29 static void add_data(lv_timer_t * timer) in add_data() argument 31 LV_UNUSED(timer); in add_data() 32 lv_obj_t * chart = timer->user_data; in add_data()
|
D | lv_example_chart_2.py | 45 def add_data(timer): argument 76 timer = lv.timer_create(add_data, 200, None) variable
|
D | lv_example_chart_2.c | 90 static void add_data(lv_timer_t * timer) in add_data() argument 92 LV_UNUSED(timer); in add_data()
|
/lvgl-3.7.0/src/extra/libs/ffmpeg/ |
D | lv_ffmpeg.c | 158 lv_timer_pause(player->timer); in lv_ffmpeg_player_set_src() 199 lv_timer_set_period(player->timer, period); in lv_ffmpeg_player_set_src() 221 lv_timer_t * timer = player->timer; in lv_ffmpeg_player_set_cmd() local 227 lv_timer_resume(timer); in lv_ffmpeg_player_set_cmd() 233 lv_timer_pause(timer); in lv_ffmpeg_player_set_cmd() 237 lv_timer_pause(timer); in lv_ffmpeg_player_set_cmd() 241 lv_timer_resume(timer); in lv_ffmpeg_player_set_cmd() 812 static void lv_ffmpeg_player_frame_update_cb(lv_timer_t * timer) in lv_ffmpeg_player_frame_update_cb() argument 814 lv_obj_t * obj = (lv_obj_t *)timer->user_data; in lv_ffmpeg_player_frame_update_cb() 848 player->timer = lv_timer_create(lv_ffmpeg_player_frame_update_cb, in lv_ffmpeg_player_constructor() [all …]
|
D | lv_ffmpeg.h | 31 lv_timer_t * timer; member
|
/lvgl-3.7.0/examples/event/ |
D | lv_example_event_4.c | 8 static void timer_cb(lv_timer_t * timer) in timer_cb() argument 25 lv_obj_invalidate(timer->user_data); in timer_cb()
|
/lvgl-3.7.0/docs/porting/ |
D | sleep.md | 13 timer_stop(); /*Stop the timer where lv_tick_inc() is called*/ 23 timer_start(); /*Restart the timer where lv_tick_inc() is called*/
|
D | timer-handler.md | 5 - timer interrupt periodically (lower priority than `lv_tick_inc()`) 37 To learn more about timers visit the [Timer](/overview/timer) section.
|
D | index.md | 13 timer-handler
|
D | os.md | 7 - In *lv_timer*. Learn more in [Timers](/overview/timer). 50 …flag or some value in the interrupt, and periodically check it in an LVGL timer (which is run by `…
|
D | project.md | 66 …ndler()` every few milliseconds to handle LVGL related tasks. [Learn more](/porting/timer-handler).
|
/lvgl-3.7.0/src/core/ |
D | lv_refr.h | 105 void _lv_disp_refr_timer(lv_timer_t * timer);
|
D | lv_indev.h | 36 void lv_indev_read_timer_cb(lv_timer_t * timer);
|
/lvgl-3.7.0/demos/music/ |
D | lv_demo_music.c | 28 static void auto_step_cb(lv_timer_t * timer);
|
/lvgl-3.7.0/demos/benchmark/ |
D | lv_demo_benchmark.c | 92 static void next_scene_timer_cb(lv_timer_t * timer); 101 static void report_cb(lv_timer_t * timer); 945 static void report_cb(lv_timer_t * timer) in report_cb() argument 973 static void next_scene_timer_cb(lv_timer_t * timer) in next_scene_timer_cb() argument 975 LV_UNUSED(timer); in next_scene_timer_cb()
|