XPm_PinCtrlSetParameter - 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 set a pin parameter.

Note: If the access isn't permitted this function returns an error code.

Prototype

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

Parameters

The following table lists the XPm_PinCtrlSetParameter function arguments.

Table 1. XPm_PinCtrlSetParameter Arguments
Type Name Description
const u32 pin Pin identifier
const enum XPmPinParam param Pin parameter identifier
const u32 value Value of the pin parameter to set

Returns

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