cpu: xio.h File Reference

| cpu Xilinx SDK Drivers API Documentation

- Overview
- APIs
- File List

Macros | Typedefs | Functions
xio.h File Reference

## Macros
#define | XIo_In8(InputPtr) (*(volatile u8 *)(InputPtr))
| Performs an input operation for an 8-bit memory location by reading from the specified address and returning the value read from that address. More...
#define | XIo_In16(InputPtr) (*(volatile u16 *)(InputPtr))
| Performs an input operation for a 16-bit memory location by reading from the specified address and returning the value read from that address. More...
#define | XIo_In32(InputPtr) (*(volatile u32 *)(InputPtr))
| Performs an input operation for a 32-bit memory location by reading from the specified address and returning the value read from that address. More...
#define | XIo_Out8(OutputPtr, Value) (*(volatile u8 *)((OutputPtr)) = (Value))
| Performs an output operation for an 8-bit memory location by writing the specified value to the the specified address. More...
#define | XIo_Out16(OutputPtr, Value) (*(volatile u16 *)((OutputPtr)) = (Value))
| Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address. More...
#define | XIo_Out32(OutputPtr, Value) (*(volatile u32 *)((OutputPtr)) = (Value))
| Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address. More...

## Typedefs
typedef u32 | XIo_Address
| Typedef for an I/O address. More...

## Functions
void | XIo_EndianSwap16 (u16 Source, u16 *DestPtr)
| Performs a 16-bit endian conversion. More...
void | XIo_EndianSwap32 (u32 Source, u32 *DestPtr)
| Performs a 32-bit endian conversion. More...
u16 | XIo_InSwap16 (XIo_Address InAddress)
| 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. More...
u32 | XIo_InSwap32 (XIo_Address InAddress)
| 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. More...
void | XIo_OutSwap16 (XIo_Address OutAddress, u16 Value)
| Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address. More...
void | XIo_OutSwap32 (XIo_Address OutAddress, u32 Value)
| Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address. More...