Lines Matching refs:timer
693 …ret = aos_timer_new_ext(&t_handler->timer, pxCallbackFunction,(void *)t_handler, krhino_ticks_to_m… in _aos_timerCreate()
701 aos_timer_stop(&xTimer->timer); in _aos_timerDelete()
702 aos_timer_free(&xTimer->timer); in _aos_timerDelete()
715 if(!aos_timer_stop(&xTimer->timer)) in _aos_timerStop()
722 int _aos_timer_change_no_repeat(aos_timer_t *timer, int ms) in _aos_timer_change_no_repeat() argument
726 ret = aos_timer_change_once(timer, ms); in _aos_timer_change_no_repeat()
728 ret = aos_timer_start(timer); in _aos_timer_change_no_repeat()
740 if(!_aos_timer_change_no_repeat(&xTimer->timer, xNewPeriod)) in _aos_timerChangePeriod()
753 ret = aos_timer_start(&xTimer->timer); in _aos_timerStart()
760 return !aos_timer_start(&xTimer->timer); in _aos_timerStartFromISR()
766 return !aos_timer_stop(&xTimer->timer); in _aos_timerStopFromISR()
772 (u32)aos_timer_stop(&xTimer->timer); in _aos_timerResetFromISR()
773 return !aos_timer_start(&xTimer->timer); in _aos_timerResetFromISR()
783 (u32)aos_timer_stop(&xTimer->timer); in _aos_timerChangePeriodFromISR()
785 return !aos_timer_change(&xTimer->timer, xNewPeriod); in _aos_timerChangePeriodFromISR()
791 (u32)aos_timer_stop(&xTimer->timer); in _aos_timerReset()
792 return !aos_timer_start(&xTimer->timer); in _aos_timerReset()