| BLDC control on ATAVRMC303 with ATxMega128A1

Macros
ADC Get x Bits Result
ADC Module » ADC Macros

ADC Get x Bits Result. More...

Collaboration diagram for ADC Get x Bits Result:

## Macros
#define | Adc_get_10_bits_result() ((U16)(ADCL+((U16)(ADCH<<8))))
#define | Adc_get_8_bits_result() ((U8)(ADCH))

## Detailed Description

ADC Get x Bits Result.

## Macro Definition Documentation

## ◆ Adc_get_10_bits_result

#define Adc_get_10_bits_result | ( |  | ) | ((U16)(ADCL+((U16)(ADCH<<8))))

Definition at line 116 of file adc_drv.h.

## ◆ Adc_get_8_bits_result

#define Adc_get_8_bits_result | ( |  | ) | ((U8)(ADCH))

Definition at line 115 of file adc_drv.h.