47 lines · plain
1What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_mode_available2KernelVersion: 6.23Contact: linux-iio@vger.kernel.org4Description:5 Reading returns a list with the possible filter modes.6 7 * "sinc4" - Sinc 4. Excellent noise performance. Long8 1st conversion time. No natural 50/60Hz rejection.9 10 * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion11 time.12 13 * "sinc3" - Sinc3. Moderate 1st conversion time.14 Good noise performance.15 16 * "sinc3+rej60" - Sinc3 + 60Hz rejection. At a sampling17 frequency of 50Hz, achieves simultaneous 50Hz and 60Hz18 rejection.19 20 * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion21 time. Best used with a sampling frequency of at least22 216.19Hz.23 24 * "sinc3+pf1" - Sinc3 + Post Filter 1. 53dB rejection @25 50Hz, 58dB rejection @ 60Hz.26 27 * "sinc3+pf2" - Sinc3 + Post Filter 2. 70dB rejection @28 50Hz, 70dB rejection @ 60Hz.29 30 * "sinc3+pf3" - Sinc3 + Post Filter 3. 99dB rejection @31 50Hz, 103dB rejection @ 60Hz.32 33 * "sinc3+pf4" - Sinc3 + Post Filter 4. 103dB rejection @34 50Hz, 109dB rejection @ 60Hz.35 36What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_mode37KernelVersion: 6.238Contact: linux-iio@vger.kernel.org39Description:40 Set the filter mode of the differential channel. When the filter41 mode changes, the in_voltageY-voltageZ_sampling_frequency and42 in_voltageY-voltageZ_sampling_frequency_available attributes43 might also change to accommodate the new filter mode.44 If the current sampling frequency is out of range for the new45 filter mode, the sampling frequency will be changed to the46 closest valid one.47