Penguino Library - Sleep

Back to Penguino Library Home

   1 #include "penguino/sleep.h"

Delay

Function

Functionality

void sleep_setMode(uint8_t mode)

Sets the sleeping mode. Sleeping modes are outlined below.

void sleep_startSleeping(void)

Begin sleeping in the current sleep mode.

SleepMode Type

The following constants are used to specify the sleep mode in the sleep_setMode function.

The source of this information, and more on Power Management and Sleep Modes can be found in section 9 of the ATMEL ATMega32A Datasheet.

Documentation/Penguino Library/Sleep (last edited 2010-01-11 00:59:01 by DavidCollien)