欢迎访问ic37.com |
会员登录 免费注册
发布采购

GMS87C2120 参数 Datasheet PDF下载

GMS87C2120图片预览
型号: GMS87C2120
PDF下载: 下载PDF文件 查看货源
内容描述: CMOS单芯片8位微控制器与A / D转换器和VFD驱动器 [CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver]
分类和应用: 驱动器转换器微控制器
文件页数/大小: 92 页 / 1757 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C2120的Datasheet PDF文件第50页浏览型号GMS87C2120的Datasheet PDF文件第51页浏览型号GMS87C2120的Datasheet PDF文件第52页浏览型号GMS87C2120的Datasheet PDF文件第53页浏览型号GMS87C2120的Datasheet PDF文件第55页浏览型号GMS87C2120的Datasheet PDF文件第56页浏览型号GMS87C2120的Datasheet PDF文件第57页浏览型号GMS87C2120的Datasheet PDF文件第58页  
GMS81C2020/GMS81C2120  
Hyundai Micro Electronics  
15.2 16-bit Timer/Counter Mode  
The Timer register is being run with 16 bits. A 16-bit timer/  
counter register T0, T1 are increased from 0000H until it  
matches TDR0, TDR1 and then resets to 0000H. The  
match output generates Timer 0 interrupt not Timer 1 in-  
terrupt.  
The clock source of the Timer 0 is selected either internal  
or external clock by bit T0CK2, T0CK1 and T0CK0.  
In 16-bit mode, the bits T1CK1,T1CK0 and 16BIT of TM1  
should be set to "1" respectively.  
ADDRESS : D0H  
RESET VALUE : --000000  
-
-
CAP0  
0
T0CK2  
X
T0CK1  
X
T0CK0  
X
T0CN  
X
T0ST  
X
TM0  
TM1  
-
-
ADDRESS : D2H  
RESET VALUE : 00000000  
POL  
X
16BIT  
1
PWM1E  
0
CAP1  
0
T1CK1  
T1CK0  
T1CN  
X
T1ST  
X
1
1
X : The value "0" or "1" corresponding your operation.  
T1CK[1:0]  
T0CK[2:0]  
Edge Detector  
T0ST  
T0CN  
0 : Stop  
1 : Clear and Start  
1
11  
F/F  
EC0  
T1 ( 8-bit )  
T0 ( 8-bit )  
CLEAR  
MUX  
2
÷
÷
÷
÷
÷
÷
÷
XX  
R40/T0O  
4
R4FUNC.0  
8
1
÷
÷
÷
T0IF  
TIMER 0  
INTERRUPT  
32  
128  
512  
2048  
fXI  
fXI  
COMPARATOR  
2
8
TDR1 ( 8-bit )  
TDR0 ( 8-bit )  
Figure 15-5 16-bit Timer / Counter Mode  
15.3 8-bit Compare Output ( 16-bit )  
The GMS81C2020 and GMS81C2120 has a function of  
Timer Compare Output. To pulse out, the timer match can  
goes to port pin(T0O, T1O) as shown in Figure 15-2 and  
Figure 15-5 . Thus, pulse out is generated by the timer  
match. These operation is implemented to pin, T0O,  
PWM1O/T1O.  
wave, and output frequency is same as below equation.  
ꢀꢁꢂꢃꢄꢄꢅꢆꢃꢇꢈꢉꢊꢋꢌꢍꢎꢌꢈꢂꢏ  
------------------------------------------------------------------------------------------  
=
× ꢑꢋꢌꢁꢂꢅꢄꢌꢋꢉꢒꢅꢄꢎꢌ × (ꢁꢂꢃ + )  
In this mode, the bit PWM1O/T1O of R5 function register  
(R5FUNC.6) should be set to "1", and the bit PWM1E of  
timer1 mode register ( TM1 ) should be set to "0".  
This pin output the signal having a 50 : 50 duty square  
In addition, 16-bit Compare output mode is available, also.  
15.4 8-bit Capture Mode  
The Timer 0 capture mode is set by bit CAP0 of timer  
mode register TM0 (bit CAP1 of timer mode register TM1  
for Timer 1) as shown in Figure 15-6 .  
be used as a capture mode.  
The Timer/Counter register is increased in response inter-  
nal or external input. This counting function is same with  
normal timer mode, and Timer interrupt is generated when  
As mentioned above, not only Timer 0 but Timer 1 can also  
54  
preliminary  
Nov. 1999 Ver 0.0  
 
 复制成功!