timer

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:timer

Post by Neo »

I hope this is related but what exactly is the use of the RTC ? does anyone have any good documents related to this?
Only Human
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:timer

Post by Neo »

In Tannenbaum's book referring to the clock function to maintain the time of day. I just wanted to know if this is still relevant or necessary. Couldn't we just read the time from the RTC if we wanted it? do we have to "maintain the time of day" ourselves?
Only Human
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:timer

Post by df »

you can sync up with the cmos whenever the clock is called to get an accurate map, but if you have something that sits in a loop and prints a clock/date time... thats a lot of calls to the (slow) cmos...

most OS change the freq of the irq timer... which isnt very accurate anyway.... you will get clock drift if you maintain it in software...

rtc/watchdog/cmos etc...
-- Stu --
Post Reply