Renesas M16C/62P Group Reference Manual page 93

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

Advertisement

Remark
Program example
#include " rapi_ad_m16c_62p.h"
void AdIntFunc( void ){}
void func( void )
{
}
Rev.1.00
2007.11.1
REC10B0002-0100
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
/* Set up A/D converter as one short mode */
__CreateADC( RAPI_ONE_SHOT|RAPI_AN2|RAPI_FAD2| RAPI_WITH_SAMPLE_HOLD
| RAPI_EXTERNAL_TRIGGER |RAPI_AD_ON|RAPI_10BIT| RAPI_ANEX_UNUSED,
1, 5, AdIntFunc );
91

Advertisement

Table of Contents
loading

Table of Contents