Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
iio: accel: sca3300: Add interface for operation modes.
The acceleration scale and the frequency were set via operation modes, the scal and frequency are both non-uniqueness, this leads to logic confusion for setting scale.and.frequency. it getting worse if add more different sensor types into the driver. The commit add an interface for set and get the operation modes. the following interfaces added: in_accel_op_mode_available in_op_mode SCA3300 operation modes table: | Mode | Full-scale | low pass filter frequency | | ---- | ---------- | ------------------------- | | 1 | ± 3 g | 70 Hz | | 2 | ± 6 g | 70 Hz | | 3 | ± 1.5 g | 70 Hz | | 4 | ± 1.5 g | 10 Hz | Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
- Loading branch information