ATTINY13-20PI Atmel, ATTINY13-20PI Datasheet - Page 60
![IC MCU AVR 1K FLASH 20MHZ 8DIP](/photos/6/50/65033/313-8-dip_sml.jpg)
ATTINY13-20PI
Manufacturer Part Number
ATTINY13-20PI
Description
IC MCU AVR 1K FLASH 20MHZ 8DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY13-20PI
Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
1KB (512 x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
64 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
Connectivity
-
Other names
ATTINY13-24PI
ATTINY13-24PI
ATTINY13-24PI
- Current page: 60 of 176
- Download datasheet (3Mb)
11.5
60
Output Compare Unit
ATtiny13
Figure 11-2. Counter Unit Block Diagram
Signal description (internal signals):
Depending of the mode of operation used, the counter is cleared, incremented, or decremented
at each timer clock (clk
selected by the Clock Select bits (CS02:0). When no clock source is selected (CS02:0 = 0) the
timer is stopped. However, the TCNT0 value can be accessed by the CPU, regardless of
whether clk
count operations.
The counting sequence is determined by the setting of the WGM01 and WGM00 bits located in
the Timer/Counter Control Register (TCCR0A) and the WGM02 bit located in the Timer/Counter
Control Register B (TCCR0B). There are close connections between how the counter behaves
(counts) and how waveforms are generated on the Output Compare output OC0A. For more
details about advanced counting sequences and waveform generation, see
tion” on page
The Timer/Counter Overflow Flag (TOV0) is set according to the mode of operation selected by
the WGM01:0 bits. TOV0 can be used for generating a CPU interrupt.
The 8-bit comparator continuously compares TCNT0 with the Output Compare Registers
(OCR0A and OCR0B). Whenever TCNT0 equals OCR0A or OCR0B, the comparator signals a
match. A match will set the Output Compare Flag (OCF0A or OCF0B) at the next timer clock
cycle. If the corresponding interrupt is enabled, the Output Compare Flag generates an Output
Compare interrupt. The Output Compare Flag is automatically cleared when the interrupt is exe-
cuted. Alternatively, the flag can be cleared by software by writing a logical one to its I/O bit
location. The Waveform Generator uses the match signal to generate an output according to
operating mode set by the WGM02:0 bits and Compare Output mode (COM0x1:0) bits. The max
and bottom signals are used by the Waveform Generator for handling the special cases of the
extreme values in some modes of operation
Figure 11-3 on page 61
count
direction
clear
clk
top
bottom
Tn
DATA BUS
T0
TCNTn
63.
is present or not. A CPU write overrides (has priority over) all counter clear or
T0
shows a block diagram of the Output Compare unit.
). clk
Increment or decrement TCNT0 by 1.
Select between increment and decrement.
Clear TCNT0 (set all bits to zero).
Timer/Counter clock, referred to as clk
Signalize that TCNT0 has reached maximum value.
Signalize that TCNT0 has reached minimum value (zero).
T0
can be generated from an external or internal clock source,
direction
count
clear
bottom
Control Logic
(See “Modes of Operation” on page
top
TOVn
(Int.Req.)
clk
Tn
Clock Select
T0
( From Prescaler )
Detector
Edge
in the following.
“Modes of Opera-
63.).
2535J–AVR–08/10
Tn
Related parts for ATTINY13-20PI
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY13-20SI](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATtiny13](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY13-20SSU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 20-MLF
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20PU](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 20MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20MMU](/photos/12/13/121304/313-10m1_tmb.jpg)
Part Number:
Description:
MCU AVR 1KB FLASH 20MHZ 3X3 QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20SU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20PJ](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K 5V 20MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20SJ](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K 5V 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20SSJ](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K 5V 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20SSI](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13-20SSQ](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 1KB FLASH 20MHZ 8SOIC GW
Manufacturer:
Atmel
Datasheet: