![]() |
SparkFun BMI330 Arduino Library
v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
|
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... | |
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.
| uint8_t sfe_bmi330_orientation_config_t::blocking = 3 |
Suppress detection during motion. 0 none to 3 most aggressive.
| bool sfe_bmi330_orientation_config_t::faceUpDownEnabled = false |
Also classify face up versus face down.
| uint8_t sfe_bmi330_orientation_config_t::holdTime = 5 |
Stability required before reporting, 20 ms/LSB. Range 0 to 31.
| uint8_t sfe_bmi330_orientation_config_t::hysteresis = 0x80 |
Acceleration hysteresis, 1.953 mg/LSB.
| uint8_t sfe_bmi330_orientation_config_t::mode = 0 |
0 symmetrical, 1 high asymmetrical, 2 low asymmetrical.
| uint8_t sfe_bmi330_orientation_config_t::slopeThreshold = 0xC8 |
Slope threshold used by blocking, 1.953 mg/LSB.
| uint8_t sfe_bmi330_orientation_config_t::theta = 40 |
Blocking angle threshold. Range 0 to 63.