public interface AccelerometerMma8452q extends Accelerometer
Accelerometer
interface providing finer control of the MMA8452Q accelerometerModifier and Type | Interface and Description |
---|---|
static interface |
AccelerometerMma8452q.ConfigEditor
Accelerometer configuration editor specific to the MMA8452Q accelerometer
|
static class |
AccelerometerMma8452q.FullScaleRange
Available data ranges for the MMA8452Q accelerometer
|
static class |
AccelerometerMma8452q.Movement
Wrapper class encapsulating free fall, motion, and shake interrupts from the MMA8452Q
|
static interface |
AccelerometerMma8452q.MovementConfigEditor
Configuration editor for the movement detection algorithm
|
static interface |
AccelerometerMma8452q.MovementDataProducer
On-board algorithm that detects sensor movement.
|
static interface |
AccelerometerMma8452q.OrientationConfigEditor
Configuration editor for the orientation detection algorithm
|
static interface |
AccelerometerMma8452q.OrientationDataProducer
On-board algorithm that detects changes in the sensor's orientation
|
static class |
AccelerometerMma8452q.OutputDataRate
Available data rates for the MMA8452Q accelerometer
|
static class |
AccelerometerMma8452q.Oversampling
Available oversampling modes on the MMA8452Q sensor
|
static interface |
AccelerometerMma8452q.ShakeConfigEditor
Configuration editor for the shake detection algorithm
|
static interface |
AccelerometerMma8452q.ShakeDataProducer
On-board algorithm that detects when the sensor is shaken
|
static class |
AccelerometerMma8452q.SleepModeRate
Available data rates when the sensor is in sleep mode
|
static class |
AccelerometerMma8452q.Tap
Wrapper class encapsulating tap data from the MMA8452Q accelerometer
|
static interface |
AccelerometerMma8452q.TapConfigEditor
Configuration editor for the tap detection algorithm
|
static interface |
AccelerometerMma8452q.TapDataProducer
On-board algorithm that detects taps
|
Accelerometer.AccelerationDataProducer
Modifier and Type | Method and Description |
---|---|
AccelerometerMma8452q.ConfigEditor |
configure()
Configure the MMA8452Q accelerometer
|
AccelerometerMma8452q.MovementDataProducer |
freeFall()
Get an implementation of the MovementDataProducer interface for free fall detection
|
AccelerometerMma8452q.MovementDataProducer |
motion()
Get an implementation of the MovementDataProducer interface for motion detection
|
AccelerometerMma8452q.OrientationDataProducer |
orientation()
Get an implementation of the OrientationDataProducer interface
|
AccelerometerMma8452q.ShakeDataProducer |
shake()
Get an implementation of the ShakeDataProducer interface
|
AccelerometerMma8452q.TapDataProducer |
tap()
Get an implementation of the TapDataProducer interface
|
acceleration, getOdr, getRange, packedAcceleration, pullConfigAsync, start, stop
AccelerometerMma8452q.ConfigEditor configure()
configure
in interface Configurable<Accelerometer.ConfigEditor<? extends Accelerometer.ConfigEditor>>
AccelerometerMma8452q.OrientationDataProducer orientation()
AccelerometerMma8452q.ShakeDataProducer shake()
AccelerometerMma8452q.TapDataProducer tap()
AccelerometerMma8452q.MovementDataProducer freeFall()
AccelerometerMma8452q.MovementDataProducer motion()