XPm_ClockGetParent - 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 parent of a clock.

Prototype

XStatus XPm_ClockGetParent(const enum XPmClock clk, enum XPmClock *const parent);

Parameters

The following table lists the XPm_ClockGetParent function arguments.

Table 1. XPm_ClockGetParent Arguments
Type Name Description
const enum XPmClock clk Identifier of the target clock
enum XPmClock *const parent Location to store clock parent ID

Returns

XST_INVALID_PARAM or status of performing the operation as returned by the PMU-FW.