[U-Boot-Users] get_timer documentation

We use coldfire 5282
We need to know what is the parameter and return value of get_timer()
we wnat to use get_timer() to calculate time intervals in millisecond.
something like:
.... a = get_timer(0); /* do something */ b = get_timer(0); ....
in this case what is the measure unit of b-a? How can I obtain millisicends?
thanks

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
participants (2)
-
Massimiliano Cialdi
-
Wolfgang Denk