Renesas M16C/62P Group Reference Manual page 95

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

Advertisement

[data2]
Return value
If A/D converter was successfully controlled, RAPI_TRUE is returned; if failed,
RAPI_FALSE is returned.
Functionality
A/D converter
Reference
__CreateADC, __DestroyADC, __GetADC,
Remark
Rev.1.00
2007.11.1
REC10B0002-0100
RAPI_AN21
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN22
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN23
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN24
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN25
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN26
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_AN27
Uses AN
Selectable only when one-shot mode or repeat mode is used.
RAPI_ANEX0
Uses ANEX0 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
RAPI_ANEX1
Uses ANEX1 pin for the analog input pin.
Selectable only when one-shot mode or repeat mode is used.
Uses port P
RAPI_P0_GROUP
sweep mode, repeat sweep mode 0, or repeat sweep mode 1 is used.
RAPI_P10_GROUP
Uses port P
sweep mode, repeat sweep mode 0, or repeat sweep mode 1 is used.
RAPI_P2_GROUP
Uses port P
sweep mode, repeat sweep mode 0, or repeat sweep mode 1 is used.
RAPI_AD_ON
Sets the A/D converter to start operating.
RAPI_AD_OFF
Sets the A/D converter to stop operating.
The set value differs with the A/D conversion mode used.
One-shot mode
Repeat mode
Single sweep mode
Repeat sweep mode 0
Repeat sweep mode 1
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
pin for the analog input pin.
21
pin for the analog input pin.
22
pin for the analog input pin.
23
pin for the analog input pin.
24
pin for the analog input pin.
25
pin for the analog input pin.
26
pin for the analog input pin.
27
group for the analog input pin. Selectable only when
0
group for the analog input pin. Selectable only when
10
group for the analog input pin. Selectable only when
2
Specify 1.
Specify 2, 4, 6, or 8.
Specify 1, 2, 3, or 4.
__GetADCAll
93

Advertisement

Table of Contents
loading

Table of Contents