Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHow to set ISR in NiosII?
Hi all, Now I want to receive info from a custom UART in NiosII IDE by Interruption. I notice the code for receiving interruption in NiosI goes like this: ----------- in...
Altera_Forum
Honored Contributor
21 years agoDon,
Why do you want to write your own ISR for the UART? The HAL already contains code for this and, if you use the IDE flow, it's likely you already have an ISR registered for the UART. Read through the section in the manual regarding the UART and you'll see what I mean. Unless you've disabled it, all interrupt-capable components will have registered ISRs following alt_sys_init(). Cheers, - slacker