Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
lsm9ds1.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Bootlin
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_
9
10/* Accel range */
11#define LSM9DS1_DT_FS_2G 0
12#define LSM9DS1_DT_FS_16G 1
13#define LSM9DS1_DT_FS_4G 2
14#define LSM9DS1_DT_FS_8G 3
15
16#define LSM9DS1_DT_FS_245DPS 0
17#define LSM9DS1_DT_FS_500DPS 1
18#define LSM9DS1_DT_FS_2000DPS 3
19
20#define LSM9DS1_IMU_OFF 0x00
21#define LSM9DS1_GY_OFF_XL_10Hz 0x10
22#define LSM9DS1_GY_OFF_XL_50Hz 0x20
23#define LSM9DS1_GY_OFF_XL_119Hz 0x30
24#define LSM9DS1_GY_OFF_XL_238Hz 0x40
25#define LSM9DS1_GY_OFF_XL_476Hz 0x50
26#define LSM9DS1_GY_OFF_XL_952Hz 0x60
27#define LSM9DS1_XL_OFF_GY_14Hz9 0x01
28#define LSM9DS1_XL_OFF_GY_59Hz5 0x02
29#define LSM9DS1_XL_OFF_GY_119Hz 0x03
30#define LSM9DS1_XL_OFF_GY_238Hz 0x04
31#define LSM9DS1_XL_OFF_GY_476Hz 0x05
32#define LSM9DS1_XL_OFF_GY_952Hz 0x06
33#define LSM9DS1_IMU_14Hz9 0x11
34#define LSM9DS1_IMU_59Hz5 0x22
35#define LSM9DS1_IMU_119Hz 0x33
36#define LSM9DS1_IMU_238Hz 0x44
37#define LSM9DS1_IMU_476Hz 0x55
38#define LSM9DS1_IMU_952Hz 0x66
39#define LSM9DS1_XL_OFF_GY_14Hz9_LP 0x81
40#define LSM9DS1_XL_OFF_GY_59Hz5_LP 0x82
41#define LSM9DS1_XL_OFF_GY_119Hz_LP 0x83
42#define LSM9DS1_IMU_14Hz9_LP 0x91
43#define LSM9DS1_IMU_59Hz5_LP 0xA2
44#define LSM9DS1_IMU_119Hz_LP 0xB3
45
46#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_ */