The a/d modules usually have a reference voltage of the vdd so its usually 5v, If your mcu could handle higher and 7v was put into the a/d port but not the vcc I should think that it would be read as the max value.
Some mcu's allow you to use 1 seperate pin as a reference pin, so if i put 3v into the reference pin, the a/d modules would register its max value at 3v, anything above this scope would be treat as 3v