XPm_ClockGetParent - 2021.2 English

Xilinx Standalone Library Documentation: OS and Libraries Document Collection

Document ID
UG643
Release Date
2021-10-27
Version
2021.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