/* Returns the handle of the timer of the first allocated timer that has the specified parameter.  */
timer_handle_t TM_GetFirstTimerWithParam(void *param)
/* Returns the handle of the timer of the first allocated timer that has the specified parameter.  */
timer_handle_t TM_GetFirstTimerWithParam(void *param)
{
    timer_handle_struct_t *th = s_timermanager.timerHead;
    while (NULL != th)
    {
        if (th->param == param)
        {
            return th;
        }
        th = th->next;
    }
    return NULL;
}