This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Is possible to make delay function less than one clock tick delay in ecos program?
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 11 Oct 2002 17:21:33 +0100
- Subject: [ECOS] Is possible to make delay function less than one clock tick delay in ecos program?
Hi all:
Is the following correct:
clock rate 50MHz
CYGNUM_HAL_RTC_NUMERATOR = 1000000000
CYGNUM_HAL_RTC_DENOMINATOR = 100
CYGNUM_HAL_RTC_PERIOD = 50000000/CYGNUM_HAL_RTC_DENOMINATOR = 500000 clock
cycles/tick
10ms/tick
so if I want to delay less than 10ms (1 tick) is that possible? Does the
delay depend on the tick resolution?
Thanks a lot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss