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__   3

Enumerations

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

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__   3

Definition at line 54 of file Sleeping.h.


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