sysfs-bus-iio 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. What: /sys/bus/iio/devices/iio:deviceX
  2. KernelVersion: 2.6.35
  3. Contact: linux-iio@vger.kernel.org
  4. Description:
  5. Hardware chip or device accessed by one communication port.
  6. Corresponds to a grouping of sensor channels. X is the IIO
  7. index of the device.
  8. What: /sys/bus/iio/devices/triggerX
  9. KernelVersion: 2.6.35
  10. Contact: linux-iio@vger.kernel.org
  11. Description:
  12. An event driven driver of data capture to an in kernel buffer.
  13. May be provided by a device driver that also has an IIO device
  14. based on hardware generated events (e.g. data ready) or
  15. provided by a separate driver for other hardware (e.g.
  16. periodic timer, GPIO or high resolution timer).
  17. Contains trigger type specific elements. These do not
  18. generalize well and hence are not documented in this file.
  19. X is the IIO index of the trigger.
  20. What: /sys/bus/iio/devices/iio:deviceX/buffer
  21. KernelVersion: 2.6.35
  22. Contact: linux-iio@vger.kernel.org
  23. Description:
  24. Directory of attributes relating to the buffer for the device.
  25. What: /sys/bus/iio/devices/iio:deviceX/name
  26. KernelVersion: 2.6.35
  27. Contact: linux-iio@vger.kernel.org
  28. Description:
  29. Description of the physical chip / device for device X.
  30. Typically a part number.
  31. What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
  32. What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
  33. What: /sys/bus/iio/devices/triggerX/sampling_frequency
  34. KernelVersion: 2.6.35
  35. Contact: linux-iio@vger.kernel.org
  36. Description:
  37. Some devices have internal clocks. This parameter sets the
  38. resulting sampling frequency. In many devices this
  39. parameter has an effect on input filters etc. rather than
  40. simply controlling when the input is sampled. As this
  41. effects data ready triggers, hardware buffers and the sysfs
  42. direct access interfaces, it may be found in any of the
  43. relevant directories. If it effects all of the above
  44. then it is to be found in the base device directory.
  45. What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
  46. What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
  47. What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
  48. KernelVersion: 2.6.35
  49. Contact: linux-iio@vger.kernel.org
  50. Description:
  51. When the internal sampling clock can only take a small
  52. discrete set of values, this file lists those available.
  53. What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
  54. KernelVersion: 2.6.38
  55. Contact: linux-iio@vger.kernel.org
  56. Description:
  57. Hardware dependent ADC oversampling. Controls the sampling ratio
  58. of the digital filter if available.
  59. What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
  60. KernelVersion: 2.6.38
  61. Contact: linux-iio@vger.kernel.org
  62. Description:
  63. Hardware dependent values supported by the oversampling filter.
  64. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
  65. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
  66. KernelVersion: 2.6.35
  67. Contact: linux-iio@vger.kernel.org
  68. Description:
  69. Raw (unscaled no bias removal etc.) voltage measurement from
  70. channel Y. In special cases where the channel does not
  71. correspond to externally available input one of the named
  72. versions may be used. The number must always be specified and
  73. unique to allow association with event codes. Units after
  74. application of scale and offset are millivolts.
  75. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
  76. KernelVersion: 2.6.35
  77. Contact: linux-iio@vger.kernel.org
  78. Description:
  79. Raw (unscaled) differential voltage measurement equivalent to
  80. channel Y - channel Z where these channel numbers apply to the
  81. physically equivalent inputs when non differential readings are
  82. separately available. In differential only parts, then all that
  83. is required is a consistent labeling. Units after application
  84. of scale and offset are millivolts.
  85. What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
  86. KernelVersion: 3.2
  87. Contact: linux-iio@vger.kernel.org
  88. Description:
  89. Raw capacitance measurement from channel Y. Units after
  90. application of scale and offset are nanofarads.
  91. What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
  92. KernelVersion: 3.2
  93. Contact: linux-iio@vger.kernel.org
  94. Description:
  95. Raw differential capacitance measurement equivalent to
  96. channel Y - channel Z where these channel numbers apply to the
  97. physically equivalent inputs when non differential readings are
  98. separately available. In differential only parts, then all that
  99. is required is a consistent labeling. Units after application
  100. of scale and offset are nanofarads.
  101. What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
  102. What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
  103. What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
  104. What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
  105. What: /sys/bus/iio/devices/iio:deviceX/in_temp_z_raw
  106. KernelVersion: 2.6.35
  107. Contact: linux-iio@vger.kernel.org
  108. Description:
  109. Raw (unscaled no bias removal etc.) temperature measurement.
  110. If an axis is specified it generally means that the temperature
  111. sensor is associated with one part of a compound device (e.g.
  112. a gyroscope axis). Units after application of scale and offset
  113. are milli degrees Celsius.
  114. What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
  115. KernelVersion: 2.6.38
  116. Contact: linux-iio@vger.kernel.org
  117. Description:
  118. Scaled temperature measurement in milli degrees Celsius.
  119. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
  120. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
  121. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
  122. KernelVersion: 2.6.35
  123. Contact: linux-iio@vger.kernel.org
  124. Description:
  125. Acceleration in direction x, y or z (may be arbitrarily assigned
  126. but should match other such assignments on device).
  127. Has all of the equivalent parameters as per voltageY. Units
  128. after application of scale and offset are m/s^2.
  129. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
  130. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
  131. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
  132. KernelVersion: 2.6.35
  133. Contact: linux-iio@vger.kernel.org
  134. Description:
  135. Angular velocity about axis x, y or z (may be arbitrarily
  136. assigned). Has all the equivalent parameters as per voltageY.
  137. Units after application of scale and offset are radians per
  138. second.
  139. What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
  140. What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
  141. What: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
  142. KernelVersion: 2.6.35
  143. Contact: linux-iio@vger.kernel.org
  144. Description:
  145. Inclination raw reading about axis x, y or z (may be
  146. arbitrarily assigned). Data converted by application of offset
  147. and scale to degrees.
  148. What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
  149. What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
  150. What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
  151. KernelVersion: 2.6.35
  152. Contact: linux-iio@vger.kernel.org
  153. Description:
  154. Magnetic field along axis x, y or z (may be arbitrarily
  155. assigned). Data converted by application of offset
  156. then scale to Gauss.
  157. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
  158. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
  159. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
  160. KernelVersion: 2.6.36
  161. Contact: linux-iio@vger.kernel.org
  162. Description:
  163. Highest value since some reset condition. These
  164. attributes allow access to this and are otherwise
  165. the direct equivalent of the <type>Y[_name]_raw attributes.
  166. What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
  167. KernelVersion: 2.6.36
  168. Contact: linux-iio@vger.kernel.org
  169. Description:
  170. A computed peak value based on the sum squared magnitude of
  171. the underlying value in the specified directions.
  172. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
  173. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw
  174. KernelVersion: 3.8
  175. Contact: linux-iio@vger.kernel.org
  176. Description:
  177. Raw pressure measurement from channel Y. Units after
  178. application of scale and offset are kilopascal.
  179. What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
  180. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
  181. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
  182. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
  183. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
  184. What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
  185. What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
  186. What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
  187. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
  188. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
  189. KernelVersion: 2.6.35
  190. Contact: linux-iio@vger.kernel.org
  191. Description:
  192. If known for a device, offset to be added to <type>[Y]_raw prior
  193. to scaling by <type>[Y]_scale in order to obtain value in the
  194. <type> units as specified in <type>[Y]_raw documentation.
  195. Not present if the offset is always 0 or unknown. If Y or
  196. axis <x|y|z> is not present, then the offset applies to all
  197. in channels of <type>.
  198. May be writable if a variable offset can be applied on the
  199. device. Note that this is different to calibbias which
  200. is for devices (or drivers) that apply offsets to compensate
  201. for variation between different instances of the part, typically
  202. adjusted by using some hardware supported calibration procedure.
  203. Calibbias is applied internally, offset is applied in userspace
  204. to the _raw output.
  205. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
  206. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
  207. What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
  208. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
  209. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
  210. What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
  211. What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
  212. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
  213. What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
  214. What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
  215. What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
  216. What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
  217. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
  218. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
  219. KernelVersion: 2.6.35
  220. Contact: linux-iio@vger.kernel.org
  221. Description:
  222. If known for a device, scale to be applied to <type>Y[_name]_raw
  223. post addition of <type>[Y][_name]_offset in order to obtain the
  224. measured value in <type> units as specified in
  225. <type>[Y][_name]_raw documentation. If shared across all in
  226. channels then Y and <x|y|z> are not present and the value is
  227. called <type>[Y][_name]_scale. The peak modifier means this
  228. value is applied to <type>Y[_name]_peak_raw values.
  229. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
  230. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
  231. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
  232. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
  233. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
  234. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
  235. What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
  236. What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
  237. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
  238. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
  239. KernelVersion: 2.6.35
  240. Contact: linux-iio@vger.kernel.org
  241. Description:
  242. Hardware applied calibration offset (assumed to fix production
  243. inaccuracies).
  244. What /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
  245. What /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
  246. What /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
  247. What /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
  248. What /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
  249. What /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
  250. What /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
  251. What /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
  252. What /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
  253. what /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
  254. what /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
  255. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
  256. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
  257. KernelVersion: 2.6.35
  258. Contact: linux-iio@vger.kernel.org
  259. Description:
  260. Hardware applied calibration scale factor (assumed to fix
  261. production inaccuracies). If shared across all channels,
  262. <type>_calibscale is used.
  263. What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
  264. What: /sys/.../iio:deviceX/in_voltageX_scale_available
  265. What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
  266. What: /sys/.../iio:deviceX/out_voltageX_scale_available
  267. What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
  268. What: /sys/.../iio:deviceX/in_capacitance_scale_available
  269. What: /sys/.../iio:deviceX/in_pressure_scale_available
  270. What: /sys/.../iio:deviceX/in_pressureY_scale_available
  271. KernelVersion: 2.6.35
  272. Contact: linux-iio@vger.kernel.org
  273. Description:
  274. If a discrete set of scale values is available, they
  275. are listed in this attribute.
  276. What /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
  277. KernelVersion: 2.6.35
  278. Contact: linux-iio@vger.kernel.org
  279. Description:
  280. Hardware applied gain factor. If shared across all channels,
  281. <type>_hardwaregain is used.
  282. What: /sys/.../in_accel_filter_low_pass_3db_frequency
  283. What: /sys/.../in_magn_filter_low_pass_3db_frequency
  284. What: /sys/.../in_anglvel_filter_low_pass_3db_frequency
  285. KernelVersion: 3.2
  286. Contact: linux-iio@vger.kernel.org
  287. Description:
  288. If a known or controllable low pass filter is applied
  289. to the underlying data channel, then this parameter
  290. gives the 3dB frequency of the filter in Hz.
  291. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
  292. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
  293. KernelVersion: 2.6.37
  294. Contact: linux-iio@vger.kernel.org
  295. Description:
  296. Raw (unscaled, no bias etc.) output voltage for
  297. channel Y. The number must always be specified and
  298. unique if the output corresponds to a single channel.
  299. While DAC like devices typically use out_voltage,
  300. a continuous frequency generating device, such as
  301. a DDS or PLL should use out_altvoltage.
  302. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
  303. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
  304. KernelVersion: 2.6.37
  305. Contact: linux-iio@vger.kernel.org
  306. Description:
  307. Raw (unscaled, no bias etc.) output voltage for an aggregate of
  308. channel Y, channel Z, etc. This interface is available in cases
  309. where a single output sets the value for multiple channels
  310. simultaneously.
  311. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
  312. What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
  313. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
  314. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
  315. KernelVersion: 2.6.38
  316. Contact: linux-iio@vger.kernel.org
  317. Description:
  318. Specifies the output powerdown mode.
  319. DAC output stage is disconnected from the amplifier and
  320. 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
  321. 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
  322. 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
  323. 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
  324. 500kohm_to_gnd: connected to ground via a 500kOhm resistor,
  325. three_state: left floating.
  326. For a list of available output power down options read
  327. outX_powerdown_mode_available. If Y is not present the
  328. mode is shared across all outputs.
  329. What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
  330. What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
  331. What: /sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
  332. What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
  333. KernelVersion: 2.6.38
  334. Contact: linux-iio@vger.kernel.org
  335. Description:
  336. Lists all available output power down modes.
  337. If Y is not present the mode is shared across all outputs.
  338. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
  339. What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
  340. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
  341. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
  342. KernelVersion: 2.6.38
  343. Contact: linux-iio@vger.kernel.org
  344. Description:
  345. Writing 1 causes output Y to enter the power down mode specified
  346. by the corresponding outY_powerdown_mode. DAC output stage is
  347. disconnected from the amplifier. Clearing returns to normal
  348. operation. Y may be suppressed if all outputs are controlled
  349. together.
  350. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
  351. KernelVersion: 3.4.0
  352. Contact: linux-iio@vger.kernel.org
  353. Description:
  354. Output frequency for channel Y in Hz. The number must always be
  355. specified and unique if the output corresponds to a single
  356. channel.
  357. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
  358. KernelVersion: 3.4.0
  359. Contact: linux-iio@vger.kernel.org
  360. Description:
  361. Phase in radians of one frequency/clock output Y
  362. (out_altvoltageY) relative to another frequency/clock output
  363. (out_altvoltageZ) of the device X. The number must always be
  364. specified and unique if the output corresponds to a single
  365. channel.
  366. What: /sys/bus/iio/devices/iio:deviceX/events
  367. KernelVersion: 2.6.35
  368. Contact: linux-iio@vger.kernel.org
  369. Description:
  370. Configuration of which hardware generated events are passed up
  371. to user-space.
  372. What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
  373. What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
  374. What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
  375. What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
  376. What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
  377. What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
  378. What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
  379. What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
  380. What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
  381. What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
  382. What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
  383. What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
  384. What: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
  385. What: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
  386. What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
  387. What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
  388. What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
  389. What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
  390. What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
  391. What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
  392. What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
  393. What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
  394. What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
  395. What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
  396. KernelVersion: 2.6.37
  397. Contact: linux-iio@vger.kernel.org
  398. Description:
  399. Event generated when channel passes a threshold in the specified
  400. (_rising|_falling) direction. If the direction is not specified,
  401. then either the device will report an event which ever direction
  402. a single threshold value is passed in (e.g.
  403. <type>[Y][_name]_<raw|input>_thresh_value) or
  404. <type>[Y][_name]_<raw|input>_thresh_rising_value and
  405. <type>[Y][_name]_<raw|input>_thresh_falling_value may take
  406. different values, but the device can only enable both thresholds
  407. or neither.
  408. Note the driver will assume the last p events requested are
  409. to be enabled where p is how many it supports (which may vary
  410. depending on the exact set requested. So if you want to be
  411. sure you have set what you think you have, check the contents of
  412. these attributes after everything is configured. Drivers may
  413. have to buffer any parameters so that they are consistent when
  414. a given event type is enabled at a future point (and not those for
  415. whatever event was previously enabled).
  416. What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
  417. What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
  418. What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
  419. What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
  420. What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
  421. What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
  422. What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
  423. What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
  424. What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
  425. What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
  426. What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
  427. What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
  428. What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
  429. What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
  430. What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
  431. What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
  432. What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
  433. What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
  434. What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
  435. What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
  436. What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
  437. What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
  438. What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
  439. What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
  440. KernelVersion: 2.6.37
  441. Contact: linux-iio@vger.kernel.org
  442. Description:
  443. Event generated when channel passes a threshold on the rate of
  444. change (1st differential) in the specified (_rising|_falling)
  445. direction. If the direction is not specified, then either the
  446. device will report an event which ever direction a single
  447. threshold value is passed in (e.g.
  448. <type>[Y][_name]_<raw|input>_roc_value) or
  449. <type>[Y][_name]_<raw|input>_roc_rising_value and
  450. <type>[Y][_name]_<raw|input>_roc_falling_value may take
  451. different values, but the device can only enable both rate of
  452. change thresholds or neither.
  453. Note the driver will assume the last p events requested are
  454. to be enabled where p is however many it supports (which may
  455. vary depending on the exact set requested. So if you want to be
  456. sure you have set what you think you have, check the contents of
  457. these attributes after everything is configured. Drivers may
  458. have to buffer any parameters so that they are consistent when
  459. a given event type is enabled a future point (and not those for
  460. whatever event was previously enabled).
  461. What: /sys/.../events/in_accel_x_raw_thresh_rising_value
  462. What: /sys/.../events/in_accel_x_raw_thresh_falling_value
  463. What: /sys/.../events/in_accel_y_raw_thresh_rising_value
  464. What: /sys/.../events/in_accel_y_raw_thresh_falling_value
  465. What: /sys/.../events/in_accel_z_raw_thresh_rising_value
  466. What: /sys/.../events/in_accel_z_raw_thresh_falling_value
  467. What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value
  468. What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value
  469. What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value
  470. What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value
  471. What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value
  472. What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value
  473. What: /sys/.../events/in_magn_x_raw_thresh_rising_value
  474. What: /sys/.../events/in_magn_x_raw_thresh_falling_value
  475. What: /sys/.../events/in_magn_y_raw_thresh_rising_value
  476. What: /sys/.../events/in_magn_y_raw_thresh_falling_value
  477. What: /sys/.../events/in_magn_z_raw_thresh_rising_value
  478. What: /sys/.../events/in_magn_z_raw_thresh_falling_value
  479. What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
  480. What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
  481. What: /sys/.../events/in_voltageY_raw_thresh_rising_value
  482. What: /sys/.../events/in_voltageY_raw_thresh_falling_value
  483. What: /sys/.../events/in_tempY_raw_thresh_rising_value
  484. What: /sys/.../events/in_tempY_raw_thresh_falling_value
  485. What: /sys/.../events/in_illuminance0_thresh_falling_value
  486. what: /sys/.../events/in_illuminance0_thresh_rising_value
  487. what: /sys/.../events/in_proximity0_thresh_falling_value
  488. what: /sys/.../events/in_proximity0_thresh_rising_value
  489. KernelVersion: 2.6.37
  490. Contact: linux-iio@vger.kernel.org
  491. Description:
  492. Specifies the value of threshold that the device is comparing
  493. against for the events enabled by
  494. <type>Y[_name]_thresh[_rising|falling]_en.
  495. If separate attributes exist for the two directions, but
  496. direction is not specified for this attribute, then a single
  497. threshold value applies to both directions.
  498. The raw or input element of the name indicates whether the
  499. value is in raw device units or in processed units (as _raw
  500. and _input do on sysfs direct channel read attributes).
  501. What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
  502. What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
  503. What: /sys/.../events/in_accel_x_thresh_either_hysteresis
  504. What: /sys/.../events/in_accel_y_thresh_rising_hysteresis
  505. What: /sys/.../events/in_accel_y_thresh_falling_hysteresis
  506. What: /sys/.../events/in_accel_y_thresh_either_hysteresis
  507. What: /sys/.../events/in_accel_z_thresh_rising_hysteresis
  508. What: /sys/.../events/in_accel_z_thresh_falling_hysteresis
  509. What: /sys/.../events/in_accel_z_thresh_either_hysteresis
  510. What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
  511. What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
  512. What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis
  513. What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
  514. What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
  515. What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis
  516. What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
  517. What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
  518. What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis
  519. What: /sys/.../events/in_magn_x_thresh_rising_hysteresis
  520. What: /sys/.../events/in_magn_x_thresh_falling_hysteresis
  521. What: /sys/.../events/in_magn_x_thresh_either_hysteresis
  522. What: /sys/.../events/in_magn_y_thresh_rising_hysteresis
  523. What: /sys/.../events/in_magn_y_thresh_falling_hysteresis
  524. What: /sys/.../events/in_magn_y_thresh_either_hysteresis
  525. What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
  526. What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
  527. What: /sys/.../events/in_magn_z_thresh_either_hysteresis
  528. What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
  529. What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
  530. What: /sys/.../events/in_voltageY_thresh_either_hysteresis
  531. What: /sys/.../events/in_tempY_thresh_rising_hysteresis
  532. What: /sys/.../events/in_tempY_thresh_falling_hysteresis
  533. What: /sys/.../events/in_tempY_thresh_either_hysteresis
  534. What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis
  535. what: /sys/.../events/in_illuminance0_thresh_rising_hysteresis
  536. what: /sys/.../events/in_illuminance0_thresh_either_hysteresis
  537. what: /sys/.../events/in_proximity0_thresh_falling_hysteresis
  538. what: /sys/.../events/in_proximity0_thresh_rising_hysteresis
  539. what: /sys/.../events/in_proximity0_thresh_either_hysteresis
  540. KernelVersion: 3.13
  541. Contact: linux-iio@vger.kernel.org
  542. Description:
  543. Specifies the hysteresis of threshold that the device is comparing
  544. against for the events enabled by
  545. <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
  546. If separate attributes exist for the two directions, but
  547. direction is not specified for this attribute, then a single
  548. hysteresis value applies to both directions.
  549. For falling events the hysteresis is added to the _value attribute for
  550. this event to get the upper threshold for when the event goes back to
  551. normal, for rising events the hysteresis is subtracted from the _value
  552. attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
  553. and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
  554. will get activated once in_voltage0_raw goes above 1200 and will become
  555. deactived again once the value falls below 1150.
  556. What: /sys/.../events/in_accel_x_raw_roc_rising_value
  557. What: /sys/.../events/in_accel_x_raw_roc_falling_value
  558. What: /sys/.../events/in_accel_y_raw_roc_rising_value
  559. What: /sys/.../events/in_accel_y_raw_roc_falling_value
  560. What: /sys/.../events/in_accel_z_raw_roc_rising_value
  561. What: /sys/.../events/in_accel_z_raw_roc_falling_value
  562. What: /sys/.../events/in_anglvel_x_raw_roc_rising_value
  563. What: /sys/.../events/in_anglvel_x_raw_roc_falling_value
  564. What: /sys/.../events/in_anglvel_y_raw_roc_rising_value
  565. What: /sys/.../events/in_anglvel_y_raw_roc_falling_value
  566. What: /sys/.../events/in_anglvel_z_raw_roc_rising_value
  567. What: /sys/.../events/in_anglvel_z_raw_roc_falling_value
  568. What: /sys/.../events/in_magn_x_raw_roc_rising_value
  569. What: /sys/.../events/in_magn_x_raw_roc_falling_value
  570. What: /sys/.../events/in_magn_y_raw_roc_rising_value
  571. What: /sys/.../events/in_magn_y_raw_roc_falling_value
  572. What: /sys/.../events/in_magn_z_raw_roc_rising_value
  573. What: /sys/.../events/in_magn_z_raw_roc_falling_value
  574. What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
  575. What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
  576. What: /sys/.../events/in_voltageY_raw_roc_rising_value
  577. What: /sys/.../events/in_voltageY_raw_roc_falling_value
  578. What: /sys/.../events/in_tempY_raw_roc_rising_value
  579. What: /sys/.../events/in_tempY_raw_roc_falling_value
  580. KernelVersion: 2.6.37
  581. Contact: linux-iio@vger.kernel.org
  582. Description:
  583. Specifies the value of rate of change threshold that the
  584. device is comparing against for the events enabled by
  585. <type>[Y][_name]_roc[_rising|falling]_en.
  586. If separate attributes exist for the two directions,
  587. but direction is not specified for this attribute,
  588. then a single threshold value applies to both directions.
  589. The raw or input element of the name indicates whether the
  590. value is in raw device units or in processed units (as _raw
  591. and _input do on sysfs direct channel read attributes).
  592. What: /sys/.../events/in_accel_x_thresh_rising_period
  593. What: /sys/.../events/in_accel_x_thresh_falling_period
  594. hat: /sys/.../events/in_accel_x_roc_rising_period
  595. What: /sys/.../events/in_accel_x_roc_falling_period
  596. What: /sys/.../events/in_accel_y_thresh_rising_period
  597. What: /sys/.../events/in_accel_y_thresh_falling_period
  598. What: /sys/.../events/in_accel_y_roc_rising_period
  599. What: /sys/.../events/in_accel_y_roc_falling_period
  600. What: /sys/.../events/in_accel_z_thresh_rising_period
  601. What: /sys/.../events/in_accel_z_thresh_falling_period
  602. What: /sys/.../events/in_accel_z_roc_rising_period
  603. What: /sys/.../events/in_accel_z_roc_falling_period
  604. What: /sys/.../events/in_anglvel_x_thresh_rising_period
  605. What: /sys/.../events/in_anglvel_x_thresh_falling_period
  606. What: /sys/.../events/in_anglvel_x_roc_rising_period
  607. What: /sys/.../events/in_anglvel_x_roc_falling_period
  608. What: /sys/.../events/in_anglvel_y_thresh_rising_period
  609. What: /sys/.../events/in_anglvel_y_thresh_falling_period
  610. What: /sys/.../events/in_anglvel_y_roc_rising_period
  611. What: /sys/.../events/in_anglvel_y_roc_falling_period
  612. What: /sys/.../events/in_anglvel_z_thresh_rising_period
  613. What: /sys/.../events/in_anglvel_z_thresh_falling_period
  614. What: /sys/.../events/in_anglvel_z_roc_rising_period
  615. What: /sys/.../events/in_anglvel_z_roc_falling_period
  616. What: /sys/.../events/in_magn_x_thresh_rising_period
  617. What: /sys/.../events/in_magn_x_thresh_falling_period
  618. What: /sys/.../events/in_magn_x_roc_rising_period
  619. What: /sys/.../events/in_magn_x_roc_falling_period
  620. What: /sys/.../events/in_magn_y_thresh_rising_period
  621. What: /sys/.../events/in_magn_y_thresh_falling_period
  622. What: /sys/.../events/in_magn_y_roc_rising_period
  623. What: /sys/.../events/in_magn_y_roc_falling_period
  624. What: /sys/.../events/in_magn_z_thresh_rising_period
  625. What: /sys/.../events/in_magn_z_thresh_falling_period
  626. What: /sys/.../events/in_magn_z_roc_rising_period
  627. What: /sys/.../events/in_magn_z_roc_falling_period
  628. What: /sys/.../events/in_voltageY_supply_thresh_rising_period
  629. What: /sys/.../events/in_voltageY_supply_thresh_falling_period
  630. What: /sys/.../events/in_voltageY_supply_roc_rising_period
  631. What: /sys/.../events/in_voltageY_supply_roc_falling_period
  632. What: /sys/.../events/in_voltageY_thresh_rising_period
  633. What: /sys/.../events/in_voltageY_thresh_falling_period
  634. What: /sys/.../events/in_voltageY_roc_rising_period
  635. What: /sys/.../events/in_voltageY_roc_falling_period
  636. What: /sys/.../events/in_tempY_thresh_rising_period
  637. What: /sys/.../events/in_tempY_thresh_falling_period
  638. What: /sys/.../events/in_tempY_roc_rising_period
  639. What: /sys/.../events/in_tempY_roc_falling_period
  640. What: /sys/.../events/in_accel_x&y&z_mag_falling_period
  641. What: /sys/.../events/in_intensity0_thresh_period
  642. What: /sys/.../events/in_proximity0_thresh_period
  643. KernelVersion: 2.6.37
  644. Contact: linux-iio@vger.kernel.org
  645. Description:
  646. Period of time (in seconds) for which the condition must be
  647. met before an event is generated. If direction is not
  648. specified then this period applies to both directions.
  649. What: /sys/.../iio:deviceX/events/in_accel_mag_en
  650. What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en
  651. What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en
  652. What: /sys/.../iio:deviceX/events/in_accel_x_mag_en
  653. What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
  654. What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
  655. What: /sys/.../iio:deviceX/events/in_accel_y_mag_en
  656. What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
  657. What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
  658. What: /sys/.../iio:deviceX/events/in_accel_z_mag_en
  659. What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
  660. What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
  661. What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
  662. What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
  663. KernelVersion: 2.6.37
  664. Contact: linux-iio@vger.kernel.org
  665. Description:
  666. Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
  667. magnitude of the channel is compared to the threshold, not its
  668. signed value.
  669. What: /sys/.../events/in_accel_raw_mag_value
  670. What: /sys/.../events/in_accel_x_raw_mag_rising_value
  671. What: /sys/.../events/in_accel_y_raw_mag_rising_value
  672. What: /sys/.../events/in_accel_z_raw_mag_rising_value
  673. KernelVersion: 2.6.37
  674. Contact: linux-iio@vger.kernel.org
  675. Description:
  676. The value to which the magnitude of the channel is compared. If
  677. number or direction is not specified, applies to all channels of
  678. this type.
  679. What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
  680. KernelVersion: 2.6.35
  681. Contact: linux-iio@vger.kernel.org
  682. Description:
  683. The name of the trigger source being used, as per string given
  684. in /sys/class/iio/triggerY/name.
  685. What: /sys/bus/iio/devices/iio:deviceX/buffer/length
  686. KernelVersion: 2.6.35
  687. Contact: linux-iio@vger.kernel.org
  688. Description:
  689. Number of scans contained by the buffer.
  690. What: /sys/bus/iio/devices/iio:deviceX/buffer/bytes_per_datum
  691. KernelVersion: 2.6.37
  692. Contact: linux-iio@vger.kernel.org
  693. Description:
  694. Bytes per scan. Due to alignment fun, the scan may be larger
  695. than implied directly by the scan_element parameters.
  696. What: /sys/bus/iio/devices/iio:deviceX/buffer/enable
  697. KernelVersion: 2.6.35
  698. Contact: linux-iio@vger.kernel.org
  699. Description:
  700. Actually start the buffer capture up. Will start trigger
  701. if first device and appropriate.
  702. What: /sys/bus/iio/devices/iio:deviceX/scan_elements
  703. KernelVersion: 2.6.37
  704. Contact: linux-iio@vger.kernel.org
  705. Description:
  706. Directory containing interfaces for elements that will be
  707. captured for a single triggered sample set in the buffer.
  708. What: /sys/.../iio:deviceX/scan_elements/in_accel_x_en
  709. What: /sys/.../iio:deviceX/scan_elements/in_accel_y_en
  710. What: /sys/.../iio:deviceX/scan_elements/in_accel_z_en
  711. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_en
  712. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_en
  713. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
  714. What: /sys/.../iio:deviceX/scan_elements/in_magn_x_en
  715. What: /sys/.../iio:deviceX/scan_elements/in_magn_y_en
  716. What: /sys/.../iio:deviceX/scan_elements/in_magn_z_en
  717. What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en
  718. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
  719. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en
  720. What: /sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
  721. What: /sys/.../iio:deviceX/scan_elements/in_incli_x_en
  722. What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en
  723. What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en
  724. What: /sys/.../iio:deviceX/scan_elements/in_pressure_en
  725. KernelVersion: 2.6.37
  726. Contact: linux-iio@vger.kernel.org
  727. Description:
  728. Scan element control for triggered data capture.
  729. What: /sys/.../iio:deviceX/scan_elements/in_accel_type
  730. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_type
  731. What: /sys/.../iio:deviceX/scan_elements/in_magn_type
  732. What: /sys/.../iio:deviceX/scan_elements/in_incli_type
  733. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_type
  734. What: /sys/.../iio:deviceX/scan_elements/in_voltage_type
  735. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
  736. What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type
  737. What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type
  738. What: /sys/.../iio:deviceX/scan_elements/in_pressure_type
  739. KernelVersion: 2.6.37
  740. Contact: linux-iio@vger.kernel.org
  741. Description:
  742. Description of the scan element data storage within the buffer
  743. and hence the form in which it is read from user-space.
  744. Form is [be|le]:[s|u]bits/storagebits[>>shift].
  745. be or le specifies big or little endian. s or u specifies if
  746. signed (2's complement) or unsigned. bits is the number of bits
  747. of data and storagebits is the space (after padding) that it
  748. occupies in the buffer. shift if specified, is the shift that
  749. needs to be applied prior to masking out unused bits. Some
  750. devices put their data in the middle of the transferred elements
  751. with additional information on both sides. Note that some
  752. devices will have additional information in the unused bits
  753. so to get a clean value, the bits value must be used to mask
  754. the buffer output value appropriately. The storagebits value
  755. also specifies the data alignment. So s48/64>>2 will be a
  756. signed 48 bit integer stored in a 64 bit location aligned to
  757. a 64 bit boundary. To obtain the clean value, shift right 2
  758. and apply a mask to zero the top 16 bits of the result.
  759. For other storage combinations this attribute will be extended
  760. appropriately.
  761. What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
  762. KernelVersion: 2.6.37
  763. Contact: linux-iio@vger.kernel.org
  764. Description:
  765. If the type parameter can take one of a small set of values,
  766. this attribute lists them.
  767. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_index
  768. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
  769. What: /sys/.../iio:deviceX/scan_elements/in_accel_x_index
  770. What: /sys/.../iio:deviceX/scan_elements/in_accel_y_index
  771. What: /sys/.../iio:deviceX/scan_elements/in_accel_z_index
  772. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_index
  773. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_index
  774. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
  775. What: /sys/.../iio:deviceX/scan_elements/in_magn_x_index
  776. What: /sys/.../iio:deviceX/scan_elements/in_magn_y_index
  777. What: /sys/.../iio:deviceX/scan_elements/in_magn_z_index
  778. What: /sys/.../iio:deviceX/scan_elements/in_incli_x_index
  779. What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index
  780. What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index
  781. What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index
  782. What: /sys/.../iio:deviceX/scan_elements/in_pressure_index
  783. KernelVersion: 2.6.37
  784. Contact: linux-iio@vger.kernel.org
  785. Description:
  786. A single positive integer specifying the position of this
  787. scan element in the buffer. Note these are not dependent on
  788. what is enabled and may not be contiguous. Thus for user-space
  789. to establish the full layout these must be used in conjunction
  790. with all _en attributes to establish which channels are present,
  791. and the relevant _type attributes to establish the data storage
  792. format.
  793. What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
  794. KernelVersion: 2.6.38
  795. Contact: linux-iio@vger.kernel.org
  796. Description:
  797. This attribute is used to read the amount of quadrature error
  798. present in the device at a given time.
  799. What: /sys/.../iio:deviceX/in_accelX_power_mode
  800. KernelVersion: 3.11
  801. Contact: linux-iio@vger.kernel.org
  802. Description:
  803. Specifies the chip power mode.
  804. low_noise: reduce noise level from ADC,
  805. low_power: enable low current consumption.
  806. For a list of available output power modes read
  807. in_accel_power_mode_available.
  808. What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
  809. KernelVersion: 3.4.0
  810. Contact: linux-iio@vger.kernel.org
  811. Description:
  812. Writing '1' stores the current device configuration into
  813. on-chip EEPROM. After power-up or chip reset the device will
  814. automatically load the saved configuration.
  815. What: /sys/.../iio:deviceX/in_intensity_red_integration_time
  816. What: /sys/.../iio:deviceX/in_intensity_green_integration_time
  817. What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
  818. What: /sys/.../iio:deviceX/in_intensity_clear_integration_time
  819. What: /sys/.../iio:deviceX/in_illuminance_integration_time
  820. KernelVersion: 3.12
  821. Contact: linux-iio@vger.kernel.org
  822. Description:
  823. This attribute is used to get/set the integration time in
  824. seconds.