XPm_ClockSetDivider - 2023.2 English

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

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

This function is used to set the divider value for specified clock.

Prototype

XStatus XPm_ClockSetDivider(const u32 ClockId, const u32 Divider);

Parameters

The following table lists the XPm_ClockSetDivider function arguments.

Table 1. XPm_ClockSetDivider Arguments
Type Name Description
const u32 ClockId Clock ID
const u32 Divider Value of the divider

Returns

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