ADC Defines Configuration Values

Collaboration diagram for ADC Defines Configuration Values:


Detailed Description

Defines allowing to init the ADC with the wanted configuration.


Modules

 DAC Defines Configuration Values
 Defines allowing to init the DAC with the wanted configuration.

Defines

#define ADC_HIGH_SPEED_MODE   1
#define ADC_INTERNAL_VREF   1
 0: External Vref 1: Internal Vref 2: Vref is connected to Vcc
#define ADC_IT   1
 0: No ADC End of Conv IT 1: ADC End of conversion generates an IT
#define ADC_PRESCALER   4
 2, 4, 8, 16, 32, 64, 128 : The input ADC frequency is the system clock frequency divided by the const value
#define ADC_RIGHT_ADJUST_RESULT   0
 0: Result left adjusted 1: Result right adjusted
#define USE_ADC


Define Documentation

#define ADC_HIGH_SPEED_MODE   1

Definition at line 51 of file config.h.

#define ADC_INTERNAL_VREF   1

0: External Vref 1: Internal Vref 2: Vref is connected to Vcc

Definition at line 52 of file config.h.

#define ADC_IT   1

0: No ADC End of Conv IT 1: ADC End of conversion generates an IT

Definition at line 53 of file config.h.

#define ADC_PRESCALER   4

2, 4, 8, 16, 32, 64, 128 : The input ADC frequency is the system clock frequency divided by the const value

Definition at line 54 of file config.h.

#define ADC_RIGHT_ADJUST_RESULT   0

0: Result left adjusted 1: Result right adjusted

Definition at line 50 of file config.h.

#define USE_ADC

Definition at line 48 of file config.h.


Generated on Wed Jul 12 16:55:28 2006 for Atmel BLDC Sensorless on ATAVRMC100 by  doxygen 1.4.7