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

	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_SEU_GO_MASK,
			CFU_APB_CFU_CTL_SEU_GO_CLR_VAL);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_DECOMPRESS_MASK,
			CFU_APB_CFU_CTL_DECOMPRESS_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_IGNORE_CFI_ERROR_CLR_VAL);

	return;
}
/****************************************?*************************************/
/**
* This function is called when bitstream transfer is aborted by user
*
* @param   InstancePtr is a pointer to the XCfupmc instance.
*
* @return  None
*
*****************************************?*************************************/
?
This function is called when bitstream transfer is aborted by user

@param   InstancePtr is a pointer to the XCfupmc instance.

@return  None


? This function is called when bitstream transfer is aborted by user @param InstancePtr is a pointer to the XCfupmc instance . @return None
void XCfupmc_ExtErrorHandler(const XCfupmc *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	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_SEU_GO_MASK,
			CFU_APB_CFU_CTL_SEU_GO_CLR_VAL);
	XCfupmc_MaskRegWrite(InstancePtr, CFU_APB_CFU_CTL,
			CFU_APB_CFU_CTL_DECOMPRESS_MASK,
			CFU_APB_CFU_CTL_DECOMPRESS_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_IGNORE_CFI_ERROR_CLR_VAL);
	return;
}
void XCfupmc_ExtErrorHandler ( const XCfupmc * InstancePtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; 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_SEU_GO_MASK , CFU_APB_CFU_CTL_SEU_GO_CLR_VAL ) ; XCfupmc_MaskRegWrite ( InstancePtr , CFU_APB_CFU_CTL , CFU_APB_CFU_CTL_DECOMPRESS_MASK , CFU_APB_CFU_CTL_DECOMPRESS_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_IGNORE_CFI_ERROR_CLR_VAL ) ; return ; }
?
?