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

Block on interrupt - without O.S

ZVere
Beginner
312 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
281 Views

You can do that.


Reply