XSem_CmdNpiGetGldnSha - 2022.1 English

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

Document ID
UG643
Release Date
2022-04-21
Version
2022.1 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 Name Description
XIpiPsu * IpiInst Pointer to IPI driver instance
u32 CframeAddr Frame Address
  • Frame Number [0:19] (Refer note)
  • Block Type [20:22]
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