Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

STMicroelectronics LPS2xDF pressure and temperature sensors. More...

Files

file  lps2xdf.h
 Devicetree binding constants for the ST LPS2xDF pressure sensors.

Output data rate options

Values for the odr devicetree property.

#define LPS2xDF_DT_ODR_POWER_DOWN   0
 Power-down.
#define LPS2xDF_DT_ODR_1HZ   1
 1 Hz
#define LPS2xDF_DT_ODR_4HZ   2
 4 Hz
#define LPS2xDF_DT_ODR_10HZ   3
 10 Hz
#define LPS2xDF_DT_ODR_25HZ   4
 25 Hz
#define LPS2xDF_DT_ODR_50HZ   5
 50 Hz
#define LPS2xDF_DT_ODR_75HZ   6
 75 Hz
#define LPS2xDF_DT_ODR_100HZ   7
 100 Hz
#define LPS2xDF_DT_ODR_200HZ   8
 200 Hz

Low-pass filter options

Values for the lpf devicetree property.

#define LPS2xDF_DT_LP_FILTER_OFF   0
 Filter disabled.
#define LPS2xDF_DT_LP_FILTER_ODR_4   1
 ODR / 4.
#define LPS2xDF_DT_LP_FILTER_ODR_9   3
 ODR / 9.

Averaging (number of samples) options

Values for the avg devicetree property.

#define LPS2xDF_DT_AVG_4_SAMPLES   0
 4 samples
#define LPS2xDF_DT_AVG_8_SAMPLES   1
 8 samples
#define LPS2xDF_DT_AVG_16_SAMPLES   2
 16 samples
#define LPS2xDF_DT_AVG_32_SAMPLES   3
 32 samples
#define LPS2xDF_DT_AVG_64_SAMPLES   4
 64 samples
#define LPS2xDF_DT_AVG_128_SAMPLES   5
 128 samples
#define LPS2xDF_DT_AVG_256_SAMPLES   6
 256 samples
#define LPS2xDF_DT_AVG_512_SAMPLES   7
 512 samples

Full-scale pressure mode options

Values for the fs devicetree property.

#define LPS28DFW_DT_FS_MODE_1_1260   0
 LPS28DFW mode 1 (1260 hPa).
#define LPS28DFW_DT_FS_MODE_2_4060   1
 LPS28DFW mode 2 (4060 hPa).
#define ILPS22QS_DT_FS_MODE_1_1260   0
 ILPS22QS mode 1 (1260 hPa).
#define ILPS22QS_DT_FS_MODE_2_4060   1
 ILPS22QS mode 2 (4060 hPa).

Detailed Description

STMicroelectronics LPS2xDF pressure and temperature sensors.

Macro Definition Documentation

◆ ILPS22QS_DT_FS_MODE_1_1260

#define ILPS22QS_DT_FS_MODE_1_1260   0

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

ILPS22QS mode 1 (1260 hPa).

◆ ILPS22QS_DT_FS_MODE_2_4060

#define ILPS22QS_DT_FS_MODE_2_4060   1

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

ILPS22QS mode 2 (4060 hPa).

◆ LPS28DFW_DT_FS_MODE_1_1260

#define LPS28DFW_DT_FS_MODE_1_1260   0

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

LPS28DFW mode 1 (1260 hPa).

◆ LPS28DFW_DT_FS_MODE_2_4060

#define LPS28DFW_DT_FS_MODE_2_4060   1

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

LPS28DFW mode 2 (4060 hPa).

◆ LPS2xDF_DT_AVG_128_SAMPLES

#define LPS2xDF_DT_AVG_128_SAMPLES   5

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

128 samples

◆ LPS2xDF_DT_AVG_16_SAMPLES

#define LPS2xDF_DT_AVG_16_SAMPLES   2

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

16 samples

◆ LPS2xDF_DT_AVG_256_SAMPLES

#define LPS2xDF_DT_AVG_256_SAMPLES   6

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

256 samples

◆ LPS2xDF_DT_AVG_32_SAMPLES

#define LPS2xDF_DT_AVG_32_SAMPLES   3

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

32 samples

◆ LPS2xDF_DT_AVG_4_SAMPLES

#define LPS2xDF_DT_AVG_4_SAMPLES   0

◆ LPS2xDF_DT_AVG_512_SAMPLES

#define LPS2xDF_DT_AVG_512_SAMPLES   7

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

512 samples

◆ LPS2xDF_DT_AVG_64_SAMPLES

#define LPS2xDF_DT_AVG_64_SAMPLES   4

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

64 samples

◆ LPS2xDF_DT_AVG_8_SAMPLES

#define LPS2xDF_DT_AVG_8_SAMPLES   1

◆ LPS2xDF_DT_LP_FILTER_ODR_4

#define LPS2xDF_DT_LP_FILTER_ODR_4   1

◆ LPS2xDF_DT_LP_FILTER_ODR_9

#define LPS2xDF_DT_LP_FILTER_ODR_9   3

◆ LPS2xDF_DT_LP_FILTER_OFF

#define LPS2xDF_DT_LP_FILTER_OFF   0

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

Filter disabled.

◆ LPS2xDF_DT_ODR_100HZ

#define LPS2xDF_DT_ODR_100HZ   7

◆ LPS2xDF_DT_ODR_10HZ

#define LPS2xDF_DT_ODR_10HZ   3

◆ LPS2xDF_DT_ODR_1HZ

#define LPS2xDF_DT_ODR_1HZ   1

◆ LPS2xDF_DT_ODR_200HZ

#define LPS2xDF_DT_ODR_200HZ   8

◆ LPS2xDF_DT_ODR_25HZ

#define LPS2xDF_DT_ODR_25HZ   4

◆ LPS2xDF_DT_ODR_4HZ

#define LPS2xDF_DT_ODR_4HZ   2

◆ LPS2xDF_DT_ODR_50HZ

#define LPS2xDF_DT_ODR_50HZ   5

◆ LPS2xDF_DT_ODR_75HZ

#define LPS2xDF_DT_ODR_75HZ   6

◆ LPS2xDF_DT_ODR_POWER_DOWN

#define LPS2xDF_DT_ODR_POWER_DOWN   0

#include <zephyr/dt-bindings/sensor/lps2xdf.h>

Power-down.