avr/cpp/Sleeping.h File Reference

#include "IO.h"
#include "Assembler.h"

Go to the source code of this file.

Namespaces

namespace  AVRCpp
namespace  AVRCpp::Sleeping

Defines

#define __SLEEPING_NUMBER_OF_MODES__   6
#define __SLEEPING_REGISTER__   _MCUCR

Enumerations

enum  AVRCpp::Sleeping::EnabledFlag {
  AVRCpp::Sleeping::Disabled = 0x00,
  AVRCpp::Sleeping::Enabled = 0x20
}
enum  AVRCpp::Sleeping::SleepMode {
  AVRCpp::Sleeping::Idle = 0x00,
  AVRCpp::Sleeping::ADCNoiseReduction = 0x8,
  AVRCpp::Sleeping::PowerDown = 0x10,
  AVRCpp::Sleeping::PowerSave = 0x10 | 0x8,
  AVRCpp::Sleeping::Standby = 0x4 | 0x10,
  AVRCpp::Sleeping::ExtendedStandby = 0x4 | 0x10 | 0x8
}

Functions

void AVRCpp::Sleeping::SetUp (SleepMode sleepMode, EnabledFlag enabled)
void AVRCpp::Sleeping::FallAsleep ()
void AVRCpp::Sleeping::Enable ()
void AVRCpp::Sleeping::Disable ()
uint8_t AVRCpp::Sleeping::IsEnabled ()
uint8_t AVRCpp::Sleeping::GetSleepMode ()
void AVRCpp::Sleeping::SetSleepMode (SleepMode sleepMode)


Define Documentation

#define __SLEEPING_NUMBER_OF_MODES__   6

Definition at line 49 of file Sleeping.h.

#define __SLEEPING_REGISTER__   _MCUCR

Definition at line 50 of file Sleeping.h.


Generated on Sat Sep 15 23:41:05 2007 for AVR C++ Lib for ATmega64 by  doxygen 1.5.2
SourceForge.net Logo MTÜ TTÜ Robotiklubi