전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

STC89LE53RC 데이터시트(PDF) 158 Page - STCmicro Technology Co,.Ltd

부품명 STC89LE53RC
상세설명  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STC [STCmicro Technology Co,.Ltd]
홈페이지  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC89LE53RC 데이터시트(HTML) 158 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE53RC Datasheet HTML 154Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 155Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 156Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 157Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 158Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 159Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 160Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 161Page - STCmicro Technology Co,.Ltd STC89LE53RC Datasheet HTML 162Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 158 / 165 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;
158



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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