Sorry about that. I didn't realize you were using one of the S12 parts. That firmware was for an S08 device.
The same concepts should work though. You set up the "bean" using processor expert, call the "start measurement" routine, then call one of the "get value" routines.
The routines are created by processor expert, so they are named according to how you name the bean and which routines you enable.
You need to delare a variable to store the result and something like "err" to avoid compile warnings about not using the returned value. Many of processor experts routines return a pass/fail result, so that you can catch errors.
ie; declarations
byte myValue[5]; // value read from ADC
byte err; // error result
ie; statement
err = AD1_GetValue8 ((byte *)myValue);