Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

2 interrupts functions handlers with VIC

Good afternoon,

I am a software engineer and I am new to nios world.

I'm actually implementing SPI on my nios ii board.

I use an external interrupt controller via VIC, I need your help because I can not find in the documentation a way to implement more than one function handler for interrupts.

For exemple : With my SPI, I want to call my send_spi() function when the transmit buffer is empty and the receive_spi() function when the receive buffer is full (informed/called by interrupts).

Thank for your help.

Ps : Sorry for my bad English, it is not my mother tongue.

F
No RepliesBe the first to reply