XPm_PllSetParameter - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

This function is used to set the parameters for specified PLL clock.

Prototype

XStatus XPm_PllSetParameter(const u32 ClockId, const enum XPm_PllConfigParams ParamId, const u32 Value);

Parameters

The following table lists the XPm_PllSetParameter function arguments.

Table 1. XPm_PllSetParameter Arguments
Type Name Description
const u32 ClockId Clock ID
const enum XPm_PllConfigParams ParamId Parameter ID
  • PM_PLL_PARAM_ID_DIV2
  • PM_PLL_PARAM_ID_FBDIV
  • PM_PLL_PARAM_ID_DATA
  • PM_PLL_PARAM_ID_PRE_SRC
  • PM_PLL_PARAM_ID_POST_SRC
  • PM_PLL_PARAM_ID_LOCK_DLY
  • PM_PLL_PARAM_ID_LOCK_CNT
  • PM_PLL_PARAM_ID_LFHF
  • PM_PLL_PARAM_ID_CP
  • PM_PLL_PARAM_ID_RES
const u32 Value Value of parameter (See register description for possible values)

Returns

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