#include <ti/drivers/ADC.h>
Go to the source code of this file.
Macros | |
#define | ADC_INSTANCE 0 |
Functions | |
ADC_init () | |
Function to initialize the ADC driver. More... | |
ADC_convert (adcHandle, &result) | |
ADC_close (adcHandle) | |
Variables | |
ADC_Params | params |
ADC_Handle | adcHandle = ADC_open( 0 , ¶ms) |
resultUv = ADC_convertToMicroVolts(adcHandle, result) | |
#define ADC_INSTANCE 0 |
ADC_init | ( | ) |
Function to initialize the ADC driver.
This function must also be called before any other ADC driver APIs.
ADC_convert | ( | adcHandle | , |
& | result | ||
) |
ADC_close | ( | adcHandle | ) |
ADC_Params_init & params |
ADC_Handle adcHandle = ADC_open( 0 , ¶ms) |
resultUv = ADC_convertToMicroVolts(adcHandle, result) |