Function esp_idf_sys::i2s_set_dac_mode
source ยท pub unsafe extern "C" fn i2s_set_dac_mode(
dac_mode: i2s_dac_mode_t,
) -> esp_err_t
Expand description
@brief Set I2S dac mode, I2S built-in DAC is disabled by default
@param dac_mode DAC mode configurations - see i2s_dac_mode_t
@note Built-in DAC functions are only supported on I2S0 for current ESP32 chip. If either of the built-in DAC channel are enabled, the other one can not be used as RTC DAC function at the same time.
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error