XPm_ClockGetStatus - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.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