XPm_SetWakeUpSource - 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 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