Timer counter 0 – tcnt0, Attiny11/12 – Rainbow Electronics ATtiny12 User Manual
Page 33
Advertising
33
ATtiny11/12
1006C–09/01
The Stop condition provides a Timer Enable/Disable function. The CK down-divided
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 the counting.
Timer Counter 0 – TCNT0
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
7
6
5
4
3
2
1
0
$32
MSB
LSB
TCNT0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Advertising