Data Structures | Macros | Variables
ADCCC32XX.h File Reference

Detailed Description

ADC driver implementation for the ADC peripheral on CC32XX.


This ADC driver implementation is designed to operate on a CC32XX ADC peripheral.

Refer to ADC.h for a complete description of APIs & example of use.

#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/ADC.h>
Include dependency graph for ADCCC32XX.h:

Go to the source code of this file.

Data Structures

struct  ADCCC32XX_HWAttrsV1
 ADCCC32XX Hardware attributes. More...
 
struct  ADCCC32XX_State
 ADCCC32XX_Status. More...
 
struct  ADCCC32XX_Object
 ADCCC32XX Object. More...
 

Macros

#define ADCCC32XX_PIN_57_CH_0   (ADC_CH_0 << 8) | 0x38
 
#define ADCCC32XX_PIN_58_CH_1   (ADC_CH_1 << 8) | 0x39
 
#define ADCCC32XX_PIN_59_CH_2   (ADC_CH_2 << 8) | 0x3a
 
#define ADCCC32XX_PIN_60_CH_3   (ADC_CH_3 << 8) | 0x3b
 

Variables

const ADC_FxnTable ADCCC32XX_fxnTable
 

Macro Definition Documentation

§ ADCCC32XX_PIN_57_CH_0

#define ADCCC32XX_PIN_57_CH_0   (ADC_CH_0 << 8) | 0x38

< PIN 57 is used for ADC channel 0 PIN 58 is used for ADC channel 1

§ ADCCC32XX_PIN_58_CH_1

#define ADCCC32XX_PIN_58_CH_1   (ADC_CH_1 << 8) | 0x39

PIN 59 is used for ADC channel 2

§ ADCCC32XX_PIN_59_CH_2

#define ADCCC32XX_PIN_59_CH_2   (ADC_CH_2 << 8) | 0x3a

PIN 60 is used for ADC channel 3

§ ADCCC32XX_PIN_60_CH_3

#define ADCCC32XX_PIN_60_CH_3   (ADC_CH_3 << 8) | 0x3b

Variable Documentation

§ ADCCC32XX_fxnTable

const ADC_FxnTable ADCCC32XX_fxnTable
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale