I never bother with setting up registers for analog inputs. The ADCIN command does it for you.