User space programs can't receive hardware interupts (only kernel space
drivers can), you would need to do polling to simulate interupt in user
space, or look at the kernel source code for examples in kernel drivers.
-Curtis.
On November 29, 2005 03:28 pm, Yan Seiner wrote:
> I've been playing with some concepts for alternate IO.
>
> Encoders, LIRC remotes, that sort of thing. One thing I need is some
> sample code for interrupt driven IO - both leading and trailing edge.
>
> Is this available anywhere? Links appreciated.... Or if someone has
> some code they want to share, please post it....
>
> I'd love to have the ability to run this via an IR remote...
>
> --Yan
>
>
>
>
>
>
>
> SPONSORED LINKS
> Computer internet security Linux os Computer internet business
> Computer internet access Computer internet privacy securities Computer
internet help
>
>
> YAHOO! GROUPS LINKS
>
>
> Visit your group "ts-7000" on the web.
>
> To unsubscribe from this group, send an email to:
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|