XPm_ClockGetStatus - 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 status of a clock gate state.

Prototype

XStatus XPm_ClockGetStatus(const enum XPmClock clk, u32 *const status);

Parameters

The following table lists the XPm_ClockGetStatus function arguments.

Table 1. XPm_ClockGetStatus Arguments
Type Name Description
const enum XPmClock clk Identifier of the target clock
u32 *const status Location to store clock gate state (1=enabled, 0=disabled)

Returns

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