ATtiny40 Atmel Corporation, ATtiny40 Datasheet - Page 121

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.13.5
15.13.6
8263A–AVR–08/10
DIDR0 – Digital Input Disable Register 0
PORTCR – Port Control Register
Table 15-6.
• Bits 7:0 – ADC7D:ADC0D: ADC[7:0] Digital Input Disable
When a bit is written logic one, the digital input buffer on the corresponding ADC pin is disabled.
The corresponding PIN register bit will always read as zero when this bit is set. When an analog
signal is applied to the ADC[7:0] pin and the digital input from this pin is not needed, this bit
should be written logic one to reduce power consumption in the digital input buffer.
• Bits 7:4 – ADC11D:ADC8D: ADC[11:8] Digital Input Disable
When a bit is written logic one, the digital input buffer on the corresponding ADC pin is disabled.
The corresponding PIN register bit will always read as zero when this bit is set. When an analog
signal is applied to the ADC[11:8] pin and the digital input from this pin is not needed, this bit
should be written logic one to reduce power consumption in the digital input buffer.
Bit
0x0D
Read/Write
Initial Value
Bit
0x08
Read/Write
Initial Value
ADTS2
1
1
1
ADC Auto Trigger Source Selections (Continued)
ADC11D
ADC7D
R/W
R/W
7
0
7
0
ADC10D
ADC6D
ADTS1
R/W
R/W
6
0
6
0
0
1
1
ADC5D
ADC9D
R/W
R/W
5
0
5
0
ADC4D
ADC8D
R/W
R/W
ADTS0
4
0
4
0
1
0
1
ADC3D
R/W
R
3
0
3
0
Trigger Source
Timer/Counter1 Compare Match B
Timer/Counter1 Overflow
Timer/Counter1 Capture Event
ADC2D
BBMC
R/W
R/W
2
0
2
0
ADC1D
BBMB
R/W
R/W
1
0
1
0
ADC0D
BBMA
R/W
R/W
0
0
0
0
PORTCR
DIDR0
121

Related parts for ATtiny40