lib/sw_services/xilplmi/src/xplmi_generic.c
static int XPlmi_Features(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;

	if (Cmd->Payload[0U] < XPlmi_Generic.CmdCnt) {
		Cmd->Response[1U] = (u32)XST_SUCCESS;
	} else {
		Cmd->Response[1U] = (u32)XST_FAILURE;
	}
	Status = XST_SUCCESS;
	Cmd->Response[0U] = (u32)Status;

	return Status;
}
/*****************************************************************************/
/*****************************************************************************/
/**
 * @brief	This function checks if a particular PLM Command ID is supported
 * or not. Command ID is the only payload parameter.
 *
 * @param	Cmd is pointer to the command structure
 *
 * @return	XST_SUCCESS
 *
 *****************************************************************************/
@brief       This function checks if a particular PLM Command ID is supported
or not. Command ID is the only payload parameter.

@param       Cmd is pointer to the command structure


@brief This function checks if a particular PLM Command ID is supported or not . Command ID is the only payload parameter . @param Cmd is pointer to the command structure
static int XPlmi_Features(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	if (Cmd->Payload[0U] < XPlmi_Generic.CmdCnt) {
		Cmd->Response[1U] = (u32)XST_SUCCESS;
	} else {
		Cmd->Response[1U] = (u32)XST_FAILURE;
	}
	Status = XST_SUCCESS;
	Cmd->Response[0U] = (u32)Status;
	return Status;
}
static int XPlmi_Features ( XPlmi_Cmd * Cmd ) { int Status = XST_FAILURE ; if ( Cmd -> Payload [ 0U ] < XPlmi_Generic . CmdCnt ) { Cmd -> Response [ 1U ] = ( u32 ) XST_SUCCESS ; } else { Cmd -> Response [ 1U ] = ( u32 ) XST_FAILURE ; } Status = XST_SUCCESS ; Cmd -> Response [ 0U ] = ( u32 ) Status ; return Status ; }
@brief       This function checks if a particular PLM Command ID is supported
 or not.
@brief This function checks if a particular PLM Command ID is supported or not .