13.2.7 Reading Results

After each conversion, the result is stored in ADCL and ADCH. ADCL is the least significant byte, whereas ADCH is the most significant byte. In order to keep both bytes synchronized, ADCL should be read first, then ADCH. This is because reading ADCL latches the value of ADCH into an 8-bit buffer, then reading ADCH afterwards ensures both bytes belong to the same sample.



Copyright © 2006-02-15 by Tak Auyeung