Rev.1.00 2007.11.1
REC10B0002-0100
88
RAPI_AN27 Uses AN
27
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_P2_GROUP Uses port P
2
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_ANEX_UNUSED ANEX0 and ANEX1 are not used
RAPI_ANEX0 ANEX0 input is A/D converted
RAPI_ANEX1 ANEX1 input is A/D converted
RAPI_EXTERNAL_OP_AMP External op-amp connection mode
• 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_ANEX0, RAPI_ANEX1 }. 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.
(Conversion
method)
Specify one from { RAPI_WITH_SAMPLE_HOLD,
RAPI_WITHOUT_SAMPLE_HOLD }. The default value is
RAPI_WITHOUT_SAMPLE_HOLD.
(Trigger) Specify one from { RAPI_SOFTWARE_TRIGGER,
RAPI_EXTERNAL_TRIGGER }.
The default value is RAPI_SOFTWARE_TRIGGER.
(External
Op-Amp
Connection)
Specify one from { RAPI_ANEX_UNUSED, RAPI_EXTERNAL_OP_AMP }.
The default value is RAPI_ANEX_UNUSED.
• Specifiable definition values when repeat mode is used (RAPI_REPEAT specified)