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++
12603 Discussions

Block on interrupt - without O.S

ZVere
Beginner
460 Views

Hello,

My NIOS-II application should wait for an interrupt and then do some steps. 

I prefer not using any operating system. 

In the main loop, I want to block (without timeout) till interrupt received. 

Is it possible ?

Without O.S, the sequence I know is to raise a global flag in interrupt handler. The main loop polls this flag. 

Thank you,

Zvika 

 

 

0 Kudos
1 Reply
EricMunYew_C_Intel
Moderator
429 Views

You can do that.


0 Kudos
Reply