[][src]Function esp_idf_sys::dac_out_voltage

pub unsafe extern "C" fn dac_out_voltage(
    channel: dac_channel_t,
    dac_value: u8
) -> esp_err_t

@cond */ @brief Set DAC output voltage.

@note Function has been deprecated, please use dac_output_voltage instead. This name will be removed in a future release. The difference is that before calling dac_output_voltage, we need to initialize the dac pad by dac_output_enable

@param channel DAC channel @param dac_value DAC output value

@return - ESP_OK success - ESP_ERR_INVALID_ARG Parameter error