Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Extended public API for TDK MEMS sensor. More...
#include <zephyr/drivers/sensor.h>
Go to the source code of this file.
Macros | |
#define | TDK_APEX_PEDOMETER (1) |
TDK APEX features. | |
#define | TDK_APEX_TILT (2) |
#define | TDK_APEX_SMD (3) |
#define | TDK_APEX_WOM (4) |
Enumerations | |
enum | sensor_channel_tdk_apex { SENSOR_CHAN_APEX_MOTION = SENSOR_CHAN_PRIV_START } |
Extended sensor channel for TDK MEMS supportintg APEX features. More... | |
Extended public API for TDK MEMS sensor.
Some capabilities and operational requirements for this sensor cannot be expressed within the sensor driver abstraction.
#define TDK_APEX_PEDOMETER (1) |
TDK APEX features.
#define TDK_APEX_SMD (3) |
#define TDK_APEX_TILT (2) |
#define TDK_APEX_WOM (4) |
Extended sensor channel for TDK MEMS supportintg APEX features.
This exposes sensor channel for the TDK MEMS which can be used for getting the APEX features data.
The APEX (Advanced Pedometer and Event Detection – neXt gen) features of TDK MEMS consist of: ** Pedometer: Tracks step count. ** Tilt Detection: Detect the Tilt angle exceeds 35 degrees. ** Wake on Motion (WoM): Detects motion when accelerometer samples exceed a programmable threshold. This motion event can be used to enable device operation from sleep mode. ** Significant Motion Detector (SMD): Detects significant motion based on accelerometer data.
Enumerator | |
---|---|
SENSOR_CHAN_APEX_MOTION | APEX features. |