ATtiny40 Atmel Corporation, ATtiny40 Datasheet - Page 106

no-image

ATtiny40

Manufacturer Part Number
ATtiny40
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny40

Flash (kbytes)
4 Kbytes
Pin Count
20
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
Yes
Max I/o Pins
18
Ext Interrupts
18
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATtiny40-MMHR
Quantity:
6 000
15.3
106
Operation
ATtiny40
Figure 15-1. Analog to Digital Converter Block Schematic
In order to be able to use the ADC the Power Reduction bit, PRADC, in the Power Reduction
Register must be disabled. This is done by clearing the PRADC bit. See
tion Register” on page 31
The ADC is enabled by setting the ADC Enable bit, ADEN in ADCSRA. Voltage reference and
input channel selections will not go into effect until ADEN is set. The ADC does not consume
power when ADEN is cleared, so it is recommended to switch off the ADC before entering power
saving sleep modes.
ADC5
ADC5
ADC3
ADC3
ADC1
ADC1
ADC9
ADC9
ADC8
ADC8
ADC7
ADC7
ADC6
ADC6
ADC4
ADC4
ADC2
ADC2
ADC0
ADC0
ADC11
ADC11
ADC10
ADC10
V
CC
CC
TEMPERATURE
TEMPERATURE
REFERENCE
REFERENCE
INTERNAL
INTERNAL
SENSOR
SENSOR
8-BIT DATA BUS
AGND
ADMUX
ADMUX
DECODER
DECODER
for more details.
ADCSRB
ADCSRB
INPUT
INPUT
MUX
MUX
TRIGGER
TRIGGER
SELECT
SELECT
10-BIT DAC
10-BIT DAC
PRESCALER
PRESCALER
ADCSRA
ADCSRA
CONVERSION LOGIC
CONVERSION LOGIC
“PRR – Power Reduc-
SAMPLE & HOLD
SAMPLE & HOLD
COMPARATOR
COMPARATOR
-
+
ADCH+ADCL
ADCH+ADCL
8263A–AVR–08/10
ADC MUX OUTPUT
ADC MUX OUTPUT
ADC IRQ
ADC IRQ

Related parts for ATtiny40