BLDC control on ATAVRMC303 with ATxMega128A1
ADC Defines Configuration Values

Defines allowing to init the ADC with the wanted configuration. More...

Collaboration diagram for ADC Defines Configuration Values:

Modules

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

Macros

#define ADC_HIGH_SPEED_MODE   1
 
#define ADC_INTERNAL_VREF   1
 0: External Vref 1: Internal Vref 2: Vref is connected to Vcc More...
 
#define ADC_IT   1
 0: No ADC End of Conv IT 1: ADC End of conversion generates an IT More...
 
#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 More...
 
#define ADC_RIGHT_ADJUST_RESULT   0
 0: Result left adjusted 1: Result right adjusted More...
 
#define USE_ADC
 

Detailed Description

Defines allowing to init the ADC with the wanted configuration.

Macro Definition Documentation

◆ ADC_HIGH_SPEED_MODE

#define ADC_HIGH_SPEED_MODE   1

Definition at line 93 of file config.h.

◆ ADC_INTERNAL_VREF

#define ADC_INTERNAL_VREF   1

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

Definition at line 94 of file config.h.

◆ ADC_IT

#define ADC_IT   1

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

Definition at line 95 of file config.h.

◆ ADC_PRESCALER

#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 96 of file config.h.

◆ ADC_RIGHT_ADJUST_RESULT

#define ADC_RIGHT_ADJUST_RESULT   0

0: Result left adjusted 1: Result right adjusted

Definition at line 92 of file config.h.

◆ USE_ADC

#define USE_ADC

Definition at line 90 of file config.h.