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 agoThis is a part of my operation of ISR in the main() routine:
alt_irq_register(MY_UART_IRQ, (void*) &context, my_rxd); IOWR_ALTERA_AVALON_UART_CONTROL(MY_UART_BASE, ALTERA_AVALON_UART_STATUS_RRDY_MSK); Is the second sentence correct? I 'm not so sure... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif