[Tinyos-devel] left alignment of ADC values in tinyos-2.x/tos/chips/atm128/adc/AdcP.nc

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Fri Jun 23 14:24:43 PDT 2006


Hi!

I noticed that the ADC data for Atmega128 is requested to be left aligned.
This might allow higher speed in low-resolution (8 bit) sampling but it
also generates strange values due to nx conversions (the maximum 0x3FF
value becomes 0xCFF). Is this a known or accepted behavior?

--
Razvan ME



More information about the Tinyos-devel mailing list