Forum Discussion

ZVere's avatar
ZVere
Icon for New Contributor rankNew Contributor
5 years ago

Block on interrupt - without O.S

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