6.8.1.2.1 Code
Copy-paste the following code to your user application:
uint16_t i = 0;while(1) {dac_chan_write(&dac_instance, DAC_CHANNEL_0, i);if(++i == 0x3FF) {i = 0;}}
