Hi nagendra murthy,
Mike is correct.
You can't input the 12.5V to the ADC0.0 directly.
From the datasheet, you can get that the ADC input voltage can't exceed 3.3V.

I am afraid your pin is damaged.
Do you have any other board? Please try your code on another board, and make sure the adc input voltage is below 3.3V.
If your result is still not OK, please check EDAIO0, make sure you configure ADC0_0 as the analog function on pin P4_3:

Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------