public interface Bmi160Accelerometer extends Accelerometer
Modifier and Type | Interface and Description |
---|---|
static class |
Bmi160Accelerometer.AccRange
Supported g-ranges for the accelerometer
|
static interface |
Bmi160Accelerometer.AnyMotionConfigEditor
Interface for configuring any motion detection
|
static class |
Bmi160Accelerometer.Axis
Axes available for motion detection on the BMI160 chip.
|
static class |
Bmi160Accelerometer.DoubleTapWindow
Available windows for double tap detection
|
static interface |
Bmi160Accelerometer.FlatDetectionConfigEditor
Interface for configuring flat detection
|
static class |
Bmi160Accelerometer.FlatHoldTime
Enumeration of hold times for flat detection
|
static class |
Bmi160Accelerometer.LowGMode
Interrupt modes for low-g detection
|
static interface |
Bmi160Accelerometer.LowHighDetectionConfigEditor
Interface for configuring low/high G detection
|
static interface |
Bmi160Accelerometer.LowHighResponse
Wrapper class encapsulating the data from a low/high g intereupt
|
static interface |
Bmi160Accelerometer.MotionResponse
Wrapper class encapsulating responses from motion detection.
|
static class |
Bmi160Accelerometer.MotionType
Types of motion detection on the BMI160 chip
|
static interface |
Bmi160Accelerometer.NoMotionConfigEditor
Interface for configuring no motion detection
|
static interface |
Bmi160Accelerometer.OrientationConfigEditor
Interface for configuring orientation detection
|
static class |
Bmi160Accelerometer.OrientationMode
Calculation modes that control the conditions that determine the board's orientation
|
static class |
Bmi160Accelerometer.OutputDataRate
Operating frequencies of the accelerometer
|
static class |
Bmi160Accelerometer.ProofTime
Proof times available for significant motion detection
|
static interface |
Bmi160Accelerometer.SamplingConfigEditor
Interface for configuring acceleration sampling
|
static class |
Bmi160Accelerometer.SensorOrientation
Orientation definitions for the BMI160 accelerometer as defined from the placement and orientation of
the BMI160 sensor.
|
static class |
Bmi160Accelerometer.Sign
Direction of motion for high-g interrupts
|
static interface |
Bmi160Accelerometer.SignificantMotionConfigEditor
Interface for configuring significant motion detection
|
static class |
Bmi160Accelerometer.SkipTime
Skip times available for significant motion detection
|
static interface |
Bmi160Accelerometer.SlowMotionConfigEditor
Interface for configuring slow motion detection
|
static interface |
Bmi160Accelerometer.SourceSelector
Selector for available data sources on the BMI160 sensor
|
static interface |
Bmi160Accelerometer.StepDetectionConfigEditor
Interface for configuring the step detector
|
static class |
Bmi160Accelerometer.StepSensitivity
Sensitivity setting for the step counter
|
static interface |
Bmi160Accelerometer.TapConfigEditor
Interface for configuring tap detection
|
static class |
Bmi160Accelerometer.TapQuietTime
Available quiet times for double tap detection
|
static interface |
Bmi160Accelerometer.TapResponse
Wrapper class encapsulating responses from tap detection
|
static class |
Bmi160Accelerometer.TapShockTime
Available shock times for tap detection
|
static class |
Bmi160Accelerometer.TapType
Tap types to detect on the BMI160 chip
|
Accelerometer.BoardOrientation
Modifier and Type | Method and Description |
---|---|
Bmi160Accelerometer.AnyMotionConfigEditor |
configureAnyMotionDetection()
Configures any motion detection
|
Bmi160Accelerometer.SamplingConfigEditor |
configureAxisSampling()
Configures the settings for acceleration sampling
|
Bmi160Accelerometer.FlatDetectionConfigEditor |
configureFlatDetection()
Configures the settings for flat detection
|
Bmi160Accelerometer.LowHighDetectionConfigEditor |
configureLowHighDetection()
Configures the settings for low/high G detection
|
Bmi160Accelerometer.NoMotionConfigEditor |
configureNoMotionDetection()
Configures no motion detection
|
Bmi160Accelerometer.OrientationConfigEditor |
configureOrientationDetection()
Configures the settings for orientation detection
|
Bmi160Accelerometer.SignificantMotionConfigEditor |
configureSignificantMotionDetection()
Configures significant motion detection
|
Bmi160Accelerometer.SlowMotionConfigEditor |
configureSlowMotionDetection()
Configures slow motion detection
|
Bmi160Accelerometer.StepDetectionConfigEditor |
configureStepDetection()
Configures the settings for step detection
|
Bmi160Accelerometer.TapConfigEditor |
configureTapDetection()
Configures tap detection
|
void |
disableFlatDetection()
Disables flat detection
|
void |
disableLowHighDetection()
Disable low/high G detection
|
void |
disableMotionDetection()
Disables motion detection
|
void |
disableStepDetection()
Disable step detection
|
void |
disableTapDetection()
Disables tap detection
|
void |
enableFlatDetection()
Enables flat detection
|
void |
enableLowHighDetection(boolean lowG,
boolean highGx,
boolean highGy,
boolean highGz)
Enables low/high G detection
|
void |
enableMotionDetection(Bmi160Accelerometer.MotionType type)
Enables motion detection
|
void |
enableStepDetection()
Enable step detection
|
void |
enableTapDetection(Bmi160Accelerometer.TapType... types)
Enables tap detection
|
void |
readStepCounter(boolean silent)
Reads the current value in the step counter.
|
void |
resetStepCounter()
Resets the step counter
|
Bmi160Accelerometer.SourceSelector |
routeData()
Initiates the creation of a route for BMI160 sensor data
|
void |
startLowPower()
Starts the accelerometer in low power mode
|
disableAxisSampling, disableOrientationDetection, enableAxisSampling, enableOrientationDetection, setAxisSamplingRange, setOutputDataRate, start, stop
Bmi160Accelerometer.SamplingConfigEditor configureAxisSampling()
Bmi160Accelerometer.OrientationConfigEditor configureOrientationDetection()
Bmi160Accelerometer.FlatDetectionConfigEditor configureFlatDetection()
void enableFlatDetection()
void disableFlatDetection()
Bmi160Accelerometer.StepDetectionConfigEditor configureStepDetection()
void readStepCounter(boolean silent)
Bmi160Accelerometer.StepDetectionConfigEditor
object.silent
- True if the read should be silentvoid resetStepCounter()
void enableStepDetection()
void disableStepDetection()
Bmi160Accelerometer.LowHighDetectionConfigEditor configureLowHighDetection()
void enableLowHighDetection(boolean lowG, boolean highGx, boolean highGy, boolean highGz)
lowG
- True if low-g should be detectedhighGx
- True if high-g on the x-axis should be detectedhighGy
- True if high-g on the y-axis should be detectedhighGz
- True if high-g on the z-axis should be detectedvoid disableLowHighDetection()
Bmi160Accelerometer.AnyMotionConfigEditor configureAnyMotionDetection()
Bmi160Accelerometer.NoMotionConfigEditor configureNoMotionDetection()
Bmi160Accelerometer.SignificantMotionConfigEditor configureSignificantMotionDetection()
Bmi160Accelerometer.SlowMotionConfigEditor configureSlowMotionDetection()
void enableMotionDetection(Bmi160Accelerometer.MotionType type)
type
- Type of motion to detectvoid disableMotionDetection()
Bmi160Accelerometer.TapConfigEditor configureTapDetection()
void enableTapDetection(Bmi160Accelerometer.TapType... types)
types
- Tap types to detectvoid disableTapDetection()
void startLowPower()
Bmi160Accelerometer.SourceSelector routeData()
routeData
in interface Accelerometer