XPm_SystemShutdown - 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 can be used by a privileged PU to shut down or restart the complete device.

Prototype

XStatus XPm_SystemShutdown(const u32 Type, const u32 SubType);

Parameters

The following table lists the XPm_SystemShutdown function arguments.

Table 1. XPm_SystemShutdown Arguments
Type Name Description
const u32 Type Shutdown type (shutdown/restart)
const u32 SubType Shutdown subtype (subsystem-only/PU-only/system)

Returns

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