Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow to pass a pointer or array name to the interrupt function?
hi i register a interrupt in nios, and it works well alt_ic_isr_register (NIOS_FT245_INTERFACE_0_IRQ_INTERRUPT_CONTROLLER_ID, NIOS_FT245_INTERFACE_0_IRQ, ft245_interrup...
Altera_Forum
Honored Contributor
10 years agoThe warning is because the type of your ISR function argument doesn't match what alt_ic_isr_register expects which is (void *). Try using (void *)precision_data_1 for that argument.
Edit: wrong argument.