AVRCpp::Timer::TimerCounter2 Struct Reference

#include <Timer.h>

Inherits AVRCpp::Timer::Internal::OneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, ClockEnum, ChannelOutputPin >< _TCNT2,_OCR2,_TCCR2,ClockB,OutputPin7< PortB > >.

List of all members.

Public Types

typedef OutputCompareRegister OutputCompare
typedef ChannelOutputPin ChannelPin
typedef CounterRegister Counter

Static Public Member Functions

static void ForceOutputCompare ()
static void SetUp (ClockEnum clock, Mode mode, CompareOutputMode compareOutputMode)
static void SelectClock (ClockEnumclock)
static uint8_t GetSelectedClock ()

Classes

struct  CompareMatchInterrupt
struct  OverflowInterrupt


Detailed Description

Definition at line 131 of file Timer.h.


Member Typedef Documentation

template<class CounterRegister, class OutputCompareRegister, class ControlRegister, class ClockEnum, class ChannelOutputPin>
typedef OutputCompareRegister AVRCpp::Timer::Internal::OneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, ClockEnum, ChannelOutputPin >::OutputCompare [inherited]

Definition at line 248 of file Timer.h.

template<class CounterRegister, class OutputCompareRegister, class ControlRegister, class ClockEnum, class ChannelOutputPin>
typedef ChannelOutputPin AVRCpp::Timer::Internal::OneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, ClockEnum, ChannelOutputPin >::ChannelPin [inherited]

Definition at line 249 of file Timer.h.

typedef CounterRegister AVRCpp::Timer::Internal::SimpleTimer< CounterRegister , ControlRegister , ClockEnum >::Counter [inherited]

Definition at line 231 of file Timer.h.


Member Function Documentation

template<class CounterRegister, class OutputCompareRegister, class ControlRegister, class ClockEnum, class ChannelOutputPin>
static void AVRCpp::Timer::Internal::OneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, ClockEnum, ChannelOutputPin >::ForceOutputCompare (  )  [inline, static, inherited]

Definition at line 251 of file Timer.h.

00251 { SetBits<ControlRegister>(Force); }

template<class CounterRegister, class OutputCompareRegister, class ControlRegister, class ClockEnum, class ChannelOutputPin>
static void AVRCpp::Timer::Internal::OneChannel8BitTimer< CounterRegister, OutputCompareRegister, ControlRegister, ClockEnum, ChannelOutputPin >::SetUp ( ClockEnum  clock,
Mode  mode,
CompareOutputMode  compareOutputMode 
) [inline, static, inherited]

Definition at line 253 of file Timer.h.

00257                                 {
00258                                         ControlRegister::Set(compareOutputMode | mode | clock);
00259                                         
00260                                 } // SetUp

static void AVRCpp::Timer::Internal::SimpleTimer< CounterRegister , ControlRegister , ClockEnum >::SelectClock ( ClockEnum   clock  )  [inline, static, inherited]

Definition at line 233 of file Timer.h.

00233 { ChangeBits<ClockRegister>(ClockMask, clock); }

static uint8_t AVRCpp::Timer::Internal::SimpleTimer< CounterRegister , ControlRegister , ClockEnum >::GetSelectedClock (  )  [inline, static, inherited]

Definition at line 234 of file Timer.h.

00234 { return SelectBits<ClockRegister>(ClockMask); }


The documentation for this struct was generated from the following file:
Generated on Sat Sep 15 23:41:09 2007 for AVR C++ Lib for ATmega64 by  doxygen 1.5.2
SourceForge.net Logo MTÜ TTÜ Robotiklubi