Intel 51 单片机使用手册
irltele INTERRUPTS: In 1. 2. 3.
McS@-51PROGRAMMER’SGUIDE AND INSTRUCTION SET
order to use any of the interrupts in the MCS-51,the followingthree steps must be taken. 3et the EA (enableall) bit in the IE register to 1. Set the correspondingindividualinterrupt enablebit in the IE register to 1. Beginthe interruptserviceroutineat the em-responding Vector Addressof that interrupt. SeeTablebelow.
I
Interrupt Souroe IEO TFO IE1 TF1 RI&Tl TF2& EXF2
I
Vector Address OO03H OOOBH O013H OOIBH O023H O02BH
I
In addition,for extemaf interrupts,pins~ and INT1 (P3.2and P3.3)must be set to 1,and depending whether on the intermpt is to be level or transitionactivated, bits ITOor IT1 in the TCON register may needto be set to 1. ITx= Olevel activated ITx= 1 transitionactivated
IE: INTERRUPT ENABLE REGISTER. BIT ADDRESSABLE. If the bit is O,the correspondinginterrupt is disabled.If the bit is 1,the correspondinginterrupts enabled. i EA—
ET2
ES
ETl
EX1
ETo
EXO
EA— ET2 Es ET1 EX1 ETO EXO
IE.7 IE.6 IE.5 IE.4 IE.3 IE.2 IE.1 IE.O
Disablesall interrupts.IfEA= O,no interrupt willbe acknowledged.IfEA= 1,each interrupt source is individuallyenabledor disabledby setting or elearing its enablebit. Not implemented,reservedfor future use.* Enable or disablethe Timer 2 overflowor capture interrupt (8052only). Enable or disablethe serial port interrupt. Enable or disablethe Timer 1 overtlowinterrupt. Enable or disableExternal Interrupt 1. Enable or disablethe Timer Ooverflowinterrupt. Enable or disableExternal Interrupt O.
*Usersoftwareshould not write 1sto reserved bits. These bits may be used in futore MCS-51preducts to invoke new features. In that case, the reset or inactivevalue of the new bit wilt be O,and its active valuewillbe 1.
2-12

DT51_Users_Manual_Adm_UM0071A1 隐藏>> Appendix — data?aker Introduction data?aker 51. DT 51 COMMS Port also page 13 The data?aker 51 RS232 ...
TC Manual 48页 免费 Two-Hybrid user manual 51页 1下载券 Users Manual ... 1 Professional Hybrid Creative Tablet User’s manual Cintiq Companion Hybrid...
FLUKE-12__Users Manual使用手册_计算机硬件及网络_IT/计算机_专业资料。福禄克12使用手册? Multimeter Users Manual 12 PN 2063508 January 2003 Rev.1, 9/04 ...
D R Basler A600f USER’S MANUAL Document Number: DA000561 Version: 09 Language: 000 (English) Release Date: 7 December 2010 A FT For customers in ...
JFlex Users Manual Jflex的用户使用手册Jflex的用户使用手册隐藏>> The Fast Lexical Analyser Generator Copyright c 1998–2009 by Gerwin Klein JFlex User’s...
Windows Vista / Windows 7: C:\Users\Public\Documents\WASY 6.1\demo Users\Docu- NKQ p??é?=~??=píêì?íìê? FEFLOW This User Manual is ...
APx500_Users_Manual_V2.4_文学研究_人文社科_专业资料。APX500 音频分析仪APx500 User’s Manual for APx models 585 and 586 and APx series 520 analyzers...
VNTI9_Users_Manual中文版_医药卫生_专业资料。VNTI的第九版操作手册版权声明: 本站几乎所有资源均搜集于网络,仅供学习参考,不得进行任何商业用途,否则产生的一切...
SMDK6410_Rev0.2_Users_Manual_Rev0.10_20080618_Released_0627_计算机硬件及网络_IT/计算机_专业资料。User’s Manual (SMDK6410 Rev0.2) S3C6410X RISC Micro...
UPort_1100_Series_Users_Manual_v2_信息与通信_工程科技_专业资料。UPort系列说明书UPort 1100 Series User’s Manual Second Edition, January 2008 www.moxa...
热门文档