This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Re: How to set clock related options?
- From: caocangmou <caocangmou at sina dot com>
- To: satish at bvt dot sc dot sanyo dot co dot jp
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 25 Sep 2003 17:06:30 +0800
- Subject: RE: Re: [ECOS] How to set clock related options?
But, I got a configuration from template(Akizuki H8/3068) :
Real-time clock numerator : 1000000000
Real-time clock denominator : 100
Real-time clock base prescale : 8192
Real-time clock period :10
OSC/Clock Frequency :20000000
It seems not the case .What does period really mean?
----- Original Message -----
From:Satish Kumar <satish@bvt.sc.sanyo.co.jp>
To:caocangmou <caocangmou@sina.com>
Subject:Re: [ECOS] How to set clock related options?
Date:Thu, 25 Sep 2003 16:52:21 +0800
>well, ur rtc period= (clock frequency/timer-prescale)/rtc-denominator.
>
>satish
>
>On Thu, 25 Sep 2003 16:47:04 +0800
>caocangmou <caocangmou@sina.com> wrote:
>
>> Hi
>>
>> I'm confused with the clock related options.How to set numerator ,denominator and period?I know that numerator/denominator gives the nanosecs per tick.Given a 33MHz hitachi H8/2168 cpu(infomation is enough?), how should period be calculated ?
>>
>> Thanks in advance.
>> ______________________________________
>>
>> ===================================================================
>> $B%5%s%K%f%X(BxI$B%^%N%U%*s%d%D%U%j%7%m%(%k%^(Bz (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)
>>
>> --
>> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>--
>Satish Kumar <satish@bvt.sc.sanyo.co.jp>
>
>
>--
>Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
>
______________________________________
===================================================================
»ÝÆÕÍøÉÏÉ̵ê9ÔÂÌؼ۴ÙÏú (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss