ATMEL: ADC Prescaler Configuration

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# ADC Prescaler Configuration
[ADC Macros]

Configure the ADC prescaler. More...

## Defines

#define | Set_prescaler(prescaler)

## Detailed Description

Configure the ADC prescaler.

## Define Documentation

#define Set_prescaler | ( | prescaler |  | ) |

Value:

    (ADCSRA &= ~((1<<ADPS2)|(1<<ADPS1)|(1<<ADPS0)),\
                                                  ADCSRA |=  (prescaler) )

Definition at line 102 of file adc_drv.h.