[En-Nut-Discussion] sleeping in idle thread

Matthias Ringwald mringwal at inf.ethz.ch
Fri Jul 9 16:19:46 CEST 2004


hi

for autonmous nodes, putting the processor to sleep is quite important.
So far, nut/os doesn't support this actively so I'd like to add one 
function
to the avr_nutinit.c and change the Idle Thread a bit.

void NutThreadSetIdleSleepMode( int mode )

to set the sleep mode which is entered in the idle thread.
if this function is never called, the idle thread behaves as before.

everybody fine with this ?

matthias




More information about the En-Nut-Discussion mailing list