/* This function returns the channels for which the averaging has been enabled in the ADC Channel Averaging Enables Sequencer Registers. */
u32 XAdcPs_GetSeqAvgEnables(XAdcPs *InstancePtr)
/* This function returns the channels for which the averaging has been enabled in the ADC Channel Averaging Enables Sequencer Registers. */
u32 XAdcPs_GetSeqAvgEnables(XAdcPs *InstancePtr)
{
	u32 RegValAvg;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	RegValAvg = XAdcPs_ReadInternalReg(InstancePtr,
				XADCPS_SEQ02_OFFSET) & XADCPS_SEQ02_CH_VALID_MASK;
	RegValAvg |= (XAdcPs_ReadInternalReg(InstancePtr,
			XADCPS_SEQ03_OFFSET) & XADCPS_SEQ03_CH_VALID_MASK) <<
			XADCPS_SEQ_CH_AUX_SHIFT;
	return RegValAvg;
}