From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Andy.Simpkins@TardisMobile.com Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] change of clock resolution Date: Tue, 24 Apr 2001 09:48:00 -0000 Message-id: <3AE5AE45.ED8E219B@redhat.com> References: X-SW-Source: 2001-04/msg00365.html Andy Simpkins wrote: > > Someone shout out and correct me if I am wrong but the values you have > changed will have NO effect on the clock interval... if you have a timer > ticking at 100Hz it will remain ticking at 100Hz after you change these > values. what will have changed is eCos' perception of time (not the real > time). > > If you want your clock ticks to be 10 times faster you need to change the > timer settings found in hal_clock_initialize _misc.c (or the > appropriate routine for your build) No the PERIOD is what is used to program the clock and is passed to hal_clock_initialize by the kernel. Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine