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

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
The Timer Counter 0 – TCNT0
28
ATtiny15L
• Bits 2, 1, 0 – CS02, CS01, CS00: Clock Select0, Bits 2, 1 and 0
The Clock Select0 bits 2, 1 and 0 define the prescaling source of Timer0.
Table 9. Clock 0 Prescale Select
The Stop condition provides a Timer Enable/Disable function. The prescaled CK modes
are scaled directly from the CK oscillator clock. If the external pin modes are used for
Timer/Counter0, transitions on PB2/(T0) will clock the counter even if the pin is config-
ured as an output. This feature can give the user SW control of counting.
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.
Bit
$32
Read/Write
Initial Value
CS02
0
0
0
0
1
1
1
1
MSB
CS01
R/W
7
0
0
0
1
1
0
0
1
1
R/W
6
0
CS00
0
1
0
1
0
1
0
1
R/W
5
0
Description
Stop, the Timer/Counter0 is stopped.
CK
CK/8
CK/64
CK/256
CK/1024
External Pin T0, falling edge
External Pin T0, rising edge
R/W
4
0
R/W
3
0
R/W
2
0
R/W
1
0
LSB
R/W
0
0
1187D–12/01
TCNT0

Related parts for ATTINY15