|
Zephyr Project API 4.4.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 | |
TDK APEX features | |
| #define | TDK_APEX_DISABLE (0) |
| Disable APEX feature. | |
| #define | TDK_APEX_PEDOMETER (1) |
| Enable Pedometer feature. | |
| #define | TDK_APEX_TILT (2) |
| Enable Tilt detection feature. | |
| #define | TDK_APEX_SMD (3) |
| Enable Significant Motion Detector (SMD) feature. | |
| #define | TDK_APEX_WOM (4) |
| Enable Wake on Motion (WoM) feature. | |
| #define | TDK_APEX_TAP (5) |
| Enable TAP gesture detection feature. | |
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_DISABLE (0) |
Disable APEX feature.
| #define TDK_APEX_PEDOMETER (1) |
Enable Pedometer feature.
| #define TDK_APEX_SMD (3) |
Enable Significant Motion Detector (SMD) feature.
| #define TDK_APEX_TAP (5) |
Enable TAP gesture detection feature.
| #define TDK_APEX_TILT (2) |
Enable Tilt detection feature.
| #define TDK_APEX_WOM (4) |
Enable Wake on Motion (WoM) feature.
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. |