![]() |
SparkFun BMI330 Arduino Library
v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
|
Any-motion and no-motion detector settings. More...
#include <sfDevBMI330.h>
Public Attributes | |
| uint16_t | slopeThreshold = 10 |
| Slope threshold, 1.953 mg/LSB. Range 0 to 4095. More... | |
| bool | accelRefUpdate = true |
| Continuously update the acceleration reference. More... | |
| uint16_t | hysteresis = 2 |
| Slope hysteresis, 1.953 mg/LSB. Range 0 to 1023. More... | |
| uint16_t | duration = 10 |
| Samples the condition must hold, 20 ms/LSB. Range 0 to 8191. More... | |
| uint8_t | waitTime = 3 |
| Delay before clearing the event, 20 ms/LSB. Range 0 to 7. More... | |
Any-motion and no-motion detector settings.
The two detectors are mirror images and share this structure. Any-motion fires when the slope of the acceleration signal stays ABOVE slopeThreshold for duration consecutive samples; no-motion fires when it stays BELOW.
| bool sfe_bmi330_motion_config_t::accelRefUpdate = true |
Continuously update the acceleration reference.
| uint16_t sfe_bmi330_motion_config_t::duration = 10 |
Samples the condition must hold, 20 ms/LSB. Range 0 to 8191.
| uint16_t sfe_bmi330_motion_config_t::hysteresis = 2 |
Slope hysteresis, 1.953 mg/LSB. Range 0 to 1023.
| uint16_t sfe_bmi330_motion_config_t::slopeThreshold = 10 |
Slope threshold, 1.953 mg/LSB. Range 0 to 4095.
| uint8_t sfe_bmi330_motion_config_t::waitTime = 3 |
Delay before clearing the event, 20 ms/LSB. Range 0 to 7.