Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

STC89LE53RC Datenblatt(PDF) 100 Page - STCmicro Technology Co,.Ltd

Teilenummer STC89LE53RC
Bauteilbeschribung  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STC [STCmicro Technology Co,.Ltd]
Direct Link  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC89LE53RC Datenblatt(HTML) 100 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE53RC Datasheet HTML 96Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 97Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 98Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 99Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 100Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 101Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 102Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 103Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 104Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 100 / 165 page
background image
;----------------------------------------------------------------------------------------------------------------------
;
ORL
AUXR, #01000000B
;Use Timer 1 in 1T mode
ANL
AUXR, #10111111B
;Use Timer 1 in 12T mode
;----------------------------------------------------------------------------------------------------------------------
SETB
R1
; Start up Timer 1
SETB
ES
SETB
EA
RET
;-----------------------------------------------------------------------------------------------------------------------
;Portal parameter: A= the byte to send
Send_One_Byte:
;Send one byte
CLR
ES
CLR
TI
;Clear serial port transmit interrupt flag
MOV
SBUF,
A
Wait_Send_Finish:
JNB
TI,
Wait_Send_Finish
;Wait to finish send
CLR
TI
SETB
ES
RET
;-------------------------------------------------------------------------------------------------------------------------
END
7.3 Timer/Counter 2 Mode of Operation
Timer 2 is a 16-bit timer/counter which can operate as either an event timer or an event counter as selected by
C/T2 in the special function register T2CON. Timer 2 has four operation modes: Capture Mode, Auto-Reload
Mode (up or down counting), Baud-Rate Generator Mode and Programable Clock-Out Mode, which are selected
by bits T2CON and T2MOD as shown in following table.
Timer 2 Operating Modes Table
RCLK+TCLK CP/RL2 TR2
Mode
0
0
1
16-bit auto-reload
0
1
1
16-bit capture
1
X
1
buad rate generator
X
X
0
(off)
Capture Mode
In the capture mode there are two options selected by bit EXEN2 in T2CON. If EXEN2=0, Timer 2 is a 16-bit
timer or counter which upon overflowing sets bit TF2 (Timer 2 overflow flag). This bit can then be used to
generate an interrupt (by enabling the Timer 2 interrupt bit in the IE register). If EXEN2=1, Timer 2 still does the
above, but with the added feature that a 1-to-0 transition at external input T2EX causes the current value in the
Timer 2 registers, TH2 and TL2, to be captured into registers RCAP2H and RCAP2L, respectively. In addition,
the transition at T2EX causes bit EXF2 in T2CON to be set, and the EXF2 bit, like TF2, can generate an interrupt
which vectors to the same location as Timer 2 overflow interrupt. TF2 and EXF2 is ORed to request the interrupt
service. The capture mode is illustrated in following figure.
100



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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