This function is used to set the requirement for specified device.
Prototype
XStatus XPm_SetRequirement(const u32 DeviceId, const u32 Capabilities, const u32 QoS, const u32 Ack);
Parameters
The following table lists the XPm_SetRequirement
function arguments.
Type | Name | Description |
---|---|---|
const u32 | DeviceId | Device for which requirement needs to be set |
const u32 | Capabilities |
Device Capabilities, can be combined
|
const u32 | QoS | Quality of Service (0-100) required |
const u32 | Ack | Requested acknowledge type |