[U-Boot-Users] Resulution of udelay and co

Wolfgang Denk wd at denx.de
Fri Nov 3 09:20:30 CET 2006


In message <eies5r$2fn$1 at sea.gmane.org> you wrote:
> 
> I am a little bit confused about udelay(unsigned long usec), 
> get_timer(ulong base) and wait_ticks (unsigned long ticks).
> 
> Witch resolution should have this functions?

unsigned long usec = microseconds.

unsigned long ticks = ticks.

With the recommended setting of CFG_HZ=1000 a tick is a millisecond.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Bus error -- driver executed.




More information about the U-Boot mailing list