SparkFun BMI330 Arduino Library  v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
Loading...
Searching...
No Matches
sfe_bmi330_sig_motion_config_t Struct Reference

Significant motion detector settings. More...

#include <sfDevBMI330.h>

Public Attributes

uint16_t blockSize = 250
 Samples evaluated per decision, 20 ms/LSB. More...
 
uint16_t peakToPeakMin = 30
 Minimum peak-to-peak magnitude, 1.953 mg/LSB. Range 0 to 1023. More...
 
uint8_t mcrMin = 17
 Minimum mean crossings per second. Range 0 to 63. More...
 
uint16_t peakToPeakMax = 253
 Maximum peak-to-peak magnitude, 1.953 mg/LSB. Range 0 to 1023. More...
 
uint8_t mcrMax = 17
 Maximum mean crossings per second. Range 0 to 63. More...
 

Detailed Description

Significant motion detector settings.

Significant motion looks for sustained, human-scale movement - walking across a room rather than a door slamming nearby - by measuring the peak-to-peak acceleration magnitude and the mean-crossing rate over a block of samples, and requiring both to fall inside a window. Defaults are the device's power-on values.

Member Data Documentation

◆ blockSize

uint16_t sfe_bmi330_sig_motion_config_t::blockSize = 250

Samples evaluated per decision, 20 ms/LSB.

◆ mcrMax

uint8_t sfe_bmi330_sig_motion_config_t::mcrMax = 17

Maximum mean crossings per second. Range 0 to 63.

◆ mcrMin

uint8_t sfe_bmi330_sig_motion_config_t::mcrMin = 17

Minimum mean crossings per second. Range 0 to 63.

◆ peakToPeakMax

uint16_t sfe_bmi330_sig_motion_config_t::peakToPeakMax = 253

Maximum peak-to-peak magnitude, 1.953 mg/LSB. Range 0 to 1023.

◆ peakToPeakMin

uint16_t sfe_bmi330_sig_motion_config_t::peakToPeakMin = 30

Minimum peak-to-peak magnitude, 1.953 mg/LSB. Range 0 to 1023.


The documentation for this struct was generated from the following file: