This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Another question: real time clock vs interval timer.
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] Another question: real time clock vs interval timer.
- From: "Patrick O'Grady" <patrick at plasticgrape dot com>
- Date: Fri, 15 Oct 1999 11:07:26 -0700 (PDT)
Hi, all... I keep noticing how a platform's interval timer is referred to as the
real time clock in the eCos source code. Would it be better to refer to this as
just the interval timer? In the case of the i386/PC, we have another actual real
time clock which keeps actual real time automatically but has lousy resolution
(only 1 second). Since the interval timer uses an input frequency that isn't
conducive to maintaining actual seconds, it might be better to avoid implying
that it generates actual real-time data. There is also a convienent mode that
the pc's real time clock has: I can set an alarm which triggers an interrupt after
a specific time of day; this may help reduce overhead implementing some alarms.