ADC driver implementation for the ADC peripheral on Low Power F3 devices.
This ADC driver implementation is designed to operate on a ADC peripheral for Low Power F3 devices.
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 <ti/drivers/Power.h>
#include <ti/devices/DeviceFamily.h>
#include <DeviceFamily_constructPath(driverlib/adc.h)>
Go to the source code of this file.
Data Structures | |
struct | ADCLPF3_HWAttrs |
ADCLPF3 Hardware attributes These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. More... | |
struct | ADCLPF3_Object |
ADCLPF3 Object. More... | |
Enumerations | |
enum | ADCLPF3_Resolution_Bits { ADCLPF3_RESOLUTION_12_BIT = ADC_RESOLUTION_12_BIT, ADCLPF3_RESOLUTION_10_BIT = ADC_RESOLUTION_10_BIT, ADCLPF3_RESOLUTION_8_BIT = ADC_RESOLUTION_8_BIT } |
Resolution of ADC-conversion. More... | |
enum | ADCLPF3_Reference_Source { ADCLPF3_FIXED_REFERENCE_1V4 = ADC_FIXED_REFERENCE_1V4, ADCLPF3_FIXED_REFERENCE_2V5 = ADC_FIXED_REFERENCE_2V5, ADCLPF3_VDDS_REFERENCE = ADC_VDDS_REFERENCE, ADCLPF3_EXTERNAL_REFERENCE = ADC_EXTERNAL_REFERENCE } |
Specifies the source of the ADC reference voltage. More... | |
enum | ADCLPF3_Clock_Divider { ADCLPF3_CLKDIV_1 = ADC_CLOCK_DIVIDER_1, ADCLPF3_CLKDIV_2 = ADC_CLOCK_DIVIDER_2, ADCLPF3_CLKDIV_4 = ADC_CLOCK_DIVIDER_4, ADCLPF3_CLKDIV_8 = ADC_CLOCK_DIVIDER_8, ADCLPF3_CLKDIV_16 = ADC_CLOCK_DIVIDER_16, ADCLPF3_CLKDIV_24 = ADC_CLOCK_DIVIDER_24, ADCLPF3_CLKDIV_32 = ADC_CLOCK_DIVIDER_32, ADCLPF3_CLKDIV_48 = ADC_CLOCK_DIVIDER_48 } |
ADC clock-divider. More... | |
Variables | |
const ADC_FxnTable | ADCLPF3_fxnTable |
Specifies the source of the ADC reference voltage.
Enumerator | |
---|---|
ADCLPF3_FIXED_REFERENCE_1V4 | |
ADCLPF3_FIXED_REFERENCE_2V5 | |
ADCLPF3_VDDS_REFERENCE | |
ADCLPF3_EXTERNAL_REFERENCE |
const ADC_FxnTable ADCLPF3_fxnTable |