Lines Matching refs:u32Usec
94 int32_t TIMER_Delay(TIMER_T *timer, uint32_t u32Usec) in TIMER_Delay() argument
106 if(u32Usec < 1000UL) in TIMER_Delay()
108 u32Usec = 1000UL; in TIMER_Delay()
110 if(u32Usec > 1000000UL) in TIMER_Delay()
112 u32Usec = 1000000UL; in TIMER_Delay()
117 if(u32Usec < 100UL) in TIMER_Delay()
119 u32Usec = 100UL; in TIMER_Delay()
121 if(u32Usec > 1000000UL) in TIMER_Delay()
123 u32Usec = 1000000UL; in TIMER_Delay()
131 u32Cmpr = (u32Usec * 1000UL) / u32NsecPerTick; in TIMER_Delay()
135 u32Cmpr = u32Usec * (u32Clk / 1000000UL); in TIMER_Delay()