Lines Matching refs:u32Usec
97 int32_t TIMER_Delay(TIMER_T *timer, uint32_t u32Usec) in TIMER_Delay() argument
109 if(u32Usec < 1000UL) in TIMER_Delay()
111 u32Usec = 1000UL; in TIMER_Delay()
113 if(u32Usec > 1000000UL) in TIMER_Delay()
115 u32Usec = 1000000UL; in TIMER_Delay()
120 if(u32Usec < 100UL) in TIMER_Delay()
122 u32Usec = 100UL; in TIMER_Delay()
124 if(u32Usec > 1000000UL) in TIMER_Delay()
126 u32Usec = 1000000UL; in TIMER_Delay()
134 u32Cmpr = (u32Usec * 1000UL) / u32NsecPerTick; in TIMER_Delay()
138 u32Cmpr = u32Usec * (u32Clk / 1000000UL); in TIMER_Delay()