lib/sw_services/xilplmi/src/xplmi_generic.c
static int XPlmi_SetWdtParam(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	u32 NodeId = Cmd->Payload[0U];
	u32 Periodicity = Cmd->Payload[1U];

	XPlmi_Printf(DEBUG_INFO, "Enabling WDT with Node:0x%08x, "
		     "Periodicity: %u ms\n\r", NodeId, Periodicity);
	Status = XPlmi_EnableWdt(NodeId, (u16)Periodicity);

	return Status;
}
/*****************************************************************************/
/**
 * @brief	This function sets the WDT parameters used in PLM.
 *
 * @param	Cmd is pointer to the command structure
 *		Command payload parameters are
 *		- Node Id for PMC, PS MIO
 *		- Periodicity
 *
 * @return	XST_SUCCESS on success and error code on failure
 *
 *****************************************************************************/
@brief       This function sets the WDT parameters used in PLM.
@param       Cmd is pointer to the command structure
Command payload parameters are
- Node Id for PMC, PS MIO
- Periodicity

@return      XST_SUCCESS on success and error code on failure
@brief This function sets the WDT parameters used in PLM . @param Cmd is pointer to the command structure Command payload parameters are - Node Id for PMC PS MIO - Periodicity @return XST_SUCCESS on success and error code on failure
static int XPlmi_SetWdtParam(XPlmi_Cmd *Cmd)
{
	int Status = XST_FAILURE;
	u32 NodeId = Cmd->Payload[0U];
	u32 Periodicity = Cmd->Payload[1U];
	XPlmi_Printf(DEBUG_INFO, "Enabling WDT with Node:0x%08x, "
		     "Periodicity: %u ms\n\r", NodeId, Periodicity);
	Status = XPlmi_EnableWdt(NodeId, (u16)Periodicity);
	return Status;
}
static int XPlmi_SetWdtParam ( XPlmi_Cmd * Cmd ) { int Status = XST_FAILURE ; u32 NodeId = Cmd -> Payload [ 0U ] ; u32 Periodicity = Cmd -> Payload [ 1U ] ; XPlmi_Printf ( DEBUG_INFO , " " " \n \r " , NodeId , Periodicity ) ; Status = XPlmi_EnableWdt ( NodeId , ( u16 ) Periodicity ) ; return Status ; }
@brief       This function sets the WDT parameters used in PLM.
@brief This function sets the WDT parameters used in PLM .