XPm_ClockSetParent - 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 set the parent for specified clock.

Prototype

XStatus XPm_ClockSetParent(const u32 ClockId, const u32 ParentIdx);

Parameters

The following table lists the XPm_ClockSetParent function arguments.

Table 1. XPm_ClockSetParent Arguments
Type Name Description
const u32 ClockId Clock ID
const u32 ParentIdx Parent clock index

Returns

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