XPm_PinCtrlAction - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

Locally used function to request or release a pin control.

Prototype

XStatus XPm_PinCtrlAction(const u32 pin, const enum XPmApiId api);

Parameters

The following table lists the XPm_PinCtrlAction function arguments.

Table 1. XPm_PinCtrlAction Arguments
Type Name Description
const u32 pin PIN identifier (index from range 0-77) API identifier (request or release pin control)

Returns

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