XPm_IsFunctionSupported - 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 IOCTL/QUERY function ID is supported or not.

Prototype

XStatus XPm_IsFunctionSupported(const enum XPmApiId apiId, const u32 functionId);

Parameters

The following table lists the XPm_IsFunctionSupported function arguments.

Table 1. XPm_IsFunctionSupported Arguments
Type Name Description
const enum XPmApiId apiId API ID
const u32 functionId IOCTL/QUERY ID

Returns

XST_SUCCESS if IOCTL ID/QUERY ID supported else XST_FAILURE or an error code or a reason code