This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos heartbeat function handler
- From: Ormund Williams <ormundw at panix dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 05 Aug 2009 07:21:56 -0400
- Subject: Re: [ECOS] eCos heartbeat function handler
- References: <186ad4050907190108s119964a5x26d74ee8701ec52c@mail.gmail.com> <20090719081846.GE20164@lunn.ch>
On Sun, 2009-07-19 at 10:18 +0200, Andrew Lunn wrote:
> > 2) Where should I specify (some assembler file...) which function to
> > call on each heartbeat?
>
> Take a look at:
>
> http://ecos.sourceware.org/docs-latest/user-guide/clocks-and-alarm-handlers.html
>
> Call
> cyg_alarm_initialize(test_alarmH, cyg_current_time()+1, 1);
>
> and you alarm function will be called every tick.
>
> Andrew
>
Hi Andrew
Can you respond to me directly?
Thank you.
--
Ormund Williams
OrmLab LLC
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss