Page 1 of 1

Quick Question on ARM

PostPosted: May 21, 2003 @ 4:20am
by nwcoder
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.

PostPosted: May 21, 2003 @ 10:52am
by refractor
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?

PostPosted: May 22, 2003 @ 2:31am
by nwcoder