* [ECOS] Microsecond delay
@ 2001-07-13 23:32 Chandra Sekhar G
2001-07-14 10:11 ` Jonathan Larmour
0 siblings, 1 reply; 4+ messages in thread
From: Chandra Sekhar G @ 2001-07-13 23:32 UTC (permalink / raw)
To: ecos-discuss
Hi,
I have eCos sources for the MPC555. It seems it does not provide
the microsecond delay functionality. I downloaded the file hal_if.h
which has the macros defined for that. How can I integrate this with my
eCos source?
Thanks.
regards,
chandra
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Microsecond delay
2001-07-13 23:32 [ECOS] Microsecond delay Chandra Sekhar G
@ 2001-07-14 10:11 ` Jonathan Larmour
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2001-07-14 10:11 UTC (permalink / raw)
To: chandrag; +Cc: ecos-discuss
Chandra Sekhar G wrote:
>
> I have eCos sources for the MPC555. It seems it does not provide
> the microsecond delay functionality. I downloaded the file hal_if.h
> which has the macros defined for that. How can I integrate this with my
>
> eCos source?
The MPC555 port probably doesn't have virtual vector support at all. That
would need to be implemented first before implementing the us delay
functions. Look at the porting guide in the online docs. Particularly
http://sources.redhat.com/ecos/docs-latest/porting/hal-calling-if.html
Alternatively if all you want is the microsecond delay, just write your own
self-contained function to do so using delay_us() in
hal/common/current/src/hal_if.c as a guide to what you should do. If you
are using this with the eCos kernel, you can just use that bit of the
delay_us functino without modification. Note that it is a busy wait though.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Microsecond delay
2001-07-13 0:21 Chandra Sekhar G
@ 2001-07-13 0:31 ` Christoph Csebits
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Csebits @ 2001-07-13 0:31 UTC (permalink / raw)
To: Chandra Sekhar G; +Cc: ecos-discuss
On Fri, Jul 13, 2001 at 12:48:18PM +0700, Chandra Sekhar G wrote:
> Where can I find the macro CYGACC_CALL_IF_DELAY_US, in the ecos
> repository?
$ECOS_REPOSITORY/hal/common/current/include/hal_if.h
> Is it supported on PowerPC targets?
yes
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Microsecond delay
@ 2001-07-13 0:21 Chandra Sekhar G
2001-07-13 0:31 ` Christoph Csebits
0 siblings, 1 reply; 4+ messages in thread
From: Chandra Sekhar G @ 2001-07-13 0:21 UTC (permalink / raw)
To: ecos-discuss
Hi,
Where can I find the macro CYGACC_CALL_IF_DELAY_US, in the ecos
repository? Is it supported on PowerPC targets?
Thanks,
regards,
chandra
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-07-14 10:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13 23:32 [ECOS] Microsecond delay Chandra Sekhar G
2001-07-14 10:11 ` Jonathan Larmour
-- strict thread matches above, loose matches on Subject: below --
2001-07-13 0:21 Chandra Sekhar G
2001-07-13 0:31 ` Christoph Csebits
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).