Xil_EndianSwap32 - 2022.2 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

Perform a 32-bit endian conversion.

Prototype

u32 Xil_EndianSwap32(u32 Data) INLINE __attribute__((always_inline));

Parameters

The following table lists the Xil_EndianSwap32 function arguments.

Table 1. Xil_EndianSwap32 Arguments
Name Description
Data 32-bit value to be converted

Returns

32-bit data with converted endianness