|
From: | Vikas Yadav |
Subject: | Re: [avr-chat] 32768 Hz clock |
Date: | Mon, 24 Apr 2006 09:51:58 +0530 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
At 512 interrupts per second when you chip clock is at 1mhz (the lowest) might loose interrupts while processing the IVR. Also, in the IVR you cannot calculate the time! just modify the seconds global variable and let your infinite loop in your primary thread do the calculation and even rendering to LCD or 7 segment. IVR has to be light weight in order to provide maximum performance. My first clock was sampling enough to only call my IVR every second. i don't even need to be called faster than that!
I certainly wish to know how to get a millisecond precession though but the sampling bits don't allow me to do so i suppose.
Regards, Vikas Royce Pereira wrote: Hi Bill, --
Vikas Yadav This communication is intended for the addressee(s) and may contain confidential information. We do not waive confidentiality by mis-transmission. If you have received this communication in error, any use, dissemination, printing or copying is strictly prohibited; please destroy all electronic and paper copies and notify the sender immediately. |
[Prev in Thread] | Current Thread | [Next in Thread] |