Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
723 Views

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
0 Kudos
0 Replies
Reply