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 documentation for the HAL functions are in altera_hal_api.pdf. Whatever you give to the context arg will be passed to your isr function. In your code this is the first NULL.