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