Re: How to determine which ceddk api to use
- From: "Steve Maillet \(eMVP\)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 06:52:28 -0700
READ_PORT_XXX is for accessing device registers in I/O space on the CPU or
bus in question. READ_REGISTER_XXX is for registers or other device access
that is always memory mapped. It's just a pointer de-reference but helps to
clarify that a device register access is the intent instead of just
accessing RAM. Some CPUs and some buses have a separate I/O space
independent from memory. So it's important for portability to use the
correct function type so the system can do the right thing.
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
.
- Follow-Ups:
- Re: How to determine which ceddk api to use
- From: sonu
- Re: How to determine which ceddk api to use
- References:
- How to determine which ceddk api to use
- From: sonu
- How to determine which ceddk api to use
- Prev by Date: Re: \Storage Card doesn't always reload when ATADISK reloaded
- Next by Date: Re: Create bootable CF with application
- Previous by thread: How to determine which ceddk api to use
- Next by thread: Re: How to determine which ceddk api to use
- Index(es):
Relevant Pages
|
|