Bosch BMA400 driver
- Custom TwoWire interface (default is Wire)
- Auto address detect.
Initialize
- Getting/Setting Power Mode (8 modes. see
power_mode_t
)SetPowerMode
GetPowerMode
- Getting/Setting Acceleration data (processed in mg/unprocessed raw values)
ReadAcceleration
- Getting/Setting Auto Low Power configurations.
ConfigureAutoLowPower
SetAutoLowPowerOnDataReady
SetAutoLowPowerOnGenericInterrupt1
SetAutoLowPowerOnTimeout
- Getting/Setting Output Data rate (16 rates. see
output_data_rate_t
).SetDataRate
GetDataRate
- Getting/Setting Range.
SetRange
GetRange
- Configuring Generic Interrupts.
ConfigureGenericInterrupt
- Configuring Activity Change Interrupt.
ConfigureActivityChangeInterrupt
- Configuring Step detection Interrupt (as well as step counter).
ConfigureStepDetectorCounter
- Reading and Reseting to total steps.
GetTotalSteps
ResetStepCounter
- Configuring Single & Double tap detection Interrupt.
ConfigureTapInterrupt
- Configuring Orientention change Interrupt.
ConfigureOrientationChangeInterrupt
- Setting Reference vector(acceleration) for Generic & Oreintation Changed Interrupts usig current/given values.
SetGenericInterruptReference
SetOrientationReference
- Mapping interrupts with the external interrupt pins.
LinkToInterruptPin
- Reading the interrupt register.
GetInterrupts
- Electrical Configuration of interrupt pins.
ConfigureInterruptPinSettings
- Configuring the basic interrupts
ConfigureBasicInterrupts
- Basic automatically finding address and using default I2C interface
- Basic with Custom Interface automatically finding address and using user defined I2C interface
- Motion Detection Interrupt
- Step Detection/Counter Interrupt
- Tap Detection Interrupt for single and double taps