From: "vasantha.rajan" <vasantha.rajan@cranessoftware.com>
To: ecos-discuss@ecos.sourceware.org
Cc: gary@mlbassoc.com
Subject: [ECOS] CYGNUM_HAL_RTC_PERIOD
Date: Fri, 17 Feb 2006 13:41:00 -0000 [thread overview]
Message-ID: <200602171910.56724.vasantha.rajan@cranessoftware.com> (raw)
Hi all,
I have some doubt in CYGNUM_HAL_RTC_PERIOD. I will list my doubts
1. In my code I just want to trigger my alarm for some micro seconds (say for
25 us)
2. right now in my CDL(hal/arm/arm9/excalibur/v2_0b1/cdl) I have my
CYGNUM_HAL_RTC_NUMERATOR as 1000000000, CYGNUM_HAL_RTC_DENOMINATOR as
100. So the clock triggers for every 10000000 ns(ie,10000 us)
3. Now I changed my CYGNUM_HAL_RTC_DENOMINATOR to 10000 so my clock will
trigger for every 100us.
4. So, In my cyg_alarm_initialize() API, if I use 25 + cyg_current_time() as
my trigger time value ,will the alarm function will be triggered in
25us????????or my calculation is wrong??????
Thank you very much
Vasanth
-------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2006-02-17 13:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-17 13:41 vasantha.rajan [this message]
2006-02-17 22:18 ` Chuck McManis
2006-02-21 5:10 ` vasantha.rajan
2006-02-21 7:54 ` Gary Thomas
[not found] ` <43FADFC7.90709@zurich.ibm.com>
[not found] ` <200602221019.24844.vasantha.rajan@cranessoftware.com>
2006-02-22 9:01 ` Dirk Husemann
2006-02-17 14:11 Àlex Bueno Guarner
2006-02-22 9:03 vasantha.rajan
2006-02-22 9:32 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200602171910.56724.vasantha.rajan@cranessoftware.com \
--to=vasantha.rajan@cranessoftware.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=gary@mlbassoc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).