ATtiny4 Atmel Corporation, ATtiny4 Datasheet - Page 165
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATtiny4
Manufacturer Part Number
ATtiny4
Description
Manufacturer
Atmel Corporation
Specifications of ATtiny4
Flash (kbytes)
0.5 Kbytes
Pin Count
6
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
1
Hardware Qtouch Acquisition
No
Max I/o Pins
4
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.03
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
1
Output Compare Channels
2
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:
ATtiny4-TS8R
Manufacturer:
ADI
Quantity:
635
Part Number:
ATtiny4-TSHR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny4313-MMHR
Manufacturer:
MICRON
Quantity:
4 100
Company:
Part Number:
ATtiny4313-MU
Manufacturer:
HITTITE
Quantity:
101
Part Number:
ATtiny4313-SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny44-15MZ
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
ATtiny44-15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny44-15SSZ
Manufacturer:
ATMEL
Quantity:
350
Part Number:
ATtiny441-MUR
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATtiny44A-MFR
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Table of Contents
8127E–AVR–11/11
1
2
3
4
5
6
7
Features ..................................................................................................... 1
Pin Configurations ................................................................................... 2
Overview ................................................................................................... 3
General Information ................................................................................. 5
CPU Core .................................................................................................. 6
Memories ................................................................................................ 14
Clock System ......................................................................................... 17
Power Management and Sleep Modes ................................................. 23
1.1
2.1
3.1
3.2
3.3
3.4
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
5.1
5.2
5.3
6.1
6.2
6.3
6.4
6.5
7.1
7.2
Pin Description ..................................................................................................2
Comparison of ATtiny4, ATtiny5, ATtiny9 and ATtiny10 ...................................4
Resources .........................................................................................................5
Code Examples .................................................................................................5
Data Retention ...................................................................................................5
Disclaimer ..........................................................................................................5
Architectural Overview .......................................................................................6
ALU – Arithmetic Logic Unit ...............................................................................7
Status Register ..................................................................................................7
General Purpose Register File ..........................................................................8
Stack Pointer .....................................................................................................9
Instruction Execution Timing .............................................................................9
Reset and Interrupt Handling ...........................................................................10
Register Description ........................................................................................12
In-System Re-programmable Flash Program Memory ....................................14
Data Memory ...................................................................................................14
I/O Memory ......................................................................................................16
Clock Subsystems ...........................................................................................17
Clock Sources .................................................................................................18
System Clock Prescaler ..................................................................................19
Starting ............................................................................................................20
Register Description ........................................................................................21
Sleep Modes ....................................................................................................23
Power Reduction Register ...............................................................................24
ATtiny4/5/9/10
i