Mode 0 (13-bit Timer)
Mode 0 configures Timer 0 as an 13-bit Timer which is set up as an 8-bit Timer (TH0
register) with a modulo 32 prescaler implemented with the lower five bits of TL0 register
(see Figure 35). The upper three bits of TL0 register are indeterminate and should be
ignored. Prescaler overflow increments TH0 register.
Figure 35. Timer/Counter x (x = 0 or 1) in Mode 0
See the “Clock” section
FTx
CLOCK
Tx
INTx#
÷6
0
1
C/Tx#
TMOD reg
THx
(8 bits)
TLx Overflow
(5 bits)
TFx
TCON reg
Timer x
Interrupt
Request
GATEx
TMOD reg
TRx
TCON reg
Mode 1 (16-bit Timer)
Mode 1 configures Timer 0 as a 16-bit Timer with TH0 and TL0 registers connected in
cascade (see Figure 36). The selected input increments TL0 register.
Figure 36. Timer/Counter x (x = 0 or 1) in Mode 1
See the “Clock” section
FTx
CLOCK
÷6
0
1
Tx
INTx#
C/Tx#
TMOD reg
THx
(8 bits)
TLx Overflow
(8 bits)
TFx
TCON reg
Timer x
Interrupt
Request
GATEx
TMOD reg
TRx
TCON reg
70 AT89C51CC03
4182K–CAN–05/06