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

7.3.0-atmel3.6.1-arduino7

Last Update

May 15, 2021

inserted by FC2 system