how to setup timer in writing device driver/user space program
Hi all,
When developing bare-bone embedded system project, we usually need to use timers to trigger one-shot/periodic interrupt. In a bare-bone environment, this can be done by accessing registers.
Right now I need to develop code in embedded Linux environment, what are the appropriate ways to achieve the same purpose? I read about jiffies, is it usually used in device driver? What about user space then?
Thanks,
Wei Xu
|