Line data Source code
1 1 : /*
2 : * Copyright (c) 2024 Würth Elektronik eiSos GmbH & Co. KG
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : /**
8 : * @file
9 : * @brief Extended public API for WSEN-HIDS-2525020210002 Sensor
10 : *
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_WSEN_HIDS_2525020210002_H_
14 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_WSEN_HIDS_2525020210002_H_
15 :
16 : #ifdef __cplusplus
17 : extern "C" {
18 : #endif
19 :
20 : #include <zephyr/drivers/sensor.h>
21 :
22 0 : enum sensor_attribute_wsen_hids_2525020210002 {
23 : SENSOR_ATTR_WSEN_HIDS_2525020210002_PRECISION = SENSOR_ATTR_PRIV_START,
24 : SENSOR_ATTR_WSEN_HIDS_2525020210002_HEATER
25 : };
26 :
27 0 : typedef enum {
28 : hids_2525020210002_precision_Low = 0x0,
29 : hids_2525020210002_precision_Medium = 0x1,
30 : hids_2525020210002_precision_High = 0x2
31 : } hids_2525020210002_precision_t;
32 :
33 0 : typedef enum {
34 : hids_2525020210002_heater_Off = 0x0,
35 : hids_2525020210002_heater_On_200mW_1s = 0x1,
36 : hids_2525020210002_heater_On_200mW_100ms = 0x2,
37 : hids_2525020210002_heater_On_110mW_1s = 0x3,
38 : hids_2525020210002_heater_On_110mW_100ms = 0x4,
39 : hids_2525020210002_heater_On_20mW_1s = 0x5,
40 : hids_2525020210002_heater_On_20mW_100ms = 0x6,
41 : } hids_2525020210002_heater_t;
42 :
43 : #ifdef __cplusplus
44 : }
45 : #endif
46 :
47 : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_WSEN_HIDS_2525020210002_H_ */
|