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

GMS82524TK 参数 Datasheet PDF下载

GMS82524TK图片预览
型号: GMS82524TK
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 微控制器
文件页数/大小: 93 页 / 1003 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS82524TK的Datasheet PDF文件第39页浏览型号GMS82524TK的Datasheet PDF文件第40页浏览型号GMS82524TK的Datasheet PDF文件第41页浏览型号GMS82524TK的Datasheet PDF文件第42页浏览型号GMS82524TK的Datasheet PDF文件第44页浏览型号GMS82524TK的Datasheet PDF文件第45页浏览型号GMS82524TK的Datasheet PDF文件第46页浏览型号GMS82524TK的Datasheet PDF文件第47页  
GMS82512/16/24  
HYUNDAI MicroElectronics  
11.3 8-bit Capture Mode  
The Timer 0 capture mode is set by bit CAP0 of timer  
mode register TM0 (bit CAP2 of timer mode register TM2  
for Timer 2) as shown in Figure 21. In this mode, Timer 1  
still operates as an 8-bit timer/counter.  
causes the current value in the Timer counter register  
(T0,T2), to be captured into registers CDRn (CDR0,  
CDR2), respectively. After captured, Timer counter regis-  
ter is cleared and restarts by hardware.  
As mentioned above, not only Timer 0 but Timer 2 can also  
be used as a capture mode.  
Note: The CDRn and TDRn are in same address.In the  
capture mode, reading operation is read the CDRn, not  
TDRn because path is opened to the CDRn.  
In 8-bit capture mode, Timer 1 and Timer 3 are can not be  
used as a capture mode.  
It has three transition modes: "falling edge", "rising edge",  
"both edge" which are selected by interrupt edge selection  
register IEDS. Refer to “14.4 External Interrupt” on page  
51. In addition, the transition at INTn pin generate an inter-  
rupt.  
The Timer/Counter register is incremented in response in-  
ternal or external input. This counting function is same  
with normal timer mode, but Timer interrupt is not gener-  
ated. Timer/Counter still does the above, but with the add-  
ed feature that a edge transition at external input INTn pin  
7
6
5
4
3
2
1
0
ADDRESS: 0E2  
INITIAL VALUE: 00  
H
TM0  
CAP0 T1ST T1SL1 T1SL0 T0STT0CN T0SL1 T0SL0  
H
1
X
X
X
X
X
01 or 10 or 11  
X means don’t care  
T0SL[1:0]  
Edge Detector  
T0ST  
EC0 PIN  
XIN PIN  
“00”  
“01”  
0: Stop  
1: Clear and start  
÷ 4  
T0 (8-bit)  
÷ 16  
÷ 64  
“10”  
“11”  
MUX  
T0CN  
Capture  
CDR0 (8-bit)  
To TIMER1  
TIMER 0  
IEDS[1:0]  
“01”  
“10”  
INT0  
INTERRUPT  
INT0 PIN  
INT0IF  
“11”  
This figure is a example of using the Timer0.  
In the Timer2, operation is same like Timer0, each registers and  
flags may be changed with for Timer2.  
Figure 11-9 8-bit Capture Mode  
40  
FEB. 2000 Ver 1.00  
 复制成功!