mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Hans-Jürgen Koch" <hjk@linutronix.de>
To: Mockern@yandex.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: Question: 20 microseconds  delay
Date: Sat, 3 Mar 2007 15:33:41 +0100	[thread overview]
Message-ID: <200703031533.42152.hjk@linutronix.de> (raw)
In-Reply-To: <45E98415.000002.30135@webmail9.yandex.ru>

Am Samstag 03 März 2007 15:20 schrieb Mockern:
> Hi,
>
> I have a question.
>
> I need to use 20 microsecond delay in my driver.
> What exact jiffies value I should define to get 20 microseconds?

You can't do it with jiffies as they have 1 millisecond resolution at best. 
You'd use something like usleep(20) instead.

Hans


  parent reply	other threads:[~2007-03-03 14:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03 14:20 Mockern
2007-03-03 14:32 ` Jiri Slaby
2007-03-03 14:46   ` Mockern
2007-03-03 14:52     ` Jiri Slaby
2007-03-03 14:33 ` Hans-Jürgen Koch [this message]
2007-03-03 14:47   ` Mockern
2007-03-03 21:02     ` Bill Davidsen

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=200703031533.42152.hjk@linutronix.de \
    --to=hjk@linutronix.de \
    --cc=Mockern@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®