|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
TDK InvenSense ICM4268x 6-axis IMU family. More...
Files | |
| file | icm4268x.h |
| Extended public API for ICM4268X. | |
| file | icm4268x.h |
| Devicetree binding constants shared by the TDK InvenSense ICM4268x IMUs. | |
Enumerations | |
| enum | sensor_attribute_icm4268x { SENSOR_ATTR_ICM4268X_PIN9_FUNCTION = SENSOR_ATTR_PRIV_START } |
| Extended sensor attributes for ICM4268X. More... | |
Pin 9 functions | |
Values for the SENSOR_ATTR_ICM4268X_PIN9_FUNCTION attribute. | |
| #define | ICM4268X_PIN9_FUNCTION_INT2 0 |
| Interrupt 2 output. | |
| #define | ICM4268X_PIN9_FUNCTION_FSYNC 1 |
| Frame synchronization input. | |
| #define | ICM4268X_PIN9_FUNCTION_CLKIN 2 |
| External clock input. | |
Accelerometer power modes | |
Values for the accel-pwr-mode devicetree property. | |
| #define | ICM4268X_DT_ACCEL_OFF 0 |
| Powered down. | |
| #define | ICM4268X_DT_ACCEL_LP 2 |
| Low-power mode. | |
| #define | ICM4268X_DT_ACCEL_LN 3 |
| Low-noise mode. | |
Gyroscope power modes | |
Values for the gyro-pwr-mode devicetree property. | |
| #define | ICM4268X_DT_GYRO_OFF 0 |
| Powered down. | |
| #define | ICM4268X_DT_GYRO_STANDBY 1 |
| Standby. | |
| #define | ICM4268X_DT_GYRO_LN 3 |
| Low-noise mode. | |
Accelerometer data rate options | |
Values for the accel-odr devicetree property. | |
| #define | ICM4268X_DT_ACCEL_ODR_32000 1 |
| 32 kHz | |
| #define | ICM4268X_DT_ACCEL_ODR_16000 2 |
| 16 kHz | |
| #define | ICM4268X_DT_ACCEL_ODR_8000 3 |
| 8 kHz | |
| #define | ICM4268X_DT_ACCEL_ODR_4000 4 |
| 4 kHz | |
| #define | ICM4268X_DT_ACCEL_ODR_2000 5 |
| 2 kHz | |
| #define | ICM4268X_DT_ACCEL_ODR_1000 6 |
| 1 kHz | |
| #define | ICM4268X_DT_ACCEL_ODR_200 7 |
| 200 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_100 8 |
| 100 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_50 9 |
| 50 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_25 10 |
| 25 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_12_5 11 |
| 12.5 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_6_25 12 |
| 6.25 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_3_125 13 |
| 3.125 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_1_5625 14 |
| 1.5625 Hz | |
| #define | ICM4268X_DT_ACCEL_ODR_500 15 |
| 500 Hz | |
Gyroscope data rate options | |
Values for the gyro-odr devicetree property. | |
| #define | ICM4268X_DT_GYRO_ODR_32000 1 |
| 32 kHz | |
| #define | ICM4268X_DT_GYRO_ODR_16000 2 |
| 16 kHz | |
| #define | ICM4268X_DT_GYRO_ODR_8000 3 |
| 8 kHz | |
| #define | ICM4268X_DT_GYRO_ODR_4000 4 |
| 4 kHz | |
| #define | ICM4268X_DT_GYRO_ODR_2000 5 |
| 2 kHz | |
| #define | ICM4268X_DT_GYRO_ODR_1000 6 |
| 1 kHz | |
| #define | ICM4268X_DT_GYRO_ODR_200 7 |
| 200 Hz | |
| #define | ICM4268X_DT_GYRO_ODR_100 8 |
| 100 Hz | |
| #define | ICM4268X_DT_GYRO_ODR_50 9 |
| 50 Hz | |
| #define | ICM4268X_DT_GYRO_ODR_25 10 |
| 25 Hz | |
| #define | ICM4268X_DT_GYRO_ODR_12_5 11 |
| 12.5 Hz | |
| #define | ICM4268X_DT_GYRO_ODR_500 15 |
| 500 Hz | |
TDK InvenSense ICM4268x 6-axis IMU family.
| #define ICM4268X_DT_ACCEL_LN 3 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
Low-noise mode.
| #define ICM4268X_DT_ACCEL_LP 2 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
Low-power mode.
| #define ICM4268X_DT_ACCEL_ODR_100 8 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
100 Hz
| #define ICM4268X_DT_ACCEL_ODR_1000 6 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
1 kHz
| #define ICM4268X_DT_ACCEL_ODR_12_5 11 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
12.5 Hz
| #define ICM4268X_DT_ACCEL_ODR_16000 2 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
16 kHz
| #define ICM4268X_DT_ACCEL_ODR_1_5625 14 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
1.5625 Hz
| #define ICM4268X_DT_ACCEL_ODR_200 7 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
200 Hz
| #define ICM4268X_DT_ACCEL_ODR_2000 5 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
2 kHz
| #define ICM4268X_DT_ACCEL_ODR_25 10 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
25 Hz
| #define ICM4268X_DT_ACCEL_ODR_32000 1 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
32 kHz
| #define ICM4268X_DT_ACCEL_ODR_3_125 13 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
3.125 Hz
| #define ICM4268X_DT_ACCEL_ODR_4000 4 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
4 kHz
| #define ICM4268X_DT_ACCEL_ODR_50 9 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
50 Hz
| #define ICM4268X_DT_ACCEL_ODR_500 15 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
500 Hz
| #define ICM4268X_DT_ACCEL_ODR_6_25 12 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
6.25 Hz
| #define ICM4268X_DT_ACCEL_ODR_8000 3 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
8 kHz
| #define ICM4268X_DT_ACCEL_OFF 0 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
Powered down.
| #define ICM4268X_DT_GYRO_LN 3 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
Low-noise mode.
| #define ICM4268X_DT_GYRO_ODR_100 8 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
100 Hz
| #define ICM4268X_DT_GYRO_ODR_1000 6 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
1 kHz
| #define ICM4268X_DT_GYRO_ODR_12_5 11 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
12.5 Hz
| #define ICM4268X_DT_GYRO_ODR_16000 2 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
16 kHz
| #define ICM4268X_DT_GYRO_ODR_200 7 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
200 Hz
| #define ICM4268X_DT_GYRO_ODR_2000 5 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
2 kHz
| #define ICM4268X_DT_GYRO_ODR_25 10 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
25 Hz
| #define ICM4268X_DT_GYRO_ODR_32000 1 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
32 kHz
| #define ICM4268X_DT_GYRO_ODR_4000 4 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
4 kHz
| #define ICM4268X_DT_GYRO_ODR_50 9 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
50 Hz
| #define ICM4268X_DT_GYRO_ODR_500 15 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
500 Hz
| #define ICM4268X_DT_GYRO_ODR_8000 3 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
8 kHz
| #define ICM4268X_DT_GYRO_OFF 0 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
Powered down.
| #define ICM4268X_DT_GYRO_STANDBY 1 |
#include <zephyr/dt-bindings/sensor/icm4268x.h>
Standby.
| #define ICM4268X_PIN9_FUNCTION_CLKIN 2 |
#include <zephyr/drivers/sensor/icm4268x.h>
External clock input.
| #define ICM4268X_PIN9_FUNCTION_FSYNC 1 |
#include <zephyr/drivers/sensor/icm4268x.h>
Frame synchronization input.
| #define ICM4268X_PIN9_FUNCTION_INT2 0 |
#include <zephyr/drivers/sensor/icm4268x.h>
Interrupt 2 output.
#include <zephyr/drivers/sensor/icm4268x.h>
Extended sensor attributes for ICM4268X.
Attributes for setting pin function.
| Enumerator | |
|---|---|
| SENSOR_ATTR_ICM4268X_PIN9_FUNCTION | Function of pin 9, one of the ICM4268X_PIN9_FUNCTION_* values. |