at89c51ac3-s3sim ATMEL Corporation, at89c51ac3-s3sim Datasheet - Page 67

no-image

at89c51ac3-s3sim

Manufacturer Part Number
at89c51ac3-s3sim
Description
At89c51ac3 Enhanced 8-bit Microcontroller With 64kb Flash Memory
Manufacturer
ATMEL Corporation
Datasheet
Mode 0 (13-bit Timer)
Figure 35. Timer/Counter x (x = 0 or 1) in Mode 0
Mode 1 (16-bit Timer)
Figure 36. Timer/Counter x (x = 0 or 1) in Mode 1
4383D–8051–02/08
INTx#
See the “Clock” section
INTx#
See the “Clock” section
CLOCK
CLOCK
FTx
Tx
FTx
Tx
TMOD reg
GATEx
TMOD reg
GATEx
÷ 6
÷ 6
TMOD reg
TMOD reg
C/Tx#
C/Tx#
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.
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.
0
1
0
1
TCON reg
TCON reg
TRx
TRx
(8 bits)
(8 bits)
THx
THx
(8 bits)
(5 bits)
TLx
TLx
Overflow
Overflow
TCON reg
TCON reg
TFx
TFx
Timer x
Interrupt
Request
Timer x
Interrupt
Request
67

Related parts for at89c51ac3-s3sim