1 /*
2  * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #pragma once
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #define TEMPERATURE_SENSOR_ATTR_RANGE_NUM (5)
14 
15 typedef struct {
16     int offset;
17     int reg_val;
18     int range_min;
19     int range_max;
20     int error_max;
21 } temperature_sensor_attribute_t;
22 
23 extern const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM];
24 
25 #ifdef __cplusplus
26 }
27 #endif
28