Function esp_idf_sys::temperature_sensor_enable
source ยท pub unsafe extern "C" fn temperature_sensor_enable(
tsens: temperature_sensor_handle_t,
) -> esp_err_t
Expand description
@brief Enable the temperature sensor
@param tsens The handle created by temperature_sensor_install()
.
@return
- ESP_OK Success
- ESP_ERR_INVALID_STATE if temperature sensor is enabled already.