Altera_Forum
Honored Contributor
12 years agoInterrupt handler software example
Hi
I'm trying to write a bare metal usb midi device driver using the 13.0 hardwarelib and i'm stuck tryimg to use the alt_int_isr_register() function for creating an interrupt handler. Searching the internet for further documentation and interrupt examples of the Socal hardwarelib and api, give so far no results (maybe because its relatively new). ---- Is there more nios style documentation (underway) like the chapter 8 exception handling chapter of the NIiosII Software Developers Handbook, containing code examples ? --- and/or Can someone show some code as how to setup an bare metal interupt handler using ds5 and the gnu bare metal compiler ?