28.3.1 Initialization

DAC, AC The default configuration will enable the respective source when the DAC0 or ACn is requesting a reference voltage. The default reference voltage is 1.024V but can be configured by writing to the respective Reference Select (REFSEL) bit field in the DAC0 Reference (DAC0REF) or Analog Comparator (ACREF) register.

ADC The default reference voltage for ADC0 and ADC1 is VDD, and can be further configured by writing to the respective REFSEL bit field in the ADCn.CTRLC register.

Important: Altering the voltage reference for one peripheral may cause undesirable noise in other peripherals dependent on the reference. Disable those peripherals during the reference change to prevent this.