XFpga_GetPlConfigReg - 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 provides PL specific configuration register values.

Note:
  • This API is not supported for the Versal platform.

Prototype

u32 XFpga_GetPlConfigReg(XFpga *InstancePtr, UINTPTR ReadbackAddr, u32 ConfigRegAddr);

Parameters

The following table lists the XFpga_GetPlConfigReg function arguments.

Table 1. XFpga_GetPlConfigReg Arguments
Type Name Description
XFpga * InstancePtr Pointer to the XFpga structure
UINTPTR ReadbackAddr Address which is used to store the PL Configuration register data.
u32 ConfigRegAddr Configuration register address as mentioned in the UG570.

Returns

  • XFPGA_SUCCESS if, successful
  • XFPGA_FAILURE if, unsuccessful
  • XFPGA_OPS_NOT_IMPLEMENTED, if implementation not exists.