Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STC12LE5616AD Datasheet(PDF) 355 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) 355 Page - STCmicro Technology Co,.Ltd

Back Button STC12LE5616AD Datasheet HTML 351Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 352Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 353Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 354Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 355Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 356Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 357Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 358Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 359Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 355 / 377 page
background image
declares a 16-bit variable DPTR whose lower-byte address is at 82H. Checking through the 8051 architecture,
we find that this is the address of the DPL SFR, so again, the sfr16 data type makes it easier for us to refer to
the SFRs by name rather than address. There's just one thing left to mention. When declaring sbit, sfr, or sfr16
variables, remember to do so outside main, otherwise you will get an error.
In actual fact though, all the SFRs in the 8051, including the individual flag, status, and control bits in the
bit-addressable SFRs have already been declared in an include file, called reg51.h, which comes packaged with
most 8051 C compilers. By using reg51.h, we can refer for instance to the interrupt enable register as simply IE
rather than having to specify the address A8H, and to the data pointer as DPTR rather than 82H. All this makes
8051 C programs more human-readable and manageable. The contents of reg51.h are listed below.
/*--------------------------------------------------------------------------------------------------------------------
REG51.H
Header file for generic 8051 microcontroller.
-----------------------------------------------------------------------------------------------------------------------*/
sbit
IE1
= 0x8B;
sbit
IT1
= 0x8A;
sbit
IE0
= 0x89;
sbit
IT0
= 0x88;
/* IE */
sbit
EA
= 0xAF;
sbit
ES
= 0xAC;
sbit
ET1
= 0xAB;
sbit
EX1
= 0xAA;
sbit
ET0
= 0xA9;
sbit
EX0
= 0xA8;
/* IP */
sbit
PS
= 0xBC;
sbit
PT1
= 0xBB;
sbit
PX1
= 0xBA;
sbit
PT0
= 0xB9;
sbit
PX0
= 0xB8;
/* P3 */
sbit
RD
= 0xB7;
sbit
WR
= 0xB6;
sbit
T1
= 0xB5;
sbit
T0
= 0xB4;
sbit
INT1
= 0xB3;
sbit
INT0
= 0xB2;
sbit
TXD
= 0xB1;
sbit
RXD
= 0xB0;
/* SCON */
sbit
SM0
= 0x9F;
sbit
SM1
= 0x9E;
sbit
SM2
= 0x9D;
sbit
REN
= 0x9C;
sbit
TB8
= 0x9B;
sbit
RB8
= 0x9A;
sbit
TI
= 0x99;
sbit
RI
= 0x98;
/* BYTE Register */
sfr
P0
= 0x80;
sfr
P1
= 0x90;
sfr
P2
= 0xA0;
sfr
P3
= 0xB0;
sfr
PSW
= 0xD0;
sfr
ACC
= 0xE0;
sfr
B
= 0xF0;
sfr
SP
= 0x81;
sfr
DPL
= 0x82;
sfr
DPH
= 0x83;
sfr
PCON
= 0x87;
sfr
TCON
= 0x88;
sfr
TMOD = 0x89;
sfr
TL0
= 0x8A;
sfr
TL1
= 0x8B;
sfr
TH0
= 0x8C;
sfr
TH1
= 0x8D;
sfr
IE
= 0xA8;
sfr
IP
= 0xB8;
sfr
SCON
= 0x98;
sfr
SBUF
= 0x99;
/* BIT Register */
/* PSW */
sbit
CY
= 0xD7;
sbit
AC
= 0xD6;
sbit
F0
= 0xD5;
sbit
RS1
= 0xD4;
sbit
RS0
= 0xD3;
sbit
OV
= 0xD2;
sbit
P
= 0xD0;
/* TCON */
sbit
TF1
= 0x8F;
sbit
TR1
= 0x8E;
sbit
TF0
= 0x8D;
sbit
TR0
= 0x8C;
355



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