dac_continuous_start_async_writing() function
Start the async writing
Arguments
handle
The DAC continuous channel handle that obtained from 'dac_continuous_new_channels'
Return value
- ESP_OK Start asynchronous writing successfully - ESP_ERR_INVALID_ARG The handle is NULL - ESP_ERR_INVALID_STATE The channel is not enabled or the 'on_convert_done' callback is not registered
Notes
When the asynchronous writing start, the DAC will keep outputting '0' until the data are loaded into the DMA buffer. To loaded the data into DMA buffer, 'on_convert_done' callback is required, which can be registered by 'dac_continuous_register_event_callback' before enabling