Function esp_idf_sys::dac_continuous_new_channels
source · pub unsafe extern "C" fn dac_continuous_new_channels(
cont_cfg: *const dac_continuous_config_t,
ret_handle: *mut dac_continuous_handle_t,
) -> esp_err_t
Expand description
@brief Allocate new DAC channels in continuous mode @note The DAC channels can’t be registered to continuous mode separately
@param[in] cont_cfg Continuous mode configuration @param[out] ret_handle The returned continuous mode handle @return - ESP_ERR_INVALID_ARG The input parameter is invalid - ESP_ERR_INVALID_STATE The DAC channel has been registered already - ESP_ERR_NOT_FOUND Not found the available dma peripheral, might be occupied - ESP_ERR_NO_MEM No memory for the DAC continuous mode resources - ESP_OK Allocate the new DAC continuous mode success