Macros | Functions | Variables
Driver_Init.h File Reference
#include <ti/drivers/ADC.h>
Include dependency graph for Driver_Init.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 , &params)
 
 resultUv = ADC_convertToMicroVolts(adcHandle, result)
 

Macro Definition Documentation

§ ADC_INSTANCE

#define ADC_INSTANCE   0

Function Documentation

§ ADC_init()

ADC_init ( )

Function to initialize the ADC driver.

This function must also be called before any other ADC driver APIs.

§ ADC_convert()

ADC_convert ( adcHandle  ,
result 
)

§ ADC_close()

ADC_close ( adcHandle  )

Variable Documentation

§ params

ADC_Params_init & params

§ adcHandle

ADC_Handle adcHandle = ADC_open( 0 , &params)

§ resultUv

resultUv = ADC_convertToMicroVolts(adcHandle, result)
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale