This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
How to calculate the Real-time clock period?
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] How to calculate the Real-time clock period?
- From: "Chris C." <hksbtx at 2bzd dot com>
- Date: Mon, 10 Sep 2001 00:15:52 +0800
Hi
In hal_arm_xxx.cdl, I don't know how to calculate the
CYGNUM_HAL_RTC_PERIOD. If the cpu clock speed is 24MHz, how to find it
value? Why at91 use ((CYGNUM_HAL_ARM_AT91_CLOCK_SPEED/32) /
CYGNUM_HAL_RTC_DENOMINATOR) to calculate the rtc period?
What is the function of CYGNUM_HAL_RTC_NUMERATOR and
CYGNUM_HAL_RTC_DENOMINATOR?
Thanks! :D
----------------------------------------------------
Chris
_________________________________________________________________________
Sure, you can have free email. But free Email, Voicemail and Faxmail?
Check it out at http://www.2bzd.com