English
Language : 

W77L532A Datasheet, PDF (50/88 Pages) List of Unclassifed Manufacturers – 8-BIT MICROCONTROLLER
W77L532A
the time-base may be either clock cycles/12 or clock cycles/4 as selected by the bits TxM of the
CKCON SFR.
Figure 11. Timer/Counter Mode 0 & Mode 1
MODE 1
Mode 1 is similar to Mode 0 except that the counting register forms a 16 bit counter, rather than a 13 bit
counter. This means that all the bits of THx and TLx are used. Roll-over occurs when the timer moves
from a count of FFFFh to 0000h. The timer overflow flag TFx of the relevant timer is set and if enabled
an interrupt will occur. The selection of the time-base in the timer mode is similar to that in Mode 0. The
gate function operates similarly to that in Mode 0.
MODE 2
In Mode 2, the timer/counter is in the Auto Reload Mode. In this mode, TLx acts as a 8 bit count
register, while THx holds the reload value. When the TLx register overflows from FFh to 00h, the TFx
bit in TCON is set and TLx is reloaded with the contents of THx, and the counting process continues
from here. The reload operation leaves the contents of the THx register unchanged. Counting is
enabled by the TRx bit and proper setting of GATE and INTx pins. As in the other two modes 0 and 1
mode 2 allows counting of either clock cycles (clock/12 or clock/4) or pulses on pin Tn.
- 50 -