Hi romiodelta,
> But I would like to know how to calculate it.)
from the ecos reference manual: <div class='quotetop'>QUOTE </div>
--- Quote Start ---
If the application requires delays measured in milliseconds or similar units rather than in clock ticks, some calculations are needed to convert between these units as described in Clocks. Usually these calculations can be done by the application developer, or at compile-time. Performing such calculations prior to every call to cyg_thread_delay adds unnecessary overhead to the system.[/b]
--- Quote End ---
See "Delay" at:
http://ecos.sourceware.org/docs-latest/ref...ad-control.html (
http://ecos.sourceware.org/docs-latest/ref/kernel-thread-control.html)
Also Clock Resolutions and Ticks" and "cyg_clock_get_resolution" at:
http://ecos.sourceware.org/docs-latest/ref...nel-clocks.html (
http://ecos.sourceware.org/docs-latest/ref/kernel-clocks.html)
Regards,
--Scott