From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3050 invoked by alias); 21 Oct 2003 17:07:16 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 3024 invoked from network); 21 Oct 2003 17:07:13 -0000 Received: from unknown (HELO dengar.3UpSystems.com) (67.92.233.231) by sources.redhat.com with SMTP; 21 Oct 2003 17:07:13 -0000 Received: from 3upsystems.com (kabuki.3UpSystems.com [192.168.0.19]) by dengar.3UpSystems.com (8.11.6/8.9.3) with ESMTP id h9LH6bR04643 for ; Tue, 21 Oct 2003 10:06:37 -0700 Message-ID: <3F95696C.8080400@3upsystems.com> Date: Tue, 21 Oct 2003 17:07:00 -0000 From: Zi Zhou Organization: 3upsystems User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ecos-discuss@sources.redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] How to change CYGNUM_HAL_RTC_PERIOD ? X-SW-Source: 2003-10/txt/msg00373.txt.bz2 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