ATtiny20 Atmel Corporation, ATtiny20 Datasheet - Page 58

no-image

ATtiny20

Manufacturer Part Number
ATtiny20
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny20

Flash (kbytes)
2 Kbytes
Pin Count
14
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
5
Hardware Qtouch Acquisition
Yes
Max I/o Pins
12
Ext Interrupts
12
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
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
3
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny20-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny20-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny20-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
Part Number:
ATtiny20-SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny20-XU
Manufacturer:
Atmel
Quantity:
904
10.4
10.4.1
10.4.2
10.4.3
10.4.4
10.4.5
10.4.6
58
Register Description
ATtiny20
PORTCR – Port Control Register
PUEA – Port A Pull-up Enable Control Register
PORTA – Port A Data Register
DDRA – Port A Data Direction Register
PINA – Port A Input Pins
PUEB – Port B Pull-up Enable Control Register
• Bits 7:2 – Res: Reserved Bits
These bits are reserved and will always read as zero.
• Bit 1 – BBMB: Break-Before-Make Mode Enable
When this bit is set the Break-Before-Make mode is activated for the entire Port B. The interme-
diate tri-state cycle is then inserted when writing DDRBn to make an output. For further
information, see
• Bit 0 – BBMA: Break-Before-Make Mode Enable
When this bit is set the Break-Before-Make mode is activated for the entire Port A. The interme-
diate tri-state cycle is then inserted when writing DDRAn to make an output. For further
information, see
Bit
0x08
Read/Write
Initial Value
Bit
0x03
Read/Write
Initial Value
Bit
0x02
Read/Write
Initial Value
Bit
0x01
Read/Write
Initial Value
Bit
0x00
Read/Write
Initial Value
Bit
0x07
Read/Write
Initial Value
PORTA7
PUEA7
PINA7
DDA7
R/W
R/W
R/W
R/W
N/A
R
7
0
R
7
0
7
0
7
0
7
7
0
“Break-Before-Make Switching” on page
“Break-Before-Make Switching” on page
PORTA6
PUEA6
PINA6
DDA6
R/W
R/W
R/W
R/W
N/A
R
6
R
6
0
6
0
6
0
6
0
6
0
PORTA5
PUEA5
PINA5
DDA5
R/W
R/W
R/W
R/W
N/A
5
0
5
0
5
0
5
5
R
0
R
5
0
PORTA4
PUEA4
PINA4
DDA4
R/W
R/W
R/W
R/W
N/A
4
R
4
0
4
0
4
0
4
0
4
R
0
PORTA3
PUEA3
PUEB3
PINA3
DDA3
R/W
R/W
R/W
R/W
N/A
R/W
3
0
3
0
3
3
0
3
0
R
3
0
46.
46.
PORTA2
PUEA2
PUEB2
PINA2
DDA2
R/W
R/W
R/W
R/W
R/W
N/A
2
2
0
2
0
2
0
2
0
R
2
0
PORTA1
PUEA1
PUEB1
PINA1
DDA1
R/W
BBMB
R/W
R/W
R/W
N/A
R/W
R/W
1
1
0
1
0
1
0
1
0
1
0
PORTA0
PUEA0
PUEB0
PINA0
BBMA
DDA0
R/W
R/W
R/W
N/A
R/W
R/W
R/W
0
0
0
0
0
0
0
0
0
0
0
8235B–AVR–04/11
PORTCR
PORTA
DDRA
PUEA
PUEB
PINA

Related parts for ATtiny20