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.
12367 Discussions

Block on interrupt - without O.S

ZVere
Beginner
173 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
142 Views

You can do that.


Reply