This function adds to the queue and starts the timer. If the timer was already active/running it will be replaced by this and the old (active) timer will be removed/cancelled first.
void timeout_create( timerStruct_t * timer, uint32_t timeout )
Type: timerStruct_t *
- timer instance to be created and added to the list
Type: uint32_t
- number of timer ticks before this timer expires.
Type: void