XPm_ClockGetDivider - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

Call this function to get divider of a clock.

Prototype

XStatus XPm_ClockGetDivider(const enum XPmClock clk, u32 *const divider);

Parameters

The following table lists the XPm_ClockGetDivider function arguments.

Table 1. XPm_ClockGetDivider Arguments
Type Name Description
const enum XPmClock clk Identifier of the target clock
u32 *const divider Location to store the divider value

Returns

XST_INVALID_PARAM or status of performing the operation as returned by the PMU-FW