simulavr
1.1.0
|
Basic timer unit. More...
#include <hwtimer.h>
Public Types | |
enum | CEtype { EVT_TOP_REACHED = 0, EVT_MAX_REACHED, EVT_BOTTOM_REACHED, EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3 } |
event types for timer/counter More... | |
Public Member Functions | |
BasicTimerUnit (AvrDevice *core, PrescalerMultiplexer *p, int unit, IRQLine *tov, IRQLine *tcap, ICaptureSource *icapsrc, int countersize=8) | |
Create a basic Timer/Counter unit. More... | |
~BasicTimerUnit () | |
void | Reset () |
Perform a reset of this unit. More... | |
virtual unsigned int | CpuCycle () |
Process timer/counter unit operations by CPU cycle. More... | |
void | RegisterACompForICapture (HWAcomp *acomp) |
register analog comparator unit for input capture source More... | |
void | SetACIC (bool acic) |
reflect ACIC flag to input capture source More... | |
void | SetTimerEventListener (TimerEventListener *listener) |
Set event listener. More... | |
![]() | |
Hardware (AvrDevice *core) | |
virtual | ~Hardware () |
virtual void | ClearIrqFlag (unsigned int vector) |
virtual bool | IsLevelInterrupt (unsigned int vector) |
virtual bool | LevelInterruptPending (unsigned int vector) |
![]() | |
TraceValueRegister (TraceValueRegister *parent, const std::string &name) | |
Create a TraceValueRegister, with a scope prefix built on parent scope + name. More... | |
TraceValueRegister () | |
Create a TraceValueRegister, with a empty scope name, single device application. More... | |
virtual | ~TraceValueRegister () |
const std::string | GetTraceValuePrefix (void) |
Returns the scope prefix. More... | |
const std::string | GetScopeName (void) |
Returns the scope name. More... | |
void | RegisterTraceValue (TraceValue *t) |
Registers a TraceValue for this register. More... | |
void | UnregisterTraceValue (TraceValue *t) |
Unregisters a TraceValue, remove it from register. More... | |
TraceValueRegister * | GetScopeGroupByName (const std::string &name) |
Get a here registered TraceValueRegister by it's name. More... | |
virtual TraceValue * | GetTraceValueByName (const std::string &name) |
Get a here registered TraceValue by it's name. More... | |
TraceValueRegister * | FindScopeGroupByName (const std::string &name) |
Seek for a TraceValueRegister by it's name. More... | |
TraceValue * | FindTraceValueByName (const std::string &name) |
Seek for a TraceValue by it's name. More... | |
TraceSet * | GetAllTraceValues (void) |
Get all here registered TraceValue's only (not with descending values) More... | |
TraceSet * | GetAllTraceValuesRecursive (void) |
Get all here registered TraceValue's with descending values. More... | |
Protected Types | |
enum | WGMtype { WGM_NORMAL = 0, WGM_PCPWM_8BIT, WGM_PCPWM_9BIT, WGM_PCPWM_10BIT, WGM_CTC_OCRA, WGM_FASTPWM_8BIT, WGM_FASTPWM_9BIT, WGM_FASTPWM_10BIT, WGM_PFCPWM_ICR, WGM_PFCPWM_OCRA, WGM_PCPWM_ICR, WGM_PCPWM_OCRA, WGM_CTC_ICR, WGM_RESERVED, WGM_FASTPWM_ICR, WGM_FASTPWM_OCRA, WGM_tablesize } |
types of waveform generation modes More... | |
enum | COMtype { COM_NOOP = 0, COM_TOGGLE, COM_CLEAR, COM_SET } |
types of compare match output modes More... | |
enum | OCRIDXtype { OCRIDX_A = 0, OCRIDX_B, OCRIDX_C, OCRIDX_maxUnits } |
indices for OC units More... | |
typedef void(BasicTimerUnit::* | wgmfunc_t) (CEtype) |
Protected Member Functions | |
void | CountTimer (void) |
Supports the count operation, emits count events to HandleEvent method. More... | |
virtual void | InputCapture (void) |
Supports the input capture function. More... | |
void | HandleEvent (CEtype event) |
Receives count events. More... | |
void | SetClockMode (int _cs) |
Set clock mode. More... | |
void | SetCounter (unsigned long val) |
Set the counter itself. More... | |
void | SetCompareOutputMode (int idx, COMtype mode) |
Set compare output mode. More... | |
void | SetCompareOutput (int idx) |
Set compare output pins in non pwm mode. More... | |
void | SetPWMCompareOutput (int idx, bool topOrDown) |
Set compare output pins in pwm mode. More... | |
bool | WGMisPWM (void) |
returns true, if WGM is in one of the PWM modes More... | |
bool | WGMuseICR (void) |
returns true, if WGM uses IC register for defining TOP counter value More... | |
void | WGMFunc_noop (CEtype event) |
WGM noop function. More... | |
void | WGMfunc_normal (CEtype event) |
WGM function for normal mode (unique for all different timers) More... | |
void | WGMfunc_ctc (CEtype event) |
WGM function for ctc mode (unique for all different timers) More... | |
void | WGMfunc_fastpwm (CEtype event) |
WGM function for fast pwm mode (unique for all different timers) More... | |
void | WGMfunc_pcpwm (CEtype event) |
WGM function for phase correct pwm mode (unique for all different timers) More... | |
void | WGMfunc_pfcpwm (CEtype event) |
WGM function for phase and frequency correct pwm mode (unique for all different timers) More... | |
![]() | |
virtual size_t | _tvr_getValuesCount (void) |
Get the count of all TraceValues, that are registered here and descending. More... | |
virtual void | _tvr_insertTraceValuesToSet (TraceSet &t) |
Insert all TraceValues into TraceSet, that registered here and descending. More... | |
Protected Attributes | |
AvrDevice * | core |
pointer to device core More... | |
PrescalerMultiplexer * | premx |
prescaler multiplexer More... | |
IRQLine * | timerOverflow |
irq line for overflow interrupt More... | |
IRQLine * | timerCapture |
irq line for capture interrupt More... | |
unsigned long | vtcnt |
THE timercounter. More... | |
unsigned long | vlast_tcnt |
timercounter BEFORE count operation More... | |
int | updown_counting |
count direction control flag, true, if up/down counting More... | |
bool | count_down |
counter counts down, used for precise pwm modes More... | |
unsigned long | limit_bottom |
BOTTOM value for up/down counting. More... | |
unsigned long | limit_top |
TOP value for counting. More... | |
unsigned long | limit_max |
MAX value for counting. More... | |
unsigned long | icapRegister |
Input capture register. More... | |
ICaptureSource * | icapSource |
Input capture source. More... | |
bool | icapRisingEdge |
Input capture on rising edge. More... | |
bool | icapNoiseCanceler |
Noise canceler for input capturing enabled. More... | |
WGMtype | wgm |
waveform generation mode More... | |
wgmfunc_t | wgmfunc [WGM_tablesize] |
waveform generator mode function table More... | |
unsigned long | compare [OCRIDX_maxUnits] |
compare values for output compare events More... | |
unsigned long | compare_dbl [OCRIDX_maxUnits] |
double buffer values for compare values More... | |
bool | compareEnable [OCRIDX_maxUnits] |
enables compare operation More... | |
COMtype | com [OCRIDX_maxUnits] |
compare match output mode More... | |
IRQLine * | timerCompare [OCRIDX_maxUnits] |
irq line for compare interrupt More... | |
PinAtPort | compare_output [OCRIDX_maxUnits] |
output pins for compare units More... | |
bool | compare_output_state [OCRIDX_maxUnits] |
status compare output pin More... | |
Private Attributes | |
int | cs |
select value for prescaler multiplexer More... | |
TraceValue * | counterTrace |
TraceValue instance for counter itself. More... | |
bool | captureInputState |
saved state for input capture More... | |
int | icapNCcounter |
counter for input capture noise canceler More... | |
bool | icapNCstate |
state for input capture noise canceler More... | |
TimerEventListener * | eventListener |
event listener for timer events More... | |
Basic timer unit.
Provides basic timer/counter functionality. Counting clock will be taken from a prescaler unit. It provides further at max 3 compare values and one input capture unit.
|
protected |
event types for timer/counter
|
protected |
|
protected |
|
protected |
BasicTimerUnit::BasicTimerUnit | ( | AvrDevice * | core, |
PrescalerMultiplexer * | p, | ||
int | unit, | ||
IRQLine * | tov, | ||
IRQLine * | tcap, | ||
ICaptureSource * | icapsrc, | ||
int | countersize = 8 |
||
) |
Create a basic Timer/Counter unit.
Definition at line 38 of file hwtimer.cpp.
References avr_error, captureInputState, compareEnable, counterTrace, TraceValueRegister::GetTraceValuePrefix(), icapNCcounter, icapNCstate, icapRegister, limit_max, OCRIDX_maxUnits, TraceValueRegister::RegisterTraceValue(), Reset(), TraceValue::set_written(), timerCompare, WGM_tablesize, wgmfunc, and WGMFunc_noop().
|
protected |
Supports the count operation, emits count events to HandleEvent method.
Definition at line 90 of file hwtimer.cpp.
References TraceValue::change(), compare, compareEnable, count_down, counterTrace, EVT_BOTTOM_REACHED, EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3, EVT_MAX_REACHED, EVT_TOP_REACHED, HandleEvent(), limit_bottom, limit_max, limit_top, updown_counting, vlast_tcnt, and vtcnt.
Referenced by CpuCycle().
|
virtual |
Process timer/counter unit operations by CPU cycle.
Reimplemented from Hardware.
Definition at line 566 of file hwtimer.cpp.
References CountTimer(), cs, InputCapture(), PrescalerMultiplexer::isClock(), and premx.
|
protected |
Receives count events.
CountTimer method counts internal counter depending on count mode (updown_counting) and generate events, if special count values are reached for at least one counting cycle. It can happen, that more than one event could occur in the same count cycle!
Definition at line 484 of file hwtimer.cpp.
References eventListener, TimerEventListener::fireEvent(), wgm, and wgmfunc.
Referenced by CountTimer().
|
protectedvirtual |
Supports the input capture function.
Definition at line 160 of file hwtimer.cpp.
References captureInputState, IRQLine::fireInterrupt(), ICaptureSource::GetSourceState(), icapNCcounter, icapNCstate, icapNoiseCanceler, icapRegister, icapRisingEdge, icapSource, timerCapture, vtcnt, and WGMuseICR().
Referenced by CpuCycle().
void BasicTimerUnit::RegisterACompForICapture | ( | HWAcomp * | acomp | ) |
register analog comparator unit for input capture source
Definition at line 573 of file hwtimer.cpp.
References icapSource, and ICaptureSource::RegisterAComp().
Referenced by HWAcomp::HWAcomp().
|
virtual |
Perform a reset of this unit.
Reimplemented from Hardware.
Reimplemented in HWTimer16_3C, HWTimer16_2C3, HWTimer16_2C2, HWTimer16_1C, HWTimer8_2C, HWTimer8_1C, HWTimer8_0C, HWTimer16, and HWTimer8.
Definition at line 547 of file hwtimer.cpp.
References COM_NOOP, compare, compare_dbl, compare_output_state, count_down, icapNoiseCanceler, icapRisingEdge, limit_bottom, limit_max, limit_top, OCRIDX_maxUnits, SetClockMode(), SetCompareOutputMode(), updown_counting, vlast_tcnt, vtcnt, wgm, and WGM_NORMAL.
Referenced by BasicTimerUnit(), HWTimer8::Reset(), and HWTimer16::Reset().
|
inline |
reflect ACIC flag to input capture source
Definition at line 88 of file hwtimer.h.
Referenced by HWAcomp::SetAcsr().
|
protected |
Set clock mode.
Definition at line 193 of file hwtimer.cpp.
References AvrDevice::AddToCycleList(), core, cs, and AvrDevice::RemoveFromCycleList().
Referenced by Reset(), HWTimer8_0C::Set_TCCR(), HWTimer8_1C::Set_TCCR(), HWTimer8_2C::Set_TCCRB(), HWTimer16_1C::Set_TCCRB(), HWTimer16_2C2::Set_TCCRB(), HWTimer16_2C3::Set_TCCRB(), and HWTimer16_3C::Set_TCCRB().
|
protected |
Set compare output pins in non pwm mode.
Definition at line 220 of file hwtimer.cpp.
References com, COM_CLEAR, COM_NOOP, COM_SET, COM_TOGGLE, compare_output, compare_output_state, and PinAtPort::SetAlternatePort().
Referenced by HWTimer8_1C::Set_TCCR(), HWTimer16_2C2::Set_TCCRA(), HWTimer8_2C::Set_TCCRB(), HWTimer16_2C3::Set_TCCRC(), HWTimer16_3C::Set_TCCRC(), SetPWMCompareOutput(), WGMfunc_ctc(), and WGMfunc_normal().
|
protected |
Set compare output mode.
Definition at line 208 of file hwtimer.cpp.
References com, COM_NOOP, compare_output, compare_output_state, PinAtPort::SetAlternatePort(), and PinAtPort::SetUseAlternatePortIfDdrSet().
Referenced by Reset(), HWTimer8_1C::Set_TCCR(), HWTimer8_2C::Set_TCCRA(), HWTimer16_1C::Set_TCCRA(), HWTimer16_2C2::Set_TCCRA(), HWTimer16_2C3::Set_TCCRA(), and HWTimer16_3C::Set_TCCRA().
|
protected |
Set the counter itself.
Definition at line 202 of file hwtimer.cpp.
References TraceValue::change(), counterTrace, vlast_tcnt, and vtcnt.
Referenced by HWTimer16::SetComplexRegister().
|
protected |
Set compare output pins in pwm mode.
Definition at line 244 of file hwtimer.cpp.
References avr_warning, com, COM_CLEAR, COM_NOOP, COM_SET, COM_TOGGLE, compare_output, compare_output_state, OCRIDX_A, PinAtPort::SetAlternatePort(), SetCompareOutput(), wgm, WGM_FASTPWM_OCRA, WGM_PCPWM_OCRA, and WGM_PFCPWM_OCRA.
Referenced by WGMfunc_fastpwm(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
inline |
Set event listener.
Definition at line 91 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
protected |
WGM function for ctc mode (unique for all different timers)
Definition at line 312 of file hwtimer.cpp.
References EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3, EVT_MAX_REACHED, EVT_TOP_REACHED, IRQLine::fireInterrupt(), limit_bottom, SetCompareOutput(), timerCompare, timerOverflow, and vtcnt.
Referenced by HWTimer16::HWTimer16(), and HWTimer8::HWTimer8().
|
protected |
WGM function for fast pwm mode (unique for all different timers)
Definition at line 348 of file hwtimer.cpp.
References compare, compare_dbl, EVT_BOTTOM_REACHED, EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3, EVT_TOP_REACHED, IRQLine::fireInterrupt(), limit_bottom, limit_top, OCRIDX_A, OCRIDX_maxUnits, SetPWMCompareOutput(), timerCapture, timerCompare, timerOverflow, vtcnt, wgm, WGM_FASTPWM_10BIT, WGM_FASTPWM_8BIT, WGM_FASTPWM_9BIT, WGM_FASTPWM_ICR, and WGM_FASTPWM_OCRA.
Referenced by HWTimer16::HWTimer16(), and HWTimer8::HWTimer8().
|
inlineprotected |
|
protected |
WGM function for normal mode (unique for all different timers)
Definition at line 280 of file hwtimer.cpp.
References EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3, EVT_MAX_REACHED, IRQLine::fireInterrupt(), SetCompareOutput(), timerCompare, and timerOverflow.
Referenced by HWTimer16::HWTimer16(), and HWTimer8::HWTimer8().
|
protected |
WGM function for phase correct pwm mode (unique for all different timers)
Definition at line 417 of file hwtimer.cpp.
References compare, compare_dbl, count_down, EVT_BOTTOM_REACHED, EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3, EVT_TOP_REACHED, IRQLine::fireInterrupt(), limit_top, OCRIDX_A, OCRIDX_maxUnits, SetPWMCompareOutput(), timerCapture, timerCompare, timerOverflow, wgm, WGM_PCPWM_10BIT, WGM_PCPWM_8BIT, WGM_PCPWM_9BIT, WGM_PCPWM_ICR, and WGM_PCPWM_OCRA.
Referenced by HWTimer16::HWTimer16(), and HWTimer8::HWTimer8().
|
protected |
WGM function for phase and frequency correct pwm mode (unique for all different timers)
Definition at line 489 of file hwtimer.cpp.
References compare, compare_dbl, count_down, EVT_BOTTOM_REACHED, EVT_COMPARE_1, EVT_COMPARE_2, EVT_COMPARE_3, EVT_TOP_REACHED, IRQLine::fireInterrupt(), limit_top, OCRIDX_A, OCRIDX_maxUnits, SetPWMCompareOutput(), timerCapture, timerCompare, timerOverflow, wgm, WGM_PFCPWM_ICR, and WGM_PFCPWM_OCRA.
Referenced by HWTimer16::HWTimer16().
|
inlineprotected |
returns true, if WGM is in one of the PWM modes
Definition at line 183 of file hwtimer.h.
Referenced by HWTimer8::GetCompareRegister(), HWTimer16::GetCompareRegister(), HWTimer8_1C::Set_TCCR(), HWTimer16_2C2::Set_TCCRA(), HWTimer8_2C::Set_TCCRB(), HWTimer16_2C3::Set_TCCRC(), HWTimer16_3C::Set_TCCRC(), HWTimer8::SetCompareRegister(), and HWTimer16::SetCompareRegister().
|
inlineprotected |
returns true, if WGM uses IC register for defining TOP counter value
Definition at line 185 of file hwtimer.h.
Referenced by InputCapture(), and HWTimer16::SetComplexRegister().
|
private |
saved state for input capture
Definition at line 53 of file hwtimer.h.
Referenced by BasicTimerUnit(), and InputCapture().
|
protected |
compare match output mode
Definition at line 156 of file hwtimer.h.
Referenced by SetCompareOutput(), SetCompareOutputMode(), and SetPWMCompareOutput().
|
protected |
compare values for output compare events
Definition at line 153 of file hwtimer.h.
Referenced by HWTimer8::ChangeWGM(), HWTimer16::ChangeWGM(), CountTimer(), HWTimer8::GetCompareRegister(), HWTimer16::GetCompareRegister(), Reset(), HWTimer8::SetCompareRegister(), HWTimer16::SetCompareRegister(), WGMfunc_fastpwm(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
double buffer values for compare values
Definition at line 154 of file hwtimer.h.
Referenced by HWTimer8::GetCompareRegister(), HWTimer16::GetCompareRegister(), Reset(), HWTimer8::SetCompareRegister(), HWTimer16::SetCompareRegister(), WGMfunc_fastpwm(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
output pins for compare units
Definition at line 158 of file hwtimer.h.
Referenced by HWTimer16::HWTimer16(), HWTimer8::HWTimer8(), SetCompareOutput(), SetCompareOutputMode(), and SetPWMCompareOutput().
|
protected |
status compare output pin
Definition at line 159 of file hwtimer.h.
Referenced by Reset(), SetCompareOutput(), SetCompareOutputMode(), and SetPWMCompareOutput().
|
protected |
enables compare operation
Definition at line 155 of file hwtimer.h.
Referenced by BasicTimerUnit(), CountTimer(), HWTimer16::HWTimer16(), and HWTimer8::HWTimer8().
|
protected |
|
protected |
counter counts down, used for precise pwm modes
Definition at line 141 of file hwtimer.h.
Referenced by HWTimer8::ChangeWGM(), HWTimer16::ChangeWGM(), CountTimer(), Reset(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
private |
TraceValue instance for counter itself.
Definition at line 52 of file hwtimer.h.
Referenced by BasicTimerUnit(), CountTimer(), and SetCounter().
|
private |
select value for prescaler multiplexer
Definition at line 51 of file hwtimer.h.
Referenced by CpuCycle(), and SetClockMode().
|
private |
event listener for timer events
Definition at line 56 of file hwtimer.h.
Referenced by HandleEvent().
|
private |
counter for input capture noise canceler
Definition at line 54 of file hwtimer.h.
Referenced by BasicTimerUnit(), and InputCapture().
|
private |
state for input capture noise canceler
Definition at line 55 of file hwtimer.h.
Referenced by BasicTimerUnit(), and InputCapture().
|
protected |
Noise canceler for input capturing enabled.
Definition at line 149 of file hwtimer.h.
Referenced by InputCapture(), Reset(), HWTimer16_1C::Set_TCCRB(), HWTimer16_2C2::Set_TCCRB(), HWTimer16_2C3::Set_TCCRB(), and HWTimer16_3C::Set_TCCRB().
|
protected |
Input capture register.
Definition at line 146 of file hwtimer.h.
Referenced by BasicTimerUnit(), HWTimer16::ChangeWGM(), HWTimer16::GetComplexRegister(), InputCapture(), and HWTimer16::SetComplexRegister().
|
protected |
Input capture on rising edge.
Definition at line 148 of file hwtimer.h.
Referenced by InputCapture(), Reset(), HWTimer16_1C::Set_TCCRB(), HWTimer16_2C2::Set_TCCRB(), HWTimer16_2C3::Set_TCCRB(), and HWTimer16_3C::Set_TCCRB().
|
protected |
Input capture source.
Definition at line 147 of file hwtimer.h.
Referenced by InputCapture(), and RegisterACompForICapture().
|
protected |
BOTTOM value for up/down counting.
Definition at line 142 of file hwtimer.h.
Referenced by CountTimer(), Reset(), WGMfunc_ctc(), and WGMfunc_fastpwm().
|
protected |
MAX value for counting.
Definition at line 144 of file hwtimer.h.
Referenced by BasicTimerUnit(), HWTimer8::ChangeWGM(), HWTimer16::ChangeWGM(), CountTimer(), and Reset().
|
protected |
TOP value for counting.
Definition at line 143 of file hwtimer.h.
Referenced by HWTimer8::ChangeWGM(), HWTimer16::ChangeWGM(), CountTimer(), Reset(), HWTimer8::SetCompareRegister(), HWTimer16::SetCompareRegister(), HWTimer16::SetComplexRegister(), WGMfunc_fastpwm(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
|
protected |
irq line for capture interrupt
Definition at line 133 of file hwtimer.h.
Referenced by InputCapture(), WGMfunc_fastpwm(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
irq line for compare interrupt
Definition at line 157 of file hwtimer.h.
Referenced by BasicTimerUnit(), HWTimer16::HWTimer16(), HWTimer8::HWTimer8(), WGMfunc_ctc(), WGMfunc_fastpwm(), WGMfunc_normal(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
irq line for overflow interrupt
Definition at line 132 of file hwtimer.h.
Referenced by WGMfunc_ctc(), WGMfunc_fastpwm(), WGMfunc_normal(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
count direction control flag, true, if up/down counting
Definition at line 140 of file hwtimer.h.
Referenced by HWTimer8::ChangeWGM(), HWTimer16::ChangeWGM(), CountTimer(), and Reset().
|
protected |
timercounter BEFORE count operation
Definition at line 136 of file hwtimer.h.
Referenced by CountTimer(), Reset(), and SetCounter().
|
protected |
THE timercounter.
Definition at line 135 of file hwtimer.h.
Referenced by CountTimer(), HWTimer16::GetComplexRegister(), InputCapture(), Reset(), SetCounter(), WGMfunc_ctc(), and WGMfunc_fastpwm().
|
protected |
waveform generation mode
Definition at line 151 of file hwtimer.h.
Referenced by HWTimer8::ChangeWGM(), HWTimer16::ChangeWGM(), HandleEvent(), Reset(), HWTimer8_1C::Set_TCCR(), HWTimer16_2C3::Set_TCCRA(), HWTimer16_3C::Set_TCCRA(), HWTimer16_2C3::Set_TCCRB(), HWTimer16_3C::Set_TCCRB(), HWTimer8::SetCompareRegister(), HWTimer16::SetCompareRegister(), HWTimer16::SetComplexRegister(), SetPWMCompareOutput(), WGMfunc_fastpwm(), WGMfunc_pcpwm(), and WGMfunc_pfcpwm().
|
protected |
waveform generator mode function table
Definition at line 152 of file hwtimer.h.
Referenced by BasicTimerUnit(), HandleEvent(), HWTimer16::HWTimer16(), and HWTimer8::HWTimer8().