This function is used to read CRAM & NPI configuration. Primarily this function sends an IPI request to PLM to invoke SEM Get configuration command, waits for PLM to process the request and reads the response message.
Prototype
XStatus XSem_CmdGetConfig(XIpiPsu *IpiInst, XSemIpiResp *Resp);
Parameters
The following table lists the XSem_CmdGetConfig
function arguments.
Type | Member | Description |
---|---|---|
XIpiPsu * | IpiInst | Pointer to IPI driver instance |
XSemIpiResp
* |
Resp | Structure Pointer of IPI response Resp->RespMsg1: Acknowledgment ID of Get Configuration(0x30309) Resp->RespMsg2: CRAM Attribute register details
Resp->RespMsg3: NPI Attribute register details
Resp->RespMsg4: Status of Get Configuration command |
Returns
This API returns the success or failure.- XST_FAILURE: On Get Configuration failure
- XST_SUCCESS: On Get Configuration success