Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHow can i wakeup program thread with button PIO
I found Microtronix's driver for button PIO (on Altera dev. board) altera_pio_button.c It seem to catch the IRQ from button and update value in device file. Is it possible to use this ...
Altera_Forum
Honored Contributor
19 years agoYou can use select().
Look at "man select". There is a example with timeout. Or, if you don't need timeout, just a blocked read() will do.