EasyManuals Logo

Atmel AVR ATtiny15L Advance Information

Atmel AVR ATtiny15L
70 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #26 background imageLoading...
Page #26 background image
ATtiny15L
26
The 8-bit Timer/Counter0 features both a high-resolution and a high-accuracy usage with the lower prescaling opportuni-
ties. Similarly, the high-prescaling opportunities make the Timer/Counter0 useful for lower-speed functions or exact-timing
functions with infrequent actions.
Figure 20. Timer/Counter0 Block Diagram
The Timer/Counter0 Control Register TCCR0
Bits 7..3 - Res : Reserved bits:
These bits are reserved bits in the ATtiny15L and always read as zero.
Bits 2,1,0 - CS02, CS01, CS00 : Clock Select0, bit 2,1 and 0:
The Clock Select0 bits 2,1 and 0 define the prescaling source of Timer0.
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 configured as an output. This feature can give the user SW control of counting.
Bit 76 5 4 3 210
$33 - - - - - CS02 CS01 CS00 TCCR0
Read/Write R R R R R R/W R/W R/W
Initial value 0 0 0 0 0 0 0 0
Table 9. Clock 0 Prescale Select
CS02 CS01 CS00 Description
0 0 0 Stop, the Timer/Counter0 is stopped.
001CK
010CK/8
011CK/64
100CK/256
101CK/1024
1 1 0 External Pin T0, falling edge
1 1 1 External Pin T0, rising edge
OCIE1A
TOIE1
TOIE0
TOV0TOV0
CS02
CS01
CS00
TOV1
OCF1A
T/C CLK SOURCE

Other manuals for Atmel AVR ATtiny15L

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR ATtiny15L and is the answer not in the manual?

Atmel AVR ATtiny15L Specifications

General IconGeneral
BrandAtmel
ModelAVR ATtiny15L
CategoryMicrocontrollers
LanguageEnglish

Related product manuals