simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] simulavrxx timers


From: Michael Hennebry
Subject: [Simulavr-devel] simulavrxx timers
Date: Mon, 26 May 2008 22:34:58 -0500 (CDT)

If I understand the timer classes correctly,
HWMegaTimer0::t0_old is unused.
HWMegaTimer0 doesn't have pin_t0.
Is this correct?

Timer0 in an atmega168 doesn't have quite the same
set of features as any atmega128 timer.
That will require me to write another timer class.

My thought is to write global timer feature classes,
e.g. output compare,
and build nested timer classes from the feature classes.
If that is done well, the other timer classes could be refactored.

-- 
Michael   address@hidden
"Those parts of the system that you can hit with a hammer (not advised)
are called Hardware;  those program instructions that you can only
curse at are called Software."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]