BlackLib is for user space programming. To process interrupts, you have to be in kernel space so you have to use a Kernel Module or Device Driver to process interrupts. To pass the event onto user space, there are several options, such as blocking on a read, or sigaction, etc. Best to read Linux Device Driver 3rd edition on how to do this. Search Google as this book is online.
Regards, John > On May 16, 2016, at 9:13 PM, [email protected] wrote: > > Hello all, > I am trying to generate interrupts on the board Beaglebone black, but not yet > know how to declare > I using library BlackLib c++. > Please give me answers > Thanks > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/de95e703-789b-4709-b059-2f2c570e3edd%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/de95e703-789b-4709-b059-2f2c570e3edd%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6F50BA43-137D-456C-85CF-DFF6B725551B%40gmail.com. For more options, visit https://groups.google.com/d/optout.
