37.4.8 timer_remove_task
Remove timer task.
int32_t timer_remove_task(
struct timer_descriptor *const descr,
const struct timer_task *const task
)
This function removes the given timer task from the given timer. It checks if the given hardware is initialized.
Parameters
- descr
-
Type: struct timer_descriptor Struct *const
The timer descriptor of a timer to remove task from
- task
-
Type: const struct timer_task Struct *const
A task to remove
Returns
Type: int32_t
Timer's task removing status.