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 on targeted SLR PLM, waits for PLM to process the request and reads the response message.
Prototype
XStatus XSem_Ssit_CmdNpiStartScan(XIpiPsu *IpiInst, XSemIpiResp *Resp, u32 TargetSlr);
Parameters
The following table lists the XSem_Ssit_CmdNpiStartScan
function arguments.
Type | Member | Description |
---|---|---|
XIpiPsu * | IpiInst | Pointer to IPI driver instance |
XSemIpiResp
* |
Resp |
Structure Pointer of IPI response
|
u32 | TargetSlr |
Target SLR index on which command is to be executed
|
Returns
This API returns the success or failure.- XST_FAILURE: On NPI start scan failure
- XST_SUCCESS: On NPI start scan success