Electronic Components Datasheet Search
  English  ▼

X  

HMS87C1102 Datasheet(PDF) 44 Page - Hynix Semiconductor

Part # HMS87C1102
Description  8-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HYNIX [Hynix Semiconductor]
Direct Link  http://www.skhynix.com/kor/main.do
Logo HYNIX - Hynix Semiconductor

HMS87C1102 Datasheet(HTML) 44 Page - Hynix Semiconductor

Back Button HMS87C1102 Datasheet HTML 40Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 41Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 42Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 43Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 44Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 45Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 46Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 47Page - Hynix Semiconductor HMS87C1102 Datasheet HTML 48Page - Hynix Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 88 page
background image
HMS87C130XA/120XA/110XA
Apr. 2001 ver1.0
41
12. TIMER / COUNTER
The HMS87C1X0XA has two Timer/Counter registers.
Each module can generate an interrupt to indicate that an
event has occurred (i.e. timer match).
Timer 0 and Timer 1 can be used either two 8-bit Timer/
Counter or the one 16-bit Timer/Counter by combining
them.
In the “timer” function, the register is increased every in-
ternal clock input. Thus, one can think of it as counting in-
ternal clock input. Since a least clock consists of 2 and
most clock consists of 2048 oscillator periods, the count
rate is 1/2 to 1/2048 of the oscillator frequency in Timer0.
And Timer1 can use the same clock source too. In addition,
Timer1 has more fast clock source (1/1 to 1/8).
In the “counter” function, the register is increased in re-
sponse to a 0-to-1 (rising edge) transition at its correspond-
ing external input pin, EC0(Timer 0).
Note:
If changing the Timer value or starting again, it
should be stop the timer clock firstly, and then
set Timer register value.
Ex)
LDM
TM0,#00001100B
LDM
TDR,#7FH
LDM
TM0,#00010111B
In addition the “capture” function, the register is increased
in response external interrupt same with timer function.
When external interrupt edge input, the count register is
captured into capture data register CDRx.
Timer1 is shared with “PWM” function and “Compare
output” function
It has seven operating modes: “8-bit timer/counter”, “16-
bit timer/counter”, “8-bit capture”, “16-bit capture”, “8-bit
compare output”, “16-bit compare output” and “10-bit
PWM” which are selected by bit in Timer mode register
TMx as shown in Figure 12-1 and Table 12-1.
Figure 12-1 Timer Mode Register (TM0, TM1)
Timer 0 Mode Register
TM0
ADDRESS : D0H
RESET VALUE : --000000
-
-
CAP0
T0CK2
T0CK1
T0CK0
T0CN
T0ST
Timer 1 Mode Register
TM1
ADDRESS : D2H
RESET VALUE : 00000000
POL
16BIT
PWM0E
CAP1
T1CK1
T1CK0
T1CN
T1ST
CAP0
Capture mode selection bit.
0 : Disables Capture
1 : Enables Capture
T0CN
Continue control bit
0 : Stop counting
1 : Start counting continuously
T0CK[2:0]
Input clock selection
000 : fXIN
÷ 2, 100 : f
XIN
÷ 128
001 : fXIN
÷ 4, 101 : f
XIN
÷ 512
010 : fXIN
÷ 8, 110 : f
XIN
÷ 2048
011 : fXIN
÷ 32, 111 : External Event ( EC0 )
T0ST
Start control bit
0 : Stop counting
1 : Start counting
POL
PWM Output Polarity
0 : Duty active low
1 : Duty active high
T1CK[2:0]
Input clock selection
00 : fXIN
10 : fXIN
÷ 8
01 : fXIN
÷ 2 11 : using the Timer 0 clock
16BIT
16-bit mode selection
0 : 8-bit mode
1 : 16-bit mode
T1CN
Continue control bit
0 : Stop counting
1 : Start counting continuously
PWM0E
PWM enable bit
0 : Disables PWM
1 : Enables PWM
T1ST
Start control bit
0 : Stop counting
1 : Start counting
CAP1
Capture mode selection bit.
0 : Disables Capture
1 : Enables Capture



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com