Access to information is restricted depending on your login.
Request login-information through our contact form.
DFIOMapSpace
This is a helper function to allow easy access to external memory/chip-selects, when using Trizeps6 with onboard WLAN (when the WLAN-chip is configured to use D[15..8]).
void* DFIOMapSpace( unsigned int physbase, unsigned int length, unsigned int* csbase );
Parameters
physbase
Physical address of the external memory-space to map.
| ChipSelect | Physical start-address |
|---|---|
| CS1 | 0×84000000 |
| CS3 | 0×88000000 |
| CS4 | 0x8C000000 |
length
Length of memory-space to map.
csbase
Pointer to an unsigned int, which will receive a value needed by DFIORead and DFIOWrite.
Return Values
The return-value is virtual address of the mapped address-space.
If the function fails, the return value is NULL.
Remarks
You should not use the mapped address-space directly. Instead use DFIOWrite and DFIORead.
Requirements
OS Versions: Windows Embedded CE 6 and later.
Header: drvlib_app.h.
Link Library: drvlib_app.lib.
See Also
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use