Defines

# ADC Vref Configuration
[ADC Macros]

Configure the Vref. More...

## Defines
#define | Enable_internal_vref() (ADMUX |= ((1<<REFS1)|(1<<REFS0)) )
#define | Enable_external_vref() (ADMUX &= ~((1<<REFS1)|(1<<REFS0)) )
#define | Enable_vcc_vref()

## Detailed Description

Configure the Vref.

## Define Documentation

#define Enable_internal_vref | ( | ) | (ADMUX |= ((1<<REFS1)|(1<<REFS0)) )

Definition at line 93 of file adc_drv.h.

Referenced by ADC_Init(), and init_adc().

#define Enable_external_vref | ( | ) | (ADMUX &= ~((1<<REFS1)|(1<<REFS0)) )

Definition at line 94 of file adc_drv.h.

#define Enable_vcc_vref | ( | ) |

Value:

    (ADMUX  &= ~(1<<REFS1),          \
                                                  ADMUX  |=  (1<<REFS0) )

Definition at line 95 of file adc_drv.h.

Referenced by init_adc().