Idle Hook example

Hi, I am searching for a student work a code (real example) for an idle hook, that is used for power saving modes like to put the procsessor into a low-power mode. Thanks a lot :-) Bye Samarte

Idle Hook example

void vApplicationIdleHook( void ) {     sleep(); } That is it. The implementation of sleep() is dependent on the processor but will normally be a single asm instruction.

Idle Hook example

Wow that is easy. Thanks a lot .. :-) Bye Samarte