Function esp_idf_svc::hal::sys::temperature_sensor_disable
source ยท pub unsafe extern "C" fn temperature_sensor_disable(
tsens: *mut temperature_sensor_obj_t,
) -> i32
Expand description
@brief Disable temperature sensor
@param tsens The handle created by temperature_sensor_install()
.
@return
- ESP_OK Success
- ESP_ERR_INVALID_STATE if temperature sensor is not enabled yet.