Xil_EndianSwap16 - 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 16-bit endian conversion.

Prototype

u16 Xil_EndianSwap16(u16 Data) INLINE __attribute__((always_inline));

Parameters

The following table lists the Xil_EndianSwap16 function arguments.

Table 1. Xil_EndianSwap16 Arguments
Name Description
Data 16-bit value to be converted

Returns

16 bit Data with converted endianness