Skip to content

Commit b62bbfc

Browse files
Dan-Lightsourcecalvinatintel
authored andcommitted
imu: add missing accelerometer sample rate options
- The following sample rates were previously omitted: - 25/32 Hz - 25/16 Hz - 25/8 Hz - 25/4 Hz Signed-off-by: Dan O'Donovan <dan@emutex.com>
1 parent 4263675 commit b62bbfc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/CurieImu/src/BMI160.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ THE SOFTWARE.
292292
#define BMI160_ACCEL_RANGE_16G 0X0C
293293

294294
/* Accelerometer Output Data Rate Options */
295+
#define BMI160_ACCEL_RATE_25_32HZ 0x01
296+
#define BMI160_ACCEL_RATE_25_16HZ 0x02
297+
#define BMI160_ACCEL_RATE_25_8HZ 0x03
298+
#define BMI160_ACCEL_RATE_25_4HZ 0x04
295299
#define BMI160_ACCEL_RATE_25_2HZ 0x05
296300
#define BMI160_ACCEL_RATE_25HZ 0x06
297301
#define BMI160_ACCEL_RATE_50HZ 0x07

0 commit comments

Comments
 (0)