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

Prototype

XStatus XPm_PllSetMode(const u32 ClockId, const u32 Value);

Parameters

The following table lists the XPm_PllSetMode function arguments.

Table 1. XPm_PllSetMode Arguments
Type Name Description
const u32 ClockId Clock ID
const u32 Value Mode which need to be set
  • 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