/* This function resets the XADC Hard Macro in the device. */
void XAdcPs_Reset(XAdcPs *InstancePtr)
/* This function resets the XADC Hard Macro in the device. */
void XAdcPs_Reset(XAdcPs *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	XAdcPs_WriteReg((InstancePtr)->Config.BaseAddress,
				XADCPS_MCTL_OFFSET, 0x10);
	XAdcPs_WriteReg((InstancePtr)->Config.BaseAddress,
				XADCPS_MCTL_OFFSET, 0x00);
}