Home
last modified time | relevance | path

Searched refs:task (Results 1 – 8 of 8) sorted by relevance

/lvgl-2.7.6/src/lv_misc/
Dlv_task.c34 static bool lv_task_exec(lv_task_t * task);
35 static uint32_t lv_task_time_remaining(lv_task_t * task);
278 void lv_task_set_cb(lv_task_t * task, lv_task_cb_t task_cb) in lv_task_set_cb() argument
280 task->task_cb = task_cb; in lv_task_set_cb()
287 void lv_task_del(lv_task_t * task) in lv_task_del() argument
289 _lv_ll_remove(&LV_GC_ROOT(_lv_task_ll), task); in lv_task_del()
292 lv_mem_free(task); in lv_task_del()
294 if(LV_GC_ROOT(_lv_task_act) == task) task_deleted = true; /*The active task was deleted*/ in lv_task_del()
302 void lv_task_set_prio(lv_task_t * task, lv_task_prio_t prio) in lv_task_set_prio() argument
304 if(task->prio == prio) return; in lv_task_set_prio()
[all …]
Dlv_task.h113 void lv_task_del(lv_task_t * task);
120 void lv_task_set_cb(lv_task_t * task, lv_task_cb_t task_cb);
127 void lv_task_set_prio(lv_task_t * task, lv_task_prio_t prio);
134 void lv_task_set_period(lv_task_t * task, uint32_t period);
140 void lv_task_ready(lv_task_t * task);
147 void lv_task_set_repeat_count(lv_task_t * task, int32_t repeat_count);
154 void lv_task_reset(lv_task_t * task);
173 lv_task_t * lv_task_get_next(lv_task_t * task);
Dlv_async.c24 static void lv_async_task_cb(lv_task_t * task);
48 lv_task_t * task = lv_task_create(lv_async_task_cb, 0, LV_TASK_PRIO_HIGHEST, info); in lv_async_call() local
50 if(task == NULL) { in lv_async_call()
59 task->user_data = info; in lv_async_call()
60 lv_task_set_repeat_count(task, 1); in lv_async_call()
68 static void lv_async_task_cb(lv_task_t * task) in lv_async_task_cb() argument
70 lv_async_info_t * info = (lv_async_info_t *)task->user_data; in lv_async_task_cb()
/lvgl-2.7.6/src/
Dlv_api_map.h35 static inline void lv_task_once(lv_task_t * task) in lv_task_once() argument
37 lv_task_set_repeat_count(task, 1); in lv_task_once()
/lvgl-2.7.6/src/lv_core/
Dlv_refr.h85 void _lv_disp_refr_task(lv_task_t * task);
Dlv_indev.h41 void _lv_indev_read_task(lv_task_t * task);
Dlv_refr.c175 void _lv_disp_refr_task(lv_task_t * task) in _lv_disp_refr_task() argument
182 disp_refr = task->user_data; in _lv_disp_refr_task()
188 lv_task_set_prio(task, LV_TASK_PRIO_OFF); in _lv_disp_refr_task()
Dlv_indev.c75 void _lv_indev_read_task(lv_task_t * task) in _lv_indev_read_task() argument
81 indev_act = task->user_data; in _lv_indev_read_task()