XPm_PinCtrlGetFunction - 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

This function is used to get the function on specified pin.

Prototype

XStatus XPm_PinCtrlGetFunction(const u32 PinId, u32 *const FunctionId);

Parameters

The following table lists the XPm_PinCtrlGetFunction function arguments.

Table 1. XPm_PinCtrlGetFunction Arguments
Type Name Description
const u32 PinId Pin ID
u32 *const FunctionId Pointer to Function ID

Returns

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