Well, there are al lot factors, so it would be best if you do it.
You need the interrupt driven mulit-channel set-up any way - you have 3 axis and a pot to read.
Create the test project, then in the bean selector go to CPU Internal Peripherals/Converter/ADC
There is a control with +/- to add channels.
Then it is just a matter of fill in the form. Any thing with a red ! needs to be changed.
Then on the processor expert menu, click generate code.
There will be a file AD1.c you also need the code in vectors.c. If you already have a vector table, just add the one you need. If not just cut and paste the vectors.
It's pretty easy, and then when you need other peripherals set up you know how.
There are three functions you need:
byte AD1_Measure(bool WaitForResult) - Call this to start a mesurement
byte AD1_GetValue16(word *Values) - Call this with an array the size of the number of channels. It will return 0 when done.
void AD1_Init(void) - Call this before using
ISR(AD1_Interrupt) - this is the interrupt vector.
You also need these:
#define ERR_BUSY 8 /* Device is busy. */
#define ERR_OK 0 /* OK */
I usually also look up the register in the spec to figure out how it is done.