46 PRR0 &= ~(1 << PRADC);
57 ADMUX = (1 << REFS1) | (1 << REFS0);
61 ADMUX &= ~((1 << REFS0) | (1 << REFS1));
65 ADCSRA = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
67 ADCSRA |= (1 << ADEN) | (1 << ADSC);
77 ADCSRB |= (1 << MUX5);
79 ADCSRB &= ~(1 << MUX5);
83 ADCSRA |= (1 << ADSC);
88 if (ADCSRA & (1 << ADSC)) {
103 ADCSRA |= (1 << ADSC);
109 ADCSRA &= ~(1 << ADSC);
110 PRR0 |= (1 << PRADC);
111 ADCSRA &= ~(1 << ADEN);