5.1.2.5 rtcount_sortedInsert

This function figures out where the specific timer will be placed on the queue.

static bool rtcount_sortedInsert(
    rtcountStruct_t * timer
)

Parameters

timer

Type: rtcountStruct_t *

- instance of a timer being inserted to the queue

Returns

Type: bool

true if the inserted at the head of the queue

false in not at the head of the queue