AVRCpp::Timer::TimerCounter1 Struct Reference
#include <Timer.h>
Inherits AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >< _TCNT1,_OCR1A,_OCR1B,_OCR1C,_ICR1,_TCCR1A,_TCCR1B,_TCCR1C,ClockB,OutputPin5< PortB >,OutputPin6< PortB >,OutputPin7< PortB >,InputPin4< PortD > >.
List of all members.
|
Public Types |
typedef OutputCompareRegisterA | OutputCompareA |
typedef OutputCompareRegisterB | OutputCompareB |
typedef OutputCompareRegisterC | OutputCompareC |
typedef InputCaptureRegister | InputCapture |
typedef ChannelAOutputPin | ChannelAPin |
typedef ChannelBOutputPin | ChannelBPin |
typedef ChannelCOutputPin | ChannelCPin |
typedef InputCaptureInputPin | InputCapturePin |
typedef CounterRegister | Counter |
Static Public Member Functions |
static void | ForceOutputCompareA () |
static void | ForceOutputCompareB () |
static void | ForceOutputCompareC () |
static void | SetUp (ClockEnum clock, FixedTop16 fixedTop16, CompareOutputModeA compareOutputModeA, CompareOutputModeB compareOutputModeB, CompareOutputModeC compareOutputModeC, InputNoiseCanceler inputNoiseCanceler, InputCaptureEdge inputCaptureEdge) |
static void | SetUp (ClockEnum clock, TopFromInputCapture16 topFromInputCapture16, CompareOutputModeA compareOutputModeA, CompareOutputModeB compareOutputModeB, CompareOutputModeC compareOutputModeC) |
static void | SetUp (ClockEnum clock, TopFromOutputCompareA16 topFromOutputCompareA16, CompareOutputModeB compareOutputModeB, CompareOutputModeC compareOutputModeC, InputNoiseCanceler inputNoiseCanceler, InputCaptureEdge inputCaptureEdge) |
static void | SelectClock (ClockEnumclock) |
static uint8_t | GetSelectedClock () |
Classes |
struct | CompareMatchAInterrupt |
struct | CompareMatchBInterrupt |
struct | CompareMatchCInterrupt |
struct | InputCaptureInterrupt |
struct | OverflowInterrupt |
Detailed Description
Definition at line 107 of file Timer.h.
Member Typedef Documentation
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef OutputCompareRegisterA AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::OutputCompareA [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef OutputCompareRegisterB AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::OutputCompareB [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef OutputCompareRegisterC AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::OutputCompareC [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef InputCaptureRegister AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::InputCapture [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef ChannelAOutputPin AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::ChannelAPin [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef ChannelBOutputPin AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::ChannelBPin [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef ChannelCOutputPin AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::ChannelCPin [inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
typedef InputCaptureInputPin AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::InputCapturePin [inherited] |
Member Function Documentation
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
static void AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::ForceOutputCompareA |
( |
|
) |
[inline, static, inherited] |
Definition at line 706 of file Timer.h.
00706 { SetBits<ControlRegisterC>(ForceA); }
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
static void AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::ForceOutputCompareB |
( |
|
) |
[inline, static, inherited] |
Definition at line 707 of file Timer.h.
00707 { SetBits<ControlRegisterC>(ForceB); }
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
static void AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::ForceOutputCompareC |
( |
|
) |
[inline, static, inherited] |
Definition at line 708 of file Timer.h.
00708 { SetBits<ControlRegisterC>(ForceC); }
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
static void AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::SetUp |
( |
ClockEnum |
clock, |
|
|
FixedTop16 |
fixedTop16, |
|
|
CompareOutputModeA |
compareOutputModeA, |
|
|
CompareOutputModeB |
compareOutputModeB, |
|
|
CompareOutputModeC |
compareOutputModeC, |
|
|
InputNoiseCanceler |
inputNoiseCanceler, |
|
|
InputCaptureEdge |
inputCaptureEdge | |
|
) |
| | [inline, static, inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
static void AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::SetUp |
( |
ClockEnum |
clock, |
|
|
TopFromInputCapture16 |
topFromInputCapture16, |
|
|
CompareOutputModeA |
compareOutputModeA, |
|
|
CompareOutputModeB |
compareOutputModeB, |
|
|
CompareOutputModeC |
compareOutputModeC | |
|
) |
| | [inline, static, inherited] |
template<class CounterRegister, class OutputCompareRegisterA, class OutputCompareRegisterB, class OutputCompareRegisterC, class InputCaptureRegister, class ControlRegisterA, class ControlRegisterB, class ControlRegisterC, class ClockEnum, class ChannelAOutputPin, class ChannelBOutputPin, class ChannelCOutputPin, class InputCaptureInputPin>
static void AVRCpp::Timer::Internal::ThreeChannel16BitTimer< CounterRegister, OutputCompareRegisterA, OutputCompareRegisterB, OutputCompareRegisterC, InputCaptureRegister, ControlRegisterA, ControlRegisterB, ControlRegisterC, ClockEnum, ChannelAOutputPin, ChannelBOutputPin, ChannelCOutputPin, InputCaptureInputPin >::SetUp |
( |
ClockEnum |
clock, |
|
|
TopFromOutputCompareA16 |
topFromOutputCompareA16, |
|
|
CompareOutputModeB |
compareOutputModeB, |
|
|
CompareOutputModeC |
compareOutputModeC, |
|
|
InputNoiseCanceler |
inputNoiseCanceler, |
|
|
InputCaptureEdge |
inputCaptureEdge | |
|
) |
| | [inline, static, inherited] |
The documentation for this struct was generated from the following file:
Generated on Sat Sep 15 23:40:26 2007 for AVR C++ Lib for ATmega128 by
1.5.2