ATTINY15L-1PC Atmel, ATTINY15L-1PC Datasheet - Page 28
![IC AVR MCU 1K FLASH 2.7V 8DIP](/photos/6/50/65033/313-8-dip_sml.jpg)
ATTINY15L-1PC
Manufacturer Part Number
ATTINY15L-1PC
Description
IC AVR MCU 1K FLASH 2.7V 8DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY15L-1PC
Core Processor
AVR
Core Size
8-Bit
Speed
1.6MHz
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
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Ram Size
-
Connectivity
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
The Timer Counter 0 – TCNT0
The 8-bit Timer/Counter1
28
ATtiny15L
The Timer/Counter0 is implemented as an up-counter with read and write access. If the
Timer/Counter0 is written and a clock source is present, the Timer/Counter0 continues
counting in the timer clock cycle following the write operation.
This module features a high-resolution and a high-accuracy usage with the lower pres-
caling opportunities. Timer/Counter1 can also be used as an accurate, high speed, 8-bit
Pulse Width Modulator (PWM) using clock speeds up to 25.6 MHz. In this mode,
Timer/Counter1 and the Output Compare Registers serve as a standalone PWM. Refer
to page 34 for a detailed description of this function. Similarly, the high-prescaling
opportunities make this unit useful for lower-speed functions or exact-timing functions
with infrequent actions.
Figure 21 shows the block diagram for Timer/Counter1.
Figure 21. Timer/Counter1 Block Diagram
The two Status Flags (Overflow and Compare Match) are found in the Timer/Counter
Interrupt Flag Register (TIFR). Control signals are found in the Timer/Counter Control
Register (TCCR1). The interrupt enable/disable settings are found in the Timer/Counter
Interrupt Mask Register (TIMSK).
Bit
$32
Read/Write
Initial Value
8-BIT DATA BUS
COMPARE REGISTER A
TIMER/COUNTER1
8-BIT COMPARATOR
REGISTER (TIMSK)
TIMER INT. MASK
T/C1 OUTPUT
(TCNT1)
(OCR1A)
MSB
R/W
7
0
T/C1 OVER-
FLOW IRQ
R/W
6
0
T/C CLEAR
R/W
5
0
T/C1 A COMPARE
COMPARE REGISTER B
8-BIT COMPARATOR
MATCH IRQ
REGISTER (TIFR)
TIMER INT. FLAG
T/C1 OUTPUT
(OCR1B)
R/W
4
0
R/W
T/C1 OC1A PIN/
(PWM OUTPUT)
3
0
PORT PB1
R/W
T/C1 CONTROL
REGISTER 1 (TCCR1)
2
0
T/C CONTROL
LOGIC
R/W
1
0
LSB
R/W
0
0
SFIOR
1187H–AVR–09/07
TCNT0
CK
PCK