Lines Matching +full:channel +full:- +full:use
4 .\" Redistribution and use in source and binary forms, with or without
19 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35 .Bd -ragged -offset indent
42 .Bd -literal -offset indent
60 .Va dev.ads111x.<unit>.<channel>.voltage
61 variable is accessed for a given channel, the driver switches the
62 chip's internal mux to choose the right input pins for that channel,
75 making either single-ended or differential measurements.
79 driver models that by creating a separate output channel for each of
82 the voltage variable for the channel number that corresponds the mux
86 When there is no channel config data, it creates all eight possible
96 or other external device, and use the driver's sysctl variables to
106 Channel numbers in these sysctl variables range from 0 through 7.
107 .Bl -tag -width indent
117 .It Va dev.ads111x.<unit>.<channel>.rate_index
118 Sets the sample rate for the channel.
123 measurement on the given channel.
125 Because measurements are always made in single-shot mode, think of
128 .It Va dev.ads111x.<unit>.<channel>.gain_index
129 Sets the programmable gain amplifier for the channel on devices
135 measurement on the given channel.
136 .It Va dev.ads111x.<unit>.<channel>.voltage
141 sysctl variables -- you must access it specifically by name, because
149 .Bl -column -compact -offset indent "XXXXXXXX" "XXXXXXXX"
170 .Bl -tag -width indent
173 .Bl -column -compact -offset indent ".Dq ti,ads1013" ".Dq ti,ads1113"
188 .Ss Example including channel configuration
189 .Bd -unfilled -offset indent
194 #address-cells = <1>;
195 #size-cells = <0>;
197 channel@6 {
202 channel@7 {
216 .Bl -tag -width indent
221 .It Va hint.ads111x.<unit>.<channel>.gain_index
223 .Va dev.ads111x.<unit>.<channel>.gain_index .
224 .It Va hint.ads111x.<unit>.<channel>.rate_index
226 .Va dev.ads111x.<unit>.<channel>.rate_index .