XPm_PinCtrlGetParameter - 2023.1 English

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

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

Call this function to get currently configured value of pin parameter.

Prototype

XStatus XPm_PinCtrlGetParameter(const u32 pin, const enum XPmPinParam param, u32 *const value);

Parameters

The following table lists the XPm_PinCtrlGetParameter function arguments.

Table 1. XPm_PinCtrlGetParameter Arguments
Type Name Description
const u32 pin Pin identifier
const enum XPmPinParam param Pin parameter identifier
u32 *const value Location to store value of the pin parameter

Returns

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