temperature_sensor_periph.c 494 B

12345678910111213141516
  1. /*
  2. * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "soc/temperature_sensor_periph.h"
  7. const temperature_sensor_attribute_t temperature_sensor_attributes[TEMPERATURE_SENSOR_ATTR_RANGE_NUM] = {
  8. /*Offset reg_val min max error */
  9. {-2, 5, 50, 125, 3},
  10. {-1, 7, 20, 100, 2},
  11. { 0, 15, -10, 80, 1},
  12. { 1, 11, -30, 50, 2},
  13. { 2, 10, -40, 20, 3},
  14. };