XPm_PinCtrlSetFunction - 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 set the function on specified pin.

Prototype

XStatus XPm_PinCtrlSetFunction(const u32 PinId, const u32 FunctionId);

Parameters

The following table lists the XPm_PinCtrlSetFunction function arguments.

Table 1. XPm_PinCtrlSetFunction Arguments
Type Name Description
const u32 PinId Pin ID
const u32 FunctionId Function ID which needs to be set

Returns

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