I am building a small particle detector and want to process the output signals from the photo-multiplier tubes on a beaglebone black. I would like to generate interrupts when the signals come in to any two GPIO pins. Does anybody have a sample code I can look at for generating interrupts?