6.8.2.2.1 Code

Copy-paste the following code to your user application:
dac_chan_write_buffer_job(&dac_instance, DAC_CHANNEL_0,
        dac_data, DATA_LENGTH);

while (!transfer_is_done) {
    /* Wait for transfer done */
}

while (1) {
}