Forum: ARM programming with GCC/GNU tools About disabling interrupt temperayily

von Min G. (minge519)

Rate this post
0 useful
not useful
Hi all,

I have serval lines of code. I do not want any interrupt occur during
running those.
Which way is better and simple to disable and enable all interrupts
before and after running those code?


Min ge


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.