Zephyr Project API 4.0.99
A Scalable Open Source RTOS
|
Extended public API for ICM42X70 MEMS sensor. More...
#include <zephyr/drivers/sensor.h>
Go to the source code of this file.
Macros | |
#define | ICM42X70_LOW_NOISE_MODE (0) |
ICM42X70 power mode. | |
#define | ICM42X70_LOW_POWER_MODE (1) |
Enumerations | |
enum | sensor_attribute_icm42x70 { SENSOR_ATTR_BW_FILTER_LPF = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_AVERAGING } |
Extended sensor attributes for ICM42X70 MEMS sensor. More... | |
Extended public API for ICM42X70 MEMS sensor.
Some capabilities and operational requirements for this sensor cannot be expressed within the sensor driver abstraction.
#define ICM42X70_LOW_NOISE_MODE (0) |
ICM42X70 power mode.
#define ICM42X70_LOW_POWER_MODE (1) |
Extended sensor attributes for ICM42X70 MEMS sensor.
This exposes attributes for the ICM42X70 which can be used for setting the signal path filtering parameters.
The signal path starts with ADCs for the gyroscope and accelerometer. Low-Noise Mode and Low-Power Mode options are available for the accelerometer. Only Low-Noise Mode is available for gyroscope. In Low-Noise Mode, the ADC output is sent through an Anti-Alias Filter (AAF). The AAF is a filter with fixed coefficients (not user configurable), also the AAF cannot be bypassed. The AAF is followed by a 1st Order Low Pass Filter (LPF) with user selectable filter bandwidth options. In Low-Power Mode, the accelerometer ADC output is sent through an Average filter, with user configurable average filter setting. The output of 1st Order LPF in Low-Noise Mode, or Average filter in Low-Power Mode is subject to ODR selection, with user selectable ODR.
Enumerator | |
---|---|
SENSOR_ATTR_BW_FILTER_LPF | BW filtering. Low-pass filter configuration |
SENSOR_ATTR_AVERAGING | Averaging configuration. |