Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow to use interrupt?
Hello. I want to use interrupt from USER_PIO, but I don't know how to use. I tried this sample code , but it seems that ISR is not executed. (I modified two point. *definition of...
Altera_Forum
Honored Contributor
20 years agoyour thread runs once and then dies
you need a infinite loop in static void ledglow(cyg_addrword_t data) { while (1){ ledpio = ledpio^0x10; // IOWR (LED_PIO_BASE , 0, ledpio); } }