beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 185

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

183

RAPI_AN22 Uses

AN

22

pin for the analog input pin.

RAPI_AN23 Uses

AN

23

pin for the analog input pin.

RAPI_AN24 Uses

AN

24

pin for the analog input pin.

RAPI_AN25 Uses

AN

25

pin for the analog input pin.

RAPI_AN26 Uses

AN

26

pin for the analog input pin.

RAPI_AN27 Uses

AN

27

pin for the analog input pin.

RAPI_AN30 Uses

AN

30

pin for the analog input pin.

RAPI_AN31 Uses

AN

31

pin for the analog input pin.

RAPI_AN32 Uses

AN

32

pin for the analog input pin.

RAPI_P0_GROUP

Uses port P

0

group for the analog input pin.

RAPI_P10_GROUP

Uses port P

10

group for the analog input pin.

RAPI_P1P9_GROUP

Uses port P

1

/P

9

group for the analog input pin.

RAPI_P9_GROUP

Uses port P

9

group for the analog input pin.

RAPI_FAD

Sets the AD converter’s operating frequency to f

AD

.

RAPI_FAD2

Sets the AD converter’s operating frequency to f

AD

divided by 2.

RAPI_FAD3

Sets the AD converter’s operating frequency to f

AD

divided by 3.

RAPI_FAD4

Sets the AD converter’s operating frequency to f

AD

divided by 4.

RAPI_FAD6

Sets the AD converter’s operating frequency to f

AD

divided by 6.

RAPI_FAD12

Sets the AD converter’s operating frequency to f

AD

divided by 12.

RAPI_10BIT

Sets the AD converter’s resolution to 10 bits.

RAPI_8BIT

Sets the AD converter’s resolution to 8 bits.

RAPI_AD_ON

Sets the AD converter to start operating.

RAPI_AD_OFF

Sets the AD converter to stop operating.

RAPI_WITH_SAMPLE_HOLD

Specifies that sample-and-hold action is applied.

RAPI_WITHOUT_SAMPLE_

HOLD

Specifies that sample-and-hold action is not applied.

RAPI_SOFTWARE_TRIGGER Selects

software

trigger.

RAPI_EXTERNAL_TRIGGER

Selects external trigger.

RAPI_TIMER_B0_TRIGGER

Selects underflow of timer B0 as trigger.

RAPI_TIMER_B2_TRIGGER

Selects underflow of timer B2 as trigger.

RAPI_ICTB2_TRIGGER

Selects underflow of timer B2 interrupt generation

frequency set counter as trigger.

• Specifiable definition values when one-shot mode is used (RAPI_ONE_SHOT specified)

(Input pin)

Specify one from { RAPI_AN0, RAPI_AN1, RAPI_AN2, RAPI_AN3, RAPI_AN4,
RAPI_AN5, RAPI_AN6, RAPI_AN7, RAPI_AN00, RAPI_AN01, RAPI_AN02,
RAPI_AN03, RAPI_AN04, RAPI_AN05, RAPI_AN06, RAPI_AN07, RAPI_AN20,
RAPI_AN21, RAPI_AN22, RAPI_AN23, RAPI_AN24, RAPI_AN25, RAPI_AN26,
RAPI_AN27, RAPI_AN30, RAPI_AN31, RAPI_AN32 }. The default is RAPI_AN0.

(Operating

frequency)

Specify one from { RAPI_FAD, RAPI_FAD2, RAPI_FAD3, RAPI_FAD4,

RAPI_FAD6, RAPI_FAD12 }. The default value is RAPI_FAD4.

(Resolution) Specify one from { RAPI_10BIT, RAPI_8BIT }. The default value is

RAPI_8BIT.

(Operating

states set)

Specify one from { RAPI_AD_ON, RAPI_AD_OFF }. The default value is

RAPI_AD_OFF.