This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to calculate the Real-time clock period?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]