162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX 262306a36Sopenharmony_ciKernelVersion: 2.6.35 362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci Hardware chip or device accessed by one communication port. 662306a36Sopenharmony_ci Corresponds to a grouping of sensor channels. X is the IIO 762306a36Sopenharmony_ci index of the device. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/triggerX 1062306a36Sopenharmony_ciKernelVersion: 2.6.35 1162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 1262306a36Sopenharmony_ciDescription: 1362306a36Sopenharmony_ci An event driven driver of data capture to an in kernel buffer. 1462306a36Sopenharmony_ci May be provided by a device driver that also has an IIO device 1562306a36Sopenharmony_ci based on hardware generated events (e.g. data ready) or 1662306a36Sopenharmony_ci provided by a separate driver for other hardware (e.g. 1762306a36Sopenharmony_ci periodic timer, GPIO or high resolution timer). 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci Contains trigger type specific elements. These do not 2062306a36Sopenharmony_ci generalize well and hence are not documented in this file. 2162306a36Sopenharmony_ci X is the IIO index of the trigger. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer 2462306a36Sopenharmony_ciKernelVersion: 2.6.35 2562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 2662306a36Sopenharmony_ciDescription: 2762306a36Sopenharmony_ci Directory of attributes relating to the buffer for the device. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/name 3062306a36Sopenharmony_ciKernelVersion: 2.6.35 3162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 3262306a36Sopenharmony_ciDescription: 3362306a36Sopenharmony_ci Description of the physical chip / device for device X. 3462306a36Sopenharmony_ci Typically a part number. 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/label 3762306a36Sopenharmony_ciKernelVersion: 5.8 3862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 3962306a36Sopenharmony_ciDescription: 4062306a36Sopenharmony_ci Optional symbolic label for a device. 4162306a36Sopenharmony_ci This is useful for userspace to be able to better identify an 4262306a36Sopenharmony_ci individual device. 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci The contents of the label are free-form, but there are some 4562306a36Sopenharmony_ci standardized uses: 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci For proximity sensors which give the proximity (of a person) to 4862306a36Sopenharmony_ci a certain wlan or wwan antenna the following standardized labels 4962306a36Sopenharmony_ci are used: 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci * "proximity-wifi" 5262306a36Sopenharmony_ci * "proximity-lte" 5362306a36Sopenharmony_ci * "proximity-wifi-lte" 5462306a36Sopenharmony_ci * "proximity-wifi-left" 5562306a36Sopenharmony_ci * "proximity-wifi-right" 5662306a36Sopenharmony_ci 5762306a36Sopenharmony_ci These are used to indicate to userspace that these proximity 5862306a36Sopenharmony_ci sensors may be used to tune transmit power to ensure that 5962306a36Sopenharmony_ci Specific Absorption Rate (SAR) limits are honored. 6062306a36Sopenharmony_ci The "-left" and "-right" labels are for devices with multiple 6162306a36Sopenharmony_ci antennas. 6262306a36Sopenharmony_ci 6362306a36Sopenharmony_ci In some laptops/tablets the standardized proximity sensor labels 6462306a36Sopenharmony_ci instead indicate proximity to a specific part of the device: 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ci * "proximity-palmrest" indicates proximity to the keyboard's palmrest 6762306a36Sopenharmony_ci * "proximity-palmrest-left" indicates proximity to the left part of the palmrest 6862306a36Sopenharmony_ci * "proximity-palmrest-right" indicates proximity to the right part of the palmrest 6962306a36Sopenharmony_ci * "proximity-lap" indicates the device is being used on someone's lap 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci Note "proximity-lap" is special in that its value may be 7262306a36Sopenharmony_ci calculated by firmware from other sensor readings, rather then 7362306a36Sopenharmony_ci being a raw sensor reading. 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ci For accelerometers used in 2-in-1s with 360° (yoga-style) hinges, 7662306a36Sopenharmony_ci which have an accelerometer in both their base and their display, 7762306a36Sopenharmony_ci the following standardized labels are used: 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ci * "accel-base" 8062306a36Sopenharmony_ci * "accel-display" 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ci For devices where an accelerometer is housed in the swivel camera subassembly 8362306a36Sopenharmony_ci (for AR application), the following standardized label is used: 8462306a36Sopenharmony_ci 8562306a36Sopenharmony_ci * "accel-camera" 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock 8862306a36Sopenharmony_ciKernelVersion: 4.5 8962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 9062306a36Sopenharmony_ciDescription: 9162306a36Sopenharmony_ci String identifying current posix clock used to timestamp 9262306a36Sopenharmony_ci buffered samples and events for device X. 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/sampling_frequency 9562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency 9662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency 9762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/triggerX/sampling_frequency 9862306a36Sopenharmony_ciKernelVersion: 2.6.35 9962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 10062306a36Sopenharmony_ciDescription: 10162306a36Sopenharmony_ci Some devices have internal clocks. This parameter sets the 10262306a36Sopenharmony_ci resulting sampling frequency. In many devices this 10362306a36Sopenharmony_ci parameter has an effect on input filters etc. rather than 10462306a36Sopenharmony_ci simply controlling when the input is sampled. As this 10562306a36Sopenharmony_ci affects data ready triggers, hardware buffers and the sysfs 10662306a36Sopenharmony_ci direct access interfaces, it may be found in any of the 10762306a36Sopenharmony_ci relevant directories. If it affects all of the above 10862306a36Sopenharmony_ci then it is to be found in the base device directory. 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ci The stm32-timer-trigger has the additional characteristic that 11162306a36Sopenharmony_ci a sampling_frequency of 0 is defined to stop sampling. 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available 11462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available 11562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available 11662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/buffer/sampling_frequency_available 11762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/triggerX/sampling_frequency_available 11862306a36Sopenharmony_ciKernelVersion: 2.6.35 11962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 12062306a36Sopenharmony_ciDescription: 12162306a36Sopenharmony_ci When the internal sampling clock can only take a specific set of 12262306a36Sopenharmony_ci frequencies, we can specify the available values with: 12362306a36Sopenharmony_ci 12462306a36Sopenharmony_ci - a small discrete set of values like "0 2 4 6 8" 12562306a36Sopenharmony_ci - a range with minimum, step and maximum frequencies like 12662306a36Sopenharmony_ci "[min step max]" 12762306a36Sopenharmony_ci 12862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio 12962306a36Sopenharmony_ciKernelVersion: 2.6.38 13062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 13162306a36Sopenharmony_ciDescription: 13262306a36Sopenharmony_ci Hardware dependent ADC oversampling. Controls the sampling ratio 13362306a36Sopenharmony_ci of the digital filter if available. 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available 13662306a36Sopenharmony_ciKernelVersion: 2.6.38 13762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 13862306a36Sopenharmony_ciDescription: 13962306a36Sopenharmony_ci Hardware dependent values supported by the oversampling filter. 14062306a36Sopenharmony_ci 14162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw 14262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw 14362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw 14462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw 14562306a36Sopenharmony_ciKernelVersion: 2.6.35 14662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 14762306a36Sopenharmony_ciDescription: 14862306a36Sopenharmony_ci Raw (unscaled no bias removal etc.) voltage measurement from 14962306a36Sopenharmony_ci channel Y. In special cases where the channel does not 15062306a36Sopenharmony_ci correspond to externally available input one of the named 15162306a36Sopenharmony_ci versions may be used. The number must always be specified and 15262306a36Sopenharmony_ci unique to allow association with event codes. Units after 15362306a36Sopenharmony_ci application of scale and offset are millivolts. 15462306a36Sopenharmony_ci 15562306a36Sopenharmony_ci Channels with 'i' and 'q' modifiers always exist in pairs and both 15662306a36Sopenharmony_ci channels refer to the same signal. The 'i' channel contains the in-phase 15762306a36Sopenharmony_ci component of the signal while the 'q' channel contains the quadrature 15862306a36Sopenharmony_ci component. 15962306a36Sopenharmony_ci 16062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw 16162306a36Sopenharmony_ciKernelVersion: 2.6.35 16262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 16362306a36Sopenharmony_ciDescription: 16462306a36Sopenharmony_ci Raw (unscaled) differential voltage measurement equivalent to 16562306a36Sopenharmony_ci channel Y - channel Z where these channel numbers apply to the 16662306a36Sopenharmony_ci physically equivalent inputs when non differential readings are 16762306a36Sopenharmony_ci separately available. In differential only parts, then all that 16862306a36Sopenharmony_ci is required is a consistent labeling. Units after application 16962306a36Sopenharmony_ci of scale and offset are millivolts. 17062306a36Sopenharmony_ci 17162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw 17262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw 17362306a36Sopenharmony_ciKernelVersion: 3.17 17462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 17562306a36Sopenharmony_ciDescription: 17662306a36Sopenharmony_ci Raw (unscaled no bias removal etc.) current measurement from 17762306a36Sopenharmony_ci channel Y. In special cases where the channel does not 17862306a36Sopenharmony_ci correspond to externally available input one of the named 17962306a36Sopenharmony_ci versions may be used. The number must always be specified and 18062306a36Sopenharmony_ci unique to allow association with event codes. Units after 18162306a36Sopenharmony_ci application of scale and offset are milliamps. 18262306a36Sopenharmony_ci 18362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw 18462306a36Sopenharmony_ciKernelVersion: 4.5 18562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 18662306a36Sopenharmony_ciDescription: 18762306a36Sopenharmony_ci Raw (unscaled no bias removal etc.) power measurement from 18862306a36Sopenharmony_ci channel Y. The number must always be specified and 18962306a36Sopenharmony_ci unique to allow association with event codes. Units after 19062306a36Sopenharmony_ci application of scale and offset are milliwatts. 19162306a36Sopenharmony_ci 19262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw 19362306a36Sopenharmony_ciKernelVersion: 3.2 19462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 19562306a36Sopenharmony_ciDescription: 19662306a36Sopenharmony_ci Raw capacitance measurement from channel Y. Units after 19762306a36Sopenharmony_ci application of scale and offset are nanofarads. 19862306a36Sopenharmony_ci 19962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw 20062306a36Sopenharmony_ciKernelVersion: 3.2 20162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 20262306a36Sopenharmony_ciDescription: 20362306a36Sopenharmony_ci Raw differential capacitance measurement equivalent to 20462306a36Sopenharmony_ci channel Y - channel Z where these channel numbers apply to the 20562306a36Sopenharmony_ci physically equivalent inputs when non differential readings are 20662306a36Sopenharmony_ci separately available. In differential only parts, then all that 20762306a36Sopenharmony_ci is required is a consistent labeling. Units after application 20862306a36Sopenharmony_ci of scale and offset are nanofarads. 20962306a36Sopenharmony_ci 21062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint 21162306a36Sopenharmony_ciKernelVersion: 6.1 21262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 21362306a36Sopenharmony_ciDescription: 21462306a36Sopenharmony_ci For differential channels, this an offset that is applied 21562306a36Sopenharmony_ci equally to both inputs. As the reading is of the difference 21662306a36Sopenharmony_ci between the two inputs, this should not be applied to the _raw 21762306a36Sopenharmony_ci reading by userspace (unlike _offset) and unlike calibbias 21862306a36Sopenharmony_ci it does not affect the differential value measured because 21962306a36Sopenharmony_ci the effect of _zeropoint cancels out across the two inputs 22062306a36Sopenharmony_ci that make up the differential pair. It's purpose is to bring 22162306a36Sopenharmony_ci the individual signals, before the differential is measured, 22262306a36Sopenharmony_ci within the measurement range of the device. The naming is 22362306a36Sopenharmony_ci chosen because if the separate inputs that make the 22462306a36Sopenharmony_ci differential pair are drawn on a graph in their 22562306a36Sopenharmony_ci _raw units, this is the value that the zero point on the 22662306a36Sopenharmony_ci measurement axis represents. It is expressed with the 22762306a36Sopenharmony_ci same scaling as _raw. 22862306a36Sopenharmony_ci 22962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_raw 23062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw 23162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw 23262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw 23362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw 23462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw 23562306a36Sopenharmony_ciKernelVersion: 2.6.35 23662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 23762306a36Sopenharmony_ciDescription: 23862306a36Sopenharmony_ci Raw (unscaled no bias removal etc.) temperature measurement. 23962306a36Sopenharmony_ci If an axis is specified it generally means that the temperature 24062306a36Sopenharmony_ci sensor is associated with one part of a compound device (e.g. 24162306a36Sopenharmony_ci a gyroscope axis). The ambient and object modifiers distinguish 24262306a36Sopenharmony_ci between ambient (reference) and distant temperature for contact- 24362306a36Sopenharmony_ci less measurements. Units after application of scale and offset 24462306a36Sopenharmony_ci are milli degrees Celsius. 24562306a36Sopenharmony_ci 24662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_tempX_input 24762306a36Sopenharmony_ciKernelVersion: 2.6.38 24862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 24962306a36Sopenharmony_ciDescription: 25062306a36Sopenharmony_ci Scaled temperature measurement in milli degrees Celsius. 25162306a36Sopenharmony_ci 25262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw 25362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw 25462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw 25562306a36Sopenharmony_ciKernelVersion: 2.6.35 25662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 25762306a36Sopenharmony_ciDescription: 25862306a36Sopenharmony_ci Acceleration in direction x, y or z (may be arbitrarily assigned 25962306a36Sopenharmony_ci but should match other such assignments on device). 26062306a36Sopenharmony_ci Has all of the equivalent parameters as per voltageY. Units 26162306a36Sopenharmony_ci after application of scale and offset are m/s^2. 26262306a36Sopenharmony_ci 26362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw 26462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw 26562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw 26662306a36Sopenharmony_ciKernelVersion: 6.1 26762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 26862306a36Sopenharmony_ciDescription: 26962306a36Sopenharmony_ci As per in_accel_X_raw attributes, but minus the 27062306a36Sopenharmony_ci acceleration due to gravity. 27162306a36Sopenharmony_ci 27262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw 27362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw 27462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw 27562306a36Sopenharmony_ciKernelVersion: 4.11 27662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 27762306a36Sopenharmony_ciDescription: 27862306a36Sopenharmony_ci Gravity in direction x, y or z (may be arbitrarily assigned 27962306a36Sopenharmony_ci but should match other such assignments on device). 28062306a36Sopenharmony_ci Units after application of scale and offset are m/s^2. 28162306a36Sopenharmony_ci 28262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_angl_raw 28362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw 28462306a36Sopenharmony_ciKernelVersion: 4.17 28562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 28662306a36Sopenharmony_ciDescription: 28762306a36Sopenharmony_ci Angle of rotation. Units after application of scale and offset 28862306a36Sopenharmony_ci are radians. 28962306a36Sopenharmony_ci 29062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw 29162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw 29262306a36Sopenharmony_ciKernelVersion: 4.19 29362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 29462306a36Sopenharmony_ciDescription: 29562306a36Sopenharmony_ci Relative position in direction x or y on a pad (may be 29662306a36Sopenharmony_ci arbitrarily assigned but should match other such assignments on 29762306a36Sopenharmony_ci device). 29862306a36Sopenharmony_ci Units after application of scale and offset are milli percents 29962306a36Sopenharmony_ci from the pad's size in both directions. Should be calibrated by 30062306a36Sopenharmony_ci the consumer. 30162306a36Sopenharmony_ci 30262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw 30362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw 30462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw 30562306a36Sopenharmony_ciKernelVersion: 2.6.35 30662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 30762306a36Sopenharmony_ciDescription: 30862306a36Sopenharmony_ci Angular velocity about axis x, y or z (may be arbitrarily 30962306a36Sopenharmony_ci assigned). Has all the equivalent parameters as per voltageY. 31062306a36Sopenharmony_ci Units after application of scale and offset are radians per 31162306a36Sopenharmony_ci second. 31262306a36Sopenharmony_ci 31362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw 31462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw 31562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw 31662306a36Sopenharmony_ciKernelVersion: 2.6.35 31762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 31862306a36Sopenharmony_ciDescription: 31962306a36Sopenharmony_ci Inclination raw reading about axis x, y or z (may be 32062306a36Sopenharmony_ci arbitrarily assigned). Data converted by application of offset 32162306a36Sopenharmony_ci and scale to degrees. 32262306a36Sopenharmony_ci 32362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw 32462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw 32562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw 32662306a36Sopenharmony_ciKernelVersion: 2.6.35 32762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 32862306a36Sopenharmony_ciDescription: 32962306a36Sopenharmony_ci Magnetic field along axis x, y or z (may be arbitrarily 33062306a36Sopenharmony_ci assigned). Data converted by application of offset 33162306a36Sopenharmony_ci then scale to Gauss. 33262306a36Sopenharmony_ci 33362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw 33462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw 33562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw 33662306a36Sopenharmony_ciKernelVersion: 2.6.36 33762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 33862306a36Sopenharmony_ciDescription: 33962306a36Sopenharmony_ci Highest value since some reset condition. These 34062306a36Sopenharmony_ci attributes allow access to this and are otherwise 34162306a36Sopenharmony_ci the direct equivalent of the <type>Y[_name]_raw attributes. 34262306a36Sopenharmony_ci 34362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw 34462306a36Sopenharmony_ciKernelVersion: 2.6.36 34562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 34662306a36Sopenharmony_ciDescription: 34762306a36Sopenharmony_ci A computed peak value based on the sum squared magnitude of 34862306a36Sopenharmony_ci the underlying value in the specified directions. 34962306a36Sopenharmony_ci 35062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw 35162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw 35262306a36Sopenharmony_ciKernelVersion: 3.8 35362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 35462306a36Sopenharmony_ciDescription: 35562306a36Sopenharmony_ci Raw pressure measurement from channel Y. Units after 35662306a36Sopenharmony_ci application of scale and offset are kilopascal. 35762306a36Sopenharmony_ci 35862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input 35962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressure_input 36062306a36Sopenharmony_ciKernelVersion: 3.8 36162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 36262306a36Sopenharmony_ciDescription: 36362306a36Sopenharmony_ci Scaled pressure measurement from channel Y, in kilopascal. 36462306a36Sopenharmony_ci 36562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw 36662306a36Sopenharmony_ciKernelVersion: 3.14 36762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 36862306a36Sopenharmony_ciDescription: 36962306a36Sopenharmony_ci Raw humidity measurement of air. Units after application of 37062306a36Sopenharmony_ci scale and offset are milli percent. 37162306a36Sopenharmony_ci 37262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input 37362306a36Sopenharmony_ciKernelVersion: 3.14 37462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 37562306a36Sopenharmony_ciDescription: 37662306a36Sopenharmony_ci Scaled humidity measurement in milli percent. 37762306a36Sopenharmony_ci 37862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw 37962306a36Sopenharmony_ciKernelVersion: 3.5 38062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 38162306a36Sopenharmony_ciDescription: 38262306a36Sopenharmony_ci Averaged raw measurement from channel X. The number of values 38362306a36Sopenharmony_ci used for averaging is device specific. The converting rules for 38462306a36Sopenharmony_ci normal raw values also applies to the averaged raw values. 38562306a36Sopenharmony_ci 38662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_offset 38762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset 38862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset 38962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset 39062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset 39162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset 39262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset 39362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset 39462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset 39562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset 39662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset 39762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_current_offset 39862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset 39962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset 40062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_current_q_offset 40162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_current_i_offset 40262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset 40362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_offset 40462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset 40562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset 40662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset 40762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_offset 40862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_offset 40962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_angl_offset 41062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_offset 41162306a36Sopenharmony_ciKernelVersion: 2.6.35 41262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 41362306a36Sopenharmony_ciDescription: 41462306a36Sopenharmony_ci If known for a device, offset to be added to <type>[Y]_raw prior 41562306a36Sopenharmony_ci to scaling by <type>[Y]_scale in order to obtain value in the 41662306a36Sopenharmony_ci <type> units as specified in <type>[Y]_raw documentation. 41762306a36Sopenharmony_ci Not present if the offset is always 0 or unknown. If Y or 41862306a36Sopenharmony_ci axis <x|y|z> is not present, then the offset applies to all 41962306a36Sopenharmony_ci in channels of <type>. 42062306a36Sopenharmony_ci May be writable if a variable offset can be applied on the 42162306a36Sopenharmony_ci device. Note that this is different to calibbias which 42262306a36Sopenharmony_ci is for devices (or drivers) that apply offsets to compensate 42362306a36Sopenharmony_ci for variation between different instances of the part, typically 42462306a36Sopenharmony_ci adjusted by using some hardware supported calibration procedure. 42562306a36Sopenharmony_ci Calibbias is applied internally, offset is applied in userspace 42662306a36Sopenharmony_ci to the _raw output. 42762306a36Sopenharmony_ci 42862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale 42962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale 43062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale 43162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale 43262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale 43362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale 43462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale 43562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale 43662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale 43762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale 43862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale 43962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale 44062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_current_scale 44162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale 44262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale 44362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_current_i_scale 44462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale 44562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_scale 44662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale 44762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale 44862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_energy_scale 44962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_distance_scale 45062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_scale 45162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale 45262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale 45362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale 45462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale 45562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale 45662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale 45762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale 45862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale 45962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale 46062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale 46162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale 46262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale 46362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_countY_scale 46462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_angl_scale 46562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale 46662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale 46762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale 46862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale 46962306a36Sopenharmony_ciKernelVersion: 2.6.35 47062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 47162306a36Sopenharmony_ciDescription: 47262306a36Sopenharmony_ci If known for a device, scale to be applied to <type>Y[_name]_raw 47362306a36Sopenharmony_ci post addition of <type>[Y][_name]_offset in order to obtain the 47462306a36Sopenharmony_ci measured value in <type> units as specified in 47562306a36Sopenharmony_ci <type>[Y][_name]_raw documentation. If shared across all in 47662306a36Sopenharmony_ci channels then Y and <x|y|z> are not present and the value is 47762306a36Sopenharmony_ci called <type>[Y][_name]_scale. The peak modifier means this 47862306a36Sopenharmony_ci value is applied to <type>Y[_name]_peak_raw values. 47962306a36Sopenharmony_ci 48062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias 48162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias 48262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias 48362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias 48462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias 48562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias 48662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias 48762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias 48862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias 48962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias 49062306a36Sopenharmony_ciKernelVersion: 2.6.35 49162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 49262306a36Sopenharmony_ciDescription: 49362306a36Sopenharmony_ci Hardware applied calibration offset (assumed to fix production 49462306a36Sopenharmony_ci inaccuracies). 49562306a36Sopenharmony_ci icm42600: For this device values are real physical offsets 49662306a36Sopenharmony_ci expressed in SI units (m/s^2 for accelerometers and rad/s 49762306a36Sopenharmony_ci for gyroscope)/ 49862306a36Sopenharmony_ci 49962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available 50062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available 50162306a36Sopenharmony_ciKernelVersion: 5.8 50262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 50362306a36Sopenharmony_ciDescription: 50462306a36Sopenharmony_ci Available values of calibbias. Maybe expressed as either of: 50562306a36Sopenharmony_ci 50662306a36Sopenharmony_ci - a small discrete set of values like "0 2 4 6 8" 50762306a36Sopenharmony_ci - a range specified as "[min step max]" 50862306a36Sopenharmony_ci 50962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale 51062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale 51162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale 51262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale 51362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale 51462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale 51562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale 51662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale 51762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale 51862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale 51962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale 52062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale 52162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale 52262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale 52362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale 52462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale 52562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale 52662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale 52762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale 52862306a36Sopenharmony_ciKernelVersion: 2.6.35 52962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 53062306a36Sopenharmony_ciDescription: 53162306a36Sopenharmony_ci Hardware applied calibration scale factor (assumed to fix 53262306a36Sopenharmony_ci production inaccuracies). If shared across all channels, 53362306a36Sopenharmony_ci <type>_calibscale is used. 53462306a36Sopenharmony_ci 53562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender 53662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender 53762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender 53862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender 53962306a36Sopenharmony_ciKernelVersion: 4.0 54062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 54162306a36Sopenharmony_ciDescription: 54262306a36Sopenharmony_ci Gender of the user (e.g.: male, female) used by some pedometers 54362306a36Sopenharmony_ci to compute the stride length, distance, speed and activity 54462306a36Sopenharmony_ci type. 54562306a36Sopenharmony_ci 54662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available 54762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available 54862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available 54962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available 55062306a36Sopenharmony_ciKernelVersion: 4.0 55162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 55262306a36Sopenharmony_ciDescription: 55362306a36Sopenharmony_ci Lists all available gender values (e.g.: male, female). 55462306a36Sopenharmony_ci 55562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight 55662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight 55762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight 55862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight 55962306a36Sopenharmony_ciKernelVersion: 3.19 56062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 56162306a36Sopenharmony_ciDescription: 56262306a36Sopenharmony_ci Height of the user (in meters) used by some pedometers 56362306a36Sopenharmony_ci to compute the stride length, distance, speed and activity 56462306a36Sopenharmony_ci type. 56562306a36Sopenharmony_ci 56662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight 56762306a36Sopenharmony_ciKernelVersion: 4.0 56862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 56962306a36Sopenharmony_ciDescription: 57062306a36Sopenharmony_ci Weight of the user (in kg). It is needed by some pedometers 57162306a36Sopenharmony_ci to compute the calories burnt by the user. 57262306a36Sopenharmony_ci 57362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available 57462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_anglvel_scale_available 57562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_magn_scale_available 57662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminance_scale_available 57762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensity_scale_available 57862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_proximity_scale_available 57962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_voltageX_scale_available 58062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_voltage-voltage_scale_available 58162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/out_voltageX_scale_available 58262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/out_altvoltageX_scale_available 58362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_capacitance_scale_available 58462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_pressure_scale_available 58562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_pressureY_scale_available 58662306a36Sopenharmony_ciKernelVersion: 2.6.35 58762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 58862306a36Sopenharmony_ciDescription: 58962306a36Sopenharmony_ci If a discrete set of scale values is available, they 59062306a36Sopenharmony_ci are listed in this attribute. 59162306a36Sopenharmony_ci 59262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain 59362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain 59462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain 59562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain 59662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain 59762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain 59862306a36Sopenharmony_ciKernelVersion: 2.6.35 59962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 60062306a36Sopenharmony_ciDescription: 60162306a36Sopenharmony_ci Hardware applied gain factor. If shared across all channels, 60262306a36Sopenharmony_ci <type>_hardwaregain is used. 60362306a36Sopenharmony_ci 60462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available 60562306a36Sopenharmony_ciKernelVersion: 5.10 60662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 60762306a36Sopenharmony_ciDescription: 60862306a36Sopenharmony_ci Lists all available hardware applied gain factors. Shared across all 60962306a36Sopenharmony_ci channels. 61062306a36Sopenharmony_ci 61162306a36Sopenharmony_ciWhat: /sys/.../in_accel_filter_low_pass_3db_frequency 61262306a36Sopenharmony_ciWhat: /sys/.../in_magn_filter_low_pass_3db_frequency 61362306a36Sopenharmony_ciWhat: /sys/.../in_anglvel_filter_low_pass_3db_frequency 61462306a36Sopenharmony_ciKernelVersion: 3.2 61562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 61662306a36Sopenharmony_ciDescription: 61762306a36Sopenharmony_ci If a known or controllable low pass filter is applied 61862306a36Sopenharmony_ci to the underlying data channel, then this parameter 61962306a36Sopenharmony_ci gives the 3dB frequency of the filter in Hz. 62062306a36Sopenharmony_ci 62162306a36Sopenharmony_ciWhat: /sys/.../in_accel_filter_high_pass_3db_frequency 62262306a36Sopenharmony_ciWhat: /sys/.../in_anglvel_filter_high_pass_3db_frequency 62362306a36Sopenharmony_ciWhat: /sys/.../in_magn_filter_high_pass_3db_frequency 62462306a36Sopenharmony_ciKernelVersion: 4.2 62562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 62662306a36Sopenharmony_ciDescription: 62762306a36Sopenharmony_ci If a known or controllable high pass filter is applied 62862306a36Sopenharmony_ci to the underlying data channel, then this parameter 62962306a36Sopenharmony_ci gives the 3dB frequency of the filter in Hz. 63062306a36Sopenharmony_ci 63162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw 63262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw 63362306a36Sopenharmony_ciKernelVersion: 2.6.37 63462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 63562306a36Sopenharmony_ciDescription: 63662306a36Sopenharmony_ci Raw (unscaled, no bias etc.) output voltage for 63762306a36Sopenharmony_ci channel Y. The number must always be specified and 63862306a36Sopenharmony_ci unique if the output corresponds to a single channel. 63962306a36Sopenharmony_ci While DAC like devices typically use out_voltage, 64062306a36Sopenharmony_ci a continuous frequency generating device, such as 64162306a36Sopenharmony_ci a DDS or PLL should use out_altvoltage. 64262306a36Sopenharmony_ci 64362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw 64462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw 64562306a36Sopenharmony_ciKernelVersion: 2.6.37 64662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 64762306a36Sopenharmony_ciDescription: 64862306a36Sopenharmony_ci Raw (unscaled, no bias etc.) output voltage for an aggregate of 64962306a36Sopenharmony_ci channel Y, channel Z, etc. This interface is available in cases 65062306a36Sopenharmony_ci where a single output sets the value for multiple channels 65162306a36Sopenharmony_ci simultaneously. 65262306a36Sopenharmony_ci 65362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode 65462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode 65562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode 65662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode 65762306a36Sopenharmony_ciKernelVersion: 2.6.38 65862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 65962306a36Sopenharmony_ciDescription: 66062306a36Sopenharmony_ci Specifies the output powerdown mode. 66162306a36Sopenharmony_ci DAC output stage is disconnected from the amplifier and 66262306a36Sopenharmony_ci 1kohm_to_gnd: connected to ground via an 1kOhm resistor, 66362306a36Sopenharmony_ci 2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor, 66462306a36Sopenharmony_ci 6kohm_to_gnd: connected to ground via a 6kOhm resistor, 66562306a36Sopenharmony_ci 20kohm_to_gnd: connected to ground via a 20kOhm resistor, 66662306a36Sopenharmony_ci 90kohm_to_gnd: connected to ground via a 90kOhm resistor, 66762306a36Sopenharmony_ci 100kohm_to_gnd: connected to ground via an 100kOhm resistor, 66862306a36Sopenharmony_ci 125kohm_to_gnd: connected to ground via an 125kOhm resistor, 66962306a36Sopenharmony_ci 500kohm_to_gnd: connected to ground via a 500kOhm resistor, 67062306a36Sopenharmony_ci 640kohm_to_gnd: connected to ground via a 640kOhm resistor, 67162306a36Sopenharmony_ci three_state: left floating. 67262306a36Sopenharmony_ci For a list of available output power down options read 67362306a36Sopenharmony_ci outX_powerdown_mode_available. If Y is not present the 67462306a36Sopenharmony_ci mode is shared across all outputs. 67562306a36Sopenharmony_ci 67662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available 67762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available 67862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available 67962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available 68062306a36Sopenharmony_ciKernelVersion: 2.6.38 68162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 68262306a36Sopenharmony_ciDescription: 68362306a36Sopenharmony_ci Lists all available output power down modes. 68462306a36Sopenharmony_ci If Y is not present the mode is shared across all outputs. 68562306a36Sopenharmony_ci 68662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown 68762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown 68862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown 68962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown 69062306a36Sopenharmony_ciKernelVersion: 2.6.38 69162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 69262306a36Sopenharmony_ciDescription: 69362306a36Sopenharmony_ci Writing 1 causes output Y to enter the power down mode specified 69462306a36Sopenharmony_ci by the corresponding outY_powerdown_mode. DAC output stage is 69562306a36Sopenharmony_ci disconnected from the amplifier. Clearing returns to normal 69662306a36Sopenharmony_ci operation. Y may be suppressed if all outputs are controlled 69762306a36Sopenharmony_ci together. 69862306a36Sopenharmony_ci 69962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency 70062306a36Sopenharmony_ciKernelVersion: 3.4.0 70162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 70262306a36Sopenharmony_ciDescription: 70362306a36Sopenharmony_ci Output frequency for channel Y in Hz. The number must always be 70462306a36Sopenharmony_ci specified and unique if the output corresponds to a single 70562306a36Sopenharmony_ci channel. 70662306a36Sopenharmony_ci Some drivers have additional constraints: 70762306a36Sopenharmony_ci ADF4371 has an integrated VCO with fundamendal output 70862306a36Sopenharmony_ci frequency ranging from 4000000000 Hz 8000000000 Hz. 70962306a36Sopenharmony_ci 71062306a36Sopenharmony_ci out_altvoltage0_frequency: 71162306a36Sopenharmony_ci A divide by 1, 2, 4, 8, 16, 32 or circuit generates 71262306a36Sopenharmony_ci frequencies from 62500000 Hz to 8000000000 Hz. 71362306a36Sopenharmony_ci out_altvoltage1_frequency: 71462306a36Sopenharmony_ci This channel duplicates the channel 0 frequency 71562306a36Sopenharmony_ci out_altvoltage2_frequency: 71662306a36Sopenharmony_ci A frequency doubler generates frequencies from 71762306a36Sopenharmony_ci 8000000000 Hz to 16000000000 Hz. 71862306a36Sopenharmony_ci out_altvoltage3_frequency: 71962306a36Sopenharmony_ci A frequency quadrupler generates frequencies from 72062306a36Sopenharmony_ci 16000000000 Hz to 32000000000 Hz. 72162306a36Sopenharmony_ci 72262306a36Sopenharmony_ci Note: writes to one of the channels will affect the frequency of 72362306a36Sopenharmony_ci all the other channels, since it involves changing the VCO 72462306a36Sopenharmony_ci fundamental output frequency. 72562306a36Sopenharmony_ci 72662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase 72762306a36Sopenharmony_ciKernelVersion: 3.4.0 72862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 72962306a36Sopenharmony_ciDescription: 73062306a36Sopenharmony_ci Phase in radians of one frequency/clock output Y 73162306a36Sopenharmony_ci (out_altvoltageY) relative to another frequency/clock output 73262306a36Sopenharmony_ci (out_altvoltageZ) of the device X. The number must always be 73362306a36Sopenharmony_ci specified and unique if the output corresponds to a single 73462306a36Sopenharmony_ci channel. 73562306a36Sopenharmony_ci 73662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw 73762306a36Sopenharmony_ciDate: May 2012 73862306a36Sopenharmony_ciKernelVersion: 3.5 73962306a36Sopenharmony_ciContact: Johan Hovold <jhovold@gmail.com> 74062306a36Sopenharmony_ciDescription: 74162306a36Sopenharmony_ci Set/get output current for channel Y. Units after application 74262306a36Sopenharmony_ci of scale and offset are milliamps. 74362306a36Sopenharmony_ci For some devices current channels are used to specify 74462306a36Sopenharmony_ci current supplied to elements used in taking a measurement 74562306a36Sopenharmony_ci of a different type. E.g. LED currents. 74662306a36Sopenharmony_ci 74762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/events 74862306a36Sopenharmony_ciKernelVersion: 2.6.35 74962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 75062306a36Sopenharmony_ciDescription: 75162306a36Sopenharmony_ci Configuration of which hardware generated events are passed up 75262306a36Sopenharmony_ci to user-space. 75362306a36Sopenharmony_ci 75462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en 75562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en 75662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en 75762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en 75862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en 75962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en 76062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en 76162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en 76262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en 76362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en 76462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en 76562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en 76662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en 76762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en 76862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en 76962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en 77062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en 77162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en 77262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en 77362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en 77462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en 77562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en 77662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en 77762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en 77862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en 77962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en 78062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en 78162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en 78262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en 78362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en 78462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en 78562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en 78662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en 78762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en 78862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en 78962306a36Sopenharmony_ciKernelVersion: 2.6.37 79062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 79162306a36Sopenharmony_ciDescription: 79262306a36Sopenharmony_ci Event generated when channel passes a threshold in the specified 79362306a36Sopenharmony_ci (_rising|_falling) direction. If the direction is not specified, 79462306a36Sopenharmony_ci then either the device will report an event which ever direction 79562306a36Sopenharmony_ci a single threshold value is passed in (e.g. 79662306a36Sopenharmony_ci <type>[Y][_name]_<raw|input>_thresh_value) or 79762306a36Sopenharmony_ci <type>[Y][_name]_<raw|input>_thresh_rising_value and 79862306a36Sopenharmony_ci <type>[Y][_name]_<raw|input>_thresh_falling_value may take 79962306a36Sopenharmony_ci different values, but the device can only enable both thresholds 80062306a36Sopenharmony_ci or neither. 80162306a36Sopenharmony_ci 80262306a36Sopenharmony_ci Note the driver will assume the last p events requested are 80362306a36Sopenharmony_ci to be enabled where p is how many it supports (which may vary 80462306a36Sopenharmony_ci depending on the exact set requested. So if you want to be 80562306a36Sopenharmony_ci sure you have set what you think you have, check the contents of 80662306a36Sopenharmony_ci these attributes after everything is configured. Drivers may 80762306a36Sopenharmony_ci have to buffer any parameters so that they are consistent when 80862306a36Sopenharmony_ci a given event type is enabled at a future point (and not those for 80962306a36Sopenharmony_ci whatever event was previously enabled). 81062306a36Sopenharmony_ci 81162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en 81262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en 81362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en 81462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en 81562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en 81662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en 81762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en 81862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en 81962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en 82062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en 82162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en 82262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en 82362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en 82462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en 82562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en 82662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en 82762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en 82862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en 82962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en 83062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en 83162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en 83262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en 83362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en 83462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en 83562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en 83662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en 83762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en 83862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en 83962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en 84062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en 84162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en 84262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en 84362306a36Sopenharmony_ciKernelVersion: 2.6.37 84462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 84562306a36Sopenharmony_ciDescription: 84662306a36Sopenharmony_ci Event generated when channel passes a threshold on the rate of 84762306a36Sopenharmony_ci change (1st differential) in the specified (_rising|_falling) 84862306a36Sopenharmony_ci direction. If the direction is not specified, then either the 84962306a36Sopenharmony_ci device will report an event which ever direction a single 85062306a36Sopenharmony_ci threshold value is passed in (e.g. 85162306a36Sopenharmony_ci <type>[Y][_name]_<raw|input>_roc_value) or 85262306a36Sopenharmony_ci <type>[Y][_name]_<raw|input>_roc_rising_value and 85362306a36Sopenharmony_ci <type>[Y][_name]_<raw|input>_roc_falling_value may take 85462306a36Sopenharmony_ci different values, but the device can only enable both rate of 85562306a36Sopenharmony_ci change thresholds or neither. 85662306a36Sopenharmony_ci 85762306a36Sopenharmony_ci Note the driver will assume the last p events requested are 85862306a36Sopenharmony_ci to be enabled where p is however many it supports (which may 85962306a36Sopenharmony_ci vary depending on the exact set requested. So if you want to be 86062306a36Sopenharmony_ci sure you have set what you think you have, check the contents of 86162306a36Sopenharmony_ci these attributes after everything is configured. Drivers may 86262306a36Sopenharmony_ci have to buffer any parameters so that they are consistent when 86362306a36Sopenharmony_ci a given event type is enabled a future point (and not those for 86462306a36Sopenharmony_ci whatever event was previously enabled). 86562306a36Sopenharmony_ci 86662306a36Sopenharmony_ciWhat: /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en 86762306a36Sopenharmony_ciWhat: /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en 86862306a36Sopenharmony_ciKernelVersion: 5.13 86962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 87062306a36Sopenharmony_ciDescription: 87162306a36Sopenharmony_ci Adaptive thresholds are similar to normal fixed thresholds 87262306a36Sopenharmony_ci but the value is expressed as an offset from a value which 87362306a36Sopenharmony_ci provides a low frequency approximation of the channel itself. 87462306a36Sopenharmony_ci Thus these detect if a rapid change occurs in the specified 87562306a36Sopenharmony_ci direction which crosses tracking value + offset. 87662306a36Sopenharmony_ci Tracking value calculation is devices specific. 87762306a36Sopenharmony_ci 87862306a36Sopenharmony_ciWhat: /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout 87962306a36Sopenharmony_ciWhat: /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout 88062306a36Sopenharmony_ciKernelVersion: 5.11 88162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 88262306a36Sopenharmony_ciDescription: 88362306a36Sopenharmony_ci When adaptive thresholds are used, the tracking signal 88462306a36Sopenharmony_ci may adjust too slowly to step changes in the raw signal. 88562306a36Sopenharmony_ci Thus these specify the time in seconds for which the 88662306a36Sopenharmony_ci difference between the slow tracking signal and the raw 88762306a36Sopenharmony_ci signal is allowed to remain out-of-range before a reset 88862306a36Sopenharmony_ci event occurs in which the tracking signal is made equal 88962306a36Sopenharmony_ci to the raw signal, allowing slow tracking to resume and the 89062306a36Sopenharmony_ci adaptive threshold event detection to function as expected. 89162306a36Sopenharmony_ci 89262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_thresh_rising_value 89362306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_thresh_falling_value 89462306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_raw_thresh_rising_value 89562306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_raw_thresh_falling_value 89662306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_raw_thresh_rising_value 89762306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_raw_thresh_falling_value 89862306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_raw_thresh_rising_value 89962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_raw_thresh_falling_value 90062306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_raw_thresh_rising_value 90162306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_raw_thresh_falling_value 90262306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_raw_thresh_rising_value 90362306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_raw_thresh_falling_value 90462306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_raw_thresh_rising_value 90562306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_raw_thresh_falling_value 90662306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_raw_thresh_rising_value 90762306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_raw_thresh_falling_value 90862306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_raw_thresh_rising_value 90962306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_raw_thresh_falling_value 91062306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_raw_thresh_rising_value 91162306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_raw_thresh_falling_value 91262306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value 91362306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value 91462306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value 91562306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value 91662306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value 91762306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value 91862306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value 91962306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value 92062306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value 92162306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value 92262306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_raw_thresh_rising_value 92362306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_raw_thresh_falling_value 92462306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_raw_thresh_rising_value 92562306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_raw_thresh_falling_value 92662306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance0_thresh_falling_value 92762306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance0_thresh_rising_value 92862306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity0_thresh_falling_value 92962306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity0_thresh_rising_value 93062306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance_thresh_rising_value 93162306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance_thresh_falling_value 93262306a36Sopenharmony_ciWhat: /sys/.../events/in_capacitanceY_thresh_rising_value 93362306a36Sopenharmony_ciWhat: /sys/.../events/in_capacitanceY_thresh_falling_value 93462306a36Sopenharmony_ciWhat: /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value 93562306a36Sopenharmony_ciWhat: /sys/.../events/in_capacitanceY_thresh_falling_rising_value 93662306a36Sopenharmony_ciKernelVersion: 2.6.37 93762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 93862306a36Sopenharmony_ciDescription: 93962306a36Sopenharmony_ci Specifies the value of threshold that the device is comparing 94062306a36Sopenharmony_ci against for the events enabled by 94162306a36Sopenharmony_ci <type>Y[_name]_thresh[_rising|falling]_en. 94262306a36Sopenharmony_ci 94362306a36Sopenharmony_ci If separate attributes exist for the two directions, but 94462306a36Sopenharmony_ci direction is not specified for this attribute, then a single 94562306a36Sopenharmony_ci threshold value applies to both directions. 94662306a36Sopenharmony_ci 94762306a36Sopenharmony_ci The raw or input element of the name indicates whether the 94862306a36Sopenharmony_ci value is in raw device units or in processed units (as _raw 94962306a36Sopenharmony_ci and _input do on sysfs direct channel read attributes). 95062306a36Sopenharmony_ci 95162306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_scale 95262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_peak_scale 95362306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_scale 95462306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_scale 95562306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_scale 95662306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_scale 95762306a36Sopenharmony_ciWhat: /sys/.../events/in_voltage_scale 95862306a36Sopenharmony_ciWhat: /sys/.../events/in_voltage_supply_scale 95962306a36Sopenharmony_ciWhat: /sys/.../events/in_temp_scale 96062306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance_scale 96162306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity_scale 96262306a36Sopenharmony_ciKernelVersion: 3.21 96362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 96462306a36Sopenharmony_ciDescription: 96562306a36Sopenharmony_ci Specifies the conversion factor from the standard units 96662306a36Sopenharmony_ci to device specific units used to set the event trigger 96762306a36Sopenharmony_ci threshold. 96862306a36Sopenharmony_ci 96962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_thresh_rising_hysteresis 97062306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_thresh_falling_hysteresis 97162306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_thresh_either_hysteresis 97262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_thresh_rising_hysteresis 97362306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_thresh_falling_hysteresis 97462306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_thresh_either_hysteresis 97562306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_thresh_rising_hysteresis 97662306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_thresh_falling_hysteresis 97762306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_thresh_either_hysteresis 97862306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis 97962306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis 98062306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_thresh_either_hysteresis 98162306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis 98262306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis 98362306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_thresh_either_hysteresis 98462306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis 98562306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis 98662306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_thresh_either_hysteresis 98762306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_thresh_rising_hysteresis 98862306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_thresh_falling_hysteresis 98962306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_thresh_either_hysteresis 99062306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_thresh_rising_hysteresis 99162306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_thresh_falling_hysteresis 99262306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_thresh_either_hysteresis 99362306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_thresh_rising_hysteresis 99462306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_thresh_falling_hysteresis 99562306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_thresh_either_hysteresis 99662306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis 99762306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis 99862306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis 99962306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis 100062306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis 100162306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis 100262306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis 100362306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis 100462306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis 100562306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis 100662306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis 100762306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis 100862306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_thresh_rising_hysteresis 100962306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_thresh_falling_hysteresis 101062306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_thresh_either_hysteresis 101162306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_thresh_rising_hysteresis 101262306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_thresh_falling_hysteresis 101362306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_thresh_either_hysteresis 101462306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance0_thresh_falling_hysteresis 101562306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance0_thresh_rising_hysteresis 101662306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance0_thresh_either_hysteresis 101762306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity0_thresh_falling_hysteresis 101862306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity0_thresh_rising_hysteresis 101962306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity0_thresh_either_hysteresis 102062306a36Sopenharmony_ciKernelVersion: 3.13 102162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 102262306a36Sopenharmony_ciDescription: 102362306a36Sopenharmony_ci Specifies the hysteresis of threshold that the device is comparing 102462306a36Sopenharmony_ci against for the events enabled by 102562306a36Sopenharmony_ci <type>Y[_name]_thresh[_(rising|falling)]_hysteresis. 102662306a36Sopenharmony_ci If separate attributes exist for the two directions, but 102762306a36Sopenharmony_ci direction is not specified for this attribute, then a single 102862306a36Sopenharmony_ci hysteresis value applies to both directions. 102962306a36Sopenharmony_ci 103062306a36Sopenharmony_ci For falling events the hysteresis is added to the _value attribute for 103162306a36Sopenharmony_ci this event to get the upper threshold for when the event goes back to 103262306a36Sopenharmony_ci normal, for rising events the hysteresis is subtracted from the _value 103362306a36Sopenharmony_ci attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200 103462306a36Sopenharmony_ci and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event 103562306a36Sopenharmony_ci will get activated once in_voltage0_raw goes above 1200 and will become 103662306a36Sopenharmony_ci deactivated again once the value falls below 1150. 103762306a36Sopenharmony_ci 103862306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_raw_roc_rising_value 103962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_raw_roc_falling_value 104062306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_raw_roc_rising_value 104162306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_raw_roc_falling_value 104262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_raw_roc_rising_value 104362306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_raw_roc_falling_value 104462306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_raw_roc_rising_value 104562306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_raw_roc_falling_value 104662306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_raw_roc_rising_value 104762306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_raw_roc_falling_value 104862306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_raw_roc_rising_value 104962306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_raw_roc_falling_value 105062306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_raw_roc_rising_value 105162306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_raw_roc_falling_value 105262306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_raw_roc_rising_value 105362306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_raw_roc_falling_value 105462306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_raw_roc_rising_value 105562306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_raw_roc_falling_value 105662306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value 105762306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value 105862306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value 105962306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value 106062306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value 106162306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value 106262306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value 106362306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value 106462306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_raw_roc_rising_value 106562306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_raw_roc_falling_value 106662306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_raw_roc_rising_value 106762306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_raw_roc_falling_value 106862306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_raw_roc_rising_value 106962306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_raw_roc_falling_value 107062306a36Sopenharmony_ciKernelVersion: 2.6.37 107162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 107262306a36Sopenharmony_ciDescription: 107362306a36Sopenharmony_ci Specifies the value of rate of change threshold that the 107462306a36Sopenharmony_ci device is comparing against for the events enabled by 107562306a36Sopenharmony_ci <type>[Y][_name]_roc[_rising|falling]_en. 107662306a36Sopenharmony_ci 107762306a36Sopenharmony_ci If separate attributes exist for the two directions, 107862306a36Sopenharmony_ci but direction is not specified for this attribute, 107962306a36Sopenharmony_ci then a single threshold value applies to both directions. 108062306a36Sopenharmony_ci The raw or input element of the name indicates whether the 108162306a36Sopenharmony_ci value is in raw device units or in processed units (as _raw 108262306a36Sopenharmony_ci and _input do on sysfs direct channel read attributes). 108362306a36Sopenharmony_ci 108462306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_thresh_rising_period 108562306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_thresh_falling_period 108662306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_roc_rising_period 108762306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_roc_falling_period 108862306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_thresh_rising_period 108962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_thresh_falling_period 109062306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_roc_rising_period 109162306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_roc_falling_period 109262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_thresh_rising_period 109362306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_thresh_falling_period 109462306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_roc_rising_period 109562306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_roc_falling_period 109662306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_thresh_rising_period 109762306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_thresh_falling_period 109862306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_roc_rising_period 109962306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_x_roc_falling_period 110062306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_thresh_rising_period 110162306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_thresh_falling_period 110262306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_roc_rising_period 110362306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_y_roc_falling_period 110462306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_thresh_rising_period 110562306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_thresh_falling_period 110662306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_roc_rising_period 110762306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_z_roc_falling_period 110862306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_thresh_rising_period 110962306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_thresh_falling_period 111062306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_roc_rising_period 111162306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_x_roc_falling_period 111262306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_thresh_rising_period 111362306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_thresh_falling_period 111462306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_roc_rising_period 111562306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_y_roc_falling_period 111662306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_thresh_rising_period 111762306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_thresh_falling_period 111862306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_roc_rising_period 111962306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_z_roc_falling_period 112062306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period 112162306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period 112262306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period 112362306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period 112462306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_thresh_rising_period 112562306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_thresh_falling_period 112662306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_roc_rising_period 112762306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_roc_falling_period 112862306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period 112962306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period 113062306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period 113162306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period 113262306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period 113362306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period 113462306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period 113562306a36Sopenharmony_ciWhat: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period 113662306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_thresh_rising_period 113762306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_thresh_falling_period 113862306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_roc_rising_period 113962306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_supply_roc_falling_period 114062306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_thresh_rising_period 114162306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_thresh_falling_period 114262306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_roc_rising_period 114362306a36Sopenharmony_ciWhat: /sys/.../events/in_voltageY_roc_falling_period 114462306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_thresh_rising_period 114562306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_thresh_falling_period 114662306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_roc_rising_period 114762306a36Sopenharmony_ciWhat: /sys/.../events/in_tempY_roc_falling_period 114862306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x&y&z_mag_falling_period 114962306a36Sopenharmony_ciWhat: /sys/.../events/in_intensity0_thresh_period 115062306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity0_thresh_period 115162306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_still_thresh_rising_period 115262306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_still_thresh_falling_period 115362306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_walking_thresh_rising_period 115462306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_walking_thresh_falling_period 115562306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_jogging_thresh_rising_period 115662306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_jogging_thresh_falling_period 115762306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_running_thresh_rising_period 115862306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_running_thresh_falling_period 115962306a36Sopenharmony_ciWhat: /sys/.../events/in_illuminance_thresh_either_period 116062306a36Sopenharmony_ciKernelVersion: 2.6.37 116162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 116262306a36Sopenharmony_ciDescription: 116362306a36Sopenharmony_ci Period of time (in seconds) for which the condition must be 116462306a36Sopenharmony_ci met before an event is generated. If direction is not 116562306a36Sopenharmony_ci specified then this period applies to both directions. 116662306a36Sopenharmony_ci 116762306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db 116862306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db 116962306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db 117062306a36Sopenharmony_ciKernelVersion: 4.2 117162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 117262306a36Sopenharmony_ciDescription: 117362306a36Sopenharmony_ci If a low pass filter can be applied to the event generation 117462306a36Sopenharmony_ci this property gives its 3db frequency in Hz. 117562306a36Sopenharmony_ci A value of zero disables the filter. 117662306a36Sopenharmony_ci 117762306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db 117862306a36Sopenharmony_ciWhat: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db 117962306a36Sopenharmony_ciWhat: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db 118062306a36Sopenharmony_ciKernelVersion: 4.2 118162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 118262306a36Sopenharmony_ciDescription: 118362306a36Sopenharmony_ci If a high pass filter can be applied to the event generation 118462306a36Sopenharmony_ci this property gives its 3db frequency in Hz. 118562306a36Sopenharmony_ci A value of zero disables the filter. 118662306a36Sopenharmony_ci 118762306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_still_thresh_rising_en 118862306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_still_thresh_falling_en 118962306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_walking_thresh_rising_en 119062306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_walking_thresh_falling_en 119162306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_jogging_thresh_rising_en 119262306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_jogging_thresh_falling_en 119362306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_running_thresh_rising_en 119462306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_running_thresh_falling_en 119562306a36Sopenharmony_ciKernelVersion: 3.19 119662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 119762306a36Sopenharmony_ciDescription: 119862306a36Sopenharmony_ci Enables or disables activity events. Depending on direction 119962306a36Sopenharmony_ci an event is generated when sensor ENTERS or LEAVES a given state. 120062306a36Sopenharmony_ci 120162306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_still_thresh_rising_value 120262306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_still_thresh_falling_value 120362306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_walking_thresh_rising_value 120462306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_walking_thresh_falling_value 120562306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_jogging_thresh_rising_value 120662306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_jogging_thresh_falling_value 120762306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_running_thresh_rising_value 120862306a36Sopenharmony_ciWhat: /sys/.../events/in_activity_running_thresh_falling_value 120962306a36Sopenharmony_ciKernelVersion: 3.19 121062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 121162306a36Sopenharmony_ciDescription: 121262306a36Sopenharmony_ci Confidence value (in units as percentage) to be used 121362306a36Sopenharmony_ci for deciding when an event should be generated. E.g for 121462306a36Sopenharmony_ci running: If the confidence value reported by the sensor 121562306a36Sopenharmony_ci is greater than in_activity_running_thresh_rising_value 121662306a36Sopenharmony_ci then the sensor ENTERS running state. Conversely, if the 121762306a36Sopenharmony_ci confidence value reported by the sensor is lower than 121862306a36Sopenharmony_ci in_activity_running_thresh_falling_value then the sensor 121962306a36Sopenharmony_ci is LEAVING running state. 122062306a36Sopenharmony_ci 122162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_en 122262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_rising_en 122362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_falling_en 122462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_mag_en 122562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en 122662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en 122762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_en 122862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en 122962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en 123062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_mag_en 123162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en 123262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en 123362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en 123462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en 123562306a36Sopenharmony_ciKernelVersion: 2.6.37 123662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 123762306a36Sopenharmony_ciDescription: 123862306a36Sopenharmony_ci Similar to in_accel_x_thresh[_rising|_falling]_en, but here the 123962306a36Sopenharmony_ci magnitude of the channel is compared to the threshold, not its 124062306a36Sopenharmony_ci signed value. 124162306a36Sopenharmony_ci 124262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_raw_mag_value 124362306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_x_raw_mag_rising_value 124462306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_y_raw_mag_rising_value 124562306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_z_raw_mag_rising_value 124662306a36Sopenharmony_ciKernelVersion: 2.6.37 124762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 124862306a36Sopenharmony_ciDescription: 124962306a36Sopenharmony_ci The value to which the magnitude of the channel is compared. If 125062306a36Sopenharmony_ci number or direction is not specified, applies to all channels of 125162306a36Sopenharmony_ci this type. 125262306a36Sopenharmony_ci 125362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_referenced_en 125462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en 125562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en 125662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en 125762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en 125862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en 125962306a36Sopenharmony_ciKernelVersion: 5.18 126062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 126162306a36Sopenharmony_ciDescription: 126262306a36Sopenharmony_ci Similar to in_accel_mag[_y][_rising|_falling]_en, but the event 126362306a36Sopenharmony_ci value is relative to a reference magnitude. The reference magnitude 126462306a36Sopenharmony_ci includes the graviational acceleration. 126562306a36Sopenharmony_ci 126662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_referenced_value 126762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value 126862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value 126962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value 127062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value 127162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value 127262306a36Sopenharmony_ciKernelVersion: 5.18 127362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 127462306a36Sopenharmony_ciDescription: 127562306a36Sopenharmony_ci The value to which the reference magnitude of the channel is 127662306a36Sopenharmony_ci compared. If the axis is not specified, it applies to all channels 127762306a36Sopenharmony_ci of this type. 127862306a36Sopenharmony_ci 127962306a36Sopenharmony_ciWhat: /sys/.../events/in_steps_change_en 128062306a36Sopenharmony_ciKernelVersion: 4.0 128162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 128262306a36Sopenharmony_ciDescription: 128362306a36Sopenharmony_ci Event generated when channel passes a threshold on the absolute 128462306a36Sopenharmony_ci change in value. E.g. for steps: a step change event is 128562306a36Sopenharmony_ci generated each time the user takes N steps, where N is set using 128662306a36Sopenharmony_ci in_steps_change_value. 128762306a36Sopenharmony_ci 128862306a36Sopenharmony_ciWhat: /sys/.../events/in_steps_change_value 128962306a36Sopenharmony_ciKernelVersion: 4.0 129062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 129162306a36Sopenharmony_ciDescription: 129262306a36Sopenharmony_ci Specifies the value of change threshold that the 129362306a36Sopenharmony_ci device is comparing against for the events enabled by 129462306a36Sopenharmony_ci <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps: 129562306a36Sopenharmony_ci if set to 3, a step change event will be generated every 3 129662306a36Sopenharmony_ci steps. 129762306a36Sopenharmony_ci 129862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger 129962306a36Sopenharmony_ciKernelVersion: 2.6.35 130062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 130162306a36Sopenharmony_ciDescription: 130262306a36Sopenharmony_ci The name of the trigger source being used, as per string given 130362306a36Sopenharmony_ci in /sys/class/iio/triggerY/name. 130462306a36Sopenharmony_ci 130562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/bufferY/length 130662306a36Sopenharmony_ciKernelVersion: 5.11 130762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 130862306a36Sopenharmony_ciDescription: 130962306a36Sopenharmony_ci Number of scans contained by the buffer. 131062306a36Sopenharmony_ci 131162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/bufferY/enable 131262306a36Sopenharmony_ciKernelVersion: 5.11 131362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 131462306a36Sopenharmony_ciDescription: 131562306a36Sopenharmony_ci Actually start the buffer capture up. Will start trigger 131662306a36Sopenharmony_ci if first device and appropriate. 131762306a36Sopenharmony_ci 131862306a36Sopenharmony_ci Note that it might be impossible to configure other attributes, 131962306a36Sopenharmony_ci (e.g.: events, scale, sampling rate) if they impact the currently 132062306a36Sopenharmony_ci active buffer capture session. 132162306a36Sopenharmony_ci 132262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/bufferY 132362306a36Sopenharmony_ciKernelVersion: 5.11 132462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 132562306a36Sopenharmony_ciDescription: 132662306a36Sopenharmony_ci Directory containing interfaces for elements that will be 132762306a36Sopenharmony_ci captured for a single triggered sample set in the buffer. 132862306a36Sopenharmony_ci 132962306a36Sopenharmony_ci Since kernel 5.11 the scan_elements attributes are merged into 133062306a36Sopenharmony_ci the bufferY directory, to be configurable per buffer. 133162306a36Sopenharmony_ci 133262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_x_en 133362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_y_en 133462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_z_en 133562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_x_en 133662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_y_en 133762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_z_en 133862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_x_en 133962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_y_en 134062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_z_en 134162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en 134262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en 134362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en 134462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en 134562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_timestamp_en 134662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en 134762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_en 134862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en 134962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_i_en 135062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_q_en 135162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_i_en 135262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_q_en 135362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_incli_x_en 135462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_incli_y_en 135562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_pressureY_en 135662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_pressure_en 135762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en 135862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_proximity_en 135962306a36Sopenharmony_ciKernelVersion: 5.11 136062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 136162306a36Sopenharmony_ciDescription: 136262306a36Sopenharmony_ci Scan element control for triggered data capture. 136362306a36Sopenharmony_ci 136462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_type 136562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_type 136662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_type 136762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_incli_type 136862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_type 136962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_type 137062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type 137162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_i_type 137262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_q_type 137362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_i_type 137462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_q_type 137562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_timestamp_type 137662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_pressureY_type 137762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_pressure_type 137862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type 137962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_proximity_type 138062306a36Sopenharmony_ciKernelVersion: 5.11 138162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 138262306a36Sopenharmony_ciDescription: 138362306a36Sopenharmony_ci Description of the scan element data storage within the buffer 138462306a36Sopenharmony_ci and hence the form in which it is read from user-space. 138562306a36Sopenharmony_ci Form is [be|le]:[s|u]bits/storagebits[>>shift]. 138662306a36Sopenharmony_ci be or le specifies big or little endian. s or u specifies if 138762306a36Sopenharmony_ci signed (2's complement) or unsigned. bits is the number of bits 138862306a36Sopenharmony_ci of data and storagebits is the space (after padding) that it 138962306a36Sopenharmony_ci occupies in the buffer. shift if specified, is the shift that 139062306a36Sopenharmony_ci needs to be applied prior to masking out unused bits. Some 139162306a36Sopenharmony_ci devices put their data in the middle of the transferred elements 139262306a36Sopenharmony_ci with additional information on both sides. Note that some 139362306a36Sopenharmony_ci devices will have additional information in the unused bits 139462306a36Sopenharmony_ci so to get a clean value, the bits value must be used to mask 139562306a36Sopenharmony_ci the buffer output value appropriately. The storagebits value 139662306a36Sopenharmony_ci also specifies the data alignment. So s48/64>>2 will be a 139762306a36Sopenharmony_ci signed 48 bit integer stored in a 64 bit location aligned to 139862306a36Sopenharmony_ci a 64 bit boundary. To obtain the clean value, shift right 2 139962306a36Sopenharmony_ci and apply a mask to zero the top 16 bits of the result. 140062306a36Sopenharmony_ci For other storage combinations this attribute will be extended 140162306a36Sopenharmony_ci appropriately. 140262306a36Sopenharmony_ci 140362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/scan_elements/in_accel_type_available 140462306a36Sopenharmony_ciKernelVersion: 2.6.37 140562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 140662306a36Sopenharmony_ciDescription: 140762306a36Sopenharmony_ci If the type parameter can take one of a small set of values, 140862306a36Sopenharmony_ci this attribute lists them. 140962306a36Sopenharmony_ci 141062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_index 141162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index 141262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_i_index 141362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltageY_q_index 141462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_i_index 141562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_voltage_q_index 141662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_x_index 141762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_y_index 141862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_accel_z_index 141962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_x_index 142062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_y_index 142162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_anglvel_z_index 142262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_x_index 142362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_y_index 142462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_magn_z_index 142562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index 142662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index 142762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index 142862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index 142962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_incli_x_index 143062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_incli_y_index 143162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_timestamp_index 143262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_pressureY_index 143362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_pressure_index 143462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index 143562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/bufferY/in_proximity_index 143662306a36Sopenharmony_ciKernelVersion: 5.11 143762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 143862306a36Sopenharmony_ciDescription: 143962306a36Sopenharmony_ci A single positive integer specifying the position of this 144062306a36Sopenharmony_ci scan element in the buffer. Note these are not dependent on 144162306a36Sopenharmony_ci what is enabled and may not be contiguous. Thus for user-space 144262306a36Sopenharmony_ci to establish the full layout these must be used in conjunction 144362306a36Sopenharmony_ci with all _en attributes to establish which channels are present, 144462306a36Sopenharmony_ci and the relevant _type attributes to establish the data storage 144562306a36Sopenharmony_ci format. 144662306a36Sopenharmony_ci 144762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_activity_still_input 144862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_activity_walking_input 144962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_activity_jogging_input 145062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_activity_running_input 145162306a36Sopenharmony_ciKernelVersion: 3.19 145262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 145362306a36Sopenharmony_ciDescription: 145462306a36Sopenharmony_ci This attribute is used to read the confidence for an activity 145562306a36Sopenharmony_ci expressed in units as percentage. 145662306a36Sopenharmony_ci 145762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw 145862306a36Sopenharmony_ciKernelVersion: 2.6.38 145962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 146062306a36Sopenharmony_ciDescription: 146162306a36Sopenharmony_ci This attribute is used to read the amount of quadrature error 146262306a36Sopenharmony_ci present in the device at a given time. 146362306a36Sopenharmony_ci 146462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_accelX_power_mode 146562306a36Sopenharmony_ciKernelVersion: 3.11 146662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 146762306a36Sopenharmony_ciDescription: 146862306a36Sopenharmony_ci Specifies the chip power mode. 146962306a36Sopenharmony_ci low_noise: reduce noise level from ADC, 147062306a36Sopenharmony_ci low_power: enable low current consumption. 147162306a36Sopenharmony_ci For a list of available output power modes read 147262306a36Sopenharmony_ci in_accel_power_mode_available. 147362306a36Sopenharmony_ci 147462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_energy_input 147562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_energy_raw 147662306a36Sopenharmony_ciKernelVersion: 4.0 147762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 147862306a36Sopenharmony_ciDescription: 147962306a36Sopenharmony_ci This attribute is used to read the energy value reported by the 148062306a36Sopenharmony_ci device (e.g.: human activity sensors report energy burnt by the 148162306a36Sopenharmony_ci user). Units after application of scale are Joules. 148262306a36Sopenharmony_ci 148362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_distance_input 148462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_distance_raw 148562306a36Sopenharmony_ciKernelVersion: 4.0 148662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 148762306a36Sopenharmony_ciDescription: 148862306a36Sopenharmony_ci This attribute is used to read the measured distance to an object 148962306a36Sopenharmony_ci or the distance covered by the user since the last reboot while 149062306a36Sopenharmony_ci activated. Units after application of scale are meters. 149162306a36Sopenharmony_ci 149262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/store_eeprom 149362306a36Sopenharmony_ciKernelVersion: 3.4.0 149462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 149562306a36Sopenharmony_ciDescription: 149662306a36Sopenharmony_ci Writing '1' stores the current device configuration into 149762306a36Sopenharmony_ci on-chip EEPROM. After power-up or chip reset the device will 149862306a36Sopenharmony_ci automatically load the saved configuration. 149962306a36Sopenharmony_ci 150062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_proximity_raw 150162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_proximity_input 150262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_proximityY_raw 150362306a36Sopenharmony_ciKernelVersion: 3.4 150462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 150562306a36Sopenharmony_ciDescription: 150662306a36Sopenharmony_ci Proximity measurement indicating that some 150762306a36Sopenharmony_ci object is near the sensor, usually by observing 150862306a36Sopenharmony_ci reflectivity of infrared or ultrasound emitted. 150962306a36Sopenharmony_ci 151062306a36Sopenharmony_ci Often these sensors are unit less and as such conversion 151162306a36Sopenharmony_ci to SI units is not possible. Higher proximity measurements 151262306a36Sopenharmony_ci indicate closer objects, and vice versa. Units after 151362306a36Sopenharmony_ci application of scale and offset are meters. 151462306a36Sopenharmony_ci 151562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminance_input 151662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminance_raw 151762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminanceY_input 151862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminanceY_raw 151962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminanceY_mean_raw 152062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminance_ir_raw 152162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminance_clear_raw 152262306a36Sopenharmony_ciKernelVersion: 3.4 152362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 152462306a36Sopenharmony_ciDescription: 152562306a36Sopenharmony_ci Illuminance measurement, units after application of scale 152662306a36Sopenharmony_ci and offset are lux. 152762306a36Sopenharmony_ci 152862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensityY_raw 152962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensityY_ir_raw 153062306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensityY_both_raw 153162306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensityY_uv_raw 153262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensityY_duv_raw 153362306a36Sopenharmony_ciKernelVersion: 3.4 153462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 153562306a36Sopenharmony_ciDescription: 153662306a36Sopenharmony_ci Unit-less light intensity. Modifiers both and ir indicate 153762306a36Sopenharmony_ci that measurements contain visible and infrared light 153862306a36Sopenharmony_ci components or just infrared light, respectively. Modifier 153962306a36Sopenharmony_ci uv indicates that measurements contain ultraviolet light 154062306a36Sopenharmony_ci components. Modifier duv indicates that measurements 154162306a36Sopenharmony_ci contain deep ultraviolet light components. 154262306a36Sopenharmony_ci 154362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_uvindex_input 154462306a36Sopenharmony_ciKernelVersion: 4.6 154562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 154662306a36Sopenharmony_ciDescription: 154762306a36Sopenharmony_ci UV light intensity index measuring the human skin's response to 154862306a36Sopenharmony_ci different wavelength of sunlight weighted according to the 154962306a36Sopenharmony_ci standardised CIE Erythemal Action Spectrum. UV index values range 155062306a36Sopenharmony_ci from 0 (low) to >=11 (extreme). 155162306a36Sopenharmony_ci 155262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensity_integration_time 155362306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensity_red_integration_time 155462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensity_green_integration_time 155562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensity_blue_integration_time 155662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_intensity_clear_integration_time 155762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_illuminance_integration_time 155862306a36Sopenharmony_ciKernelVersion: 3.12 155962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 156062306a36Sopenharmony_ciDescription: 156162306a36Sopenharmony_ci This attribute is used to get/set the integration time in 156262306a36Sopenharmony_ci seconds. If shared across all channels of a given type, 156362306a36Sopenharmony_ci <type>_integration_time is used. 156462306a36Sopenharmony_ci 156562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time 156662306a36Sopenharmony_ciKernelVersion: 4.0 156762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 156862306a36Sopenharmony_ciDescription: 156962306a36Sopenharmony_ci Number of seconds in which to compute speed. 157062306a36Sopenharmony_ci 157162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw 157262306a36Sopenharmony_ciKernelVersion: 3.15 157362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 157462306a36Sopenharmony_ciDescription: 157562306a36Sopenharmony_ci Raw value of quaternion components using a format 157662306a36Sopenharmony_ci x y z w. Here x, y, and z component represents the axis about 157762306a36Sopenharmony_ci which a rotation will occur and w component represents the 157862306a36Sopenharmony_ci amount of rotation. 157962306a36Sopenharmony_ci 158062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw 158162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw 158262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw 158362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw 158462306a36Sopenharmony_ciKernelVersion: 3.15 158562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 158662306a36Sopenharmony_ciDescription: 158762306a36Sopenharmony_ci Raw value of rotation from true/magnetic north measured with 158862306a36Sopenharmony_ci or without compensation from tilt sensors. 158962306a36Sopenharmony_ci 159062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw 159162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw 159262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw 159362306a36Sopenharmony_ciKernelVersion: 3.18 159462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 159562306a36Sopenharmony_ciDescription: 159662306a36Sopenharmony_ci Raw current measurement from channel X. Units are in milliamps 159762306a36Sopenharmony_ci after application of scale and offset. If no offset or scale is 159862306a36Sopenharmony_ci present, output should be considered as processed with the 159962306a36Sopenharmony_ci unit in milliamps. 160062306a36Sopenharmony_ci 160162306a36Sopenharmony_ci Channels with 'i' and 'q' modifiers always exist in pairs and both 160262306a36Sopenharmony_ci channels refer to the same signal. The 'i' channel contains the in-phase 160362306a36Sopenharmony_ci component of the signal while the 'q' channel contains the quadrature 160462306a36Sopenharmony_ci component. 160562306a36Sopenharmony_ci 160662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_energy_en 160762306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_distance_en 160862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en 160962306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_steps_en 161062306a36Sopenharmony_ciKernelVersion: 3.19 161162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 161262306a36Sopenharmony_ciDescription: 161362306a36Sopenharmony_ci Activates a device feature that runs in firmware/hardware. 161462306a36Sopenharmony_ci E.g. for steps: the pedometer saves power while not used; 161562306a36Sopenharmony_ci when activated, it will count the steps taken by the user in 161662306a36Sopenharmony_ci firmware and export them through in_steps_input. 161762306a36Sopenharmony_ci 161862306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_steps_input 161962306a36Sopenharmony_ciKernelVersion: 3.19 162062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 162162306a36Sopenharmony_ciDescription: 162262306a36Sopenharmony_ci This attribute is used to read the number of steps taken by the user 162362306a36Sopenharmony_ci since the last reboot while activated. 162462306a36Sopenharmony_ci 162562306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input 162662306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw 162762306a36Sopenharmony_ciKernelVersion: 3.19 162862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 162962306a36Sopenharmony_ciDescription: 163062306a36Sopenharmony_ci This attribute is used to read the current speed value of the 163162306a36Sopenharmony_ci user (which is the norm or magnitude of the velocity vector). 163262306a36Sopenharmony_ci Units after application of scale are m/s. 163362306a36Sopenharmony_ci 163462306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_steps_debounce_count 163562306a36Sopenharmony_ciKernelVersion: 4.0 163662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 163762306a36Sopenharmony_ciDescription: 163862306a36Sopenharmony_ci Specifies the number of steps that must occur within 163962306a36Sopenharmony_ci in_steps_filter_debounce_time for the pedometer to decide the 164062306a36Sopenharmony_ci consumer is making steps. 164162306a36Sopenharmony_ci 164262306a36Sopenharmony_ciWhat: /sys/.../iio:deviceX/in_steps_debounce_time 164362306a36Sopenharmony_ciKernelVersion: 4.0 164462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 164562306a36Sopenharmony_ciDescription: 164662306a36Sopenharmony_ci Specifies number of seconds in which we compute the steps 164762306a36Sopenharmony_ci that occur in order to decide if the consumer is making steps. 164862306a36Sopenharmony_ci 164962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/bufferY/watermark 165062306a36Sopenharmony_ciKernelVersion: 5.11 165162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 165262306a36Sopenharmony_ciDescription: 165362306a36Sopenharmony_ci A single positive integer specifying the maximum number of scan 165462306a36Sopenharmony_ci elements to wait for. 165562306a36Sopenharmony_ci 165662306a36Sopenharmony_ci Poll will block until the watermark is reached. 165762306a36Sopenharmony_ci 165862306a36Sopenharmony_ci Blocking read will wait until the minimum between the requested 165962306a36Sopenharmony_ci read amount or the low water mark is available. 166062306a36Sopenharmony_ci 166162306a36Sopenharmony_ci Non-blocking read will retrieve the available samples from the 166262306a36Sopenharmony_ci buffer even if there are less samples then watermark level. This 166362306a36Sopenharmony_ci allows the application to block on poll with a timeout and read 166462306a36Sopenharmony_ci the available samples after the timeout expires and thus have a 166562306a36Sopenharmony_ci maximum delay guarantee. 166662306a36Sopenharmony_ci 166762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/bufferY/data_available 166862306a36Sopenharmony_ciKernelVersion: 5.11 166962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 167062306a36Sopenharmony_ciDescription: 167162306a36Sopenharmony_ci A read-only value indicating the bytes of data available in the 167262306a36Sopenharmony_ci buffer. In the case of an output buffer, this indicates the 167362306a36Sopenharmony_ci amount of empty space available to write data to. In the case of 167462306a36Sopenharmony_ci an input buffer, this indicates the amount of data available for 167562306a36Sopenharmony_ci reading. 167662306a36Sopenharmony_ci 167762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled 167862306a36Sopenharmony_ciKernelVersion: 4.2 167962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 168062306a36Sopenharmony_ciDescription: 168162306a36Sopenharmony_ci A read-only boolean value that indicates if the hardware fifo is 168262306a36Sopenharmony_ci currently enabled or disabled. If the device does not have a 168362306a36Sopenharmony_ci hardware fifo this entry is not present. 168462306a36Sopenharmony_ci The hardware fifo is enabled when the buffer is enabled if the 168562306a36Sopenharmony_ci current hardware fifo watermark level is set and other current 168662306a36Sopenharmony_ci device settings allows it (e.g. if a trigger is set that samples 168762306a36Sopenharmony_ci data differently that the hardware fifo does then hardware fifo 168862306a36Sopenharmony_ci will not enabled). 168962306a36Sopenharmony_ci 169062306a36Sopenharmony_ci If the hardware fifo is enabled and the level of the hardware 169162306a36Sopenharmony_ci fifo reaches the hardware fifo watermark level the device will 169262306a36Sopenharmony_ci flush its hardware fifo to the device buffer. Doing a non 169362306a36Sopenharmony_ci blocking read on the device when no samples are present in the 169462306a36Sopenharmony_ci device buffer will also force a flush. 169562306a36Sopenharmony_ci 169662306a36Sopenharmony_ci When the hardware fifo is enabled there is no need to use a 169762306a36Sopenharmony_ci trigger to use buffer mode since the watermark settings 169862306a36Sopenharmony_ci guarantees that the hardware fifo is flushed to the device 169962306a36Sopenharmony_ci buffer. 170062306a36Sopenharmony_ci 170162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout 170262306a36Sopenharmony_ciKernelVersion: 4.12 170362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 170462306a36Sopenharmony_ciDescription: 170562306a36Sopenharmony_ci A read/write property to provide capability to delay reporting of 170662306a36Sopenharmony_ci samples till a timeout is reached. This allows host processors to 170762306a36Sopenharmony_ci sleep, while the sensor is storing samples in its internal fifo. 170862306a36Sopenharmony_ci The maximum timeout in seconds can be specified by setting 170962306a36Sopenharmony_ci hwfifo_timeout.The current delay can be read by reading 171062306a36Sopenharmony_ci hwfifo_timeout. A value of 0 means that there is no timeout. 171162306a36Sopenharmony_ci 171262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark 171362306a36Sopenharmony_ciKernelVersion: 4.2 171462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 171562306a36Sopenharmony_ciDescription: 171662306a36Sopenharmony_ci Read-only entry that contains a single integer specifying the 171762306a36Sopenharmony_ci current watermark level for the hardware fifo. If the device 171862306a36Sopenharmony_ci does not have a hardware fifo this entry is not present. 171962306a36Sopenharmony_ci The watermark level for the hardware fifo is set by the driver 172062306a36Sopenharmony_ci based on the value set by the user in buffer/watermark but 172162306a36Sopenharmony_ci taking into account hardware limitations (e.g. most hardware 172262306a36Sopenharmony_ci buffers are limited to 32-64 samples, some hardware buffers 172362306a36Sopenharmony_ci watermarks are fixed or have minimum levels). A value of 0 172462306a36Sopenharmony_ci means that the hardware watermark is unset. 172562306a36Sopenharmony_ci 172662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min 172762306a36Sopenharmony_ciKernelVersion: 4.2 172862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 172962306a36Sopenharmony_ciDescription: 173062306a36Sopenharmony_ci A single positive integer specifying the minimum watermark level 173162306a36Sopenharmony_ci for the hardware fifo of this device. If the device does not 173262306a36Sopenharmony_ci have a hardware fifo this entry is not present. 173362306a36Sopenharmony_ci 173462306a36Sopenharmony_ci If the user sets buffer/watermark to a value less than this one, 173562306a36Sopenharmony_ci then the hardware watermark will remain unset. 173662306a36Sopenharmony_ci 173762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max 173862306a36Sopenharmony_ciKernelVersion: 4.2 173962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 174062306a36Sopenharmony_ciDescription: 174162306a36Sopenharmony_ci A single positive integer specifying the maximum watermark level 174262306a36Sopenharmony_ci for the hardware fifo of this device. If the device does not 174362306a36Sopenharmony_ci have a hardware fifo this entry is not present. 174462306a36Sopenharmony_ci 174562306a36Sopenharmony_ci If the user sets buffer/watermark to a value greater than this 174662306a36Sopenharmony_ci one, then the hardware watermark will be capped at this value. 174762306a36Sopenharmony_ci 174862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available 174962306a36Sopenharmony_ciKernelVersion: 4.2 175062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 175162306a36Sopenharmony_ciDescription: 175262306a36Sopenharmony_ci A list of positive integers specifying the available watermark 175362306a36Sopenharmony_ci levels for the hardware fifo. This entry is optional and if it 175462306a36Sopenharmony_ci is not present it means that all the values between 175562306a36Sopenharmony_ci hwfifo_watermark_min and hwfifo_watermark_max are supported. 175662306a36Sopenharmony_ci 175762306a36Sopenharmony_ci If the user sets buffer/watermark to a value greater than 175862306a36Sopenharmony_ci hwfifo_watermak_min but not equal to any of the values in this 175962306a36Sopenharmony_ci list, the driver will chose an appropriate value for the 176062306a36Sopenharmony_ci hardware fifo watermark level. 176162306a36Sopenharmony_ci 176262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity 176362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity 176462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity 176562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity 176662306a36Sopenharmony_ciKernelVersion: 4.1 176762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 176862306a36Sopenharmony_ciDescription: 176962306a36Sopenharmony_ci The emissivity ratio of the surface in the field of view of the 177062306a36Sopenharmony_ci contactless temperature sensor. Emissivity varies from 0 to 1, 177162306a36Sopenharmony_ci with 1 being the emissivity of a black body. 177262306a36Sopenharmony_ci 177362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio 177462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio 177562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio 177662306a36Sopenharmony_ciKernelVersion: 4.2 177762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 177862306a36Sopenharmony_ciDescription: 177962306a36Sopenharmony_ci Hardware applied number of measurements for acquiring one 178062306a36Sopenharmony_ci data point. The HW will do <type>[_name]_oversampling_ratio 178162306a36Sopenharmony_ci measurements and return the average value as output data. Each 178262306a36Sopenharmony_ci value resulted from <type>[_name]_oversampling_ratio measurements 178362306a36Sopenharmony_ci is considered as one sample for <type>[_name]_sampling_frequency. 178462306a36Sopenharmony_ci 178562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw 178662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw 178762306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw 178862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw 178962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw 179062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw 179162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw 179262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw 179362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw 179462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw 179562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw 179662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw 179762306a36Sopenharmony_ciKernelVersion: 4.3 179862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 179962306a36Sopenharmony_ciDescription: 180062306a36Sopenharmony_ci Raw (unscaled no offset etc.) reading of a substance. Units 180162306a36Sopenharmony_ci after application of scale and offset are percents. 180262306a36Sopenharmony_ci 180362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw 180462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw 180562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw 180662306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw 180762306a36Sopenharmony_ciKernelVersion: 4.3 180862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 180962306a36Sopenharmony_ciDescription: 181062306a36Sopenharmony_ci Raw (unscaled no offset etc.) resistance reading. 181162306a36Sopenharmony_ci Units after application of scale and offset are ohms. 181262306a36Sopenharmony_ci 181362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/heater_enable 181462306a36Sopenharmony_ciKernelVersion: 4.1.0 181562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 181662306a36Sopenharmony_ciDescription: 181762306a36Sopenharmony_ci '1' (enable) or '0' (disable) specifying the enable 181862306a36Sopenharmony_ci of heater function. Same reading values apply. 181962306a36Sopenharmony_ci 182062306a36Sopenharmony_ci This ABI is especially applicable for humidity sensors 182162306a36Sopenharmony_ci to heatup the device and get rid of any condensation 182262306a36Sopenharmony_ci in some humidity environment 182362306a36Sopenharmony_ci 182462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_ph_raw 182562306a36Sopenharmony_ciKernelVersion: 4.5 182662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 182762306a36Sopenharmony_ciDescription: 182862306a36Sopenharmony_ci Raw (unscaled no offset etc.) pH reading of a substance as a negative 182962306a36Sopenharmony_ci base-10 logarithm of hydrodium ions in a litre of water. 183062306a36Sopenharmony_ci 183162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/mount_matrix 183262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_mount_matrix 183362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_mount_matrix 183462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix 183562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix 183662306a36Sopenharmony_ciKernelVersion: 4.6 183762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 183862306a36Sopenharmony_ciDescription: 183962306a36Sopenharmony_ci Mounting matrix for IIO sensors. This is a rotation matrix which 184062306a36Sopenharmony_ci informs userspace about sensor chip's placement relative to the 184162306a36Sopenharmony_ci main hardware it is mounted on. 184262306a36Sopenharmony_ci 184362306a36Sopenharmony_ci Main hardware placement is defined according to the local 184462306a36Sopenharmony_ci reference frame related to the physical quantity the sensor 184562306a36Sopenharmony_ci measures. 184662306a36Sopenharmony_ci 184762306a36Sopenharmony_ci Given that the rotation matrix is defined in a board specific 184862306a36Sopenharmony_ci way (platform data and / or device-tree), the main hardware 184962306a36Sopenharmony_ci reference frame definition is left to the implementor's choice 185062306a36Sopenharmony_ci (see below for a magnetometer example). 185162306a36Sopenharmony_ci 185262306a36Sopenharmony_ci Applications should apply this rotation matrix to samples so 185362306a36Sopenharmony_ci that when main hardware reference frame is aligned onto local 185462306a36Sopenharmony_ci reference frame, then sensor chip reference frame is also 185562306a36Sopenharmony_ci perfectly aligned with it. 185662306a36Sopenharmony_ci 185762306a36Sopenharmony_ci Matrix is a 3x3 unitary matrix and typically looks like 185862306a36Sopenharmony_ci [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix 185962306a36Sopenharmony_ci [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware 186062306a36Sopenharmony_ci are perfectly aligned with each other. 186162306a36Sopenharmony_ci 186262306a36Sopenharmony_ci For example, a mounting matrix for a magnetometer sensor informs 186362306a36Sopenharmony_ci userspace about sensor chip's ORIENTATION relative to the main 186462306a36Sopenharmony_ci hardware. 186562306a36Sopenharmony_ci 186662306a36Sopenharmony_ci More specifically, main hardware orientation is defined with 186762306a36Sopenharmony_ci respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where : 186862306a36Sopenharmony_ci 186962306a36Sopenharmony_ci * Y is in the ground plane and positive towards magnetic North ; 187062306a36Sopenharmony_ci * X is in the ground plane, perpendicular to the North axis and 187162306a36Sopenharmony_ci positive towards the East ; 187262306a36Sopenharmony_ci * Z is perpendicular to the ground plane and positive upwards. 187362306a36Sopenharmony_ci 187462306a36Sopenharmony_ci An implementor might consider that for a hand-held device, a 187562306a36Sopenharmony_ci 'natural' orientation would be 'front facing camera at the top'. 187662306a36Sopenharmony_ci The main hardware reference frame could then be described as : 187762306a36Sopenharmony_ci 187862306a36Sopenharmony_ci * Y is in the plane of the screen and is positive towards the 187962306a36Sopenharmony_ci top of the screen ; 188062306a36Sopenharmony_ci * X is in the plane of the screen, perpendicular to Y axis, and 188162306a36Sopenharmony_ci positive towards the right hand side of the screen ; 188262306a36Sopenharmony_ci * Z is perpendicular to the screen plane and positive out of the 188362306a36Sopenharmony_ci screen. 188462306a36Sopenharmony_ci 188562306a36Sopenharmony_ci Another example for a quadrotor UAV might be : 188662306a36Sopenharmony_ci 188762306a36Sopenharmony_ci * Y is in the plane of the propellers and positive towards the 188862306a36Sopenharmony_ci front-view camera; 188962306a36Sopenharmony_ci * X is in the plane of the propellers, perpendicular to Y axis, 189062306a36Sopenharmony_ci and positive towards the starboard side of the UAV ; 189162306a36Sopenharmony_ci * Z is perpendicular to propellers plane and positive upwards. 189262306a36Sopenharmony_ci 189362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw 189462306a36Sopenharmony_ciKernelVersion: 4.8 189562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 189662306a36Sopenharmony_ciDescription: 189762306a36Sopenharmony_ci Raw (unscaled no offset etc.) electric conductivity reading. 189862306a36Sopenharmony_ci Units after application of scale and offset are siemens per 189962306a36Sopenharmony_ci meter. 190062306a36Sopenharmony_ci 190162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_countY_raw 190262306a36Sopenharmony_ciKernelVersion: 4.10 190362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 190462306a36Sopenharmony_ciDescription: 190562306a36Sopenharmony_ci This interface is deprecated; please use the Counter subsystem. 190662306a36Sopenharmony_ci 190762306a36Sopenharmony_ci Raw counter device counts from channel Y. For quadrature 190862306a36Sopenharmony_ci counters, multiplication by an available [Y]_scale results in 190962306a36Sopenharmony_ci the counts of a single quadrature signal phase from channel Y. 191062306a36Sopenharmony_ci 191162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw 191262306a36Sopenharmony_ciKernelVersion: 4.10 191362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 191462306a36Sopenharmony_ciDescription: 191562306a36Sopenharmony_ci This interface is deprecated; please use the Counter subsystem. 191662306a36Sopenharmony_ci 191762306a36Sopenharmony_ci Raw counter device index value from channel Y. This attribute 191862306a36Sopenharmony_ci provides an absolute positional reference (e.g. a pulse once per 191962306a36Sopenharmony_ci revolution) which may be used to home positional systems as 192062306a36Sopenharmony_ci required. 192162306a36Sopenharmony_ci 192262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available 192362306a36Sopenharmony_ciKernelVersion: 4.12 192462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 192562306a36Sopenharmony_ciDescription: 192662306a36Sopenharmony_ci This interface is deprecated; please use the Counter subsystem. 192762306a36Sopenharmony_ci 192862306a36Sopenharmony_ci A list of possible counting directions which are: 192962306a36Sopenharmony_ci 193062306a36Sopenharmony_ci - "up" : counter device is increasing. 193162306a36Sopenharmony_ci - "down": counter device is decreasing. 193262306a36Sopenharmony_ci 193362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction 193462306a36Sopenharmony_ciKernelVersion: 4.12 193562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 193662306a36Sopenharmony_ciDescription: 193762306a36Sopenharmony_ci This interface is deprecated; please use the Counter subsystem. 193862306a36Sopenharmony_ci 193962306a36Sopenharmony_ci Raw counter device counters direction for channel Y. 194062306a36Sopenharmony_ci 194162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_label 194262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/out_voltageY_label 194362306a36Sopenharmony_ciKernelVersion: 5.8 194462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 194562306a36Sopenharmony_ciDescription: 194662306a36Sopenharmony_ci Optional symbolic label to a device channel. 194762306a36Sopenharmony_ci If a label is defined for this channel add that to the channel 194862306a36Sopenharmony_ci specific attributes. This is useful for userspace to be able to 194962306a36Sopenharmony_ci better identify an individual channel. 195062306a36Sopenharmony_ci 195162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw 195262306a36Sopenharmony_ciKernelVersion: 4.18 195362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 195462306a36Sopenharmony_ciDescription: 195562306a36Sopenharmony_ci Raw (unscaled) phase difference reading from channel Y. 195662306a36Sopenharmony_ci Units after application of scale and offset are radians. 195762306a36Sopenharmony_ci 195862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input 195962306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input 196062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input 196162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input 196262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input 196362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input 196462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input 196562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input 196662306a36Sopenharmony_ciKernelVersion: 4.22 196762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 196862306a36Sopenharmony_ciDescription: 196962306a36Sopenharmony_ci Mass concentration reading of particulate matter in ug / m3. 197062306a36Sopenharmony_ci pmX consists of particles with aerodynamic diameter less or 197162306a36Sopenharmony_ci equal to X micrometers. 197262306a36Sopenharmony_ci 197362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available 197462306a36Sopenharmony_ciDate: November 2019 197562306a36Sopenharmony_ciKernelVersion: 5.4 197662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 197762306a36Sopenharmony_ciDescription: 197862306a36Sopenharmony_ci List of valid periods (in seconds) for which the light intensity 197962306a36Sopenharmony_ci must be above the threshold level before interrupt is asserted. 198062306a36Sopenharmony_ci 198162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency 198262306a36Sopenharmony_ciKernelVersion: 5.5 198362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 198462306a36Sopenharmony_ciDescription: 198562306a36Sopenharmony_ci Center frequency in Hz for a notch filter. Used i.e. for line 198662306a36Sopenharmony_ci noise suppression. 198762306a36Sopenharmony_ci 198862306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type 198962306a36Sopenharmony_ciKernelVersion: 5.5 199062306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 199162306a36Sopenharmony_ciDescription: 199262306a36Sopenharmony_ci One of the following thermocouple types: B, E, J, K, N, R, S, T. 199362306a36Sopenharmony_ci 199462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient 199562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient 199662306a36Sopenharmony_ciKernelVersion: 5.10 199762306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 199862306a36Sopenharmony_ciDescription: 199962306a36Sopenharmony_ci Calibrated ambient temperature for object temperature 200062306a36Sopenharmony_ci calculation in milli degrees Celsius. 200162306a36Sopenharmony_ci 200262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw 200362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw 200462306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw 200562306a36Sopenharmony_ciKernelVersion: 5.10 200662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 200762306a36Sopenharmony_ciDescription: 200862306a36Sopenharmony_ci Unscaled light intensity according to CIE 1931/DIN 5033 color space. 200962306a36Sopenharmony_ci Units after application of scale are nano nanowatts per square meter. 201062306a36Sopenharmony_ci 201162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_anglY_label 201262306a36Sopenharmony_ciKernelVersion: 5.12 201362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 201462306a36Sopenharmony_ciDescription: 201562306a36Sopenharmony_ci Optional symbolic label for channel Y. 201662306a36Sopenharmony_ci For Intel hid hinge sensor, the label values are: 201762306a36Sopenharmony_ci hinge, keyboard, screen. It means the three channels 201862306a36Sopenharmony_ci each correspond respectively to hinge angle, keyboard angle, 201962306a36Sopenharmony_ci and screen angle. 202062306a36Sopenharmony_ci 202162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative 202262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative 202362306a36Sopenharmony_ciKernelVersion: 5.12 202462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 202562306a36Sopenharmony_ciDescription: 202662306a36Sopenharmony_ci Specify the percent for light sensor relative to the channel 202762306a36Sopenharmony_ci absolute value that a data field should change before an event 202862306a36Sopenharmony_ci is generated. Units are a percentage of the prior reading. 202962306a36Sopenharmony_ci 203062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable 203162306a36Sopenharmony_ciDate: June 2020 203262306a36Sopenharmony_ciKernelVersion: 5.8 203362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 203462306a36Sopenharmony_ciDescription: 203562306a36Sopenharmony_ci Some sensors have the ability to apply auto calibration at 203662306a36Sopenharmony_ci runtime. For example, it may be necessary to compensate for 203762306a36Sopenharmony_ci contaminant build-up in a measurement chamber or optical 203862306a36Sopenharmony_ci element deterioration that would otherwise lead to sensor drift. 203962306a36Sopenharmony_ci 204062306a36Sopenharmony_ci Writing 1 or 0 to this attribute will respectively activate or 204162306a36Sopenharmony_ci deactivate this auto calibration function. 204262306a36Sopenharmony_ci 204362306a36Sopenharmony_ci Upon reading, the current status is returned. 204462306a36Sopenharmony_ci 204562306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value 204662306a36Sopenharmony_ciDate: June 2020 204762306a36Sopenharmony_ciKernelVersion: 5.8 204862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 204962306a36Sopenharmony_ciDescription: 205062306a36Sopenharmony_ci Some sensors have the ability to apply a manual calibration using 205162306a36Sopenharmony_ci a known measurement value, perhaps obtained from an external 205262306a36Sopenharmony_ci reference device. 205362306a36Sopenharmony_ci 205462306a36Sopenharmony_ci Writing a value to this function will force such a calibration 205562306a36Sopenharmony_ci change. For the scd30 the value should be from the range 205662306a36Sopenharmony_ci [400 1 2000]. 205762306a36Sopenharmony_ci 205862306a36Sopenharmony_ci Note for the scd30 that a valid value may only be obtained once 205962306a36Sopenharmony_ci it is has been written. Until then any read back of this value 206062306a36Sopenharmony_ci should be ignored. As for the scd4x an error will be returned 206162306a36Sopenharmony_ci immediately if the manual calibration has failed. 206262306a36Sopenharmony_ci 206362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available 206462306a36Sopenharmony_ciKernelVersion: 5.15 206562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 206662306a36Sopenharmony_ciDescription: 206762306a36Sopenharmony_ci Available range for the forced calibration value, expressed as: 206862306a36Sopenharmony_ci 206962306a36Sopenharmony_ci - a range specified as "[min step max]" 207062306a36Sopenharmony_ci 207162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageX_sampling_frequency 207262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency 207362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_currentZ_sampling_frequency 207462306a36Sopenharmony_ciKernelVersion: 5.20 207562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 207662306a36Sopenharmony_ciDescription: 207762306a36Sopenharmony_ci Some devices have separate controls of sampling frequency for 207862306a36Sopenharmony_ci individual channels. If multiple channels are enabled in a scan, 207962306a36Sopenharmony_ci then the sampling_frequency of the scan may be computed from the 208062306a36Sopenharmony_ci per channel sampling frequencies. 208162306a36Sopenharmony_ci 208262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_singletap_en 208362306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_doubletap_en 208462306a36Sopenharmony_ciKernelVersion: 6.1 208562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 208662306a36Sopenharmony_ciDescription: 208762306a36Sopenharmony_ci Device generates an event on a single or double tap. 208862306a36Sopenharmony_ci 208962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_singletap_value 209062306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_doubletap_value 209162306a36Sopenharmony_ciKernelVersion: 6.1 209262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 209362306a36Sopenharmony_ciDescription: 209462306a36Sopenharmony_ci Specifies the threshold value that the device is comparing 209562306a36Sopenharmony_ci against to generate the tap gesture event. The lower 209662306a36Sopenharmony_ci threshold value increases the sensitivity of tap detection. 209762306a36Sopenharmony_ci Units and the exact meaning of value are device-specific. 209862306a36Sopenharmony_ci 209962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_tap_value_available 210062306a36Sopenharmony_ciKernelVersion: 6.1 210162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 210262306a36Sopenharmony_ciDescription: 210362306a36Sopenharmony_ci Lists all available threshold values which can be used to 210462306a36Sopenharmony_ci modify the sensitivity of the tap detection. 210562306a36Sopenharmony_ci 210662306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_singletap_reset_timeout 210762306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_doubletap_reset_timeout 210862306a36Sopenharmony_ciKernelVersion: 6.1 210962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 211062306a36Sopenharmony_ciDescription: 211162306a36Sopenharmony_ci Specifies the timeout value in seconds for the tap detector 211262306a36Sopenharmony_ci to not to look for another tap event after the event as 211362306a36Sopenharmony_ci occurred. Basically the minimum quiet time between the two 211462306a36Sopenharmony_ci single-tap's or two double-tap's. 211562306a36Sopenharmony_ci 211662306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_tap_reset_timeout_available 211762306a36Sopenharmony_ciKernelVersion: 6.1 211862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 211962306a36Sopenharmony_ciDescription: 212062306a36Sopenharmony_ci Lists all available tap reset timeout values. Units in seconds. 212162306a36Sopenharmony_ci 212262306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay 212362306a36Sopenharmony_ciKernelVersion: 6.1 212462306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 212562306a36Sopenharmony_ciDescription: 212662306a36Sopenharmony_ci Specifies the minimum quiet time in seconds between the two 212762306a36Sopenharmony_ci taps of a double tap. 212862306a36Sopenharmony_ci 212962306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available 213062306a36Sopenharmony_ciKernelVersion: 6.1 213162306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 213262306a36Sopenharmony_ciDescription: 213362306a36Sopenharmony_ci Lists all available delay values between two taps in the double 213462306a36Sopenharmony_ci tap. Units in seconds. 213562306a36Sopenharmony_ci 213662306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_tap_maxtomin_time 213762306a36Sopenharmony_ciKernelVersion: 6.1 213862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 213962306a36Sopenharmony_ciDescription: 214062306a36Sopenharmony_ci Specifies the maximum time difference allowed between upper 214162306a36Sopenharmony_ci and lower peak of tap to consider it as the valid tap event. 214262306a36Sopenharmony_ci Units in seconds. 214362306a36Sopenharmony_ci 214462306a36Sopenharmony_ciWhat: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available 214562306a36Sopenharmony_ciKernelVersion: 6.1 214662306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 214762306a36Sopenharmony_ciDescription: 214862306a36Sopenharmony_ci Lists all available time values between upper peak to lower 214962306a36Sopenharmony_ci peak. Units in seconds. 215062306a36Sopenharmony_ci 215162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw 215262306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw 215362306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw 215462306a36Sopenharmony_ciKernelVersion: 6.1 215562306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 215662306a36Sopenharmony_ciDescription: 215762306a36Sopenharmony_ci Raw (unscaled) euler angles readings. Units after 215862306a36Sopenharmony_ci application of scale are deg. 215962306a36Sopenharmony_ci 216062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/serialnumber 216162306a36Sopenharmony_ciKernelVersion: 6.1 216262306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 216362306a36Sopenharmony_ciDescription: 216462306a36Sopenharmony_ci An example format is 16-bytes, 2-digits-per-byte, HEX-string 216562306a36Sopenharmony_ci representing the sensor unique ID number. 216662306a36Sopenharmony_ci 216762306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity_thresh_either_runningperiod 216862306a36Sopenharmony_ciKernelVersion: 6.6 216962306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 217062306a36Sopenharmony_ciDescription: 217162306a36Sopenharmony_ci A running period of time (in seconds) for which 217262306a36Sopenharmony_ci in_proximity_thresh_either_runningcount amount of conditions 217362306a36Sopenharmony_ci must occur before an event is generated. If direction is not 217462306a36Sopenharmony_ci specified then this period applies to both directions. 217562306a36Sopenharmony_ci 217662306a36Sopenharmony_ciWhat: /sys/.../events/in_proximity_thresh_either_runningcount 217762306a36Sopenharmony_ciKernelVersion: 6.6 217862306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 217962306a36Sopenharmony_ciDescription: 218062306a36Sopenharmony_ci Number of conditions that must occur, during a running 218162306a36Sopenharmony_ci period, before an event is generated. 2182