XPm_PinCtrlGetFunction - 2022.2 English - UG643

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

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

Call this function to get currently configured pin function.

Prototype

XStatus XPm_PinCtrlGetFunction(const u32 pin, enum XPmPinFn *const fn);

Parameters

The following table lists the XPm_PinCtrlGetFunction function arguments.

Table 1. XPm_PinCtrlGetFunction Arguments
Type Name Description
const u32 pin PLL node identifier
enum XPmPinFn *const fn Location to store the pin function

Returns

Status of performing the operation as returned by the PMU-FW