Fixed ADC and DAC from old defines to enum.