/* This function gets the Analog input mode for all the channels from the ADC Channel Analog-Input Mode Sequencer Registers. */
u32 XAdcPs_GetSeqInputMode(XAdcPs *InstancePtr)
/* This function gets the Analog input mode for all the channels from the ADC Channel Analog-Input Mode Sequencer Registers. */
u32 XAdcPs_GetSeqInputMode(XAdcPs *InstancePtr)
{
	u32 InputMode;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	InputMode = XAdcPs_ReadInternalReg(InstancePtr,
				XADCPS_SEQ04_OFFSET) &
				XADCPS_SEQ04_CH_VALID_MASK;
	InputMode |= (XAdcPs_ReadInternalReg(InstancePtr,
				XADCPS_SEQ05_OFFSET) &
				XADCPS_SEQ05_CH_VALID_MASK) <<
				XADCPS_SEQ_CH_AUX_SHIFT;
	return InputMode;
}