Renesas M16C/62P Group Reference Manual page 90

Group renesas embedded application programming interface
Hide thumbs Also See for M16C/62P Group:
Table of Contents

Advertisement

Rev.1.00
2007.11.1
REC10B0002-0100
RAPI_AN27
RAPI_P0_GROUP
RAPI_P10_GROUP
RAPI_P2_GROUP
RAPI_FAD
RAPI_FAD2
RAPI_FAD3
RAPI_FAD4
RAPI_FAD6
RAPI_FAD12
RAPI_10BIT
RAPI_8BIT
RAPI_AD_ON
RAPI_AD_OFF
RAPI_WITH_SAMPLE_HOLD
RAPI_WITHOUT_SAMPLE_
HOLD
RAPI_SOFTWARE_TRIGGER
RAPI_EXTERNAL_TRIGGER
RAPI_ANEX_UNUSED
RAPI_ANEX0
RAPI_ANEX1
RAPI_EXTERNAL_OP_AMP
• 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
Specify one from { RAPI_FAD, RAPI_FAD2, RAPI_FAD3, RAPI_FAD4,
frequency)
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
Specify one from { RAPI_AD_ON, RAPI_AD_OFF }. The default value is
states set)
RAPI_AD_OFF.
(Conversion
Specify one from { RAPI_WITH_SAMPLE_HOLD,
RAPI_WITHOUT_SAMPLE_HOLD }. The default value is
method)
RAPI_WITHOUT_SAMPLE_HOLD.
(Trigger)
Specify one from { RAPI_SOFTWARE_TRIGGER,
RAPI_EXTERNAL_TRIGGER }.
The default value is RAPI_SOFTWARE_TRIGGER.
(External
Specify one from { RAPI_ANEX_UNUSED, RAPI_EXTERNAL_OP_AMP }.
Op-Amp
The default value is RAPI_ANEX_UNUSED.
Connection)
• Specifiable definition values when repeat mode is used (RAPI_REPEAT specified)
Uses AN
pin for the analog input pin.
27
Uses port P
group for the analog input pin.
0
Uses port P
group for the analog input pin.
10
Uses port P
group for the analog input pin.
2
Sets the AD converter's operating frequency to f
Sets the AD converter's operating frequency to f
Sets the AD converter's operating frequency to f
Sets the AD converter's operating frequency to f
Sets the AD converter's operating frequency to f
Sets the AD converter's operating frequency to f
Sets the AD converter's resolution to 10 bits.
Sets the AD converter's resolution to 8 bits.
Sets the AD converter to start operating.
Sets the AD converter to stop operating.
Specifies that sample-and-hold action is applied.
Specifies that sample-and-hold action is not applied.
Selects software trigger.
Selects external trigger.
ANEX0 and ANEX1 are not used
ANEX0 input is A/D converted
ANEX1 input is A/D converted
External op-amp connection mode
88
.
AD
divided by 2.
AD
divided by 3.
AD
divided by 4.
AD
divided by 6.
AD
divided by 12.
AD

Advertisement

Table of Contents
loading

Table of Contents