Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h')
-rw-r--r--Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h
new file mode 100644
index 000000000..c76aa8294
--- /dev/null
+++ b/Projects/STM32WB5MM-DK/Applications/BLE/BLE_Mesh_Model_Sensor/Core/Inc/app_stts22h.h
@@ -0,0 +1,43 @@
+/**
+ ******************************************************************************
+ * @file app_stts221.h
+ * @author MCD Application Team
+ * @brief Header for app_stts221.c module
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2017(-2021) STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __APP_STTS22H_H
+#define __APP_STTS22H_H
+
+/* Includes ------------------------------------------------------------------*/
+#include "stts22h_reg.h"
+#include "stts22h.h"
+//#include "stm32wb5M_DK_bus.h"
+#include "stm32wb5mm_dk_bus.h"
+//#include "stm32wbxx_discovery_lcd.h"
+#include "stm32_seq.h"
+#include "app_common.h"
+#include "common.h"
+#include "sensors.h"
+
+/* Defines -------------------------------------------------------------------*/
+
+/* Exported functions ------------------------------------------------------- */
+int32_t STTS22H_Init_Sensor(void);
+void STTS22H_getTemperatureValue(float *value);
+void STTS22H_Start_Measure(void);
+void STTS22H_Stop_Measure(void);
+void STTS22H_PrintValues(void);
+
+#endif /* __APP_STTS22H_H */