XPm_ClockGetParent - 2022.2 English

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

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

This function is used to get the parent of specified clock.

Prototype

XStatus XPm_ClockGetParent(const u32 ClockId, u32 *const ParentIdx);

Parameters

The following table lists the XPm_ClockGetParent function arguments.

Table 1. XPm_ClockGetParent Arguments
Type Name Description
const u32 ClockId Clock ID
u32 *const ParentIdx Pointer to store the parent clock index

Returns

XST_SUCCESS if successful else XST_FAILURE or an error code or a reason code