ATTINY40-MMHR Atmel, ATTINY40-MMHR Datasheet - Page 117

no-image

ATTINY40-MMHR

Manufacturer Part Number
ATTINY40-MMHR
Description
MCU AVR 4KB FLASH 12MHZ 3X3 QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY40-MMHR

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY40-MMHR
Quantity:
6 000
15.13 Register Description
15.13.1
8263A–AVR–08/10
ADMUX – ADC Multiplexer Selection Register
• Bit 7 – Res: Reserved Bit
This bit is reserved and will always read as zero.
• Bit 6 – REFS: Reference Selection Bit
This bit selects the voltage reference for the ADC, as shown in
Table 15-3.
If this bit is changed during a conversion, the change will not go in effect until this conversion is
complete (ADIF in ADCSR is set). Also note, that when these bits are changed, the next
conversion will take 25 ADC clock cycles.
• Bit 5 – REFEN
This bit is reserved for QTouch, always write as zero.
• Bit 4 – ADC0EN
This bit is reserved for QTouch, always write as zero.
• Bits 3:0 – MUX[3:0]: Analog Channel and Gain Selection Bits
The value of these bits selects which analog input is connected to the ADC, as shown in
15-4. Selecting channel ADC12 enables temperature measurement.
Table 15-4.
Bit
0x10
Read/Write
Initial Value
Single Ended Input
ADC0 (PA0)
ADC1 (PA1)
ADC2 (PA2)
ADC3 (PA3)
ADC4 (PA4)
ADC5 (PA5)
ADC6 (PA6)
ADC7 (PA7)
ADC8 (PB0)
ADC9 (PB1)
REFS
0
1
Voltage Reference Selections for ADC
Single-Ended Input channel Selections
R
7
0
Voltage Reference Selection
V
Internal 1.1V voltage reference
CC
REFS
R/W
6
0
used as analog reference
REFEN
R/W
5
0
ADC0EN
R/W
4
0
MUX3
R/W
3
0
MUX2
R/W
2
0
Table
15-3.
MUX1
R/W
1
0
MUX[3:0]
0000
0001
0010
0100
0101
1000
1001
0011
0110
0111
MUX0
R/W
0
0
ADMUX
Table
117

Related parts for ATTINY40-MMHR