b_SingelDiff
=
b_SingleDiff;
- devpriv->
- b_AiInitialisation
- = 1;
/*******************************/
/* Set the convert timing unit */
unsigned int dw_AcquisitionCpt = 0;
unsigned char b_Interrupt = 0;
- /*************************************/
- /* Test if operating mode configured */
- /*************************************/
-
- if (devpriv->b_AiInitialisation) {
/***************************/
/* Test the channel number */
/***************************/
i_ReturnValue = -101;
}
}
- } else {
- /***************************/
- /* Channel selection error */
- /***************************/
- printk("Operating mode not configured\n");
- i_ReturnValue = -1;
- }
return i_ReturnValue;
}
int iobase;
int i_IobaseReserved;
void __iomem *dw_AiBase;
- unsigned char b_AiInitialisation;
unsigned int ui_AiNbrofChannels; /* how many channels is measured */
unsigned int ui_AiReadData[32];
unsigned char b_EocEosInterrupt;
s->len_chanlist = board->i_AiChannelList;
s->range_table = &apci3xxx_ai_range;
- /* Set the initialisation flag */
- devpriv->b_AiInitialisation = 1;
-
s->insn_config = i_APCI3XXX_InsnConfigAnalogInput;
s->insn_read = i_APCI3XXX_InsnReadAnalogInput;