How to generate software event?
Hello Friends, I need your help.
I am working on linux kernel-2.6.20 for MPC8313erdb board.
I want to write a module which is given below,
When I got any signal at GPIO pin, the status of that pin will be store, and the counter will be start for 10ms. After 10ms I want to again check the status of same GPIO pin.
So is there any system call to set timer for 10ms in module programming?
Please let me know if any, how its works.
Thanks in advance
Last edited by beparas; 03-02-2009 at 10:12 PM.
|