XFpga_GetPlConfigReg - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

This function provides PL specific configuration register values.

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 XFgpa 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.