Searched refs:task (Results 1 – 3 of 3) sorted by relevance
| /loramac-node-latest/src/boards/mcu/saml21/hal/documentation/ |
| D | timer.rst | 7 A timer task is a piece of code (function) executed at a specific time or periodically by the timer… 8 been added to the timers task queue. The execution delay or period is set in ticks, where one tick … 10 changes execution delays and periods for all tasks in the timers task queue. 12 A task has two operation modes, single-shot or repeating mode. In single-shot mode the task is remo… 13 and then is executed once, in repeating mode the task reschedules itself automatically after it has… 14 the period set in the task configuration. 15 In single-shot mode a task is removed from the task queue before its callback is invoked. It allows… 16 reuse the memory of expired task in the callback. 37 The Timer driver is an interrupt driven driver.This means that the interrupt that triggers a task m… 38 the process of adding or removing a task via the driver's API. In such case the interrupt processin… [all …]
|
| /loramac-node-latest/src/boards/mcu/saml21/hal/src/ |
| D | hal_timer.c | 130 int32_t timer_add_task(struct timer_descriptor *const descr, struct timer_task *const task) in timer_add_task() argument 132 ASSERT(descr && task); in timer_add_task() 135 if (is_list_element(&descr->tasks, task)) { in timer_add_task() 140 task->time_label = descr->time; in timer_add_task() 141 timer_add_timer_task(&descr->tasks, task, descr->time); in timer_add_task() 157 int32_t timer_remove_task(struct timer_descriptor *const descr, const struct timer_task *const task) in timer_remove_task() argument 159 ASSERT(descr && task); in timer_remove_task() 162 if (!is_list_element(&descr->tasks, task)) { in timer_remove_task() 167 list_delete_element(&descr->tasks, task); in timer_remove_task()
|
| /loramac-node-latest/src/boards/mcu/saml21/hal/include/ |
| D | hal_timer.h | 189 int32_t timer_add_task(struct timer_descriptor *const descr, struct timer_task *const task); 202 int32_t timer_remove_task(struct timer_descriptor *const descr, const struct timer_task *const task…
|