创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:avrgcc:admux

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.

#define ADMUX _SFR_MEM8(0x7C)

The 0x7C is the address where the ADMUX register exists. It calls the _SFR_MEM8().

本页面的其他翻译:
arduino/avrgcc/admux.txt · 最后更改: 2016/12/25 22:15 (外部编辑)