beautypg.com

Enableadc – Renesas M16C/62P Group User Manual

Page 94

background image

Rev.1.00 2007.11.1
REC10B0002-0100

92

__EnableADC

Synopsis

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

AN

0

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN1 Uses

AN

1

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN2 Uses

AN

2

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN3 Uses

AN

3

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN4 Uses

AN

4

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN5 Uses

AN

5

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN6 Uses

AN

6

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN7 Uses

AN

7

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN00 Uses

AN

00

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN01 Uses

AN

01

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN02 Uses

AN

02

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN03 Uses

AN

03

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN04 Uses

AN

04

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN05 Uses

AN

05

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN06 Uses

AN

06

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN07 Uses

AN

07

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.

RAPI_AN20 Uses

AN

20

pin for the analog input pin.

Selectable only when one-shot mode or repeat mode is used.