
Rev.1.00 May 22 2012
REJ09B0566
Library Reference
4.2.10 10-bit Analog to Digital Converter
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 unit’s 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();
}
Comentários a estes Manuais