6.8.2 Quick Start Guide for DAC - Callback
In this use case, the DAC will convert 16 samples using interrupt driven conversion. When all samples have been sampled, a callback will be called that signals the main application that conversion is compete.
The DAC will be set up as follows:
Analog VCC as reference
Internal output disabled
Drive the DAC output to the VOUT pin
Right adjust data
The output buffer is disabled when the chip enters STANDBY sleep mode
DAC conversion is started with RTC overflow event