Renesas Single-Chip Microcomputer M38C89T-ADF User Manual Page 114

  • Download
  • Add to my manuals
  • Print
  • Page
    / 138
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 113
Rev.1.00 May 22 2012
REJ09B0566
4-94
Library Reference
4.2.10 10-bit Analog to Digital Converter
4
2) R_ADC_10_Destroy
Synopsis
Shut down an ADC unit.
Prototype bool R_ADC_10_Destroy ();
Description
Put the ADC into the Power-down state, with minimal power consumption.
Return value
True ADC powered down successfully.
Category
ADC
Reference
R_ADC_10_Create
Remarks This function waits for the ADST flag to indicate that the converter has stopped. If the ADC units control
registers are directly modified by the user, this function may lock up.
Program example
/* PDL definitions */
#include r_pdl_adc_10.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func( void )
{
/* Shut down ADC unit */
R_ADC_10_Destroy();
}
Page view 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 137 138

Comments to this Manuals

No comments