Thread (12 messages) 12 messages, 6 authors, 2014-02-19

Handling interrupts in spidev

From: richard@nod.at (Richard Weinberger)
Date: 2014-01-27 09:23:17

Am 27.01.2014 10:21, schrieb Amit Mahadik:
Thanks for your input. But I dont want to block the read call. Also I dont want to miss the interrupts.
Look how other drivers/programs deal with that...

Thanks,
//richard
Regards,
Amit.


On Monday, 27 January 2014 12:22 PM, Richard Weinberger [off-list ref] wrote:
Am 27.01.2014 06:37, schrieb Amit Mahadik:
quoted
Thanks for the reply Richard.
       The interrupt is not a GPIO  pin. I have read something about UIO (userspace I/O).
Also, I want the operation to be asynchronous. Any pointer to such mechanism will be very helpful.
Using UIO you can also catch an interrupt in userspace.
You can have a read() which blocks till data is available.


Thanks,
//richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org <mailto:Kernelnewbies@kernelnewbies.org>
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help