This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Stellaris M4 atomic operation

Hi

  I need to write a critical section in M4F that should not be disturbed by any interrupts. Could anyone show me a relaible atomic operation sample. Basically, how to relaibly turn off interrupts before the block and turn them back on afterwards.

thanks..

Eric