參數(shù)資料
型號: GMS81524B
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 49/110頁
文件大?。?/td> 1980K
代理商: GMS81524B
GMS81508B/16B/24B, GMS82512/16/24
46
MAY. 2001 Ver 2.0
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.
As mentioned above, not only Timer 0 but Timer 2 can also
be used as a capture mode.
In 8-bit capture mode, Timer 1 and Timer 3 are can not be
used as a capture mode.
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 INT
n
pin
causes the current value in the Timer counter register
(T0,T2), to be captured into registers CDR
n
(CDR0,
CDR2), respectively. After captured, Timer counter regis-
ter is cleared and restarts by hardware.
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.
It has three transition modes: "falling edge", "rising edge",
"both edge" which are selected by interrupt edge selection
register IEDS. Refer to “16.4 External Interrupt” on page
64. In addition, the transition at INT
n
pin generate an inter-
rupt.
Figure 11-9 8-bit Capture Mode
EC0 PIN
÷
4
÷
16
÷
64
XIN PIN
MUX
P
INT0IF
0: Stop
1: Clear and start
T0ST
T0SL[1:0]
“00”
“01”
“10”
“11”
INT0
INTERRUPT
T0CN
CDR0 (8-bit)
T0 (8-bit)
TIMER 0
BTCL
T0ST
7
6
5
4
3
2
1
0
T1ST
CAP0
T0SL1
INITIAL VALUE: 00
H
ADDRESS: 0E2
H
TM0
T0SL0
T0CN
T1SL1 T1SL0
1
X
X
X
X
X
X means don’t care
01 or 10 or 11
“01”
“10”
“11”
INT0 PIN
Capture
To TIMER1
IEDS[1:0]
Edge Detector
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.
相關(guān)PDF資料
PDF描述
GMS81508BLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BT [General Purpose(1) : ADC/ LED/ SCI/ PWM]
GMS90L320 8-Bit Single-Chip Microcontrollers(低電壓,8位單片微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81524BK 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BLQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81524BT 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:[General Purpose(1) : ADC/ LED/ SCI/ PWM]
GMS81524BTK 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS