This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: FW: Newbie: register access
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Oscar <martinelli dot o at tiscali dot it>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 12 Sep 2003 06:00:18 -0600
- Subject: Re: [ECOS] FW: Newbie: register access
- Organization: MLB Associates
- References: <000801c3791f$a7430440$5fb585d9@portatile1>
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