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

Flat detector settings. More...

#include <sfDevBMI330.h>

Public Attributes

uint8_t theta = 8
 Angle threshold for "flat". Range 0 to 63. More...
 
uint8_t blocking = 2
 Suppress detection during motion. 0 none to 3 most aggressive. More...
 
uint8_t holdTime = 32
 Stability required before reporting, 20 ms/LSB. More...
 
uint8_t hysteresis = 9
 Angle hysteresis, same units as theta. More...
 
uint8_t slopeThreshold = 0xCD
 Slope threshold used by blocking, 1.953 mg/LSB. More...
 

Detailed Description

Flat detector settings.

Flat fires when the device has been lying within theta of horizontal for holdTime. Defaults are the device's power-on values.

Member Data Documentation

◆ blocking

uint8_t sfe_bmi330_flat_config_t::blocking = 2

Suppress detection during motion. 0 none to 3 most aggressive.

◆ holdTime

uint8_t sfe_bmi330_flat_config_t::holdTime = 32

Stability required before reporting, 20 ms/LSB.

◆ hysteresis

uint8_t sfe_bmi330_flat_config_t::hysteresis = 9

Angle hysteresis, same units as theta.

◆ slopeThreshold

uint8_t sfe_bmi330_flat_config_t::slopeThreshold = 0xCD

Slope threshold used by blocking, 1.953 mg/LSB.

◆ theta

uint8_t sfe_bmi330_flat_config_t::theta = 8

Angle threshold for "flat". Range 0 to 63.


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