Playing with Arduino
A page to record my playing with Arduino
ADCL/ADCH

Abstract

The ADCD/ADCH are registers which store the result of AD conversion.

Source Code

The ADCD/ADCH are defined in hardware/tools/avr/avr/include/avr/iom328p.h as below.

1
2
#define ADCL _SFR_MEM8(0x78)
#define ADCH _SFR_MEM8(0x79)

The 0x78 and 0x79 are the addresses where the ADCL and ADCH registers exist. It calls the _SFR_MEM8().

Version

Arduino 1.8.13/avr-gcc 7.3.0-atmel3.6.1-arduino

Last Update

June 19, 2020

inserted by FC2 system