From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problems with udelay() on AT91RM9200 !
Date: Mon, 22 Nov 2004 15:13:36 +0100 [thread overview]
Message-ID: <41A1F410.6040107@imc-berlin.de> (raw)
Hi there,
I just noticed that the implementation of udelay() - i.e udelay_masked() -
resets the timer. Why is that?
This prevents me from doing something like
start = get_timer(0); /* get current time */
do {
if ( get_timer(start) > timeout) {
puts(" TIMEOUT!");
break;
}
putc('.');
udelay(100000);
} while (1);
:-(
--
Steven
next reply other threads:[~2004-11-22 14:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-22 14:13 Steven Scholz [this message]
[not found] <20041122165543.AE556C1430@atlas.denx.de>
2004-11-22 18:05 ` [U-Boot-Users] Problems with udelay() on AT91RM9200 ! Steven Scholz
2004-11-22 18:57 ` Wolfgang Denk
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=41A1F410.6040107@imc-berlin.de \
--to=steven.scholz@imc-berlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.