Results 1 to 2 of 2
Hi all,
I am doing linux 2.6.30 kernel driver for GPIO connected device,the technical specification says that the pulse width is 100us and time interval between the pulses is 100ms.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-24-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 1
setting the timeout in driver after 1 ms
Hi all,
I am doing linux 2.6.30 kernel driver for GPIO connected device,the technical specification says that the pulse width is 100us and time interval between the pulses is 100ms.
now my doubt is if I use jiffies for time out then, I get timeout after every 5 ms secs since the default value is set to CONFIG_HZ=200. so my question is how achieve a 1 millisecond timeout.
please help in fixing this issue.
Ratheendran
- 08-24-2010 #2Just Joined!
- Join Date
- Jun 2010
- Posts
- 7
Hi,
There is something like "hrtimer" - high resolution timer. Read about this and maybe this will do the job for you.


Reply With Quote
