avr/cpp/Timer.h File Reference

#include "IO.h"
#include "atmega8515/Timer.h"

Go to the source code of this file.

Namespaces

namespace  AVRCpp
namespace  AVRCpp::Timer
namespace  AVRCpp::Timer::Internal

Classes

struct  AVRCpp::Timer::Internal::AsyncRegister< Register, UpdateBit >
struct  AVRCpp::Timer::Internal::SimpleTimer< CounterRegister, ClockRegister, ClockEnum >
struct  AVRCpp::Timer::Internal::OneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, ClockEnum, ChannelOutputPin >
class  AVRCpp::Timer::Internal::AsyncOneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, AsyncStatusRegister, InterruptEnableBits, InterruptFlagBits, ChannelOutputPin >
struct  AVRCpp::Timer::Internal::OneChannel8BitTimerWithAsynchronousOperation< CounterRegister, OutputCompareRegister, ControlRegister, AsyncStatusRegister, InterruptEnableBits, InterruptFlagBits, ChannelOutputPin >
struct  AVRCpp::Timer::Internal::TwoChannel8BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, ControlRegisterA, ControlRegisterB, ClockEnum, ChannelAOutputPin, ChannelBOutputPin >
class  AVRCpp::Timer::Internal::AsyncTwoChannel8BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, ControlRegisterA, ControlRegisterB, InterruptMaskRegister, InterruptFlagRegister, AsyncStatusRegister, ChannelAOutputPin, ChannelBOutputPin >
struct  AVRCpp::Timer::Internal::TwoChannel8BitTimerWithAsynchronousOperation< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, ControlRegisterA, ControlRegisterB, InterruptMaskRegister, InterruptFlagRegister, AsyncStatusRegister, ChannelAOutputPin, ChannelBOutputPin >
struct  AVRCpp::Timer::Internal::TwoChannel16BitTimerBase< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, InputCaptureInputPin >
struct  AVRCpp::Timer::Internal::OldTwoChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, InputCaptureInputPin >
struct  AVRCpp::Timer::Internal::NewTwoChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, InputCaptureInputPin >
struct  AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >

Enumerations

