From: Jens Scharsig <esw@bus-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Resulution of udelay and co
Date: Fri, 03 Nov 2006 10:40:49 +0100 [thread overview]
Message-ID: <eif2r1$mom$1@sea.gmane.org> (raw)
In-Reply-To: <20061103082030.00B0C352658@atlas.denx.de>
Wolfgang Denk schrieb:
> In message <eies5r$2fn$1@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
prev parent reply other threads:[~2006-11-03 9:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 7:47 [U-Boot-Users] Resulution of udelay and co Jens Scharsig
2006-11-03 7:49 ` Jens Scharsig
2006-11-03 8:21 ` Wolfgang Denk
2006-11-03 8:20 ` Wolfgang Denk
2006-11-03 9:40 ` Jens Scharsig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eif2r1$mom$1@sea.gmane.org' \
--to=esw@bus-elektronik.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox