Crate bma423

Source
Expand description

Driver for the BMA323 accelerometer chip by BOSCH.

Refer to the datasheet and the features application note for more details about the device and its rich feature set. Be aware that the current version of the datasheet is 2.0, and there are many copies of the incorrect version 1.1 floating around online.

Modules§

features
Items for configuring the features of the chip.

Structs§

Bma423
Structure representing the BMA423 chip.
Config
Configuration of the accelerometer measurements.
FeatureInterruptStatus
Feature interrupt status.
FullPower
Normal full power state.
HardwareInterruptStatus
Hardware interrupt status.
InterruptStatus
Interrupt status structure.
PowerControlFlag
PowerSave
Advanced power save state.
Uninitialized
Uninitialized state.

Enums§

AccelConfigBandwidth
Accelerometer sample bandwidth and averaging.
AccelConfigOdr
Accelerometer sampling rates.
AccelConfigPerfMode
Accelerometer filter mode
AccelRange
Accelerometer acceleration vector range.
ChipId
Accelerometer chip ID.
Error
General accelerometer error.
InterruptDirection
Direction of an interrupt pin, i.e. an input or and output.
InterruptLevel
Interrupt pin output level.
InterruptLine
Which interrupt line.
InterruptOutputBehavior
Interrupt pin output behavior.
InterruptTriggerCondition
Interrupt trigger condition when configured as an input.

Traits§

Initialized
A general initialized state.