simulavr
1.1.0
|
timer unit for timer 1 on ATtiny25/45/85 More...
#include <hwtimer.h>
Public Member Functions | |
HWTimerTinyX5 (AvrDevice *core, IOSpecialReg *gtccr, IOSpecialReg *pllcsr, IRQLine *tov, IRQLine *tocra, const PinAtPort &ocra_out, const PinAtPort &ocra_outinv, IRQLine *tocrb, const PinAtPort &ocrb_out, const PinAtPort &ocrb_outinv) | |
~HWTimerTinyX5 () | |
int | Step (bool &untilCoreStepFinished, SystemClockOffset *nextStepIn_ns) |
Performs the async clocking, if necessary. More... | |
void | Reset () |
Perform a reset of this unit. More... | |
unsigned int | CpuCycle () |
Process timer/counter unit operations by CPU cycle. 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... | |
![]() | |
virtual | ~SimulationMember () |
![]() | |
virtual | ~IOSpecialRegClient () |
Public Attributes | |
IOReg< HWTimerTinyX5 > | tccr_reg |
control register More... | |
IOReg< HWTimerTinyX5 > | tcnt_reg |
counter register More... | |
IOReg< HWTimerTinyX5 > | tocra_reg |
OCR register channel A. More... | |
IOReg< HWTimerTinyX5 > | tocrb_reg |
OCR register channel B. More... | |
IOReg< HWTimerTinyX5 > | tocrc_reg |
OCR register channel C. More... | |
IOReg< HWTimerTinyX5 > | dtps1_reg |
dead time generator prescaler register More... | |
IOReg< HWTimerTinyX5 > | dt1a_reg |
dead time generator register channel A More... | |
IOReg< HWTimerTinyX5 > | dt1b_reg |
dead time generator register channel B More... | |
Protected Member Functions | |
void | Set_TCNT (unsigned char val) |
Register access to set counter register. More... | |
unsigned char | Get_TCNT () |
Register access to read counter register. More... | |
void | Set_TCCR (unsigned char val) |
Register access to set control register. More... | |
unsigned char | Get_TCCR () |
Register access to read control register. More... | |
void | Set_OCRA (unsigned char val) |
Register access to set output compare register A. More... | |
unsigned char | Get_OCRA () |
Register access to read output compare register A. More... | |
void | Set_OCRB (unsigned char val) |
Register access to set output compare register B. More... | |
unsigned char | Get_OCRB () |
Register access to read output compare register B. More... | |
void | Set_OCRC (unsigned char val) |
Register access to set output compare register C. More... | |
unsigned char | Get_OCRC () |
Register access to read output compare register C. More... | |
void | Set_DTPS1 (unsigned char val) |
Register access to set dead time prescaler. More... | |
unsigned char | Get_DTPS1 () |
Register access to read dead time prescaler. More... | |
void | Set_DT1A (unsigned char val) |
Register access to set dead time value for channel A. More... | |
unsigned char | Get_DT1A () |
Register access to read dead time value for channel A. More... | |
void | Set_DT1B (unsigned char val) |
Register access to set dead time value for channel B. More... | |
unsigned char | Get_DT1B () |
Register access to read dead time value for channel B. More... | |
unsigned char | set_from_reg (const IOSpecialReg *reg, unsigned char nv) |
IO register interface set method, see IOSpecialRegClient. More... | |
unsigned char | get_from_client (const IOSpecialReg *reg, unsigned char v) |
IO register interface get method, see IOSpecialRegClient. More... | |
void | SetPrescalerClock (bool pcke) |
Set clock source for prescaler. More... | |
void | TimerCounter (void) |
Count function, contains prescaler, multiplexer and counter functionality. More... | |
bool | PrescalerMux (void) |
Prescaler multiplex function, returns true, if a count pulse is happen. More... | |
bool | DeadTimePrescalerMux (void) |
Dead time prescaler multiplex function, returns true, if a count pulse is happen. More... | |
void | TransferInputValues (void) |
Transfer register input to internal register set. More... | |
void | TransferOutputValues (void) |
Transfer internal register values (if needed) to by core readable register. 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... | |
IOSpecialReg * | gtccrRegister |
instance of GTCCR register More... | |
IOSpecialReg * | pllcsrRegister |
instance of PLLCSR register More... | |
IOSpecialReg * | dtps1Register |
instance of DTPS1 register More... | |
IOSpecialReg * | dt1aRegister |
instance of DT1A register More... | |
IOSpecialReg * | dt1bRegister |
instance of DT1B register More... | |
IRQLine * | timerOverflowInt |
irq line for overflow interrupt More... | |
IRQLine * | timerOCRAInt |
irq line for output compare A interrupt More... | |
IRQLine * | timerOCRBInt |
irq line for output compare B interrupt More... | |
Private Types | |
enum | TMODEtype { TMODE_NORMAL = 0x0, TMODE_PWMA = 0x1, TMODE_PWMB = 0x2 } |
Private Attributes | |
TraceValue * | counterTrace |
TraceValue instance for counter itself. More... | |
TraceValue * | prescalerTrace |
TraceValue instance for prescaler. More... | |
TraceValue * | dTPrescalerTrace |
TraceValue instance for dead time prescaler. More... | |
unsigned long | counter |
THE timer counter. More... | |
unsigned long | prescaler |
THE prescaler counter. More... | |
unsigned char | dtprescaler |
dead time prescaler counter More... | |
HWTimerTinyX5_SyncReg | tccr_inout_val |
register value TCCR1 More... | |
HWTimerTinyX5_SyncReg | ocra_inout_val |
register value OCRA More... | |
HWTimerTinyX5_SyncReg | ocrb_inout_val |
register value OCRB More... | |
HWTimerTinyX5_SyncReg | ocrc_inout_val |
register value OCRC More... | |
HWTimerTinyX5_SyncReg | gtccr_in_val |
input register value GTCCR More... | |
unsigned char | dtps1_inout_val |
register value DTPS1 More... | |
HWTimerTinyX5_SyncReg | dt1a_inout_val |
register value DT1A More... | |
HWTimerTinyX5_SyncReg | dt1b_inout_val |
register value DT1B More... | |
unsigned char | tcnt_out_val |
output register value for TCNT More... | |
unsigned char | tcnt_out_async_tmp |
temporary register value for TCNT in async mode More... | |
unsigned char | tcnt_in_val |
input register value for TCNT More... | |
bool | tcnt_set_flag |
flag to signal, that a new counter value was set More... | |
bool | tov_internal_flag |
TOV flag is set, have to be delayed by 1 CK. More... | |
bool | tocra_internal_flag |
OCFxA flag is set, have to be delayed by 1 CK. More... | |
bool | tocrb_internal_flag |
OCFxB flag is set, have to be delayed by 1 CK. More... | |
unsigned char | ocra_internal_val |
internal (async) register value for OCRA1 More... | |
unsigned long | ocra_compare |
active compare value for OCR A unit More... | |
TimerTinyX5_OCR | ocra_unit |
OCR control unit for OCR channel A. More... | |
unsigned char | ocrb_internal_val |
internal (async) register value for OCRB1 More... | |
unsigned long | ocrb_compare |
active compare value for OCR B unit More... | |
TimerTinyX5_OCR | ocrb_unit |
OCR control unit for OCR channel B. More... | |
int | cfg_prescaler |
internal (async) prescaler setting More... | |
int | cfg_dtprescaler |
internal (async) dead time prescaler setting More... | |
int | cfg_mode |
internal (async) timer mode setting More... | |
bool | cfg_ctc |
internal (async) flag for clear timer counter More... | |
int | cfg_com_a |
internal (async) setting for compare output modul A More... | |
int | cfg_com_b |
internal (async) setting for compare output modul B More... | |
int | asyncClock_step |
step counter for step delays. -1, if not in async mode More... | |
bool | asyncClock_async |
mode switch for async mode More... | |
bool | asyncClock_lsm |
mode switch for lsm mode (32MHz clock) More... | |
bool | asyncClock_pll |
pll is switched on More... | |
bool | asyncClock_plllock |
pll frequency is locked More... | |
SystemClockOffset | asyncClock_locktime |
time, when pll is locked More... | |
timer unit for timer 1 on ATtiny25/45/85
Timer1 on ATtiny25/45/85 is an async timer, which can be clocked till 64MHz by pll from system clock.
|
private |
HWTimerTinyX5::HWTimerTinyX5 | ( | AvrDevice * | core, |
IOSpecialReg * | gtccr, | ||
IOSpecialReg * | pllcsr, | ||
IRQLine * | tov, | ||
IRQLine * | tocra, | ||
const PinAtPort & | ocra_out, | ||
const PinAtPort & | ocra_outinv, | ||
IRQLine * | tocrb, | ||
const PinAtPort & | ocrb_out, | ||
const PinAtPort & | ocrb_outinv | ||
) |
Definition at line 1319 of file hwtimer.cpp.
References AvrDevice::AddToCycleList(), asyncClock_async, asyncClock_step, IOSpecialReg::connectSRegClient(), counterTrace, dTPrescalerTrace, TraceValueRegister::GetTraceValuePrefix(), gtccrRegister, pllcsrRegister, prescalerTrace, TraceValueRegister::RegisterTraceValue(), Reset(), and TraceValue::set_written().
|
virtual |
Process timer/counter unit operations by CPU cycle.
Reimplemented from Hardware.
Definition at line 1434 of file hwtimer.cpp.
References asyncClock_locktime, asyncClock_pll, asyncClock_plllock, asyncClock_step, SystemClock::Instance(), TimerCounter(), TransferInputValues(), and TransferOutputValues().
|
protected |
Dead time prescaler multiplex function, returns true, if a count pulse is happen.
Definition at line 1562 of file hwtimer.cpp.
References cfg_dtprescaler, TraceValue::change(), dtprescaler, and dTPrescalerTrace.
Referenced by TimerCounter().
|
inlineprotected |
Register access to read dead time value for channel A.
Definition at line 884 of file hwtimer.h.
References HWTimerTinyX5_SyncReg::GetBusValue().
|
inlineprotected |
Register access to read dead time value for channel B.
Definition at line 889 of file hwtimer.h.
References HWTimerTinyX5_SyncReg::GetBusValue().
|
inlineprotected |
|
protectedvirtual |
IO register interface get method, see IOSpecialRegClient.
Implements IOSpecialRegClient.
Definition at line 1622 of file hwtimer.cpp.
References asyncClock_plllock, gtccrRegister, and pllcsrRegister.
|
inlineprotected |
Register access to read output compare register A.
Definition at line 864 of file hwtimer.h.
References HWTimerTinyX5_SyncReg::GetBusValue().
|
inlineprotected |
Register access to read output compare register B.
Definition at line 869 of file hwtimer.h.
References HWTimerTinyX5_SyncReg::GetBusValue().
|
inlineprotected |
Register access to read output compare register C.
Definition at line 874 of file hwtimer.h.
References HWTimerTinyX5_SyncReg::GetBusValue().
|
inlineprotected |
Register access to read control register.
Definition at line 859 of file hwtimer.h.
References HWTimerTinyX5_SyncReg::GetBusValue().
|
inlineprotected |
|
protected |
Prescaler multiplex function, returns true, if a count pulse is happen.
Definition at line 1502 of file hwtimer.cpp.
References cfg_prescaler, TraceValue::change(), prescaler, and prescalerTrace.
Referenced by TimerCounter().
|
virtual |
Perform a reset of this unit.
Reimplemented from Hardware.
Definition at line 1382 of file hwtimer.cpp.
References asyncClock_pll, asyncClock_plllock, cfg_com_a, cfg_com_b, cfg_ctc, cfg_mode, cfg_prescaler, counter, dt1a_inout_val, dt1b_inout_val, dtprescaler, dtps1_inout_val, gtccr_in_val, ocra_inout_val, ocra_internal_val, ocra_unit, ocrb_inout_val, ocrb_internal_val, ocrb_unit, ocrc_inout_val, prescaler, TimerTinyX5_OCR::Reset(), HWTimerTinyX5_SyncReg::Reset(), SetPrescalerClock(), tccr_inout_val, tcnt_in_val, tcnt_out_val, tcnt_set_flag, TMODE_NORMAL, tocra_internal_flag, tocrb_internal_flag, and tov_internal_flag.
Referenced by HWTimerTinyX5(), and TimerTinyX5_OCR::TimerTinyX5_OCR().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protectedvirtual |
IO register interface set method, see IOSpecialRegClient.
Implements IOSpecialRegClient.
Definition at line 1586 of file hwtimer.cpp.
References asyncClock_locktime, asyncClock_lsm, asyncClock_pll, asyncClock_plllock, SystemClock::GetCurrentTime(), gtccr_in_val, gtccrRegister, SystemClock::Instance(), pllcsrRegister, prescaler, and SetPrescalerClock().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
Set clock source for prescaler.
Definition at line 1635 of file hwtimer.cpp.
References SystemClock::Add(), asyncClock_async, asyncClock_lsm, asyncClock_step, and SystemClock::Instance().
Referenced by Reset(), and set_from_reg().
|
virtual |
Performs the async clocking, if necessary.
Implements SimulationMember.
Definition at line 1411 of file hwtimer.cpp.
References asyncClock_async, asyncClock_lsm, asyncClock_step, DumpManager::cycle(), HWTimerTinyX5_nextdelay, DumpManager::Instance(), TimerCounter(), and TransferInputValues().
|
protected |
Count function, contains prescaler, multiplexer and counter functionality.
Definition at line 1453 of file hwtimer.cpp.
References cfg_ctc, cfg_mode, TraceValue::change(), counter, counterTrace, DeadTimePrescalerMux(), TimerTinyX5_OCR::DTClockCycle(), ocra_compare, ocra_internal_val, ocra_unit, ocrb_compare, ocrb_internal_val, ocrb_unit, ocrc_inout_val, PrescalerMux(), TimerTinyX5_OCR::TimerEvent(), TMODE_NORMAL, TMODE_PWMA, TMODE_PWMB, tocra_internal_flag, tocrb_internal_flag, and tov_internal_flag.
Referenced by CpuCycle(), and Step().
|
protected |
Transfer register input to internal register set.
Definition at line 1654 of file hwtimer.cpp.
References cfg_com_a, cfg_com_b, cfg_ctc, cfg_dtprescaler, cfg_mode, cfg_prescaler, HWTimerTinyX5_SyncReg::ClockAndChanged(), counter, dt1a_inout_val, dt1b_inout_val, dtps1_inout_val, TimerTinyX5_OCR::ForceEvent(), gtccr_in_val, HWTimerTinyX5_SyncReg::MaskOutSync(), ocra_compare, ocra_inout_val, ocra_internal_val, ocra_unit, ocrb_compare, ocrb_inout_val, ocrb_internal_val, ocrb_unit, ocrc_inout_val, TimerTinyX5_OCR::SetDeadTime(), TimerTinyX5_OCR::SetOCRMode(), tccr_inout_val, tcnt_in_val, tcnt_set_flag, TMODE_NORMAL, TMODE_PWMA, and TMODE_PWMB.
Referenced by CpuCycle(), and Step().
|
protected |
Transfer internal register values (if needed) to by core readable register.
Definition at line 1719 of file hwtimer.cpp.
References asyncClock_step, counter, IRQLine::fireInterrupt(), tcnt_out_async_tmp, tcnt_out_val, timerOCRAInt, timerOCRBInt, timerOverflowInt, tocra_internal_flag, tocrb_internal_flag, and tov_internal_flag.
Referenced by CpuCycle().
|
private |
mode switch for async mode
Definition at line 834 of file hwtimer.h.
Referenced by HWTimerTinyX5(), SetPrescalerClock(), and Step().
|
private |
time, when pll is locked
Definition at line 838 of file hwtimer.h.
Referenced by CpuCycle(), and set_from_reg().
|
private |
mode switch for lsm mode (32MHz clock)
Definition at line 835 of file hwtimer.h.
Referenced by set_from_reg(), SetPrescalerClock(), and Step().
|
private |
pll is switched on
Definition at line 836 of file hwtimer.h.
Referenced by CpuCycle(), Reset(), and set_from_reg().
|
private |
pll frequency is locked
Definition at line 837 of file hwtimer.h.
Referenced by CpuCycle(), get_from_client(), Reset(), and set_from_reg().
|
private |
step counter for step delays. -1, if not in async mode
Definition at line 833 of file hwtimer.h.
Referenced by CpuCycle(), HWTimerTinyX5(), SetPrescalerClock(), Step(), and TransferOutputValues().
|
private |
internal (async) setting for compare output modul A
Definition at line 823 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
|
private |
internal (async) setting for compare output modul B
Definition at line 824 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
|
private |
internal (async) flag for clear timer counter
Definition at line 822 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
private |
internal (async) dead time prescaler setting
Definition at line 820 of file hwtimer.h.
Referenced by DeadTimePrescalerMux(), and TransferInputValues().
|
private |
internal (async) timer mode setting
Definition at line 821 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
private |
internal (async) prescaler setting
Definition at line 819 of file hwtimer.h.
Referenced by PrescalerMux(), Reset(), and TransferInputValues().
|
protected |
|
private |
THE timer counter.
Definition at line 789 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), TransferInputValues(), and TransferOutputValues().
|
private |
TraceValue instance for counter itself.
Definition at line 784 of file hwtimer.h.
Referenced by HWTimerTinyX5(), and TimerCounter().
|
private |
register value DT1A
Definition at line 800 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::dt1a_reg |
dead time generator register channel A
Definition at line 921 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
protected |
|
private |
register value DT1B
Definition at line 801 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::dt1b_reg |
dead time generator register channel B
Definition at line 922 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
protected |
|
private |
dead time prescaler counter
Definition at line 791 of file hwtimer.h.
Referenced by DeadTimePrescalerMux(), and Reset().
|
private |
TraceValue instance for dead time prescaler.
Definition at line 786 of file hwtimer.h.
Referenced by DeadTimePrescalerMux(), and HWTimerTinyX5().
|
private |
register value DTPS1
Definition at line 799 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::dtps1_reg |
dead time generator prescaler register
Definition at line 920 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
protected |
|
private |
input register value GTCCR
Definition at line 798 of file hwtimer.h.
Referenced by Reset(), set_from_reg(), and TransferInputValues().
|
protected |
instance of GTCCR register
Definition at line 842 of file hwtimer.h.
Referenced by get_from_client(), HWTimerTinyX5(), and set_from_reg().
|
private |
active compare value for OCR A unit
Definition at line 814 of file hwtimer.h.
Referenced by TimerCounter(), and TransferInputValues().
|
private |
register value OCRA
Definition at line 795 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
|
private |
internal (async) register value for OCRA1
Definition at line 813 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
private |
OCR control unit for OCR channel A.
Definition at line 815 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
private |
active compare value for OCR B unit
Definition at line 817 of file hwtimer.h.
Referenced by TimerCounter(), and TransferInputValues().
|
private |
register value OCRB
Definition at line 796 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
|
private |
internal (async) register value for OCRB1
Definition at line 816 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
private |
OCR control unit for OCR channel B.
Definition at line 818 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
private |
register value OCRC
Definition at line 797 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferInputValues().
|
protected |
instance of PLLCSR register
Definition at line 843 of file hwtimer.h.
Referenced by get_from_client(), HWTimerTinyX5(), and set_from_reg().
|
private |
THE prescaler counter.
Definition at line 790 of file hwtimer.h.
Referenced by PrescalerMux(), Reset(), and set_from_reg().
|
private |
TraceValue instance for prescaler.
Definition at line 785 of file hwtimer.h.
Referenced by HWTimerTinyX5(), and PrescalerMux().
|
private |
register value TCCR1
Definition at line 794 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::tccr_reg |
control register
Definition at line 915 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
private |
input register value for TCNT
Definition at line 806 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
|
private |
temporary register value for TCNT in async mode
Definition at line 805 of file hwtimer.h.
Referenced by TransferOutputValues().
|
private |
output register value for TCNT
Definition at line 804 of file hwtimer.h.
Referenced by Reset(), and TransferOutputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::tcnt_reg |
counter register
Definition at line 916 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
private |
flag to signal, that a new counter value was set
Definition at line 807 of file hwtimer.h.
Referenced by Reset(), and TransferInputValues().
|
protected |
irq line for output compare A interrupt
Definition at line 848 of file hwtimer.h.
Referenced by TransferOutputValues().
|
protected |
irq line for output compare B interrupt
Definition at line 849 of file hwtimer.h.
Referenced by TransferOutputValues().
|
protected |
irq line for overflow interrupt
Definition at line 847 of file hwtimer.h.
Referenced by TransferOutputValues().
|
private |
OCFxA flag is set, have to be delayed by 1 CK.
Definition at line 809 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferOutputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::tocra_reg |
OCR register channel A.
Definition at line 917 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
private |
OCFxB flag is set, have to be delayed by 1 CK.
Definition at line 810 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferOutputValues().
IOReg<HWTimerTinyX5> HWTimerTinyX5::tocrb_reg |
OCR register channel B.
Definition at line 918 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
IOReg<HWTimerTinyX5> HWTimerTinyX5::tocrc_reg |
OCR register channel C.
Definition at line 919 of file hwtimer.h.
Referenced by AvrDevice_attinyX5::AvrDevice_attinyX5().
|
private |
TOV flag is set, have to be delayed by 1 CK.
Definition at line 808 of file hwtimer.h.
Referenced by Reset(), TimerCounter(), and TransferOutputValues().