XFpga_GetPlConfigReg - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 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.