lib/sw_services/xilsem/examples/xsem_cram_example.c
XStatus XSem_CfrApiStopScan (void)
{
	XStatus Status = XST_FAILURE;
	XSemIpiResp IpiResp={0};

	Status = XSem_CmdCfrStopScan(&IpiInst, &IpiResp);
	if ((XST_SUCCESS == Status) && \
			(CMD_ACK_CFR_STOP_SCAN == IpiResp.RespMsg1) && \
			(XST_SUCCESS == IpiResp.RespMsg2)) {
		xil_printf("[%s] Success: Stop\n\r", __func__);
	} else {
		xil_printf("[%s] Error: Stop Status 0x%x Ack 0x%x Ret 0x%x\n", \
				__func__, Status, IpiResp.RespMsg1, \
				IpiResp.RespMsg2);
		Status = XST_FAILURE;
	}
	return Status;
}
/*****************************************************************************
 *
 * @brief    	Function to stop CRAM scan using Client IPI interface.
 *
 * @return    	XST_SUCCESS : upon successful completion of stop scan.
 *    		XST_FAILURE : any failure in stop scan.
 *
 ******************************************************************************/
@brief       Function to stop CRAM scan using Client IPI interface.
@return      XST_SUCCESS : upon successful completion of stop scan.
XST_FAILURE : any failure in stop scan.
@brief Function to stop CRAM scan using Client IPI interface . @return XST_SUCCESS : upon successful completion of stop scan . XST_FAILURE : any failure in stop scan .
XStatus XSem_CfrApiStopScan (void)
{
	XStatus Status = XST_FAILURE;
	XSemIpiResp IpiResp={0};
	Status = XSem_CmdCfrStopScan(&IpiInst, &IpiResp);
	if ((XST_SUCCESS == Status) && \
			(CMD_ACK_CFR_STOP_SCAN == IpiResp.RespMsg1) && \
			(XST_SUCCESS == IpiResp.RespMsg2)) {
		xil_printf("[%s] Success: Stop\n\r", __func__);
	} else {
		xil_printf("[%s] Error: Stop Status 0x%x Ack 0x%x Ret 0x%x\n", \
				__func__, Status, IpiResp.RespMsg1, \
				IpiResp.RespMsg2);
		Status = XST_FAILURE;
	}
	return Status;
}
XStatus XSem_CfrApiStopScan ( void ) { XStatus Status = XST_FAILURE ; XSemIpiResp IpiResp = { 0 } ; Status = XSem_CmdCfrStopScan ( & IpiInst , & IpiResp ) ; if ( ( XST_SUCCESS == Status ) && ( CMD_ACK_CFR_STOP_SCAN == IpiResp . RespMsg1 ) && ( XST_SUCCESS == IpiResp . RespMsg2 ) ) { xil_printf ( " \n \r " , __func__ ) ; } else { xil_printf ( " \n " , __func__ , Status , IpiResp . RespMsg1 , IpiResp . RespMsg2 ) ; Status = XST_FAILURE ; } return Status ; }
@brief       Function to stop CRAM scan using Client IPI interface.
@brief Function to stop CRAM scan using Client IPI interface .