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

Orientation detector settings. More...

#include <sfDevBMI330.h>

Public Attributes

bool faceUpDownEnabled = false
 Also classify face up versus face down. More...
 
uint8_t mode = 0
 0 symmetrical, 1 high asymmetrical, 2 low asymmetrical. More...
 
uint8_t blocking = 3
 Suppress detection during motion. 0 none to 3 most aggressive. More...
 
uint8_t theta = 40
 Blocking angle threshold. Range 0 to 63. More...
 
uint8_t holdTime = 5
 Stability required before reporting, 20 ms/LSB. Range 0 to 31. More...
 
uint8_t slopeThreshold = 0xC8
 Slope threshold used by blocking, 1.953 mg/LSB. More...
 
uint8_t hysteresis = 0x80
 Acceleration hysteresis, 1.953 mg/LSB. More...
 

Detailed Description

Orientation detector settings.

Orientation classifies the device as portrait or landscape (and, optionally, face up or face down) and interrupts on a change. Defaults are the device's power-on values.

Member Data Documentation

◆ blocking

uint8_t sfe_bmi330_orientation_config_t::blocking = 3

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

◆ faceUpDownEnabled

bool sfe_bmi330_orientation_config_t::faceUpDownEnabled = false

Also classify face up versus face down.

◆ holdTime

uint8_t sfe_bmi330_orientation_config_t::holdTime = 5

Stability required before reporting, 20 ms/LSB. Range 0 to 31.

◆ hysteresis

uint8_t sfe_bmi330_orientation_config_t::hysteresis = 0x80

Acceleration hysteresis, 1.953 mg/LSB.

◆ mode

uint8_t sfe_bmi330_orientation_config_t::mode = 0

0 symmetrical, 1 high asymmetrical, 2 low asymmetrical.

◆ slopeThreshold

uint8_t sfe_bmi330_orientation_config_t::slopeThreshold = 0xC8

Slope threshold used by blocking, 1.953 mg/LSB.

◆ theta

uint8_t sfe_bmi330_orientation_config_t::theta = 40

Blocking angle threshold. Range 0 to 63.


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