ATtiny85 Atmel Corporation, ATtiny85 Datasheet - Page 103

no-image

ATtiny85

Manufacturer Part Number
ATtiny85
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny85

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny85-15SZ
Manufacturer:
ATMEL
Quantity:
30
Part Number:
ATtiny85-20PU
Manufacturer:
CUI
Quantity:
1 000
Part Number:
ATtiny85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny85V-10SH
Manufacturer:
Intel
Quantity:
62
Part Number:
ATtiny85V-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
13.3
13.3.1
2586N–AVR–04/11
Register Description
TCCR1 – Timer/Counter1 Control Register
Table 13-3.
• Bit 7 – CTC1 : Clear Timer/Counter on Compare Match
When the CTC1 control bit is set (one), Timer/Counter1 is reset to $00 in the CPU clock cycle
after a compare match with OCR1A register. If the control bit is cleared, Timer/Counter1 contin-
ues counting and is unaffected by a compare match.
• Bit 6 – PWM1A: Pulse Width Modulator A Enable
When set (one) this bit enables PWM mode based on comparator OCR1A in Timer/Counter1
and the counter value is reset to $00 in the CPU clock cycle after a compare match with OCR1C
register value.
Bit
0x30
Read/Write
Initial value
PWM Frequency
100 kHz
110 kHz
120 kHz
130 kHz
140 kHz
150 kHz
160 kHz
170 kHz
180 kHz
190 kHz
200 kHz
250 kHz
300 kHz
350 kHz
400 kHz
450 kHz
500 kHz
80 kHz
90 kHz
CTC1
Timer/Counter1 Clock Prescale Select in the Asynchronous Mode (Continued)
R/W
7
0
PWM1A
R/W
6
0
Clock Selection
PCK/4
PCK/4
PCK/4
PCK/4
PCK/4
PCK/2
PCK/2
PCK/2
PCK/2
PCK/2
PCK/2
PCK/2
PCK/2
PCK
PCK
PCK
PCK
PCK
PCK
COM1A1
R/W
5
0
COM1A0
R/W
4
0
CS1[3:0]
0011
0011
0011
0011
0011
0010
0010
0010
0010
0010
0010
0010
0010
0001
0001
0001
0001
0001
0001
CS13
R/W
3
0
CS12
R/W
2
0
OCR1C
ATtiny25/45/85
199
177
159
144
132
245
228
212
199
187
177
167
159
255
212
182
159
141
127
CS11
R/W
1
0
RESOLUTION
CS10
R/W
0
0
7.6
7.5
7.3
7.2
7.1
7.9
7.8
7.7
7.6
7.6
7.5
7.4
7.3
8.0
7.7
7.5
7.3
7.1
7.0
TCCR1A
103

Related parts for ATtiny85