public interface Bma255Accelerometer extends Accelerometer
Modifier and Type | Interface and Description |
---|---|
static interface |
Bma255Accelerometer.FlatDetectionConfigEditor
Interface for configuring flat detection
|
static class |
Bma255Accelerometer.FlatHoldTime
Enumeration of hold times for flat detection
|
static class |
Bma255Accelerometer.MotionType
Types of motion detection on the BMA255 chip
|
static interface |
Bma255Accelerometer.OrientationConfigEditor
Interface for configuring orientation detection
|
static class |
Bma255Accelerometer.OutputDataRate
Operating frequencies of the accelerometer
|
static interface |
Bma255Accelerometer.SamplingConfigEditor
Interface for configuring acceleration sampling
|
static interface |
Bma255Accelerometer.SourceSelector
Selector for available data sources on the BMI160 sensor
|
Accelerometer.BoardOrientation
disableAxisSampling, disableOrientationDetection, enableAxisSampling, enableOrientationDetection, setAxisSamplingRange, setOutputDataRate, start, stop
Bma255Accelerometer.OrientationConfigEditor configureOrientationDetection()
Bma255Accelerometer.SamplingConfigEditor configureAxisSampling()
Bmi160Accelerometer.AnyMotionConfigEditor configureAnyMotionDetection()
Bmi160Accelerometer.NoMotionConfigEditor configureNoMotionDetection()
Bmi160Accelerometer.SlowMotionConfigEditor configureSlowMotionDetection()
void enableMotionDetection(Bma255Accelerometer.MotionType type)
type
- Type of motion to detectvoid disableMotionDetection()
Bmi160Accelerometer.TapConfigEditor configureTapDetection()
void enableTapDetection(Bmi160Accelerometer.TapType... types)
types
- Tap types to detectvoid disableTapDetection()
Bma255Accelerometer.FlatDetectionConfigEditor configureFlatDetection()
void enableFlatDetection()
void disableFlatDetection()
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()
Bma255Accelerometer.SourceSelector routeData()
routeData
in interface Accelerometer