English
Language : 

N79E875 Datasheet, PDF (92/192 Pages) List of Unclassifed Manufacturers – 8-BIT MICROCONTROLLER
Preliminary N79E875 Data Sheet
T0DIV[1:0]
Fcpu/4
Fcpu/16
Fcpu/32
Fcpu/128
Fcpu/12
T0=(P1.5)
TR0=TCON.4
GATE=TMOD.3
/INT0=(P1.6)
00
01
T0M=CKCON.3
10
11
1 C/T=TMOD.2
0
0
1
TL0
0
4
7
TF0 Interrupt
0
7
TH0
T0OE
En
SFR
P1.5
1
0
1
T0OE
Port
P1.5
(T0)
Fcpu
T1=(P2.7)
TR1=TCON.6
GATE=TMOD.7
/INT1=(P0.6)
Figure 13-3 Timer 0 Mode 1
1/4
1/12
T1M=CKCON.4
1
C/T=TMOD.6
0
0
1
TL1
0
4
7
TF1 Interrupt
0
7
TH1
T1OE
En
SFR
P2.7
1
0
1
T1OE
Port
P2.7
(T1)
Figure 13-4 Timer 1 Mode 1
13.5 MODE 2
In Mode 2, the timer/counter is in the Auto Reload Mode. In this mode, TLx acts as an 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 or pulses on pin Tn.
- 92 -