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_tilt_config_t Struct Reference

Tilt detector settings. More...

#include <sfDevBMI330.h>

Public Attributes

uint8_t segmentSize = 100
 Samples averaged into the reference vector, 20 ms/LSB. More...
 
uint8_t minTiltAngle = 210
 Minimum angle to report, as 256 * cos(angle). 210 is about 35 degrees. More...
 
uint16_t betaAccelMean = 0xF069
 Exponential smoothing factor for the mean, Q15. More...
 

Detailed Description

Tilt detector settings.

Tilt fires when the device's gravity vector has moved more than minTiltAngle away from a slowly-updated reference vector. Defaults are the device's power-on values.

Member Data Documentation

◆ betaAccelMean

uint16_t sfe_bmi330_tilt_config_t::betaAccelMean = 0xF069

Exponential smoothing factor for the mean, Q15.

◆ minTiltAngle

uint8_t sfe_bmi330_tilt_config_t::minTiltAngle = 210

Minimum angle to report, as 256 * cos(angle). 210 is about 35 degrees.

◆ segmentSize

uint8_t sfe_bmi330_tilt_config_t::segmentSize = 100

Samples averaged into the reference vector, 20 ms/LSB.


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