ATTINY15 ATMEL [ATMEL Corporation], ATTINY15 Datasheet - Page 25

no-image

ATTINY15

Manufacturer Part Number
ATTINY15
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY15L
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
ATTINY15L
Manufacturer:
SIEMENS
Quantity:
5 510
Part Number:
ATTINY15L-1PC
Quantity:
1 670
Part Number:
ATTINY15L-1PI
Manufacturer:
AIMEL
Quantity:
5 510
Part Number:
ATTINY15L-1PI
Manufacturer:
VISHAY
Quantity:
5 510
Part Number:
ATTINY15L-1PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY15L-1SC
Manufacturer:
ATMEL
Quantity:
3 447
Part Number:
ATTINY15L-1SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY15L-1SI
Manufacturer:
ATMEL
Quantity:
8
Part Number:
ATTINY15L-1SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY15L-1SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Timer/Counters
The Timer/Counter0
Prescaler
The Timer/Counter1
Prescaler
1187D–12/01
The ATtiny15L provides two general purpose 8-bit Timer/Counters. The Timer/Counters
hav e se par ate p re sc al ing s ele cti on fr om s epar at e 1 0- bit pr es c ale rs . Th e
Timer/Counter0 uses internal clock (CK) as the clock time base. The Timer/Counter1
may use either the internal clock (CK) or the fast peripheral clock (PCK) as the clock
time base.
Figure 18 shows the Timer/Counter prescaler.
Figure 18. Timer/Counter0 Prescaler
The four prescaled selections are: CK/8, CK/64, CK/256, and CK/1024, where CK is the
oscillator clock. CK, external source and stop, can also be selected as clock sources.
Setting the PSR10 bit in SFIOR resets the prescaler. This allows the user to operate
with a predictable prescaler.
Figure 19 shows the Timer/Counter1 prescaler. For Timer/Counter1 the clock selections
are: PCK, PCK/2, PCK/4, PCK/8, CK (=PCK/16), CK/2, CK/4, CK/8,CK/16, CK/32,
CK/64, CK/128, CK/256, CK/512, CK/1024, and stop. The clock options are described in
Table 12 on page 32 and the Timer/Counter1 Control Register (TCCR1). Setting the
PSR1 bit in the SFIOR register resets the 10-bit prescaler. This allows the user to oper-
ate with a predictable prescaler.
CS00
CS01
CS02
PSR0
CK
T0
CLEAR
TIMER/COUNTER0 CLOCK SOURCE
0
10-BIT T/C PRESCALER
TCK0
ATtiny15L
25

Related parts for ATTINY15