[ECOS] RTC eCos
Andrew Lunn
andrew@lunn.ch
Wed Dec 1 09:24:00 GMT 2004
On Wed, Dec 01, 2004 at 09:31:00AM +0100, Meulendijks, J. wrote:
>
>
> -----Original Message-----
> From: Meulendijks, J.
> Sent: woensdag 1 december 2004 09:05
> To: 'ecos-discuss@sources.redhat.com'
> Cc: 'bob.koninckx@o-3s.com'
> Subject:
>
>
> Hi all,
>
> I was wandering if it is possible to increment the RTC (clock which drives eCos
> -> thread switching, alarms etc) manually??
Yes, it probably can be done, but it would be a bit strange. Why do
you want to do this?
cyg_real_time_clock() returns the clock which is used for this. Using
this call cyg_clock_to_counter which will return the handle to the
counter. Using this handle you can call cyg_counter_tick on the
counter.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list