Rainbow Electronics W79E8213R User Manual
Page 20

Preliminary W79E8213/W79E8213R Data Sheet
Publication Release Date: July 11, 2008
- 20 -
Revision A2
M1 M0
MODE
0 0
Mode 0: 13-bits timer/counter; THx 8 bits and TLx 5 bits which serve as pre-scalar.
0 1
Mode 1: 16-bit timer/counter, no pre-scale.
1 0
Mode 2: 8-bit timer/counter with auto-reload from THx.
1 1
Mode 3: (Timer 0) TL0 is an 8-bit timer/counter controlled by the standard Timer0
control bits. TH0 is an 8-bit timer only controlled by Timer1 control bits.
(Timer 1) Timer/Counter 1 is stopped.
TIMER 0 LSB
Bit:
7 6 5 4 3 2 1 0
TL0.7 TL0.6 TL0.5 TL0.4 TL0.3 TL0.2 TL0.1 TL0.0
Mnemonic: TL0
Address: 8Ah
BIT NAME
FUNCTION
7-0
TL0.[7:0] Timer 0 LSB.
TIMER 1 LSB
Bit:
7 6 5 4 3 2 1 0
TL1.7 TL1.6 TL1.5 TL1.4 TL1.3 TL1.2 TL1.1 TL1.0
Mnemonic: TL1
Address: 8Bh
BIT NAME
FUNCTION
7-0
TL1.[7:0] Timer 1 LSB.
TIMER 0 MSB
Bit:
7 6 5 4 3 2 1 0
TH0.7 TH0.6 TH0.5 TH0.4 TH0.3 TH0.2 TH0.1 TH0.0
Mnemonic: TH0
Address: 8Ch
BIT NAME
FUNCTION
7-0
TH0.[7:0] Timer 0 MSB.
TIMER 1 MSB
Bit:
7 6 5 4 3 2 1 0
TH1.7 TH1.6 TH1.5 TH1.4 TH1.3 TH1.2 TH1.1 TH1.0
Mnemonic: TH1
Address: 8Dh
BIT NAME
FUNCTION
7-0
TH1.[7:0] Timer 1 MSB.