Function esp_idf_sys::dac_oneshot_output_voltage
source · pub unsafe extern "C" fn dac_oneshot_output_voltage(
handle: dac_oneshot_handle_t,
digi_value: u8,
) -> esp_err_t
Expand description
@brief Output the voltage @note Generally it’ll take 7~11 us on ESP32 and 10~21 us on ESP32-S2
@param[in] handle The DAC oneshot channel handle @param[in] digi_value The digital value that need to be converted @return - ESP_ERR_INVALID_ARG The input parameter is invalid - ESP_OK Convert the digital value success