Rev.1.00 2007.11.1
REC10B0002-0100
92
__EnableADC
Synopsis <Control operation of A/D converter>
Boolean __EnableADC (unsigned long data1, unsigned int data2)
data1 Setup data 1
data2 Number of analog input pins used by A/D converter
Description Controls operation of the A/D converter by starting or stopping it.
[data1]
RAPI_AN0 Uses AN0 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN1 Uses AN1 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN2 Uses AN2 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN3 Uses AN3 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN4 Uses AN4 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN5 Uses AN5 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN6 Uses AN6 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN7 Uses AN7 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN00 Uses AN00 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN01 Uses AN01 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN02 Uses AN02 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN03 Uses AN03 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN04 Uses AN04 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN05 Uses AN05 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN06 Uses AN06 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN07 Uses AN07 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN20 Uses AN20 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.