BLDC control on ATAVRMC303 with ATxMega128A1
ADC Start Idle Conversion

Start the Analog to Digital Conversion in noise reduction mode. More...

Collaboration diagram for ADC Start Idle Conversion:

Macros

#define Clear_sleep_mode()   (SMCR &= ~(1<<SM0)|(1<<SE) )
 
#define Start_conv_idle()   (SMCR |= (1<<SM0)|(1<<SE) )
 
#define Start_conv_idle_channel(channel)   (Select_adc_channel(channel), Start_conv_idle() )
 

Detailed Description

Start the Analog to Digital Conversion in noise reduction mode.

Macro Definition Documentation

◆ Clear_sleep_mode

#define Clear_sleep_mode ( )    (SMCR &= ~(1<<SM0)|(1<<SE) )

Definition at line 107 of file adc_drv.h.

◆ Start_conv_idle

#define Start_conv_idle ( )    (SMCR |= (1<<SM0)|(1<<SE) )

Definition at line 105 of file adc_drv.h.

◆ Start_conv_idle_channel

#define Start_conv_idle_channel (   channel)    (Select_adc_channel(channel), Start_conv_idle() )

Definition at line 106 of file adc_drv.h.