MotorWare f2806x Driver API Documentation
Functions
adc.c File Reference

Contains the various functions related to the analog-to-digital converter (ADC) object. More...

#include "sw/drivers/adc/src/32b/f28x/f2806x/adc.h"

Go to the source code of this file.

Functions

void usDelay (uint32_t Count)
 
void ADC_disable (ADC_Handle adcHandle)
 Disables the analog-to-digital converter (ADC) More...
 
void ADC_disableBandGap (ADC_Handle adcHandle)
 Disables the analog-to-digital converter (ADC) band gap circuit. More...
 
void ADC_disableInt (ADC_Handle adcHandle, const ADC_IntNumber_e intNumber)
 Disables the analog-to-digital converter (ADC) interrupt. More...
 
void ADC_disableRefBuffers (ADC_Handle adcHandle)
 Disables the analog-to-digital converter (ADC) reference buffers circuit. More...
 
void ADC_enable (ADC_Handle adcHandle)
 Enables the analog-to-digital converter (ADC) More...
 
void ADC_enableBandGap (ADC_Handle adcHandle)
 Enables the analog-to-digital converter (ADC) band gap circuit. More...
 
void ADC_enableInt (ADC_Handle adcHandle, const ADC_IntNumber_e intNumber)
 Enables the analog-to-digital converter (ADC) interrupt. More...
 
void ADC_enableRefBuffers (ADC_Handle adcHandle)
 Enables the analog-to-digital converter (ADC) reference buffers circuit. More...
 
ADC_Handle ADC_init (void *pMemory, const size_t numBytes)
 Initializes the analog-to-digital converter (ADC) object handle. More...
 
void ADC_powerDown (ADC_Handle adcHandle)
 Powers down the analog-to-digital converter (ADC) More...
 
void ADC_powerUp (ADC_Handle adcHandle)
 Powers up the analog-to-digital converter (ADC) More...
 
void ADC_reset (ADC_Handle adcHandle)
 Resets the analog-to-digital converter (ADC) More...
 
void ADC_setSampleOverlapMode (ADC_Handle adcHandle, ADC_ADCCTL2_ADCNONOVERLAP_e OverLap)
 
void ADC_setIntMode (ADC_Handle adcHandle, const ADC_IntNumber_e intNumber, const ADC_IntMode_e intMode)
 Sets the interrupt mode. More...
 
void ADC_setIntPulseGenMode (ADC_Handle adcHandle, const ADC_IntPulseGenMode_e pulseMode)
 Sets the interrupt pulse generation mode. More...
 
void ADC_setIntSrc (ADC_Handle adcHandle, const ADC_IntNumber_e intNumber, const ADC_IntSrc_e intSrc)
 Sets the interrupt source. More...
 
void ADC_setSampleMode (ADC_Handle adcHandle, const ADC_SampleMode_e sampleMode)
 Sets the sample mode. More...
 
void ADC_setSocChanNumber (ADC_Handle adcHandle, const ADC_SocNumber_e socNumber, const ADC_SocChanNumber_e chanNumber)
 Sets the start-of-conversion (SOC) channel number. More...
 
void ADC_setSocSampleDelay (ADC_Handle adcHandle, const ADC_SocNumber_e socNumber, const ADC_SocSampleDelay_e sampleDelay)
 Sets the start-of-conversion (SOC) sample delay. More...
 
void ADC_setSocTrigSrc (ADC_Handle adcHandle, const ADC_SocNumber_e socNumber, const ADC_SocTrigSrc_e trigSrc)
 Sets the start-of-conversion (SOC) trigger source. More...
 
void ADC_setSocFrc (ADC_Handle adcHandle, const ADC_SocFrc_e socFrc)
 Sets the start-of-conversion (SOC) force register. More...
 
void ADC_setSocFrcWord (ADC_Handle adcHandle, const uint16_t socFrc)
 Sets the entire start of conversion (SOC) force register. More...
 
void ADC_setTempSensorSrc (ADC_Handle adcHandle, const ADC_TempSensorSrc_e sensorSrc)
 Sets the temperature sensor source. More...
 
void ADC_setVoltRefSrc (ADC_Handle adcHandle, const ADC_VoltageRefSrc_e voltSrc)
 Sets the voltage reference source. More...
 
ADC_DivideSelect_e ADC_getDivideSelect (ADC_Handle adcHandle)
 Gets the analog-to-digital converter (ADC) divide select value. More...
 
void ADC_setDivideSelect (ADC_Handle adcHandle, const ADC_DivideSelect_e divSelect)
 Sets the analog-to-digital converter (ADC) divide select value. More...
 
void ADC_enableNoOverlapMode (ADC_Handle adcHandle)
 Enables no overlap mode. More...
 
void ADC_disableNoOverlapMode (ADC_Handle adcHandle)
 Disables no overlap mode. More...
 
void ADC_setupSocTrigSrc (ADC_Handle adcHandle, const ADC_SocNumber_e socNumber, const ADC_IntTriggerSOC_e intTrigSrc)
 Sets the start of conversion (SOC) trigger source. More...
 
void ADC_setOffTrim (ADC_Handle adcHandle, const uint16_t offtrim)
 Sets the offset trim register. More...
 
void ADC_enableVoltRefLoConv (ADC_Handle adcHandle)
 Enables conversion of the voltage reference low signal for calibration. More...
 
void ADC_disableVoltRefLoConv (ADC_Handle adcHandle)
 Disables conversion of the voltage reference low signal for calibration. More...
 

Detailed Description

Contains the various functions related to the analog-to-digital converter (ADC) object.

(C) Copyright 2015, Texas Instruments, Inc.

Definition in file adc.c.

Function Documentation

void ADC_setSampleOverlapMode ( ADC_Handle  adcHandle,
ADC_ADCCTL2_ADCNONOVERLAP_e  OverLap 
)
void usDelay ( uint32_t  Count)