Dennis Bieber schrieb am Donnerstag, 4. März 2021 um 23:41:22 UTC+1: > libpruio > does not seem to support such -- cf: > https://groups.google.com/g/beagleboard/c/3wphAPs9Uws (which is the > underlying C level, I doubt the Python interface adds any features) > Nonsens! Use
io.IntcInit to configure the interrupt table (IRQ[0-4,6,7]). And mask your event in the GPIO registers LEVELDETECT[0,1] RISINGDETECT FALLINGDETECT If need be also set the GPIO registers DEBOUNCENABLE DEBOUNCINGTIME and then catch (and reset) the new IRQ in a thread. But this isn't worth the effort! As mentioned above, the while loop should get placed in a custom sleep function. And since the app does nothing in that sleep function, the abortPIN can get polled fast enough (20 to 100 Hz). Dennis Bieber schrieb am Donnerstag, 4. März 2021 um 23:41:22 UTC+1: > Non Sequitur: "TJF" is, as I recall, the author of that libpruio package, > and pushes it as the only solution for everything related to Beaglebone > GPIO. > Nonsens! You can find hundreds of threads here without any pushing. Since the OP already implemented libpruio for the eCAP feature, why shouldn't he use further features? -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/bd3d4e00-58e8-4e6d-86df-004e5305b0a2n%40googlegroups.com.