Function esp_idf_svc::hal::sys::temperature_sensor_enable

source ยท
pub unsafe extern "C" fn temperature_sensor_enable(
    tsens: *mut temperature_sensor_obj_t,
) -> i32
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.