Forum Discussion
Altera_Forum
Honored Contributor
21 years agoKira,
You seem to be confused. There is no need for you to write an interrupt handler for the UART, one already exists in the UART driver. If you wish to write an interrupt handler for another piece of hardware your code should be fine if remove the errors I highlighted in my previous post. You should also read the documentation which can be found in the Nios II Software Developers Handbook, there is an entire section on Exception Handling including an entire section on ISRs from page 6-5 onwards.