PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Quick Question on ARM

Hi All,

do ARM have any instruction to halt processor? I'm writting for the application which gonna be interrup driven so I don't want to put wasting cycles (I assume that it will be power eater)into the main function.
If your main application thread isn't busy/active then the OS should give priority to other tasks anyway. It's the job/responsibility of the OS to halt the processor, not the job of your application (IMHO at least).

If you're writing a device driver or something low-level that really does need to halt the processor, go look at the XScale/StrongARM ARM manuals on the Intel site... but I suspect the OS won't be too happy with you if you halt the processor behind its back.

Out of interest, which interrupt are you hooking?
Thanks for answer, I'm actually writing for board which have no OS yet
So I went thru manuals and didn't find anything that can stop that superperforming ARM. :wink: