Line data Source code
1 0 : /* 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 0 : #define LSM9DS1_DT_FS_2G 0 12 0 : #define LSM9DS1_DT_FS_16G 1 13 0 : #define LSM9DS1_DT_FS_4G 2 14 0 : #define LSM9DS1_DT_FS_8G 3 15 : 16 0 : #define LSM9DS1_DT_FS_245DPS 0 17 0 : #define LSM9DS1_DT_FS_500DPS 1 18 0 : #define LSM9DS1_DT_FS_2000DPS 3 19 : 20 0 : #define LSM9DS1_IMU_OFF 0x00 21 0 : #define LSM9DS1_GY_OFF_XL_10Hz 0x10 22 0 : #define LSM9DS1_GY_OFF_XL_50Hz 0x20 23 0 : #define LSM9DS1_GY_OFF_XL_119Hz 0x30 24 0 : #define LSM9DS1_GY_OFF_XL_238Hz 0x40 25 0 : #define LSM9DS1_GY_OFF_XL_476Hz 0x50 26 0 : #define LSM9DS1_GY_OFF_XL_952Hz 0x60 27 0 : #define LSM9DS1_XL_OFF_GY_14Hz9 0x01 28 0 : #define LSM9DS1_XL_OFF_GY_59Hz5 0x02 29 0 : #define LSM9DS1_XL_OFF_GY_119Hz 0x03 30 0 : #define LSM9DS1_XL_OFF_GY_238Hz 0x04 31 0 : #define LSM9DS1_XL_OFF_GY_476Hz 0x05 32 0 : #define LSM9DS1_XL_OFF_GY_952Hz 0x06 33 0 : #define LSM9DS1_IMU_14Hz9 0x11 34 0 : #define LSM9DS1_IMU_59Hz5 0x22 35 0 : #define LSM9DS1_IMU_119Hz 0x33 36 0 : #define LSM9DS1_IMU_238Hz 0x44 37 0 : #define LSM9DS1_IMU_476Hz 0x55 38 0 : #define LSM9DS1_IMU_952Hz 0x66 39 0 : #define LSM9DS1_XL_OFF_GY_14Hz9_LP 0x81 40 0 : #define LSM9DS1_XL_OFF_GY_59Hz5_LP 0x82 41 0 : #define LSM9DS1_XL_OFF_GY_119Hz_LP 0x83 42 0 : #define LSM9DS1_IMU_14Hz9_LP 0x91 43 0 : #define LSM9DS1_IMU_59Hz5_LP 0xA2 44 0 : #define LSM9DS1_IMU_119Hz_LP 0xB3 45 : 46 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_ */