Lines Matching +full:lsb +full:- +full:first
1 /* SPDX-License-Identifier: GPL-2.0-only */
16 * Read-Only Registers
63 * Read-write configuration registers
123 * BMA400_SCALE_MIN macro value represents m/s^2 for 1 LSB before
124 * converting to micro values for +-2g range.
126 * For +-2g - 1 LSB = 0.976562 milli g = 0.009576 m/s^2
127 * For +-4g - 1 LSB = 1.953125 milli g = 0.019153 m/s^2
128 * For +-16g - 1 LSB = 7.8125 milli g = 0.076614 m/s^2
131 * by the first bit set position from the scale value, so BMA400_SCALE_MIN
134 * Scale values for +-2g, +-4g, +-8g and +-16g are populated into bma400_scales
137 * To select +-2g = 9577 << 0 = raw value to write is 0.
138 * To select +-8g = 9577 << 2 = raw value to write is 2.
139 * To select +-16g = 9577 << 3 = raw value to write is 3.