IO Interfacing APIs - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

Contains I/O functions for memory-mapped or non-memory-mapped I/O architectures.

The xil_io.h file contains the interface for the general I/O component, which encapsulates the Input/Output functions for the processors that do not require any special I/O handling.

This file contains architecture-dependent code.

Note:
Table 1. Quick Function Reference
Type Name Arguments
INLINE u16 Xil_In16BE
  • UINTPTR Addr
INLINE u32 Xil_In32BE
  • UINTPTR Addr
INLINE void Xil_Out16BE
  • UINTPTR Addr
  • u16 Value
INLINE void Xil_Out32BE
  • UINTPTR Addr
  • u32 Value
INLINE u16 Xil_In16LE
  • UINTPTR Addr
INLINE u32 Xil_In32LE
  • UINTPTR Addr
INLINE void Xil_Out16LE
  • UINTPTR Addr
  • u16 Value
INLINE void Xil_Out32LE
  • UINTPTR Addr
  • u32 Value
u16 Xil_EndianSwap16
  • u16 Data
u32 Xil_EndianSwap32
  • u32 Data
INLINE u8 Xil_In8
  • UINTPTR Addr
INLINE u16 Xil_In16
  • UINTPTR Addr
INLINE u32 Xil_In32
  • UINTPTR Addr
INLINE u64 Xil_In64
  • UINTPTR Addr
INLINE void Xil_Out8
  • UINTPTR Addr
  • u8 Value
INLINE void Xil_Out16
  • UINTPTR Addr
  • u16 Value
INLINE void Xil_Out32
  • UINTPTR Addr
  • u32 Value
INLINE void Xil_Out64
  • UINTPTR Addr
  • u64 Value
INLINE u32 Xil_SecureOut32
  • UINTPTR Addr
  • u32 Value