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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

2 interrupts functions handlers with VIC

Altera_Forum
Honored Contributor II
1,057 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