This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Accessing IO Ports
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Scott Bailie <bailie at ll dot mit dot edu>
- Cc: ecos-discuss at sourceware dot org
- Date: Wed, 23 Nov 2005 14:34:44 +0100
- Subject: Re: [ECOS] Accessing IO Ports
- References: <200511231327.jANDRUff008638@ll.mit.edu>
On Wed, Nov 23, 2005 at 08:27:28AM -0500, Scott Bailie wrote:
> I'm trying to read/write to an IO port on an x86 based PC-104 board. Should
> I be using the HAL_WRITE_XXX, HAL_READ_XXX macros or is there something else
> that handles these types of IO accesses?
HAL_{WRITE|READ}_XXX is correct.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss