Y'know...every now and then on one of these boards, you read a post that is
so clear -- is so lucidly written -- that you just want to sit back and
clap.

This, IMHO is one of those posts!

Way to go, Jonatan!

__Birm


| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] Behalf Of Jonatan
| Fernstad
| Sent: Sunday, 06 June, 2004 15:54
| To: Palm Developer Forum
| Subject: Re: TimGetTicks and Zire 21
|
|
[snip]
|
| Actually your Zire 21 is not defective, it will show the same thing on all
| omap OS 5 devices. This is because of how the tick count is implemented,
| using the 32 kHz, or rather 32.768 kHz, oscillator.
|
| The OS tick count is incremented each time a certain hardware register
| reaches zero. It is then reset to 327 and starts counting down to zero
| again, and so on.
|
| When using TimGetTicks on am omap device 100 ticks will actually
| be slightly
| less than one second, to be more exact 100 ticks is 327/327.68 = 0.9979248
| seconds.
|
| 10 minutes equals 600 seconds which on the omap devices is 600 * 327 /
| 327.68 = 598.75488 'real' seconds. This explains your missing second, or
| rather 1.25 seconds. :)
|
| Jonatan
| www.clievideo.com
|
|


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to