Go to the source code of this file.
◆ foreground_task_ptr
| typedef void(* foreground_task_ptr) (void *data) |
◆ task_add_delayed()
◆ task_add_immediate()
Enqueue a function to be called once by the foreground process.
- Parameters
-
| fn | pointer to a foreground_task_ptr type of function. |
| data | pointer to data to be passed to the callee. |
- Returns
- true if successful, false otherwise.
◆ task_add_systick()
◆ task_delete()
◆ task_delete_systick()
◆ task_raise_alarm()
| void task_raise_alarm |
( |
void * |
data | ) |
|
◆ task_run_on_reset()
Enqueue a function to be called once by the foreground process after the reset sequence is completed.
- Parameters
-
| fn | pointer to a foreground_task_ptr type of function. |
| data | pointer to data to be passed to the callee. |
- Returns
- true if successful, false otherwise.
◆ task_run_on_startup()
Enqueue a function to be called once by the foreground process after the boot sequence is completed.
- Parameters
-
| fn | pointer to a foreground_task_ptr type of function. |
| data | pointer to data to be passed to the callee. |
- Returns
- true if successful, false otherwise.