Find the answer to your Linux question:
Results 1 to 3 of 3
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 works as given below, When I got any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6

    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 works as 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

  2. #2
    Just Joined!
    Join Date
    Dec 2008
    Location
    chennai,India
    Posts
    4
    init_timer
    addtime
    mod_time

    May be useful

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •