[ECOS] How to calculate the Real-time clock period?

Chris C. hksbtx@2bzd.com
Sun Sep 9 09:24:00 GMT 2001


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



More information about the Ecos-discuss mailing list