[U-Boot-Users] Resulution of udelay and co
Jens Scharsig
esw at bus-elektronik.de
Fri Nov 3 10:40:49 CET 2006
Wolfgang Denk schrieb:
> 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
>
Thanks
I will correct the timer functions for my target cpu to be really CLK
dependently.
Jens
More information about the U-Boot
mailing list