can we make array of ADC's value at very small sampling time?

04 Dec 2012

i am making one program for drive the ac motor at accurate speed for that i sensed the current of motor. this current i have taken inside the controller through the adc pin. for further process i have to need to store this instantaneous value as well as past 10 to 15 value then 1).how can i do this things?? 2).all 15 values are stored in array are replaced with time by time. 3).if my main command line of program is not there than after it adc's sensed values are store in that array continuously.is it possible? pls give some example if you have.....

thank you