This function is used to start NPI scan from user application. Primarily this function sends an IPI request to PLM to invoke SEM NPI StartScan, waits for PLM to process the request and reads the response message.
Prototype
XStatus XSem_CmdNpiStartScan(XIpiPsu *IpiInst, XSemIpiResp *Resp);
Parameters
The following table lists the XSem_CmdNpiStartScan
function arguments.
Type | Name | Description |
---|---|---|
XIpiPsu * | IpiInst | Pointer to IPI driver instance |
XSemIpiResp
* |
Resp |
Structure Pointer of IPI response.
|
Returns
This API returns the success or failure.- XST_FAILURE: On NPI start scan failure
- XST_SUCCESS: On NPI start scan success