This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to register timer DSR
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: mohanlal jangir <mohanlaljangir at hotmail dot com>
- Cc: mailing-list ecos <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 13 Jun 2003 06:42:32 +0100
- Subject: Re: [ECOS] how to register timer DSR
- References: <Law11-OE56mjVDquyET00042b31@hotmail.com>
mohanlal jangir wrote:
Hi,
I am new to eCos and have been trying to understand eCos from some days.
I want a call back function to be called every 10ms. In linux, it is very
easy to register the call back function with kernel timers. I am wondering
if there is such mechanism in eCos also. I don't know which APIs to use.
http://ecos.sourceware.org/ecos/docs-latest/ref/kernel-alarms.html
You can see an example in the eCos examples, which comes with eCos. Look
at simple-alarm.c.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss