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_LIS2DS12_H_ 7 : #define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DS12_H_ 8 : 9 : /* power-modes */ 10 0 : #define LIS2DS12_DT_POWER_DOWN 0 11 0 : #define LIS2DS12_DT_LOW_POWER 1 12 0 : #define LIS2DS12_DT_HIGH_RESOLUTION 2 13 0 : #define LIS2DS12_DT_HIGH_FREQUENCY 3 14 : 15 : /* Data rate */ 16 0 : #define LIS2DS12_DT_ODR_OFF 0 17 0 : #define LIS2DS12_DT_ODR_1Hz_LP 1 /* available in LP mode only */ 18 0 : #define LIS2DS12_DT_ODR_12Hz5 2 /* available in LP and HR mode */ 19 0 : #define LIS2DS12_DT_ODR_25Hz 3 /* available in LP and HR mode */ 20 0 : #define LIS2DS12_DT_ODR_50Hz 4 /* available in LP and HR mode */ 21 0 : #define LIS2DS12_DT_ODR_100Hz 5 /* available in LP and HR mode */ 22 0 : #define LIS2DS12_DT_ODR_200Hz 6 /* available in LP and HR mode */ 23 0 : #define LIS2DS12_DT_ODR_400Hz 7 /* available in LP and HR mode */ 24 0 : #define LIS2DS12_DT_ODR_800Hz 8 /* available in LP and HR mode */ 25 0 : #define LIS2DS12_DT_ODR_1600Hz 9 /* available in HF mode only */ 26 0 : #define LIS2DS12_DT_ODR_3200Hz_HF 10 /* available in HF mode only */ 27 0 : #define LIS2DS12_DT_ODR_6400Hz_HF 11 /* available in HF mode only */ 28 : 29 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DS12_H_ */