This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
How to change CYGNUM_HAL_RTC_PERIOD ?
- From: Zi Zhou <zzhou at 3upsystems dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 21 Oct 2003 10:14:20 -0700
- Subject: [ECOS] How to change CYGNUM_HAL_RTC_PERIOD ?
- Organization: 3upsystems
Hi,
I am trying to understand eCos Real time clock, especially
CYGNUM_HAL_RTC_PERIOD. Is this the parameter that decides how many
machine cycles each tick should have, in other words, the machine cycle
interval between timer interrupt? If my reference board is 100MHz and
CYGNUM_HAL_RTC_PERIOD = 10^6, is it safe to say with everything else
the same, the processor runs at 133MHz, I should change
CYGNUM_HAL_RTC_PERIOD to 1.33 x 10^6 if I don't change RTC Numerator
and Denominator?
thanks a lot !
Zi
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss