mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			494 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			494 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * SPDX-License-Identifier: Apache-2.0
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include "soc/temperature_sensor_periph.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
							 | 
						||
| 
								 | 
							
								    /*Offset   reg_val  min  max  error */
							 | 
						||
| 
								 | 
							
								    {-2,     5,    50,  125,   3},
							 | 
						||
| 
								 | 
							
								    {-1,     7,    20,  100,   2},
							 | 
						||
| 
								 | 
							
								    { 0,    15,   -10,   80,   1},
							 | 
						||
| 
								 | 
							
								    { 1,    11,   -30,   50,   2},
							 | 
						||
| 
								 | 
							
								    { 2,    10,   -40,   20,   3},
							 | 
						||
| 
								 | 
							
								};
							 |