esp_efuse_rtc_calib.h 628 B

123456789101112131415161718192021222324252627
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "esp_types.h"
  7. #include "esp_err.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. /**
  12. * @brief Get the temperature sensor calibration number delta_T stored in the efuse.
  13. *
  14. * @param tsens_cal Pointer of the specification of temperature sensor calibration number in efuse.
  15. *
  16. * @return ESP_OK if get the calibration value successfully.
  17. * ESP_ERR_INVALID_ARG if can't get the calibration value.
  18. */
  19. esp_err_t esp_efuse_rtc_calib_get_tsens_val(float* tsens_cal);
  20. #ifdef __cplusplus
  21. }
  22. #endif