XPm_PllGetParameter - 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 get the parameter of specified PLL clock.

Prototype

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

Parameters

The following table lists the XPm_PllGetParameter function arguments.

Table 1. XPm_PllGetParameter 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
u32 *const Value Pointer to store parameter value (See register description for possible values)

Returns

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