Messages in this thread | | | Date | Sat, 03 Mar 2007 15:32:02 +0100 | From | Jiri Slaby <> | Subject | Re: Question: 20 microseconds delay |
| |
Mockern napsal(a): > 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?
It's subjiffy delay unless you use 50000 HZ :). Use udelay.
regards, -- http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
Hnus <hnus@fi.muni.cz> is an alias for /dev/null - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |