XPm_Query - 2022.1 English

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

Document ID
UG643
Release Date
2022-04-21
Version
2022.1 English

This function queries information about the platform resources.

Prototype

XStatus XPm_Query(const u32 QueryId, const u32 Arg1, const u32 Arg2, const u32 Arg3, u32 *const Data);

Parameters

The following table lists the XPm_Query function arguments.

Table 1. XPm_Query Arguments
Type Name Description
const u32 QueryId The type of data to query
const u32 Arg1 Query argument 1
const u32 Arg2 Query argument 2
const u32 Arg3 Query argument 3
u32 *const Data Pointer to the output data

Returns

XST_SUCCESS if successful else XST_FAILURE or an error code or a reason code