Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
lps2xdf.h
Go to the documentation of this file.
1/*
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#define LPS2xDF_DT_ODR_POWER_DOWN 0
12#define LPS2xDF_DT_ODR_1HZ 1
13#define LPS2xDF_DT_ODR_4HZ 2
14#define LPS2xDF_DT_ODR_10HZ 3
15#define LPS2xDF_DT_ODR_25HZ 4
16#define LPS2xDF_DT_ODR_50HZ 5
17#define LPS2xDF_DT_ODR_75HZ 6
18#define LPS2xDF_DT_ODR_100HZ 7
19#define LPS2xDF_DT_ODR_200HZ 8
20
21/* Low Pass filter */
22#define LPS2xDF_DT_LP_FILTER_OFF 0
23#define LPS2xDF_DT_LP_FILTER_ODR_4 1
24#define LPS2xDF_DT_LP_FILTER_ODR_9 3
25
26/* Average (number of samples) filter */
27#define LPS2xDF_DT_AVG_4_SAMPLES 0
28#define LPS2xDF_DT_AVG_8_SAMPLES 1
29#define LPS2xDF_DT_AVG_16_SAMPLES 2
30#define LPS2xDF_DT_AVG_32_SAMPLES 3
31#define LPS2xDF_DT_AVG_64_SAMPLES 4
32#define LPS2xDF_DT_AVG_128_SAMPLES 5
33#define LPS2xDF_DT_AVG_256_SAMPLES 6
34#define LPS2xDF_DT_AVG_512_SAMPLES 7
35
36/* Full Scale Pressure Mode */
37#define LPS28DFW_DT_FS_MODE_1_1260 0
38#define LPS28DFW_DT_FS_MODE_2_4060 1
39
40/* Full Scale Pressure Mode */
41#define ILPS22QS_DT_FS_MODE_1_1260 0
42#define ILPS22QS_DT_FS_MODE_2_4060 1
43
44#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LPS22DF_H_ */