Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STC12LE5616AD Datasheet(PDF) 165 Page - STCmicro Technology Co,.Ltd

Part # STC12LE5616AD
Description  Enhanced 8051 Central Processing Unit ,1T per machine cycle, faster 8~12 times than the rate of a standard 8051.
PDF  377 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STC [STCmicro Technology Co,.Ltd]
Direct Link  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC12LE5616AD Datasheet(HTML) 165 Page - STCmicro Technology Co,.Ltd

Back Button STC12LE5616AD Datasheet HTML 161Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 162Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 163Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 164Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 165Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 166Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 167Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 168Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 169Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 165 / 377 page
background image
Chapter 7. Timer/Counter 0/1
Timer 0 and timer 1 are like the ones in the conventional 8051, both of them can be individually configured as
timers or event counters.
In the “Timer” function, the register is incremented every 12 system clocks or every system clock depending on
AUXR.7(T0x12) bit and AUXR.6(T1x12). In the default state, it is fully the same as the conventional 8051. In
the x12 mode, the count rate equals to the system clock.
In the “Counter” function, the register is incremented in response to a 1-to-0 transition at its corresponding
external input pin, T0 or T1. 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 during 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.
In addition to the “Timer” or “Counter” selection, Timer 0 and Timer 1 have four operating modes from which
to select. The “Timer” or “Counter” function is selected by control bits C/T in the Special Function Register
TMOD. These two Timer/Counter have four operating modes, which are selected by bit-pairs (M1, M0) in
TMOD. Modes 0, 1, and 2 are the same for both Timer/Counters. Mode 3 is different.The four operating modes
are described in the following text.
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
AUXR
Auxiliary register
8EH
T0x12 T1x12 UART_M0x6 EADCI
ESPI
ELVDI
-
-
0000 00xxB
WAKE_CLKO
CLK_Output
Power down
Wake-up control
register
8FH
PCAWAKEUP RXD_PIN_IE T1_PIN_IE T0_PIN_IE
-
-
T1CLKO T0CLKO
0000 xx00B
7.1 Special Function Registers about Timer/Counter
165



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