2009/12/22 [email protected] <[email protected]>:
> On Mon Dec 21 16:15 , Petr Hluzin  sent:
> That reminds me of a more significant issue.
> IIRC simulavr does not store the frequency as such.
> It stores the period as a whole number of nanoseconds.

Yeah, when I found that out about SystemClockOffset
AvrDevice::clockFreq and its workings I questioned my sanity. (The
procedure was error prone, I was not using IDE that could find
definitions at the time.)

> To inform the user, that is the number that needs printing.
> It is usually less than 1000 and almost always less than 32000.

To inform user of what?
What is clock period useful to user?

The clock period is useful for _debugging simulavr_ internals but that
is for us - simulavr programmers, not for users.
All AVR-related material I have seen dealt with frequency.

-- 
Petr Hluzin


_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to