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.
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 |
Typedefs | |
typedef struct ADCCC32XX_HWAttrsV1 | ADCCC32XX_HWAttrsV1 |
ADCCC32XX Hardware attributes. More... | |
typedef struct ADCCC32XX_State | ADCCC32XX_State |
ADCCC32XX_Status. More... | |
typedef struct ADCCC32XX_Object | ADCCC32XX_Object |
ADCCC32XX Object. More... | |
Variables | |
const ADC_FxnTable | ADCCC32XX_fxnTable |
#define ADCCC32XX_PIN_57_CH_0 (ADC_CH_0 << 8) | 0x38 |
PIN 57 is used for ADC channel 0
#define ADCCC32XX_PIN_58_CH_1 (ADC_CH_1 << 8) | 0x39 |
PIN 58 is used for ADC channel 1
#define ADCCC32XX_PIN_59_CH_2 (ADC_CH_2 << 8) | 0x3a |
PIN 59 is used for ADC channel 2
#define ADCCC32XX_PIN_60_CH_3 (ADC_CH_3 << 8) | 0x3b |
PIN 60 is used for ADC channel 3
typedef struct ADCCC32XX_HWAttrsV1 ADCCC32XX_HWAttrsV1 |
ADCCC32XX Hardware attributes.
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CC32XXWare these definitions are found in:
A sample structure is shown below:
typedef struct ADCCC32XX_State ADCCC32XX_State |
ADCCC32XX_Status.
The application must not access any member variables of this structure!
typedef struct ADCCC32XX_Object ADCCC32XX_Object |
ADCCC32XX Object.
The application must not access any member variables of this structure!
const ADC_FxnTable ADCCC32XX_fxnTable |