| BLDC control on ATAVRMC303 with ATxMega128A1

Macros
ADC Start Normal Conversion
ADC Module » ADC Macros » ADC Start Conversion

Start the conversion in normal mode. More...

Collaboration diagram for ADC Start Normal Conversion:

## Macros
#define | Start_amplified_conv() (ADCSRB |= (1<<ADASCR) )
#define | Start_amplified_conv_channel(channel) (Select_adc_channel(channel), Start_amplified_conv() )
#define | Start_conv() (ADCB.CTRLB |= ADC_CH0START_bm)
#define | Start_conv_channel(channel) (Select_adc_channel(channel), Start_conv() )
#define | Stop_amplified_conv() (ADCSRB &= ~(1<<ADASCR) )

## Detailed Description

Start the conversion in normal mode.

## Macro Definition Documentation

## ◆ Start_amplified_conv

#define Start_amplified_conv | ( |  | ) | (ADCSRB |= (1<<ADASCR) )

Definition at line 97 of file adc_drv.h.

## ◆ Start_amplified_conv_channel

#define Start_amplified_conv_channel | ( |  | channel | ) | (Select_adc_channel(channel), Start_amplified_conv() )

Definition at line 99 of file adc_drv.h.

## ◆ Start_conv

#define Start_conv | ( |  | ) | (ADCB.CTRLB |= ADC_CH0START_bm)

Definition at line 95 of file adc_drv.h.

## ◆ Start_conv_channel

#define Start_conv_channel | ( |  | channel | ) | (Select_adc_channel(channel), Start_conv() )

Definition at line 96 of file adc_drv.h.

## ◆ Stop_amplified_conv

#define Stop_amplified_conv | ( |  | ) | (ADCSRB &= ~(1<<ADASCR) )

Definition at line 98 of file adc_drv.h.