Electronic – Arduino Mega Pull-up on Analog input

arduinopullup

does Arduino Mega2560 (based on ATMega 2560) has an input pull-up on analog inputs? Can I set the input pull-up as usual by software?

The reason is that I need to use the analog pins as extra digital inputs.

Best Answer

A pull up makes no sense on an analog input.

The Atmega 2560 datasheet ADC section(page 268) makes no mention of pull ups on the analog inputs.

The digital section (page 67) shows the switchable pull ups.