Line data Source code
1 0 : /* 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 0 : #define LSM6DSO16IS_DT_FS_2G 0 11 0 : #define LSM6DSO16IS_DT_FS_16G 1 12 0 : #define LSM6DSO16IS_DT_FS_4G 2 13 0 : #define LSM6DSO16IS_DT_FS_8G 3 14 : 15 : /* Gyro range */ 16 0 : #define LSM6DSO16IS_DT_FS_250DPS 0x0 17 0 : #define LSM6DSO16IS_DT_FS_500DPS 0x1 18 0 : #define LSM6DSO16IS_DT_FS_1000DPS 0x2 19 0 : #define LSM6DSO16IS_DT_FS_2000DPS 0x3 20 0 : #define LSM6DSO16IS_DT_FS_125DPS 0x10 21 : 22 : /* Accel and Gyro Data rates */ 23 0 : #define LSM6DSO16IS_DT_ODR_OFF 0x0 24 0 : #define LSM6DSO16IS_DT_ODR_12Hz5_HP 0x1 25 0 : #define LSM6DSO16IS_DT_ODR_26H_HP 0x2 26 0 : #define LSM6DSO16IS_DT_ODR_52Hz_HP 0x3 27 0 : #define LSM6DSO16IS_DT_ODR_104Hz_HP 0x4 28 0 : #define LSM6DSO16IS_DT_ODR_208Hz_HP 0x5 29 0 : #define LSM6DSO16IS_DT_ODR_416Hz_HP 0x6 30 0 : #define LSM6DSO16IS_DT_ODR_833Hz_HP 0x7 31 0 : #define LSM6DSO16IS_DT_ODR_1667Hz_HP 0x8 32 0 : #define LSM6DSO16IS_DT_ODR_3333Hz_HP 0x9 33 0 : #define LSM6DSO16IS_DT_ODR_6667Hz_HP 0xa 34 0 : #define LSM6DSO16IS_DT_ODR_12Hz5_LP 0x11 35 0 : #define LSM6DSO16IS_DT_ODR_26H_LP 0x12 36 0 : #define LSM6DSO16IS_DT_ODR_52Hz_LP 0x13 37 0 : #define LSM6DSO16IS_DT_ODR_104Hz_LP 0x14 38 0 : #define LSM6DSO16IS_DT_ODR_208Hz_LP 0x15 39 0 : #define LSM6DSO16IS_DT_ODR_416Hz_LP 0x16 40 0 : #define LSM6DSO16IS_DT_ODR_833Hz_LP 0x17 41 0 : #define LSM6DSO16IS_DT_ODR_1667Hz_LP 0x18 42 0 : #define LSM6DSO16IS_DT_ODR_3333Hz_LP 0x19 43 0 : #define LSM6DSO16IS_DT_ODR_6667Hz_LP 0x1a 44 0 : #define LSM6DSO16IS_DT_ODR_1Hz6_LP 0x1b 45 : 46 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSO16IS_H_ */