XPm_SetWakeUpSource - 2022.2 English

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

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

This function is used by a CPU to set wakeup source.

Prototype

XStatus XPm_SetWakeUpSource(const u32 TargetDeviceId, const u32 DeviceId, const u32 Enable);

Parameters

The following table lists the XPm_SetWakeUpSource function arguments.

Table 1. XPm_SetWakeUpSource Arguments
Type Name Description
const u32 TargetDeviceId Device ID of the target
const u32 DeviceId Device ID used as wakeup source
const u32 Enable 1 - Enable, 0 - Disable

Returns

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