XilinxProcessorIPLib/drivers/cfupmc/src/xcfupmc.c
static void XCfupmc_Reset(const XCfupmc *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);

	XCfupmc_Printf("CFU Reset\n\r");

	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK,
			CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK);
	usleep(10U);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			     CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK,
			     CFU_APB_CFU_CTL_CFRAME_DISABLE_CLR_VAL);

	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK);
	usleep(10U);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_CLR_VAL);

	return;
}
/*****************************************************************************/
/**
 * This function resets the CFU block
 *
 * @param	InstancePtr is a pointer to the XCfupmc instance.
 *
 * @return	None
 *
 ******************************************************************************/
This function resets the CFU block
@param       InstancePtr is a pointer to the XCfupmc instance.

@return      None
This function resets the CFU block @param InstancePtr is a pointer to the XCfupmc instance . @return None
static void XCfupmc_Reset(const XCfupmc *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	XCfupmc_Printf("CFU Reset\n\r");
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK,
			CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK);
	usleep(10U);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			     CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK,
			     CFU_APB_CFU_CTL_CFRAME_DISABLE_CLR_VAL);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK);
	usleep(10U);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK,
			CFU_APB_CFU_CTL_CFI_LOCAL_RESET_CLR_VAL);
	return;
}
static void XCfupmc_Reset ( const XCfupmc * InstancePtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; XCfupmc_Printf ( " \n \r " ) ; XCfupmc_MaskRegWrite ( InstancePtr , CFU_APB_CFU_CTL , CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK , CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK ) ; usleep ( 10U ) ; XCfupmc_MaskRegWrite ( InstancePtr , CFU_APB_CFU_CTL , CFU_APB_CFU_CTL_CFRAME_DISABLE_MASK , CFU_APB_CFU_CTL_CFRAME_DISABLE_CLR_VAL ) ; XCfupmc_MaskRegWrite ( InstancePtr , CFU_APB_CFU_CTL , CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK , CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK ) ; usleep ( 10U ) ; XCfupmc_MaskRegWrite ( InstancePtr , CFU_APB_CFU_CTL , CFU_APB_CFU_CTL_CFI_LOCAL_RESET_MASK , CFU_APB_CFU_CTL_CFI_LOCAL_RESET_CLR_VAL ) ; return ; }
This function resets the CFU block
 @param       InstancePtr is a pointer to the XCfupmc instance.
This function resets the CFU block @param InstancePtr is a pointer to the XCfupmc instance .