This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RTC eCos
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 1 Dec 2004 10:49:11 +0100
- Subject: Re: [ECOS] RTC eCos
- References: <6B80E71673E6D611AC1D0008C7F37BC203F8E615@wt15.wt.tno.nl>
On Wed, Dec 01, 2004 at 10:29:06AM +0100, Meulendijks, J. wrote:
> So this code should work?
>
> cyg_handle_t h;
> cyg_clock_to_counter(cyg_real_time_clock(), &h);
> cyg_counter_tick(h);
>
> I already used this code and it goes wrong when the code
> "cyg_counter_tick" is executed... What could be the problem?
Hard to say given the lack of details in your post.
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