beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 198

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

196

__DestroyADC

Synopsis

Boolean __DestroyADC(void)

Description

Discards settings of a specified A/D converter.

Return value

If converter setting was successfully discarded, RAPI_TRUE is returned; if failed,
RAPI_FALSE is returned.

Functionality

A/D converter

Reference

__CreateADC

,

__EnableADC

,

__GetADC

,

__GetADCAll

Remark

When used for the H8/300H, this API places a specified timer into module stanby
state after discarding it.

Program example

#include "rapi_ad_r8c_13.h"

void func( void )
{
/* Destroy A/D converter */
__DestroyADC();
}