Introduction - If you have any usage issues, please Google them yourself
This program initializes the ADC module of the 240x and does a conversion of all the analog input channels. The results of the conversion are available in the RESULTSn register, which can be accessed by the user application. The ADC operates as one 16-state sequencer & the conversions are stopped once the sequencer reaches EOS (End of sequence)