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

Prototype

INLINE u32 Xil_In32BE(UINTPTR Addr);

Parameters

The following table lists the Xil_In32BE function arguments.

Table 1. Xil_In32BE 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 little-endian, the return value is the byte-swapped value read from the address.