XPm_FeatureCheck - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

This function queries information about the version of API ID and queries information about supported IOCTL IDs and supported QUERY IDs.

Note: Returns non zero value in version if API is supported or returns 0U in version if API is not supported.

Prototype

XStatus XPm_FeatureCheck(const enum XPmApiId featureId, u32 *version);

Parameters

The following table lists the XPm_FeatureCheck function arguments.

Table 1. XPm_FeatureCheck Arguments
Type Name Description
const enum XPmApiId featureId API ID
u32 * version Pointer to store API version.

Returns

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