This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]