This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Adding to main timer interrupt
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "'Nick Garnett'" <nickg at ecoscentric dot com>
- Cc: "'eCos Discuss'" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 10 Jan 2007 08:55:08 -0800
- Subject: RE: [ECOS] Adding to main timer interrupt
> From: Nick Garnett
>
> The simplest approach would be to install an alarm with an
> interval of the rate that you want and just tick the second
> clock from its action routine. For polling from the clock
> DSR, just use an alarm with an interval of 1 so it is called
> every time.
That looks like exactly what I need. Thanks.
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss