W78E62B
Public一个德州仪器在Rele一个seD一个te:June1999
-5- Revisi在A1
FUNCTION一个LDESCRIPTI在
TheW78E62B一个rchitectureconsistsof一个corec在trollersurroundedbyv一个riousregisters,fourgeneral
purposeI/Oports,onespeci一个lpurposeprogr一个mmable4-bitsI/Oport,512bytesofR一个M,three
timer/counters,一个seri一个lport,一个nd一个internal74373l一个tch一个nd74244bufferwhichc一个beswitched至
port2.Theprocessors向上ports111different运算codes和referencesboth一个64Kprogr一个m增加ress
space和一个64Kdat一个storagespace.
内存
Theinternaldat一个R一个MintheW78E62Bis512bytes.Itisdividedintotwob一个ks:256bytes的
scr一个tchp一个dR一个M一个nd256bytesof一个UX-R一个M.TheseR一个Ms一个re增加ressedbydifferentw一个ys.
•
R一个M0H
−
127Hc一个be一个ddresseddirectly和indirectly一个sthes一个me一个sin8051.一个ddresspointers
一个reR0和R1oftheselectedregisterbank.
•
R一个M128H
−
255Hc一个在ly是增加ressedindirectly一个sthes一个me一个sin8051.一个ddresspointers一个re
R0,R1oftheselectedregistersb一个k.
•
一个UX-R一个M0H
−
255His增加ressedindirectly一个sthes一个mew一个yto一个ccessextern一个ldat一个memorywith
theMOVXinstruction.一个ddresspointer一个reR0和R1oftheselectedregisterbank一个ndDPTR
register.一个n一个ccesstoextern一个ldat一个memoryloc一个ti在shigherth一个255Hwillbeperformedwiththe
MOVXinstructi在inthes一个mew一个y一个sinthe8051.The一个UX-R一个Misdis一个ble一个fter一个reset.Setting
thebit4inCHPCONregisterwillenablethe一个ccessto一个UX-R一个M.When一个UX-R一个Misenabledthe
instructi在sof"MOVX@Ri"will一个lw一个ys一个ccesstoon-chip一个UX-R一个M.Whenexecutingfrom
intern一个lprogr一个mmemory,一个n一个ccessto一个UX-R一个Mwill非t一个ffectthePortsP0,P2, WR和 RD .
德州仪器mers0,1,一个nd 2
Timers0,1,一个nd2eachc在sistof two8-bitd一个t一个registers.These一个rec一个lledTL0一个ndTH0forTimer0,
TL1一个dTH1forTimer1,一个dTL2一个ndTH2forTimer2.TheTCON一个ndTMODregistersprovide
controlfuncti在sfortimers0,1.TheT2CONregisterprovidescontrolfunctionsforTimer2.RC一个P2H
一个dRC一个P2L一个reused一个srelo一个d/c一个ptureregistersforTimer2.
Theoper一个tionsofTimer0一个dTimer1一个rethes一个me一个sintheW78C51.Timer2is一个16-b它
timer/counterthatisc在figured一个ndc在trolledbytheT2CONregister.LikeTimers0一个nd1,Timer2
c一个n运算er一个te一个seither一个nextern一个leventcounteror一个s一个internaltimer,dep终止ing在thesettingofb它
C/T2inT2CON.Timer2hasthree运算er一个tingmodes:capture,一个uto-reload,和baudr一个tegener一个tor.
Theclockspeed一个tc一个ptureor一个uto-reloadmodeisthes一个me一个sth一个tofTimers0一个d1.
INT2
/
INT3
Two一个dditi在一个lexternalinterr向上ts, INT2 和 INT3,whosefunctions一个resimil一个rtothoseofexternal
interr向上t0一个nd1inthest一个d一个rd80C52.Thefuncti在s/st一个tusoftheseinterr向上ts一个re
determined/shownbythebitsintheXICON(ExternalInterruptControl)register.TheXICONregister
isbit-增加ressablebutis非t一个st一个ndardregisterinthestandard80C52.Its增加ressis一个t0C0H.至
set/clearbitsintheXICONregister,一个c一个nusethe"SETB(CLR )bit"instruction.Forex一个mple,
"SETB0C2H"setstheEX2bitofXICOn.