enum  AVRCpp::Timer::ClockA {
  AVRCpp::Timer::NoClockA = 0x00,
  AVRCpp::Timer::NoPrescaleA = 0x01,
  AVRCpp::Timer::Prescale8A = 0x02,
  AVRCpp::Timer::Prescale32A = 0x03,
  AVRCpp::Timer::Prescale64A = 0x04,
  AVRCpp::Timer::Prescale128A = 0x05,
  AVRCpp::Timer::Prescale256A = 0x06,
  AVRCpp::Timer::Prescale1024A = 0x07
}
enum  AVRCpp::Timer::ClockB {
  AVRCpp::Timer::NoClockB = 0x00,
  AVRCpp::Timer::NoPrescaleB = 0x01,
  AVRCpp::Timer::Prescale8B = 0x02,
  AVRCpp::Timer::Prescale64B = 0x03,
  AVRCpp::Timer::Prescale256B = 0x04,
  AVRCpp::Timer::Prescale1024B = 0x05,
  AVRCpp::Timer::ExternalFall = 0x06,
  AVRCpp::Timer::ExternalRise = 0x07
}
enum  AVRCpp::Timer::CompareOutputMode {
  AVRCpp::Timer::NormalPortOperation = 0x00,
  AVRCpp::Timer::Toggle = 0x10,
  AVRCpp::Timer::Clear = 0x20,
  AVRCpp::Timer::Set = 0x30
}
enum  AVRCpp::Timer::CompareOutputModeA {
  AVRCpp::Timer::NormalPortOperationA = 0x00,
  AVRCpp::Timer::ToggleA = 0x40,
  AVRCpp::Timer::ClearA = 0x80,
  AVRCpp::Timer::SetA = 0xC0
}
enum  AVRCpp::Timer::CompareOutputModeB {
  AVRCpp::Timer::NormalPortOperationB = 0x00,
  AVRCpp::Timer::ToggleB = 0x10,
  AVRCpp::Timer::ClearB = 0x20,
  AVRCpp::Timer::SetB = 0x30
}
enum  AVRCpp::Timer::CompareOutputModeC {
  AVRCpp::Timer::NormalPortOperationC = 0x00,
  AVRCpp::Timer::ToggleC = 0x04,
  AVRCpp::Timer::ClearC = 0x08,
  AVRCpp::Timer::SetC = 0x0C
}
enum  AVRCpp::Timer::InputNoiseCanceler {
  AVRCpp::Timer::On = 0x80,
  AVRCpp::Timer::Off = 0x00
}
enum  AVRCpp::Timer::InputCaptureEdge {
  AVRCpp::Timer::Rise = 0x40,
  AVRCpp::Timer::Fall = 0x00
}
enum  AVRCpp::Timer::Mode {
  AVRCpp::Timer::Normal = 0x00,
  AVRCpp::Timer::ClearTimerOnCompareMatch = 0x08,
  AVRCpp::Timer::PhaseCorrectPWM = 0x40,
  AVRCpp::Timer::FastPWM = 0x48
}
enum  AVRCpp::Timer::FixedTop16 {
  AVRCpp::Timer::Normal16 = 0x00,
  AVRCpp::Timer::FastPWM16BitsCount8 = 0x09,
  AVRCpp::Timer::FastPWM16BitsCount9 = 0x0A,
  AVRCpp::Timer::FastPWM16BitsCount10 = 0x0B,
  AVRCpp::Timer::PhaseCorrectPWM16BitsCount8 = 0x01,
  AVRCpp::Timer::PhaseCorrectPWM16BitsCount9 = 0x02,
  AVRCpp::Timer::PhaseCorrectPWM16BitsCount10 = 0x03
}
enum  AVRCpp::Timer::TopFromInputCapture16 {
  AVRCpp::Timer::ClearTimerOnCompareMatch16TopFromInputCapture = 0x18,
  AVRCpp::Timer::FastPWM16TopFromInputCapture = 0x1A,
  AVRCpp::Timer::PhaseCorrectPWM16TopFromInputCapture = 0x12,
  AVRCpp::Timer::PhaseAndFrequencyCorrectPWM16TopFromInputCapture = 0x10
}
enum  AVRCpp::Timer::TopFromOutputCompareA16 {
  AVRCpp::Timer::ClearTimerOnCompareMatch16TopFromOutputCompareA = 0x08,
  AVRCpp::Timer::FastPWM16TopFromOutputCompareA = 0x1B,
  AVRCpp::Timer::PhaseCorrectPWM16TopFromOutputCompareA = 0x13,
  AVRCpp::Timer::PhaseAndFrequencyCorrectPWM16TopFromOutputCompareA = 0x11
}
enum  AVRCpp::Timer::FixedTop8 {
  AVRCpp::Timer::Normal8 = 0x00,
  AVRCpp::Timer::FastPWM8 = 0x03,
  AVRCpp::Timer::PhaseCorrectPWM8 = 0x01
}
enum  AVRCpp::Timer::TopFromOutputCompareA8 {
  AVRCpp::Timer::ClearTimerOnCompareMatch8TopFromOutputCompareA = 0x02,
  AVRCpp::Timer::FastPWM8TopFromOutputCompareA = 0x0B,
  AVRCpp::Timer::PhaseCorrectPWM8TopFromOutputCompareA = 0x09
}
enum  AVRCpp::Timer::Internal::CommonConstants {
  AVRCpp::Timer::Internal::ClockMask = 0x03,
  AVRCpp::Timer::Internal::Force = 0x80,
  AVRCpp::Timer::Internal::ForceA = 0x80,
  AVRCpp::Timer::Internal::ForceB = 0x40,
  AVRCpp::Timer::Internal::ForceC = 0x20,
  AVRCpp::Timer::Internal::OldForceA = 0x08,
  AVRCpp::Timer::Internal::OldForceB = 0x04,
  AVRCpp::Timer::Internal::TopMaskA8 = 0x03,
  AVRCpp::Timer::Internal::TopMaskA16 = 0x03,
  AVRCpp::Timer::Internal::TopMaskB8 = 0x08,
  AVRCpp::Timer::Internal::TopMaskB16 = 0x18
}
enum  AVRCpp::Timer::Internal::BitFlags {
  AVRCpp::Timer::Internal::AsynchronousFlagA = 0x08,
  AVRCpp::Timer::Internal::CounterUpdateFlagA = 0x04,
  AVRCpp::Timer::Internal::OutputCompareUpdateFlagA = 0x02,
  AVRCpp::Timer::Internal::ControlUpdateFlagA = 0x01,
  AVRCpp::Timer::Internal::ExternalClockEnableFlagB = 0x40,
  AVRCpp::Timer::Internal::AsynchronousFlagB = 0x20,
  AVRCpp::Timer::Internal::CounterUpdateFlagB = 0x10,
  AVRCpp::Timer::Internal::OutputCompareAUpdateFlagB = 0x08,
  AVRCpp::Timer::Internal::OutputCompareBUpdateFlagB = 0x04,
  AVRCpp::Timer::Internal::ControlAUpdateFlagB = 0x02,
  AVRCpp::Timer::Internal::ControlBUpdateFlagB = 0x01
}


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