1 /* 2 * Copyright (c) 2023 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSO16IS_H_ 7 #define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSO16IS_H_ 8 9 /* Accel range */ 10 #define LSM6DSO16IS_DT_FS_2G 0 11 #define LSM6DSO16IS_DT_FS_16G 1 12 #define LSM6DSO16IS_DT_FS_4G 2 13 #define LSM6DSO16IS_DT_FS_8G 3 14 15 /* Gyro range */ 16 #define LSM6DSO16IS_DT_FS_250DPS 0x0 17 #define LSM6DSO16IS_DT_FS_500DPS 0x1 18 #define LSM6DSO16IS_DT_FS_1000DPS 0x2 19 #define LSM6DSO16IS_DT_FS_2000DPS 0x3 20 #define LSM6DSO16IS_DT_FS_125DPS 0x10 21 22 /* Accel and Gyro Data rates */ 23 #define LSM6DSO16IS_DT_ODR_OFF 0x0 24 #define LSM6DSO16IS_DT_ODR_12Hz5_HP 0x1 25 #define LSM6DSO16IS_DT_ODR_26H_HP 0x2 26 #define LSM6DSO16IS_DT_ODR_52Hz_HP 0x3 27 #define LSM6DSO16IS_DT_ODR_104Hz_HP 0x4 28 #define LSM6DSO16IS_DT_ODR_208Hz_HP 0x5 29 #define LSM6DSO16IS_DT_ODR_416Hz_HP 0x6 30 #define LSM6DSO16IS_DT_ODR_833Hz_HP 0x7 31 #define LSM6DSO16IS_DT_ODR_1667Hz_HP 0x8 32 #define LSM6DSO16IS_DT_ODR_3333Hz_HP 0x9 33 #define LSM6DSO16IS_DT_ODR_6667Hz_HP 0xa 34 #define LSM6DSO16IS_DT_ODR_12Hz5_LP 0x11 35 #define LSM6DSO16IS_DT_ODR_26H_LP 0x12 36 #define LSM6DSO16IS_DT_ODR_52Hz_LP 0x13 37 #define LSM6DSO16IS_DT_ODR_104Hz_LP 0x14 38 #define LSM6DSO16IS_DT_ODR_208Hz_LP 0x15 39 #define LSM6DSO16IS_DT_ODR_416Hz_LP 0x16 40 #define LSM6DSO16IS_DT_ODR_833Hz_LP 0x17 41 #define LSM6DSO16IS_DT_ODR_1667Hz_LP 0x18 42 #define LSM6DSO16IS_DT_ODR_3333Hz_LP 0x19 43 #define LSM6DSO16IS_DT_ODR_6667Hz_LP 0x1a 44 #define LSM6DSO16IS_DT_ODR_1Hz6_LP 0x1b 45 46 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSO16IS_H_ */ 47