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

GMS87C5108Q 参数 Datasheet PDF下载

GMS87C5108Q图片预览
型号: GMS87C5108Q
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, OTPROM, 4.19MHz, CMOS, PQFP80, QFP-80]
分类和应用: 微控制器和处理器可编程只读存储器
文件页数/大小: 102 页 / 1525 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C5108Q的Datasheet PDF文件第52页浏览型号GMS87C5108Q的Datasheet PDF文件第53页浏览型号GMS87C5108Q的Datasheet PDF文件第54页浏览型号GMS87C5108Q的Datasheet PDF文件第55页浏览型号GMS87C5108Q的Datasheet PDF文件第57页浏览型号GMS87C5108Q的Datasheet PDF文件第58页浏览型号GMS87C5108Q的Datasheet PDF文件第59页浏览型号GMS87C5108Q的Datasheet PDF文件第60页  
GMS81C5108  
12.4 16-bit Capture Mode  
16-bit capture mode is the same as 8-bit capture, except  
that the Timer register is running with 16 bits.  
In 16-bit mode, the bits T1CK1,T1CK0 and 16BIT of TM1  
should be set to “1” respectively.  
The clock source of the Timer 0 is selected either internal  
or external clock by bit T0CK2, T0CK1 and T0CK0.  
ADDRESS : 0E0H  
RESET VALUE : --000000  
-
-
CAP0  
1
T0CK2  
X
T0CK1  
X
T0CK0  
X
T0CN  
X
T0ST  
X
TM0  
TM1  
B
ADDRESS : 0E2H  
RESET VALUE : 00000000  
POL  
X
16BIT  
1
PWME  
0
CAP1  
X
T1CK1  
1
T1CK0  
1
T1CN  
X
T1ST  
X
B
X : The value “0” or “1” corresponding your operation.  
T0CK[2:0]  
T0ST  
0 : Stop  
1 : Clear and Start  
Edge Detector  
EC0  
1
CLEAR  
T0 + T1 (16-bit)  
MUX  
÷ 2  
÷ 4  
÷ 8  
T0CN  
TIMER 0  
INTERRUPT  
T0IF  
X
0X  
1X  
IN  
÷ 32  
÷ 128  
÷ 512  
÷ 1024  
COMPARATOR  
TDR0  
SX  
IN  
CAPTURE  
CDR1  
(8-bit)  
TDR1  
(8-bit)  
CDR0  
(8-bit)  
2
(8-bit)  
SCMR[1:0]  
INT 0  
INTERRUPT  
INT0  
INT0IF  
IESR[1:0]  
Figure 12-10 16-bit Capture Mode  
12.5 8-Bit (16-Bit) Compare OutPut Mode  
The GMS81C5108 has a function of Timer Compare Out-  
put. To pulse out, the timer match can goes to port pin  
(R31) as shown in Figure 12-3 and Figure 12-6. Thus,  
pulse out is generated by the timer match. These operation  
is implemented to pin, R31/PWM.  
In addition, 16-bit Compare output mode is available, also.  
This pin output the signal having a 50 : 50 duty square  
wave, and output frequency is same as below equation.  
Oscillation Frequency  
fCOMP = --------------------------------------------------------------------------------------  
In this mode, the bit PWMO of Port Mode Register (PMR)  
should be set to “1”, and the bit PWME of Timer1 Mode  
Register (TM1) should be cleared to “0”.  
2 × Prescaler Value × (TDR + 1)  
12.6 PWM Mode  
The GMS81C5108 has one high speed PWM (Pulse Width  
Modulation) function which shared with Timer1.  
of PWM High Register) and the duty of the PWM output  
is determined by the T1PDR (PWM Duty Register) and  
PWMHR[1:0] (bit1,0 of PWM High Register).  
In PWM mode, the R31/PWM pin operates as a 10-bit res-  
olution PWM output port. For this mode, the bit PWM of  
Port Mode Register (PMR) and the bit PWME of timer1  
mode register (TM1) should be set to “1” respectively.  
The user can use PWM data by writing the lower 8-bit pe-  
riod value to the T1PPR and the higher 2-bit period value  
to the PWMHR[3:2]. And the duty value can be used with  
the T1PDR and the PWMHR[1:0] in the same way.  
The period of the PWM output is determined by the  
T1PPR (PWM Period Register) and PWMHR[3:2] (bit3,2  
The T1PDR is configured as a double buffering for glitch-  
JUNE 2001 Ver 1.0  
53  
 复制成功!