Renesas Single-Chip Microcomputer M38C89T-ADF Uživatelský manuál Strana 114

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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();
}
Zobrazit stránku 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 137 138

Komentáře k této Příručce

Žádné komentáře