imaxB6: ADC implementation