XPm_PllGetMode - 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 mode of specified PLL clock.

Prototype

XStatus XPm_PllGetMode(const u32 ClockId, u32 *const Value);

Parameters

The following table lists the XPm_PllGetMode function arguments.

Table 1. XPm_PllGetMode Arguments
Type Name Description
const u32 ClockId Clock ID
u32 *const Value Pointer to store the value of mode
  • 0 for Reset mode
  • 1 for Integer mode
  • 2 for Fractional mode

Returns

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