
20
AT90S1200
0838H–AVR–03/02
Timer/Counter0
T h e A T 9 0 S 1 2 0 0 p r o v i d e s o n e g e n e r a l p u r p o s e 8 - b i t T i m e r / C o u n t e r . T h e
Timer/Counter0 gets the prescaled clock from the 10-bit prescaling timer. The
Timer/Counter0 can either be used as a Timer with an internal clock time base or as a
Counter with an external pin connection, which triggers the counting.
Timer/Counter0
Prescaler
Figure 18 shows the general Timer/Counter0 prescaler.
Figure 18.
Timer/Counter0 Prescaler
The four different prescaled selections are: CK/8, CK/64, CK/256, and CK/1024 where
CK is the Oscillator Clock. For the Timer/Counter0, added selections as CK, external
clock source and stop, can be selected as clock sources. Figure 19 shows the block dia-
gram for Timer/Counter0.
T0
TCK0