1 /*
2  * Copyright (c) 2024 Würth Elektronik eiSos GmbH & Co. KG
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_DRIVERS_SENSOR_WSEN_HIDS_2525020210002_WSEN_HIDS_2525020210002_H_
8 #define ZEPHYR_DRIVERS_SENSOR_WSEN_HIDS_2525020210002_WSEN_HIDS_2525020210002_H_
9 
10 #include <zephyr/drivers/gpio.h>
11 #include <zephyr/drivers/sensor.h>
12 
13 #include <weplatform.h>
14 
15 #include "WSEN_HIDS_2525020210002_hal.h"
16 
17 #include <zephyr/drivers/i2c.h>
18 #include <zephyr/drivers/sensor/wsen_hids_2525020210002.h>
19 
20 struct hids_2525020210002_data {
21 	/* WE sensor interface configuration */
22 	WE_sensorInterface_t sensor_interface;
23 
24 	/* Last humidity sample */
25 	int32_t humidity;
26 
27 	/* Last temperature sample */
28 	int32_t temperature;
29 
30 	hids_2525020210002_precision_t sensor_precision;
31 
32 	hids_2525020210002_heater_t sensor_heater;
33 };
34 
35 struct hids_2525020210002_config {
36 	union {
37 		const struct i2c_dt_spec i2c;
38 	} bus_cfg;
39 
40 	const hids_2525020210002_precision_t precision;
41 
42 	const hids_2525020210002_heater_t heater;
43 };
44 
45 #endif /* ZEPHYR_DRIVERS_SENSOR_WSEN_HIDS_2525020210002_WSEN_HIDS_2525020210002_H_ */
46