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

X  

STC89LE53RC Datenblatt(PDF) 89 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) 89 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE53RC Datasheet HTML 85Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 86Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 87Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 88Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 89Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 90Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 91Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 92Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 93Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 165 page
background image
Chapter 7 Timer/Counter
STC89xx has three 16-bit timers, and they are named T0, T1 and T2. Each of them can also be individually
configured as timers or event counters.
In the “Timer” function, the register is incremented every 12 system clocks or 6 system clocks depending on 12T
mode or 6T mode that the user configured this device.
In the “Counter” function, the register is incremented in response to a 1-to-0 transition at its corresponding
external input pin, T0,T1 or T2. In this function, the external input is sampled once at the positive edge of every
clock cycle. When the samples show a high in one cycle and a low in the next cycle, the count is incremented.
The new count value appears in the register at the end of the cycle following the one in which the transition was
detected. Since it takes 2 machine cycles(24 system clocks) to recognize a l-to-0 transition, the maximum count
rate is 1/24 of the system clock. There are no restrictions on the duty cycle of the external input signal, but to
ensure that a given level is sampled at least once before it changes, it should be held for at least one full machine
cycle.
The “Timer” or “Counter” function of Timer 0 and Timer 1 is selected by control bits C/T in the Speciai
Function Register TMOD. And the “Timer” or “Counter” function of Timer 2 is selected by control bit C/T2 in
the Speciai Function Register T2CON.
There are two SFR designed to configure timers T0 and T1. They are TMOD, TCON.
There are extra two SFR designed to configure timer T2. They are T2MOD, T2CON.
Symbol
Description
Address
Bit Address and Symbol
MSB
LSB
Value after
Power-on or
Reset
TCON
Timer Control
88H
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0
0000 0000B
TMOD
Timer Mode
89H
GATE
C/T
M1
M0
GATE
C/T
M1
M0
0000 0000B
TL0
Timer Low 0
8AH
0000 0000B
TL1
Timer Low 1
8BH
0000 0000B
TH0
Timer High 0
8CH
0000 0000B
TH1
Timer High 1
8DH
0000 0000B
T2CON Timer/Counter 2 control
C8H
TF2 EXF2 RCLK TCLK
EXEN2
TR2 C/T2
CP/RL2
0000 0000B
T2MOD Timer/Counter 2 mode
C9H
------
T2OE DCEN
xxxx xx00B
RCAP2L
Timer/Counter 2 Reload/
Capture High Byte
CAH
0000 0000B
RCAP2H
Timer/Counter 2 Reload/
Capture High Byte
CBH
0000 0000B
TL2
Timer/Counter 2 Low
Byte
CCH
0000 0000B
TH2
Timer/Counter 2 High
Byte
CDH
0000 0000B
89



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