6.8.2.2.2 Workflow
- Start a DAC conversion and generate a callback when complete.
dac_chan_write_buffer_job(&dac_instance, DAC_CHANNEL_0,
dac_data, DATA_LENGTH);
- Wait until the conversion is complete.
while
(!transfer_is_done) {
/* Wait for transfer done */
}
- Enter an infinite loop once the conversion is complete.
while
(1) {
}