XPm_ClockSetOneDivider - 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

Call this function to set divider for a clock.

Note: If the access isn't permitted this function returns an error code.

Prototype

XStatus XPm_ClockSetOneDivider(const enum XPmClock clk, const u32 divider, const u32 divId);

Parameters

The following table lists the XPm_ClockSetOneDivider function arguments.

Table 1. XPm_ClockSetOneDivider Arguments
Type Name Description
const enum XPmClock clk Identifier of the target clock
const u32 divider Divider value to be set
const u32 divId ID of the divider to be set

Returns

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