First of all, I would just like to say hi guys! Only just started getting into microprocessors about a month ago, definitely opened my eyes at how easy some things can be!!
Quick question today though, I am using the atmega324pa in atmel studio 6, according to the definitions in iom324pa.h
#ifndef __ASSEMBLER__ #define ADC _SFR_MEM16(0x78) #endif #define ADCW _SFR_MEM16(0x78) #define ADCL _SFR_MEM8(0x78) #define ADCH _SFR_MEM8(0x79)
The (I never know what to call these...) term ADC is the same as ADCW and is by default ADCL and ADCH put together into a single 16-bit carrier based on the definition.
If this is the case, why is that I cannot find any documentation of this in comparison to everyone continually stating that you should try to combine ADCL and ADCH to create a 10-bit characterization of your input signal.
Note: Bare in mind I only stumbled onto this discovery a few hours ago.