XPm_ClockGetStatus - XPm_ClockGetStatus - 2026.1 English - UG643

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

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 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