XPm_Query - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 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
Commented parameter Qid does not exist in function XPm_Query. Qid 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