
17 Nov
2004
17 Nov
'04
9:19 p.m.
In message 20041117200239.2c48dc54.cialdi@firenze.net you wrote:
We use coldfire 5282
We need to know what is the parameter and return value of get_timer()
Maybe having a short look in the source code brings some ideas?
we wnat to use get_timer() to calculate time intervals in millisecond.
Yea, that's what it's intended for.
something like:
.... a = get_timer(0); /* do something */ b = get_timer(0); ....
in this case what is the measure unit of b-a?
milliseconds.
And why not simply: a = get_timer(0); /* do something */ millisecs = get_timer(a);
???
How can I obtain millisicends?
I don't know. What's a sicend?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
An expert is a person who avoids the small errors while sweeping on
to the grand fallacy.