/Zephyr-latest/drivers/sensor/st/lps22hh/ |
D | lps22hh_trigger.c | 1 /* ST Microelectronics LPS22HH pressure and temperature sensor 8 * https://www.st.com/resource/en/datasheet/lps22hh.pdf 18 #include "lps22hh.h" 20 LOG_MODULE_DECLARE(LPS22HH, CONFIG_SENSOR_LOG_LEVEL); 44 struct lps22hh_data *lps22hh = dev->data; in lps22hh_trigger_set() local 50 lps22hh->handler_drdy = handler; in lps22hh_trigger_set() 51 lps22hh->data_ready_trigger = trig; in lps22hh_trigger_set() 74 struct lps22hh_data *lps22hh = dev->data; in lps22hh_handle_interrupt() local 77 if (lps22hh->handler_drdy != NULL) { in lps22hh_handle_interrupt() 78 lps22hh->handler_drdy(dev, lps22hh->data_ready_trigger); in lps22hh_handle_interrupt() [all …]
|
D | Kconfig | 1 # ST Microelectronics LPS22HH pressure and temperature sensor 6 menuconfig LPS22HH config 7 bool "LPS22HH pressure and temperature" 17 Enable driver for LPS22HH I2C-based pressure and temperature 20 if LPS22HH 62 endif # LPS22HH
|
D | CMakeLists.txt | 1 # ST Microelectronics LPS22HH pressure and temperature sensor 9 zephyr_library_sources(lps22hh.c)
|
D | lps22hh.h | 1 /* ST Microelectronics LPS22HH pressure and temperature sensor 8 * https://www.st.com/resource/en/datasheet/lps22hh.pdf
|
D | lps22hh.c | 1 /* ST Microelectronics LPS22HH pressure and temperature sensor 8 * https://www.st.com/resource/en/datasheet/lps22hh.pdf 21 #include "lps22hh.h" 23 LOG_MODULE_REGISTER(LPS22HH, CONFIG_SENSOR_LOG_LEVEL); 273 #warning "LPS22HH driver enabled without any devices"
|
/Zephyr-latest/samples/sensor/lps22hh/ |
D | README.rst | 1 .. zephyr:code-sample:: lps22hh 5 Get pressure and temperature data from an LPS22HH sensor (polling & trigger mode). 9 This sample periodically reads pressure from the LPS22HH MEMS pressure 16 This sample uses the LPS22HH sensor controlled using the I2C interface. 21 - LPS22HH: https://www.st.com/en/mems-and-sensors/lps22hh.html 26 This project outputs sensor data to the console. It requires an LPS22HH 30 :zephyr-app: samples/sensor/lps22hh
|
D | sample.yaml | 2 name: LPS22HH Temperature and Pressure Monitor 4 sample.sensor.lps22hh: 8 filter: dt_compat_enabled("st,lps22hh")
|
D | CMakeLists.txt | 5 project(lps22hh) project
|
/Zephyr-latest/samples/sensor/lps22hh_i3c/ |
D | README.rst | 5 Get pressure and temperature data from an LPS22HH sensor over I3C (polling & 10 This sample periodically reads pressure from the LPS22HH MEMS pressure 16 This sample uses the LPS22HH sensor controlled using the I3C interface. 17 It has been tested using the LPS22HH on the evaluation board 23 - LPS22HH: https://www.st.com/en/mems-and-sensors/lps22hh.html 28 This project outputs sensor data to the console. It requires an LPS22HH 66 LPS22HH subsubsection 69 A LPS22HH sensor needs to be connected to this header. For example, 71 prepared so that the LPS22HH sensor has address 0x5D (i.e. 0xBA,
|
D | sample.yaml | 2 name: LPS22HH Temperature and Pressure Monitor (using I3C) 4 sample.sensor.lps22hh.i3c: 8 filter: dt_compat_enabled("st,lps22hh")
|
D | CMakeLists.txt | 7 FILE(GLOB app_sources ../lps22hh/src/*.c)
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lps22hh-i2c.yaml | 5 STMicroelectronics LPS22HH pressure and temperature sensor connected to I2C 8 compatible: "st,lps22hh" 10 include: ["i2c-device.yaml", "st,lps22hh-common.yaml"]
|
D | st,lps22hh-i3c.yaml | 5 STMicroelectronics LPS22HH pressure and temperature sensor connected to I3C 8 compatible: "st,lps22hh" 10 include: ["i3c-device.yaml", "st,lps22hh-common.yaml"]
|
D | st,lps22hh-spi.yaml | 5 STMicroelectronics LPS22HH pressure and temperature sensor connected to SPI 8 compatible: "st,lps22hh" 10 include: ["spi-device.yaml", "st,lps22hh-common.yaml"]
|
D | st,lps22hh-common.yaml | 6 lps22hh.h and use the macros defined there. 9 #include <zephyr/dt-bindings/sensor/lps22hh.h> 11 lps22hh: lps22hh@0 {
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 117 static void lps22hh_config(const struct device *lps22hh) in lps22hh_config() argument 121 /* set LPS22HH sampling frequency to 100 Hz */ in lps22hh_config() 125 if (sensor_attr_set(lps22hh, SENSOR_CHAN_ALL, in lps22hh_config() 127 printk("Cannot set sampling frequency for LPS22HH\n"); in lps22hh_config() 136 sensor_trigger_set(lps22hh, &trig, lps22hh_trigger_handler); in lps22hh_config() 297 const struct device *const lps22hh = DEVICE_DT_GET_ONE(st_lps22hh); in main() local 312 if (!device_is_ready(lps22hh)) { in main() 313 printk("%s: device not ready.\n", lps22hh->name); in main() 340 lps22hh_config(lps22hh); in main() 356 if (sensor_sample_fetch(lps22hh) < 0) { in main() [all …]
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 93 static void lps22hh_config(const struct device *lps22hh) in lps22hh_config() argument 97 /* set LPS22HH sampling frequency to 50 Hz */ in lps22hh_config() 101 if (sensor_attr_set(lps22hh, SENSOR_CHAN_ALL, in lps22hh_config() 103 printk("Cannot set sampling frequency for LPS22HH\n"); in lps22hh_config() 112 sensor_trigger_set(lps22hh, &trig, lps22hh_trigger_handler); in lps22hh_config() 295 const struct device *const lps22hh = DEVICE_DT_GET_ONE(st_lps22hh); in main() local 309 if (!device_is_ready(lps22hh)) { in main() 310 printk("%s: device not ready.\n", lps22hh->name); in main() 331 lps22hh_config(lps22hh); in main() 367 if (sensor_sample_fetch(lps22hh) < 0) { in main() [all …]
|
/Zephyr-latest/samples/boards/st/sensortile_box/ |
D | README.rst | 16 - LPS22HH: ambient temperature and atmospheric pressure 67 LPS22HH: Temperature: 28.4 C 68 LPS22HH: Pressure:99.694 kpa 74 1:: lps22hh trig 206
|
/Zephyr-latest/samples/sensor/lps22hh_i3c/boards/ |
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 18 lps22hh0: lps22hh@5d0000020800b30000 { 19 compatible = "st,lps22hh";
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/ |
D | README.rst | 16 among LPS22HH, HTS221 and LIS2MDL (default is LIS2MDL + LPS22HH). 23 - LSM6DSO (from LPS22HH) ambient temperature and atmospheric pressure 25 Optionally HTS221 can substitute one between LIS2MDL and LPS22HH
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/ |
D | README.rst | 17 - LPS22HH ambient temperature and atmospheric pressure 78 LPS22HH: Temperature: 27.3 C 79 LPS22HH: Pressure:99.150 kpa 87 1:: lps22hh trig 214
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/ |
D | x_nucleo_iks01a3.overlay | 22 lps22hh_x_nucleo_iks01a3: lps22hh@5d { 23 compatible = "st,lps22hh";
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | i3c.dtsi | 13 test_i3c_lps22hh: lps22hh@100000803E0000001 { 14 compatible = "st,lps22hh";
|
/Zephyr-latest/samples/sensor/lps22hh/src/ |
D | main.c | 25 printf("Cannot read LPS22HH pressure channel\n"); in process_sample() 30 printf("Cannot read LPS22HH temperature channel\n"); in process_sample()
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/doc/ |
D | index.rst | 12 temperature sensor, the LPS22HH pressure sensor, and the STTS751 temperature sensor. 33 - LPS22HH MEMS pressure sensor, 260-1260 hPa absolute digital output barometer 49 - LIS2MDL, LPS22HH, HTS221 are STTS751 are on I2C1
|