XSem_CmdCfrStartScan - 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 start CRAM scan from user application. Primarily this function sends an IPI request to PLM to invoke SEM CRAM StartScan, waits for PLM to process the request and reads the response message.

Prototype

XStatus XSem_CmdCfrStartScan(XIpiPsu *IpiInst, XSemIpiResp *Resp);

Parameters

The following table lists the XSem_CmdCfrStartScan function arguments.

Table 1. XSem_CmdCfrStartScan Arguments
Type Name Description
XIpiPsu * IpiInst Pointer to IPI driver instance
XSemIpiResp * Resp Structure Pointer of IPI response.
  • Resp->RespMsg1: Acknowledgment ID of CRAM startscan(0x10302)
  • Resp->RespMsg2: Status of CRAM start scan

Returns

This API returns the success or failure.
  • XST_FAILURE: On CRAM start scan failure
  • XST_SUCCESS: On CRAM start scan success