English
Language : 

SM59R02G1 Datasheet, PDF (34/57 Pages) SyncMOS Technologies,Inc – Instruction-set compatible with MCS-51
SM59R02G1
8-Bit Micro-controller
8KB with ISP Flash
& 256B RAM embedded
7. Timer 2 and Capture/Compare Unit
Timer 2 is not only a 16-bit timer, also a 4-channel unit with compare, capture and reload functions. It is very similar to
the programmable counter array (PCA) in some other MCUs except pulse width modulation (PWM).
Mnemonic Description
Direct
AUX2
T2CON
CCCON
CCEN
CCEN2
TL2
TH2
CRCL
CRCH
CCL1
CCH1
CCL2
CCH2
CCL3
CCH3
Auxiliary register2
Timer 2 control
Compare/Capture
Control
Compare/Capture
Enable register
Compare/Capture
Enable 2 register
Timer 2, low byte
Timer 2, high byte
Compare/Reload/
Capture register,
low byte
Compare/Reload/
Capture register,
high byte
Compare/Capture
register 1, low
byte
Compare/Capture
register 1, high
byte
Compare/Capture
register 2, low
byte
Compare/Capture
register 2, high
byte
Compare/Capture
register 3, low
byte
Compare/Capture
register 3, high
byte
92h
C8h
C9h
C1h
D1h
CCh
CDh
CAh
CBh
C2h
C3h
C4h
C5h
C6h
C7h
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Timer 2 and Capture Compare Unit
-
-
-
-
-
T2PS[2:0]
T2R[1:0]
CCI3 CCI2 CCI1 CCI0 CCF3
-
COCAM1[2:0]
-
-
COCAM3[2:0]
-
TL2[7:0]
TH2[7:0]
CRCL[7:0]
CRCH[7:0]
CCL1[7:0]
CCH1[7:0]
CCL2[7:0]
CCH2[7:0]
CCL3[7:0]
CCH3[7:0]
Bit 2 Bit 1 Bit 0 RESET
-
P42CC[1:0]
00h
-
T2I[1:0]
00h
CCF2 CCF1 CCF0 00H
COCAM0[2:0]
00h
COCAM2[2:0]
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
Mnemonic: AUX2
Address: 92h
7
6
5
4
3
2
1
0
Reset
-
-
-
-
-
-
P42CC[1: 0]
00H
P42CC[1: 0] 00: Capture/Compare function on Port1.
01: Capture/Compare function on Port2
10: Capture/Compare function on Port4
11: reserved
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M061
34
Ver.G SM59R02G1 09/2015