Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Question of throttling CPU usage
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Lanarcam, post: 5019853"] Le 25/04/2012 20:44, James Kuyper a écrit : This is not only system dependant but also processor dependant. For instance Cortex M0 processor have instructions for entering sleep mode. "Wait for interrupt The Wait For Interrupt instruction, WFI, causes immediate entry to sleep mode. When the processor executes a WFI instruction it stops executing instructions and enters sleep mode. See WFI for more information. Wait for event The Wait For Event instruction, WFE, causes entry to sleep mode conditional on the value of a one-bit event register. When the processor executes a WFE instruction, it checks the value of the event register: 0 The processor stops executing instructions and enters sleep mode 1 The processor sets the register to zero and continues executing instructions without entering sleep mode." Obviously, the OS or RTOS must support those instructions. <[URL]http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/BABHHGEB.html[/URL]> [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Question of throttling CPU usage
Top