ATtiny4 Atmel Corporation, ATtiny4 Datasheet - Page 150
![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
18. Register Summary
150
Address
0x3F
0x3E
0x3D
0x3C
0x3B
0x3A
0x2F
0x2E
0x2D
0x2C
0x2B
0x2A
0x1F
0x1E
0x1D
0x1C
0x1B
0x1A
0x0F
0x0E
0x0D
0x0C
0x0B
0x0A
0x39
0x38
0x37
0x36
0x35
0x34
0x33
0x32
0x31
0x30
0x29
0x28
0x27
0x26
0x25
0x24
0x23
0x22
0x21
0x20
0x19
0x18
0x17
0x16
0x15
0x14
0x13
0x12
0x11
0x10
0x09
0x08
0x07
0x06
0x05
0x04
0x03
0x02
0x01
0x00
ATtiny4/5/9/10
NVMCMD
NVMCSR
WDTCSR
OSCCAL
Reserved
CLKMSR
VLMCSR
Reserved
OCR0AH
OCR0BH
Reserved
Reserved
Reserved
ADCSRA
ADCSRB
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
PORTCR
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
CLKPSR
TCCR0A
TCCR0B
TCCR0C
TCNT0H
OCR0AL
OCR0BL
RSTFLR
TCNT0L
Name
GTCCR
TIMSK0
ADMUX
PCMSK
PORTB
EIMSK
PCICR
SMCR
ICR0H
DIDR0
EICRA
PCIFR
SREG
TIFR0
ICR0L
ACSR
PUEB
DDRB
ADCL
PINB
CCP
PRR
EIFR
SPH
SPL
NVMBSY
COM0A1
FOC0A
Bit 7
ICNC0
VLMF
ADEN
WDIF
TSM
ACD
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
I
COM0A0
FOC0B
VLMIE
Bit 6
ICES0
ADSC
WDIE
T
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
COM0B1
ADATE
Bit 5
WDP3
ICIE0
ICF0
ACO
Timer/Counter0 - Input Capture Register High Byte
H
–
–
–
–
–
–
–
–
–
–
–
–
Timer/Counter0 - Input Capture Register Low Byte
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Timer/Counter0 – Compare Register A High Byte
Timer/Counter0 – Compare Register B High Byte
Timer/Counter0 – Compare Register A Low Byte
Timer/Counter0 – Compare Register B Low Byte
Timer/Counter0 – Counter Register High Byte
Timer/Counter0 – Counter Register Low Byte
CPU Change Protection Byte
Oscillator Calibration Byte
COM0B0
WGM03
Stack Pointer High Byte
ADC Conversion Result
Stack Pointer Low Byte
Bit 4
ADIF
ACI
S
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
PORTB3
CLKPS3
WGM02
PCINT3
ADC3D
DDRB3
PUEB3
WDRF
Bit 3
PINB3
WDE
ACIE
ADIE
SM2
V
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
NVM Comman
PORTB2
CLKPS2
OCIE0B
PCINT2
ADC2D
DDRB2
OCF0B
ADPS2
ADTS2
PUEB2
Bit 2
WDP2
PINB2
VLM2
CS02
ACIC
SM1
N
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
CLKMS1
PORTB1
CLKPS1
WGM01
OCIE0A
PCINT1
PRADC
OCF0A
ADC1D
DDRB1
EXTRF
ADPS1
ADTS1
PUEB1
Bit 1
WDP1
ACIS1
MUX1
ISC01
BBMB
PINB1
VLM1
CS01
SM0
Z
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
CLKMS0
PORTB0
CLKPS0
PRTIM0
WGM00
PCINT0
ADC0D
DDRB0
ADPS0
ADTS0
PUEB0
Bit 0
PORF
WDP0
TOIE0
ACIS0
MUX0
ISC00
INTF0
PCIE0
PCIF0
PINB0
VLM0
CS00
TOV0
INT0
PSR
SE
C
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Page 83, Page 96
8127E–AVR–11/11
Page 116
Page 116
Page 12
Page 12
Page 12
Page 12
Page 35
Page 25
Page 21
Page 21
Page 22
Page 26
Page 34
Page 32
Page 80
Page 74
Page 76
Page 77
Page 79
Page 80
Page 78
Page 78
Page 78
Page 78
Page 78
Page 78
Page 79
Page 79
Page 82
Page 94
Page 95
Page 94
Page 96
Page 38
Page 39
Page 39
Page 40
Page 40
Page 40
Page 51
Page 51
Page 52
Page 52
Page 52
Page