* Re: [ECOS] FW: Newbie: register access
@ 2003-09-12 13:54 martinos72
0 siblings, 0 replies; 3+ messages in thread
From: martinos72 @ 2003-09-12 13:54 UTC (permalink / raw)
To: ecos-discuss
My boar is custom, the redboot and ecos has been porting from "MICROPLEX Printer Controller 5.0". The CPU is a INTEL PXA255. The board have some led and micro-switch and i'm trying to use them. THANKS OSCAR
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Gary Thomas
Sent: venerdì 12 settembre 2003 14.00
To: Oscar
Cc: eCos Discussion
Subject: Re: [ECOS] FW: Newbie: register access
On Fri, 2003-09-12 at 05:18, Oscar wrote:
> I need to read/write a 16bit register on /CS5 external bus, whitch is
> the better way?
You'll have to arrange that /CS5 is mapped to some address. Then use the HAL I/O routines for it, e.g. HAL_READ_UINT16()
What processor/platform are you working with?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] FW: Newbie: register access
2003-09-12 11:19 Oscar
@ 2003-09-12 12:00 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2003-09-12 12:00 UTC (permalink / raw)
To: Oscar; +Cc: eCos Discussion
On Fri, 2003-09-12 at 05:18, Oscar wrote:
> I need to read/write a 16bit register on /CS5 external bus, whitch is the
> better way?
You'll have to arrange that /CS5 is mapped to some address. Then use
the HAL I/O routines for it, e.g. HAL_READ_UINT16()
What processor/platform are you working with?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] FW: Newbie: register access
@ 2003-09-12 11:19 Oscar
2003-09-12 12:00 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Oscar @ 2003-09-12 11:19 UTC (permalink / raw)
To: ecos-discuss
I need to read/write a 16bit register on /CS5 external bus, whitch is the
better way?
Thanks
OSCAR
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-12 13:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-12 13:54 [ECOS] FW: Newbie: register access martinos72
-- strict thread matches above, loose matches on Subject: below --
2003-09-12 11:19 Oscar
2003-09-12 12:00 ` Gary Thomas
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).