XSem_Ssit_CmdCfrGetCrc - 2023.2 English

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

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

This function is used to read CFRAME golden CRC for a row in a target SLR.

Prototype

XStatus XSem_Ssit_CmdCfrGetCrc(XIpiPsu *IpiInst, u32 RowIndex, XSemIpiResp *Resp, u32 TargetSlr);

Parameters

The following table lists the XSem_Ssit_CmdCfrGetCrc function arguments.

Table 1. XSem_Ssit_CmdCfrGetCrc Arguments
Type Member Description
XIpiPsu * IpiInst Pointer to IPI driver instance
u32 RowIndex Row index for which CRC to be read (Min: 0 , Max: CFU_ROW_RANGE -1)
XSemIpiResp * Resp Structure Pointer of IPI response
  • Resp->RespMsg1: Acknowledgment ID of CFR get CRC (0x1030C)
  • Resp->RespMsg2: Status of CFR get CRC
  • Resp->RespMsg3: CRC register word 0
  • Resp->RespMsg4: CRC register word 1
  • Resp->RespMsg5: CRC register word 2
  • Resp->RespMsg6: CRC register word 3
u32 TargetSlr Target SLR index on which command is to be executed
  • 0x0 : Target is master only
  • 0x1 : Target is slave 0 only
  • 0x2 : Target is slave 1 only
  • 0x3 : Target is slave 2 only
  • 0xF : Broadcast not supported for this API

Returns

This API returns the success or failure.
  • XST_FAILURE: On Get CRC failure
  • XST_SUCCESS: On Get CRC success