Add timer task.
int32_t timer_add_task( struct timer_descriptor *const descr, struct timer_task *const task )
This function adds the given timer task to the given timer. It checks if the given hardware is initialized.
Type: struct timer_descriptor Struct *const
The timer descriptor of a timer to add task to
Type: struct timer_task Struct *const
A task to add
Type: int32_t
Timer's task adding status.