Handling interrupts in spidev

Richard Weinberger richard at nod.at
Mon Jan 27 01:51:08 EST 2014


Am 27.01.2014 06:37, schrieb Amit Mahadik:
> 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



More information about the Kernelnewbies mailing list