Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12452 Discussions

2 interrupts functions handlers with VIC

Altera_Forum
Honored Contributor II
763 Views

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