Xil_In16LE - 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 little-endian input operation for a 16-bit memory location by reading from the specified address and returning the value read from that address.

Prototype

INLINE u16 Xil_In16LE(UINTPTR Addr)[static];

Parameters

The following table lists the Xil_In16LE function arguments.

Table 1. Xil_In16LE Arguments
Name Description
Addr contains the address at which to perform the input operation.

Returns

The value read from the specified input address with the proper endianness. The return value has the same endianness as that of the processor. For example, if the processor is big-endian, the return value is the byte-swapped value read from the address.