Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12621 Discussions

2 interrupts functions handlers with VIC

Honored Contributor II

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.  


0 Kudos
0 Replies