XSem_CmdNpiGetGldnSha - 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 is used to get golden SHA.

Prototype

XStatus XSem_CmdNpiGetGldnSha(XIpiPsu *IpiInst, XSemIpiResp *Resp, XSem_DescriptorData *DescData);

Parameters

The following table lists the XSem_CmdNpiGetGldnSha function arguments.

Table 1. XSem_CmdNpiGetGldnSha Arguments
Type Member Description
XIpiPsu * IpiInst Pointer to IPI driver instance
XSemIpiResp * Resp Structure Pointer of IPI response
  • Resp->RespMsg1: Acknowledgment ID of NPI get golden SHA(0x10310)
  • Resp->RespMsg2: Status of NPI get golden SHA
XSem_DescriptorData * DescData Structure pointer to hold total descriptor count, golden SHA and information related to descriptors

Returns

This API returns the success or failure.
  • XST_FAILURE: On NPI golden SHA retrieve failure
  • XST_SUCCESS: On NPI golden SHA retrieve success