Re: rtc time in msec
Loren Keagle <[email protected]>
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <CA+88zi5uXHpiMkj-hamkEOPhgddFcTtytd12Dx3hpiSuLUEQEw@mail.gmail.com> |
The Rabbit 2000 modules I used to use had a 48bit RTC chip. The RTC routines simply ignore the lower order bits, but the information is there. I needed to timestamp event information with ms accuracy, so I wrote my own routines to read/write the RTC with ms accuracy. Sorry, I can't provide the code, but it was pretty straightforward to write some assembler to do this. ~Loren