51单片机外部中断实验程序的设计与分析  被引量:3

Design and Analysis of External Interrupt Experiment Program of 51 Single-chip Microcomputer

在线阅读下载全文

作  者:刘宝成[1] LIU Bao-cheng(College of Engineering,Inner Mongolia University for Nationalities,Tongliao 028043,China)

机构地区:[1]内蒙古民族大学工学院,内蒙古通辽028043

出  处:《内蒙古民族大学学报(自然科学版)》2020年第6期483-488,共6页Journal of Inner Mongolia Minzu University:Natural Sciences

基  金:内蒙古自治区高等学校科学研究项目(NJZY17202);内蒙古民族大学教育教学研究课题资助项目(YB2017008)。

摘  要:在单片机应用系统中外部中断被广泛使用,在教学中让学生理解外部中断的实现机理,熟练掌握外部中断的使用尤为重要.通过对外部中断实验程序的合理设计,把外部中断的触发方式、中断的优先级、中断嵌套、现场保护、现场恢复、中断返回等概念融入其中,通过实验现象加深对外部中断实现机理的认识和对上述概念的理解.尤其是对不同触发方式下中断响应差异的研究与分析,让学生在具体应用中能够合理选择外部中断的触发方式,提高应用系统的可靠性.通过外部中断实验使学生能够熟练掌握外部中断的相关概念及其使用注意事项,掌握外部中断服务子程序的编写,达到在具体应用中熟练使用外部中断的目的.External interrupt is widely used in SCM application systems.It is important that students understand its realization mechanism and master its use.Through rational design of the external interrupt experimental pro⁃cess,the concepts of its trigger mode,interrupt priority,interrupt nesting,scene protection,scene restoration and interrupt return are integrated.Students can increase their understanding of the realization mechanism and the above concepts through the experimental phenomena.In particular,the research and analysis of the difference of interrupt response under different trigger modes enables students to choose the trigger mode of external interrupt in specific applications to increase the reliability of the application system.Through the external interrupt experi⁃ment,students can master the related concepts of external interrupt and matters needing attention,master the pro⁃gramming of external interrupt service subroutine,and learn to use the external interrupt skillfully in a specific application.

关 键 词:单片机 外部中断 中断触发方式 中断优先级 

分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象