Line data Source code
1 0 : /* 2 : * Copyright (c) 2023 STMicroelectronics 3 : * Copyright (c) 2023 PHYTEC Messtechnik GmbH 4 : * 5 : * SPDX-License-Identifier: Apache-2.0 6 : */ 7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LPS2xDF_H_ 8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LPS2xDF_H_ 9 : 10 : /* Data rate */ 11 0 : #define LPS2xDF_DT_ODR_POWER_DOWN 0 12 0 : #define LPS2xDF_DT_ODR_1HZ 1 13 0 : #define LPS2xDF_DT_ODR_4HZ 2 14 0 : #define LPS2xDF_DT_ODR_10HZ 3 15 0 : #define LPS2xDF_DT_ODR_25HZ 4 16 0 : #define LPS2xDF_DT_ODR_50HZ 5 17 0 : #define LPS2xDF_DT_ODR_75HZ 6 18 0 : #define LPS2xDF_DT_ODR_100HZ 7 19 0 : #define LPS2xDF_DT_ODR_200HZ 8 20 : 21 : /* Low Pass filter */ 22 0 : #define LPS2xDF_DT_LP_FILTER_OFF 0 23 0 : #define LPS2xDF_DT_LP_FILTER_ODR_4 1 24 0 : #define LPS2xDF_DT_LP_FILTER_ODR_9 3 25 : 26 : /* Average (number of samples) filter */ 27 0 : #define LPS2xDF_DT_AVG_4_SAMPLES 0 28 0 : #define LPS2xDF_DT_AVG_8_SAMPLES 1 29 0 : #define LPS2xDF_DT_AVG_16_SAMPLES 2 30 0 : #define LPS2xDF_DT_AVG_32_SAMPLES 3 31 0 : #define LPS2xDF_DT_AVG_64_SAMPLES 4 32 0 : #define LPS2xDF_DT_AVG_128_SAMPLES 5 33 0 : #define LPS2xDF_DT_AVG_256_SAMPLES 6 34 0 : #define LPS2xDF_DT_AVG_512_SAMPLES 7 35 : 36 : /* Full Scale Pressure Mode */ 37 0 : #define LPS28DFW_DT_FS_MODE_1_1260 0 38 0 : #define LPS28DFW_DT_FS_MODE_2_4060 1 39 : 40 : /* Full Scale Pressure Mode */ 41 0 : #define ILPS22QS_DT_FS_MODE_1_1260 0 42 0 : #define ILPS22QS_DT_FS_MODE_2_4060 1 43 : 44 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LPS22DF_H_ */