This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: In trouble of timer operations
- From: "ariga masahiro" <ariga at link-lab dot co dot jp>
- To: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 30 May 2008 13:10:53 +0900
- Subject: Re: [ECOS] Re: In trouble of timer operations
- References: <PGEAIGBPLOMOJDAPCOJHAEILKPAB.pderocco@ix.netcom.com>
Hello Paul and others,
Thank you Paul for your reply.
Delays start when you call cyg_thread_delay, and end on a particular timer
interrupt tick. The ticks are 10ms apart, but your call to
cyg_thread_delay
isn't synchronized with these ticks. An n-tick delay can therefore range
from n-1 to n ticks in duration.
Forgive my ignorance,but please teach me more.
If I like to insert exactly, say 20msec, delay how should I write program ?
Thank you in advance.
Masahiro Ariga
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss