English
Language : 

W77IE58 Datasheet, PDF (16/90 Pages) Winbond – 8-BIT MICROCONTROLLER
Preliminary W77IE58
Timer Mode Control
Bit:
7
6
5
4
3
2
1
0
GATE C / T
M1
M0 GATE C / T
M1
M0
Mnemonic: TMOD
TIMER1
TIMER0
Address: 89h
GATE: Gating control: When this bit is set, Timer/counter x is enabled only while INTx pin is high and
TRx control bit is set. When cleared, Timer x is enabled whenever TRx control bit is set.
C / T : Timer or Counter Select: When cleared, the timer is incremented by internal clocks. When set
, the timer counts high-to-low edges of the Tx pin.
M1, M0: Mode Select bits:
M1 M0 Mode
0 0 Mode 0: 8-bits with 5-bit prescale.
0 1 Mode 1: 18-bits, no prescale.
1 0 Mode 2: 8-bits with auto-reload from THx
1 1 Mode 3: (Timer 0) TL0 is an 8-bit timer/counter controlled by the standard Timer 0 control
bits. TH0 is a 8-bit timer only controlled by Timer 1 control bits. (Timer 1) Timer/counter
is stopped.
Timer 0 LSB
Bit:
7
TL0.7
Mnemonic: TL0
TL0.7-0: Timer 0 LSB
Timer 1 LSB
Bit:
7
TL1.7
Mnemonic: TL1
TL1.7-0: Timer 1 LSB
Timer 0 MSB
Bit:
7
TH0.7
Mnemonic: TH0
6
TL0.6
6
TL1.6
6
TH0.6
5
TL0.5
5
TL1.5
5
TH0.5
4
TL0.4
4
TL1.4
4
TH0.4
3
TL0.3
2
TL0.2
1
TL0.1
Address: 8Ah
3
TL1.3
2
TL1.2
1
TL1.1
Address: 8Bh
3
2
1
TH0.3 TH0.2 TH0.1
Address: 8Ch
0
TL0.0
0
TL1.0
0
TH0.0
- 16 -