Xil_EndianSwap16 - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 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