MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 1.00a rpm 11/07/03 Added InSwap/OutSwap routines for endian conversion 1.00a xd 11/04/04 Improved support for doxygen 1.01a ecm 02/24/06 CR225908 corrected the extra curly braces in macros and bumped version to 1.01.a. 1.11a mta 03/21/07 Updated to new coding style. 1.11b va 04/17/08 Updated Tcl for better CORE_CLOCK_FREQ_HZ definition 1.11a sdm 03/12/09 Updated Tcl to define correct value for CORE_CLOCK_FREQ_HZ (CR #502010)
Defines | |
#define | XIo_In8(InputPtr) |
#define | XIo_In16(InputPtr) |
#define | XIo_In32(InputPtr) |
#define | XIo_Out8(OutputPtr, Value) |
#define | XIo_Out16(OutputPtr, Value) |
#define | XIo_Out32(OutputPtr, Value) |
Typedefs | |
typedef u32 | XIo_Address |
Functions | |
void | XIo_EndianSwap16 (u16 Source, u16 *DestPtr) |
void | XIo_EndianSwap32 (u32 Source, u32 *DestPtr) |
u16 | XIo_InSwap16 (XIo_Address InAddress) |
u32 | XIo_InSwap32 (XIo_Address InAddress) |
void | XIo_OutSwap16 (XIo_Address OutAddress, u16 Value) |
void | XIo_OutSwap32 (XIo_Address OutAddress, u32 Value) |
|
Performs an input operation for a 16-bit memory location by reading from the specified address and returning the value read from that address.
|
|
Performs an input operation for a 32-bit memory location by reading from the specified address and returning the value read from that address.
|
|
Performs an input operation for an 8-bit memory location by reading from the specified address and returning the value read from that address.
|
|
Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address.
|
|
Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address.
|
|
Performs an output operation for an 8-bit memory location by writing the specified value to the the specified address.
|
|
Typedef for an I/O address. Typically correlates to the width of the address bus. |
|
Performs a 16-bit endian converion.
|
|
Performs a 32-bit endian converion.
|
|
Performs an input operation for a 16-bit memory location by reading from the specified address and returning the byte-swapped value read from that address.
|
|
Performs an input operation for a 32-bit memory location by reading from the specified address and returning the byte-swapped value read from that address.
|
|
Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address. The value is byte-swapped before being written.
|
|
Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address. The value is byte-swapped before being written.
|
Copyright © 1995-2009 Xilinx, Inc. All rights reserved.