ATTINY45-20PI Atmel, ATTINY45-20PI Datasheet - Page 103

IC AVR MCU 4K 20MHZ 8DIP

ATTINY45-20PI

Manufacturer Part Number
ATTINY45-20PI
Description
IC AVR MCU 4K 20MHZ 8DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY45-20PI

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
13.3
13.3.1
2586M–AVR–07/10
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
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 ATTINY45-20PI