Playing with Arduino
A page to record my playing with Arduino
ADMUX

Abstract

The ADMUX(ADC Multiplexer Selection Register) is a register that controls the reference voltage, the presentation of the ADC conversion(left adjust or right adjust) and analog channel selection.

Source Code

The ADMUX is defined in hardware/tools/avr/avr/include/avr/iom328p.h as below.

1
#define ADMUX _SFR_MEM8(0x7C)

The 0x7C is the address where the ADMUX register exists. 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