This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How can I make small delay < 1[ms]?
- From: Iztok Zupet <iztok dot zupet at vsr dot si>
- To: ryosuke-tajima at mosk dot tytlabs dot co dot jp
- Cc: eCos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: 11 Oct 2002 07:50:17 +0200
- Subject: Re: [ECOS] How can I make small delay < 1[ms]?
- References: <20021011.143925.104038308.e1243@tytlabs.co.jp>
On Fri, 2002-10-11 at 07:39, ryosuke-tajima@mosk.tytlabs.co.jp wrote:
> Hi, all.
>
> Default kernel tick is 10 mili-second, and I could make it to 1
> mili-sec tick. But now I want to make smaller delay in a task from
> 100 to 1000 micro-seconds. How can I make it in eCos? Is it possible?
>
You can use the HAL_DELAY_US(usec-to-delay) macro if it's implemented
for your target HAL. But remember, this macro does not affect scheduler.
Regards
iz
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss