Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

TDK InvenSense ICM-20689 6-axis IMU. More...

Files

file  icm20689.h
 Devicetree binding constants for the TDK InvenSense ICM-20689 IMU.

Accelerometer full-scale ranges

Values for the accel-fs devicetree property.

#define ICM20689_DT_ACCEL_FS_2G   2
 ±2 g
#define ICM20689_DT_ACCEL_FS_4G   4
 ±4 g
#define ICM20689_DT_ACCEL_FS_8G   8
 ±8 g
#define ICM20689_DT_ACCEL_FS_16G   16
 ±16 g

Gyroscope full-scale ranges

Values for the gyro-fs devicetree property.

#define ICM20689_DT_GYRO_FS_250DPS   250
 ±250 degrees per second
#define ICM20689_DT_GYRO_FS_500DPS   500
 ±500 degrees per second
#define ICM20689_DT_GYRO_FS_1000DPS   1000
 ±1000 degrees per second
#define ICM20689_DT_GYRO_FS_2000DPS   2000
 ±2000 degrees per second

Accelerometer filter configurations

Values for the accel-dlpf devicetree property.

Bits [2:0] represent ACCEL_CONFIG2.A_DLPF_CFG. Bit 3 represents ACCEL_CONFIG2.ACCEL_FCHOICE_B.

#define ICM20689_DT_ACCEL_DLPF_218_1HZ_CFG0   0x00
 218.1 Hz, CFG 0
#define ICM20689_DT_ACCEL_DLPF_218_1HZ_CFG1   0x01
 218.1 Hz, CFG 1
#define ICM20689_DT_ACCEL_DLPF_99_0HZ   0x02
 99.0 Hz
#define ICM20689_DT_ACCEL_DLPF_44_8HZ   0x03
 44.8 Hz
#define ICM20689_DT_ACCEL_DLPF_21_2HZ   0x04
 21.2 Hz
#define ICM20689_DT_ACCEL_DLPF_10_2HZ   0x05
 10.2 Hz
#define ICM20689_DT_ACCEL_DLPF_5_1HZ   0x06
 5.1 Hz
#define ICM20689_DT_ACCEL_DLPF_420_0HZ   0x07
 420.0 Hz
#define ICM20689_DT_ACCEL_BYPASS_1046HZ   0x08
 1046 Hz, DLPF bypass

Gyroscope filter configurations

Values for the gyro-dlpf devicetree property.

This is a packed driver configuration value. Bits [2:0] represent CONFIG.DLPF_CFG and bits [4:3] represent GYRO_CONFIG.FCHOICE_B.

#define ICM20689_DT_GYRO_DLPF_250HZ   0x00
 250 Hz, 8 kHz rate
#define ICM20689_DT_GYRO_DLPF_176HZ   0x01
 176 Hz, 1 kHz rate
#define ICM20689_DT_GYRO_DLPF_92HZ   0x02
 92 Hz, 1 kHz rate
#define ICM20689_DT_GYRO_DLPF_41HZ   0x03
 41 Hz, 1 kHz rate
#define ICM20689_DT_GYRO_DLPF_20HZ   0x04
 20 Hz, 1 kHz rate
#define ICM20689_DT_GYRO_DLPF_10HZ   0x05
 10 Hz, 1 kHz rate
#define ICM20689_DT_GYRO_DLPF_5HZ   0x06
 5 Hz, 1 kHz rate
#define ICM20689_DT_GYRO_DLPF_3281HZ_8KHZ   0x07
 3281 Hz, 8 kHz rate
#define ICM20689_DT_GYRO_BYPASS_8173HZ_32KHZ   0x08
 8173 Hz, 32 kHz rate
#define ICM20689_DT_GYRO_BYPASS_3281HZ_32KHZ   0x10
 3281 Hz, 32 kHz rate

Detailed Description

TDK InvenSense ICM-20689 6-axis IMU.

Macro Definition Documentation

◆ ICM20689_DT_ACCEL_BYPASS_1046HZ

#define ICM20689_DT_ACCEL_BYPASS_1046HZ   0x08

#include <zephyr/dt-bindings/sensor/icm20689.h>

1046 Hz, DLPF bypass

◆ ICM20689_DT_ACCEL_DLPF_10_2HZ

#define ICM20689_DT_ACCEL_DLPF_10_2HZ   0x05

◆ ICM20689_DT_ACCEL_DLPF_218_1HZ_CFG0

#define ICM20689_DT_ACCEL_DLPF_218_1HZ_CFG0   0x00

#include <zephyr/dt-bindings/sensor/icm20689.h>

218.1 Hz, CFG 0

◆ ICM20689_DT_ACCEL_DLPF_218_1HZ_CFG1

#define ICM20689_DT_ACCEL_DLPF_218_1HZ_CFG1   0x01

#include <zephyr/dt-bindings/sensor/icm20689.h>

218.1 Hz, CFG 1

◆ ICM20689_DT_ACCEL_DLPF_21_2HZ

#define ICM20689_DT_ACCEL_DLPF_21_2HZ   0x04

◆ ICM20689_DT_ACCEL_DLPF_420_0HZ

#define ICM20689_DT_ACCEL_DLPF_420_0HZ   0x07

◆ ICM20689_DT_ACCEL_DLPF_44_8HZ

#define ICM20689_DT_ACCEL_DLPF_44_8HZ   0x03

◆ ICM20689_DT_ACCEL_DLPF_5_1HZ

#define ICM20689_DT_ACCEL_DLPF_5_1HZ   0x06

◆ ICM20689_DT_ACCEL_DLPF_99_0HZ

#define ICM20689_DT_ACCEL_DLPF_99_0HZ   0x02

◆ ICM20689_DT_ACCEL_FS_16G

#define ICM20689_DT_ACCEL_FS_16G   16

◆ ICM20689_DT_ACCEL_FS_2G

#define ICM20689_DT_ACCEL_FS_2G   2

◆ ICM20689_DT_ACCEL_FS_4G

#define ICM20689_DT_ACCEL_FS_4G   4

◆ ICM20689_DT_ACCEL_FS_8G

#define ICM20689_DT_ACCEL_FS_8G   8

◆ ICM20689_DT_GYRO_BYPASS_3281HZ_32KHZ

#define ICM20689_DT_GYRO_BYPASS_3281HZ_32KHZ   0x10

#include <zephyr/dt-bindings/sensor/icm20689.h>

3281 Hz, 32 kHz rate

◆ ICM20689_DT_GYRO_BYPASS_8173HZ_32KHZ

#define ICM20689_DT_GYRO_BYPASS_8173HZ_32KHZ   0x08

#include <zephyr/dt-bindings/sensor/icm20689.h>

8173 Hz, 32 kHz rate

◆ ICM20689_DT_GYRO_DLPF_10HZ

#define ICM20689_DT_GYRO_DLPF_10HZ   0x05

#include <zephyr/dt-bindings/sensor/icm20689.h>

10 Hz, 1 kHz rate

◆ ICM20689_DT_GYRO_DLPF_176HZ

#define ICM20689_DT_GYRO_DLPF_176HZ   0x01

#include <zephyr/dt-bindings/sensor/icm20689.h>

176 Hz, 1 kHz rate

◆ ICM20689_DT_GYRO_DLPF_20HZ

#define ICM20689_DT_GYRO_DLPF_20HZ   0x04

#include <zephyr/dt-bindings/sensor/icm20689.h>

20 Hz, 1 kHz rate

◆ ICM20689_DT_GYRO_DLPF_250HZ

#define ICM20689_DT_GYRO_DLPF_250HZ   0x00

#include <zephyr/dt-bindings/sensor/icm20689.h>

250 Hz, 8 kHz rate

◆ ICM20689_DT_GYRO_DLPF_3281HZ_8KHZ

#define ICM20689_DT_GYRO_DLPF_3281HZ_8KHZ   0x07

#include <zephyr/dt-bindings/sensor/icm20689.h>

3281 Hz, 8 kHz rate

◆ ICM20689_DT_GYRO_DLPF_41HZ

#define ICM20689_DT_GYRO_DLPF_41HZ   0x03

#include <zephyr/dt-bindings/sensor/icm20689.h>

41 Hz, 1 kHz rate

◆ ICM20689_DT_GYRO_DLPF_5HZ

#define ICM20689_DT_GYRO_DLPF_5HZ   0x06

#include <zephyr/dt-bindings/sensor/icm20689.h>

5 Hz, 1 kHz rate

◆ ICM20689_DT_GYRO_DLPF_92HZ

#define ICM20689_DT_GYRO_DLPF_92HZ   0x02

#include <zephyr/dt-bindings/sensor/icm20689.h>

92 Hz, 1 kHz rate

◆ ICM20689_DT_GYRO_FS_1000DPS

#define ICM20689_DT_GYRO_FS_1000DPS   1000

#include <zephyr/dt-bindings/sensor/icm20689.h>

±1000 degrees per second

◆ ICM20689_DT_GYRO_FS_2000DPS

#define ICM20689_DT_GYRO_FS_2000DPS   2000

#include <zephyr/dt-bindings/sensor/icm20689.h>

±2000 degrees per second

◆ ICM20689_DT_GYRO_FS_250DPS

#define ICM20689_DT_GYRO_FS_250DPS   250

#include <zephyr/dt-bindings/sensor/icm20689.h>

±250 degrees per second

◆ ICM20689_DT_GYRO_FS_500DPS

#define ICM20689_DT_GYRO_FS_500DPS   500

#include <zephyr/dt-bindings/sensor/icm20689.h>

±500 degrees per second