6.8.2.2.2 Workflow

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