[lm-sensors] [PATCH] hwmon: (ads1015) Make gain and datarate configurable
Eibach, Dirk
Eibach at gdsys.de
Thu Mar 10 01:47:31 EST 2011
> Hi Dirk,
Hi Guenter,
> ...
> > +Each channel can be configured indvidually:
> > + - pga ist the programmable gain amplifier
> > + 0: FS = +/- 6.144 V
> > + 1: FS = +/- 4.096 V
> > + 2: FS = +/- 2.048 V (default)
> > + 3: FS = +/- 1.024 V
> > + 4: FS = +/- 0.512 V
> > + 5: FS = +/- 0.256 V
> > + - data_rate in samples per second
> > + 0: 128
> > + 1: 250
> > + 2: 490
> > + 3: 920
> > + 4: 1600
> > + 5: 2400
> > + 6: 3300
> > +
>
> I thought the data rate only applies for continuous mode,
> which you don't use.
> What does it do in single shot mode ?
It affects the sigma delta integration time and as a result the
conversion time.
> Thanks,
> Guenter
Cheers
Dirk
More information about the devicetree-discuss
mailing list