I have seen the use of ADC suggested in several replies to read the ADC peripheral result as a word instead of a byte as in ADCL and ADCH.
Why the ADC and not the ADCW?
According to the header I opened (mega88) the difference is
#ifndef __ASSEMBLER__ #define ADC _SFR_MEM16 (0x78) #endif #define ADCW _SFR_MEM16 (0x78)
So ADCW will always work while ADC will only work when __ASSEMBLER__ is not defined (or is my understanding wrong?).
And what is __ASSEMBLER__ , what does it stand for and when should I expect to see it defined?
p.s. I forgot to mention I use winavr