datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

GMS82524TK View Datasheet(PDF) - Hynix Semiconductor

Part Name
Description
View to exact match
GMS82524TK
Hynix
Hynix Semiconductor Hynix
GMS82524TK Datasheet PDF : 93 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
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.
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 INTn pin
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.
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 “14.4 External Interrupt” on page
51. In addition, the transition at INTn pin generate an inter-
rupt.
EC0 PIN
XIN PIN
INT0 PIN
TM0
7
6
5
4
3
2
1
0
CAP0 T1ST T1SL1 T1SL0 BT0TSCTL T0CN T0SL1 T0SL0
ADDRESS: 0E2H
INITIAL VALUE: 00H
1
X
X
XX
X
T0SL[1:0]
01 or 10 or 11
X means don’t care
Edge Detector
÷4
÷ 16
÷ 64
IEDS[1:0]
“01”
“10”
“11”
“00”
“01”
“10”
“11”
MUX
T0CN
To TIMER1
TIMER 0
T0ST
0: Stop
1: Clear and start
T0 (8-bit)
Capture
CDR0 (8-bit)
INT0IF
INT0
INTERRUPT
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
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]