Hi Harmeet,
Thanks for your reply.
This is the solution we initial thought. But problem is, ADC should be read continuously to measure the max and min values. we can't offer microcontroller's processing power for this purpose.
Hence we look for a simple hardware solution which keeps the pin 7 output at peak value, so that we read the value directly on ADC at any time we need.
Regards,
Senthil