XPm_ClockGetRate - 2022.2 English - UG643

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

Call this function to get rate of a clock.

Prototype

XStatus XPm_ClockGetRate(const enum XPmClock clk, u32 *const rate);

Parameters

The following table lists the XPm_ClockGetRate function arguments.

Table 1. XPm_ClockGetRate Arguments
Type Name Description
const enum XPmClock clk Identifier of the target clock
u32 *const rate Location where the rate should be stored

Returns

Status of performing the operation as returned by the PMU-FW