![]() |
BLDC control on ATAVRMC303 with ATxMega128A1
|
Configure the Result alignement. More...
|
Macros | |
| #define | Left_adjust_adc_result() (ADCB.CTRLA |= ADC_RESOLUTION_LEFT12BIT_gc) |
| #define | Right_adjust_adc_result() (ADCB.CTRLA = ((ADCB.CTRLA & ~ ADC_RESOLUTION_LEFT12BIT_gc) | ADC_RESOLUTION_12BIT_gc)) |
Configure the Result alignement.
| #define Left_adjust_adc_result | ( | ) | (ADCB.CTRLA |= ADC_RESOLUTION_LEFT12BIT_gc) |
Definition at line 42 of file adc_drv.h.
Referenced by init_adc().