| BLDC control on ATAVRMC303 with ATxMega128A1

Macros
ADC Prescaler Configuration
ADC Module » ADC Macros

Configure the ADC prescaler. More...

Collaboration diagram for ADC Prescaler Configuration:

## Macros
#define | Set_prescaler(prescaler)

## Detailed Description

Configure the ADC prescaler.

## Macro Definition Documentation

## ◆ Set_prescaler

#define Set_prescaler | ( |  | prescaler | ) |

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

Definition at line 77 of file adc_drv.h.