if you use 8bit adc it will give you 0 to 255 digital count according your analog voltage you want 255 at 5v so set your vref+ to 5 v and vref- grnd so your maximum rang is 5v
and at half rage 2.5 v you will get 127 count i think that's what are you looking for.