|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
Event callbacks for the sensor. More...
#include <SensorBMA422.hpp>
Public Attributes | |
| std::function< void(void)> | onAnyMotion = nullptr |
| Callback for any motion detection. | |
| std::function< void(void)> | onNoMotion = nullptr |
| Callback for no-motion detection. | |
| std::function< void(AccelerometerData &)> | onDataReady = nullptr |
| Callback for new accelerometer data. | |
Event callbacks for the sensor.
Definition at line 49 of file sensor/accelerometer/bma/SensorBMA422.hpp.
| std::function<void(void)> SensorBMA422::EventCallbacks::onAnyMotion = nullptr |
Callback for any motion detection.
Definition at line 50 of file sensor/accelerometer/bma/SensorBMA422.hpp.
Referenced by SensorBMA422::setOnAnyMotionCallback(), and SensorBMA422::update().
| std::function<void(AccelerometerData &)> SensorBMA422::EventCallbacks::onDataReady = nullptr |
Callback for new accelerometer data.
Definition at line 52 of file sensor/accelerometer/bma/SensorBMA422.hpp.
Referenced by SensorBMA422::setOnDataReadyCallback(), and SensorBMA422::update().
| std::function<void(void)> SensorBMA422::EventCallbacks::onNoMotion = nullptr |
Callback for no-motion detection.
Definition at line 51 of file sensor/accelerometer/bma/SensorBMA422.hpp.
Referenced by SensorBMA422::setOnNoMotionCallback(), and SensorBMA422::update().