XPm_ClockGetDivider - 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 get divider value for specified clock.

Prototype

XStatus XPm_ClockGetDivider(const u32 ClockId, u32 *const Divider);

Parameters

The following table lists the XPm_ClockGetDivider function arguments.

Table 1. XPm_ClockGetDivider Arguments
Type Name Description
const u32 ClockId Clock ID
u32 *const Divider Pointer to store divider value

Returns

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