XPm_RequestNode - 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 to request the device.

Prototype

XStatus XPm_RequestNode(const u32 DeviceId, const u32 Capabilities, const u32 QoS, const u32 Ack);

Parameters

The following table lists the XPm_RequestNode function arguments.

Table 1. XPm_RequestNode Arguments
Type Name Description
const u32 DeviceId Device which needs to be requested
const u32 Capabilities Device Capabilities, can be combined
  • PM_CAP_ACCESS : full access / functionality
  • PM_CAP_CONTEXT : preserve context
  • PM_CAP_WAKEUP : emit wake interrupts
const u32 QoS Quality of Service (0-100) required
const u32 Ack Requested acknowledge type

Returns

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