- ESP_ERR_INVALID_ARG The input parameter is invalid - ESP_ERR_INVALID_STATE The DAC channel has been registered already - ESP_ERR_NO_MEM No memory for the DAC oneshot channel resources - ESP_OK Allocate the new DAC oneshot channel success
Notes
The channel will be enabled as well when the channel allocated
Examples
dac_oneshot_new_channel() is referenced by 2 libraries and example projects: