Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

GMS81C2012 Datasheet(PDF) 51 Page - Hynix Semiconductor

Part # GMS81C2012
Description  HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  107 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

GMS81C2012 Datasheet(HTML) 51 Page - Hynix Semiconductor

Back Button GMS81C2012 Datasheet HTML 47Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 48Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 49Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 50Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 51Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 52Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 53Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 54Page - Hynix Semiconductor GMS81C2012 Datasheet HTML 55Page - Hynix Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 107 page
background image
HYUNDAI MicroElectronics
GMS81C2012/GMS81C2020
MAR. 2000 Ver 1.00
51
Example 1:
Timer0 = 2ms 8-bit timer mode at 4MHz
Timer1 = 0.5ms 8-bit timer mode at 4MHz
LDM
TDR0,#250
LDM
TDR1,#250
LDM
TM0,#0000_1111B
LDM
TM1,#0000_1011B
SET1
T0E
SET1
T1E
EI
Example 2:
Timer0 = 8-bit event counter mode
Timer1 = 0.5ms 8-bit timer mode at 4MHz
LDM
TDR0,#250
LDM
TDR1,#250
LDM
TM0,#0001_1111B
LDM
TM1,#0000_1011B
SET1
T0E
SET1
T1E
EI
Note: The contents of Timer data register TDRx should be
initialized 1H~FFH, not 0H, because it is undefined after re-
set.
These timers have each 8-bit count register and data regis-
ter. The count register is increased by every internal or ex-
ternal clock input. The internal clock has a prescaler divide
ratio option of 2, 4, 8, 32,128, 512, 2048 selected by con-
trol bits T0CK[2:0] of register (TM0) and 1, 2, 8 selected
by control bits T1CK[1:0] of register (TM1). In the Timer
0, timer register T0 increases from 00H until it matches
TDR0 and then reset to 00H. The match output of Timer 0
generates Timer 0 interrupt (latched in T0IF bit). As TDRx
and Tx register are in same address, when reading it as a
Tx, written to TDRx.
In counter function, the counter is increased every 0-to-
1(1-to-0) (rising & falling edge) transition of EC0 pin. In
order to use counter function, the bit EC0 of the R0 Func-
tion Selection Register
(R0FUNC.2) is set to "1". The Timer
0 can be used as a counter by pin EC0 input, but Timer 1
can not.



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 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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