Line data Source code
1 1 : /*
2 : * Copyright (c) 2024, Calian Advanced Technologies
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : /**
8 : * @file
9 : * @brief Header file for extended sensor API of LM95234 sensor
10 : * @ingroup lm95234_interface
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_LM95234_H_
14 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_LM95234_H_
15 :
16 : /**
17 : * @defgroup lm95234_interface LM95234
18 : * @ingroup sensor_interface_ext
19 : * @brief LM95234 Quad Remote Diode and Local Temperature Sensor
20 : * @{
21 : */
22 :
23 : #include <zephyr/drivers/sensor.h>
24 :
25 : /**
26 : * Custom sensor channels for LM95234
27 : */
28 1 : enum sensor_channel_lm95234 {
29 : /** Temperature of remote diode 1 */
30 : SENSOR_CHAN_LM95234_REMOTE_TEMP_1 = SENSOR_CHAN_PRIV_START,
31 : /** Temperature of remote diode 2 */
32 : SENSOR_CHAN_LM95234_REMOTE_TEMP_2,
33 : /** Temperature of remote diode 3 */
34 : SENSOR_CHAN_LM95234_REMOTE_TEMP_3,
35 : /** Temperature of remote diode 4 */
36 : SENSOR_CHAN_LM95234_REMOTE_TEMP_4
37 : };
38 :
39 : /**
40 : * @}
41 : */
42 :
43 : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_LM95234_H_ */
|