40
40
Description:
41
41
Some devices have internal clocks. This parameter sets the
42
42
resulting sampling frequency. In many devices this
43
- parameter has an effect on input filters etc rather than
43
+ parameter has an effect on input filters etc. rather than
44
44
simply controlling when the input is sampled. As this
45
- effects datardy triggers, hardware buffers and the sysfs
45
+ effects data ready triggers, hardware buffers and the sysfs
46
46
direct access interfaces, it may be found in any of the
47
47
relevant directories. If it effects all of the above
48
48
then it is to be found in the base device directory.
@@ -74,7 +74,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
74
74
KernelVersion: 2.6.35
75
75
76
76
Description:
77
- Raw (unscaled no bias removal etc) voltage measurement from
77
+ Raw (unscaled no bias removal etc. ) voltage measurement from
78
78
channel Y. In special cases where the channel does not
79
79
correspond to externally available input one of the named
80
80
versions may be used. The number must always be specified and
@@ -118,11 +118,11 @@ What: /sys/bus/iio/devices/iio:deviceX/in_temp_z_raw
118
118
KernelVersion: 2.6.35
119
119
120
120
Description:
121
- Raw (unscaled no bias removal etc) temperature measurement.
121
+ Raw (unscaled no bias removal etc. ) temperature measurement.
122
122
If an axis is specified it generally means that the temperature
123
123
sensor is associated with one part of a compound device (e.g.
124
124
a gyroscope axis). Units after application of scale and offset
125
- are milli degrees Celsuis .
125
+ are milli degrees Celsius .
126
126
127
127
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
128
128
KernelVersion: 2.6.38
@@ -148,10 +148,9 @@ KernelVersion: 2.6.35
148
148
149
149
Description:
150
150
Angular velocity about axis x, y or z (may be arbitrarily
151
- assigned) Data converted by application of offset then scale to
152
- radians per second. Has all the equivalent parameters as
153
- per voltageY. Units after application of scale and offset are
154
- radians per second.
151
+ assigned). Has all the equivalent parameters as per voltageY.
152
+ Units after application of scale and offset are radians per
153
+ second.
155
154
156
155
What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
157
156
What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
161
160
Description:
162
161
Inclination raw reading about axis x, y or z (may be
163
162
arbitrarily assigned). Data converted by application of offset
164
- and scale to Degrees .
163
+ and scale to degrees .
165
164
166
165
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
167
166
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
203
202
Description:
204
203
If known for a device, offset to be added to <type>[Y]_raw prior
205
204
to scaling by <type>[Y]_scale in order to obtain value in the
206
- <type> units as specified in <type>[y ]_raw documentation.
205
+ <type> units as specified in <type>[Y ]_raw documentation.
207
206
Not present if the offset is always 0 or unknown. If Y or
208
207
axis <x|y|z> is not present, then the offset applies to all
209
208
in channels of <type>.
@@ -219,6 +218,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
219
218
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
220
219
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
221
220
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
221
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
222
222
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
223
223
What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
224
224
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
@@ -248,7 +248,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
248
248
KernelVersion: 2.6.35
249
249
250
250
Description:
251
- Hardware applied calibration offset. (assumed to fix production
251
+ Hardware applied calibration offset (assumed to fix production
252
252
inaccuracies).
253
253
254
254
What /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
@@ -265,19 +265,20 @@ what /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
265
265
KernelVersion: 2.6.35
266
266
267
267
Description:
268
- Hardware applied calibration scale factor. (assumed to fix
268
+ Hardware applied calibration scale factor (assumed to fix
269
269
production inaccuracies). If shared across all channels,
270
270
<type>_calibscale is used.
271
271
272
272
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
273
273
What: /sys/.../iio:deviceX/in_voltageX_scale_available
274
274
What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
275
275
What: /sys/.../iio:deviceX/out_voltageX_scale_available
276
+ What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
276
277
What: /sys/.../iio:deviceX/in_capacitance_scale_available
277
- KernelVersion: 2.635
278
+ KernelVersion: 2.6.35
278
279
279
280
Description:
280
- If a discrete set of scale values are available, they
281
+ If a discrete set of scale values is available, they
281
282
are listed in this attribute.
282
283
283
284
What /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
@@ -298,14 +299,19 @@ Description:
298
299
gives the 3dB frequency of the filter in Hz.
299
300
300
301
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
302
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
301
303
KernelVersion: 2.6.37
302
304
303
305
Description:
304
306
Raw (unscaled, no bias etc.) output voltage for
305
307
channel Y. The number must always be specified and
306
308
unique if the output corresponds to a single channel.
309
+ While DAC like devices typically use out_voltage,
310
+ a continuous frequency generating device, such as
311
+ a DDS or PLL should use out_altvoltage.
307
312
308
313
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
314
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
309
315
KernelVersion: 2.6.37
310
316
311
317
Description:
@@ -316,20 +322,26 @@ Description:
316
322
317
323
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
318
324
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
325
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
326
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
319
327
KernelVersion: 2.6.38
320
328
321
329
Description:
322
330
Specifies the output powerdown mode.
323
331
DAC output stage is disconnected from the amplifier and
324
- 1kohm_to_gnd: connected to ground via an 1kOhm resistor
325
- 100kohm_to_gnd: connected to ground via an 100kOhm resistor
326
- three_state: left floating
332
+ 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
333
+ 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
334
+ 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
335
+ 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
336
+ three_state: left floating.
327
337
For a list of available output power down options read
328
338
outX_powerdown_mode_available. If Y is not present the
329
339
mode is shared across all outputs.
330
340
331
341
What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
332
342
What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
343
+ What: /sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
344
+ What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
333
345
KernelVersion: 2.6.38
334
346
335
347
Description:
@@ -338,13 +350,34 @@ Description:
338
350
339
351
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
340
352
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
353
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
354
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
341
355
KernelVersion: 2.6.38
342
356
343
357
Description:
344
358
Writing 1 causes output Y to enter the power down mode specified
345
- by the corresponding outY_powerdown_mode. Clearing returns to
346
- normal operation. Y may be suppressed if all outputs are
347
- controlled together.
359
+ by the corresponding outY_powerdown_mode. DAC output stage is
360
+ disconnected from the amplifier. Clearing returns to normal
361
+ operation. Y may be suppressed if all outputs are controlled
362
+ together.
363
+
364
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
365
+ KernelVersion: 3.4.0
366
+
367
+ Description:
368
+ Output frequency for channel Y in Hz. The number must always be
369
+ specified and unique if the output corresponds to a single
370
+ channel.
371
+
372
+ What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
373
+ KernelVersion: 3.4.0
374
+
375
+ Description:
376
+ Phase in radians of one frequency/clock output Y
377
+ (out_altvoltageY) relative to another frequency/clock output
378
+ (out_altvoltageZ) of the device X. The number must always be
379
+ specified and unique if the output corresponds to a single
380
+ channel.
348
381
349
382
What: /sys/bus/iio/devices/iio:deviceX/events
350
383
KernelVersion: 2.6.35
@@ -390,12 +423,12 @@ Description:
390
423
different values, but the device can only enable both thresholds
391
424
or neither.
392
425
Note the driver will assume the last p events requested are
393
- to be enabled where p is however many it supports (which may
394
- vary depending on the exact set requested. So if you want to be
426
+ to be enabled where p is how many it supports (which may vary
427
+ depending on the exact set requested. So if you want to be
395
428
sure you have set what you think you have, check the contents of
396
429
these attributes after everything is configured. Drivers may
397
430
have to buffer any parameters so that they are consistent when
398
- a given event type is enabled a future point (and not those for
431
+ a given event type is enabled at a future point (and not those for
399
432
whatever event was previously enabled).
400
433
401
434
What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
@@ -671,7 +704,7 @@ What: /sys/.../buffer/scan_elements/in_anglvel_type
671
704
What: /sys/.../buffer/scan_elements/in_magn_type
672
705
What: /sys/.../buffer/scan_elements/in_incli_type
673
706
What: /sys/.../buffer/scan_elements/in_voltageY_type
674
- What: /sys/.../buffer/scan_elements/in_voltage-in_type
707
+ What: /sys/.../buffer/scan_elements/in_voltage_type
675
708
What: /sys/.../buffer/scan_elements/in_voltageY_supply_type
676
709
What: /sys/.../buffer/scan_elements/in_timestamp_type
677
710
KernelVersion: 2.6.37
@@ -692,7 +725,7 @@ Description:
692
725
the buffer output value appropriately. The storagebits value
693
726
also specifies the data alignment. So s48/64>>2 will be a
694
727
signed 48 bit integer stored in a 64 bit location aligned to
695
- a a64 bit boundary. To obtain the clean value, shift right 2
728
+ a 64 bit boundary. To obtain the clean value, shift right 2
696
729
and apply a mask to zero the top 16 bits of the result.
697
730
For other storage combinations this attribute will be extended
698
731
appropriately.
0 commit comments