stc89c52rc简介

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

200912,,(95856210028)【】:、,、。,,、,,。≥0.5μs,。【】:、,,,、、,、,,、。,(1.5μs),,、。1、STC89C52RCSTC89C52RC//,8051,12/6/。:3.8~5.5V;:0~40MHz,80510~80MHz,48MHz;8K,512RAM;I/O,:P1、P2、P3、P4,(8051I/O),P0,,,I/O,;ISP(),、,(P3.0/P3.1),8K3;EEPROM、;;316/,028;4,(),PowerDown;(UART),UART。2、,,。CPU,(),CPU,CPU,,,,。。()。。2.1INT0(P3.2)INT1(P3.3),TCON4,TCON4T0,T1。IE11INT1(P3.3)。IE1=1,1CPU,CPU0IE1()。IT11。IT1=0,1,INT1(P3.3),IE1。CPUS5P2INT0(P3.3),,1IE1。,(P3.3),CPU,,,;IT1=1,1,CPUS5P2P3.3。,P3.3,,1IE1。IE11,1CPU,CPU,0。,,,12,CPU。IE00INT0(P3.2)。IE0=1,0CPU,CPU0IE0()。IT00。IT1=0,0,IT1=1,0。IT1。2.251CPU,,IE(IE,A8H),:EACPU。EA=1,CPU;EA=0,CPU。ES。ES=1,;ES=0,。ET1/T1。ET1=1,T1;ET1=0,T1。EX11。EX1=1,1;EX1=0,1。ET0/T0。ET0=1,T1;ET0=0,T1。EX00。EX0=1,1;EX0=0,1。ET2/T2。ET2=1,T1;ET2=0,T1。3、C,。,,C,,,,,,,,。Intel(MCS-51)。173200912(176),SDH。SDH。。SDH--。(SDH/PDH),、,,。:1..《》[M].,2002612..《SDH》[M].,2006410MCS-51。:[1],[2],[3],2~5,MOV,CJNE,ADD。,,,1,2,3()。,。4、4.1STC89C52RC。74LS04,,。12MHz,1μs,≥1μs,24MHz,≥0.5μs。,。1。1,J15,,LD1、LD2,1;,J18,,LD3、LD4,1。4.2,、,:ORG0START:AJMPMAINORG03HINTERR1:MOVP1,#11001111BSJMPDLORG13HINTERR2:MOVP1,#11111100BSJMPDLDL:MOV30H,#08HDL0:MOV31H,#0FFHDL1:MOV32H,#0FFHDL2:DJNZ32H,DL2DJNZ31H,DL1DJNZ30H,DL0MOVP1,#0FFHRETIMAIN:MOVTCON,#05HMOVIE,#11000101BHERE:AJMPHERERETENDINT0(P3.2)INT1(P3.3),。P3.2,1,P3.3,1,。1.04(T≈255×255×8×2μs)。4.3、,1。KeilμVision,,16,STC-ISP16STC89C52。(1.5μs)P3.2,,1,,。5、、,,,,。,、。、,,。:1、、、,、(),,,19962、,C51,,,2008174

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功