现代电子技术2018,Vol.41Issue(1):38-42,5.DOI:10.16652/j.issn.1004-373x.2018.01.009
基于ARM Cortex-M0+KL系列MCU的汇编构件设计
Design of assembly component based on KL series MCU in ARM Cortex-M0+
摘要
Abstract
It is difficult for programmer to learn,study and develop the microprocessor assemble program due to the com-plexity of assembly programming and the shortage of assembly development data and sample programs of the 32-bit ARM Cortex-M0+,and other kernels. In view of this situation,on the basis of the deep analysis of the ARM Cortex-M0+ internal register and assembly instruction system,the KL Series MCU made by NXP is taken as the exsample to present a standardized,usable and practical design method for assembly component. According to the design thought of software engineering component,analysis of component packaging key points and assembly engineering framework,the assembly component was designed and implemented. The sample program of the assembly bottom-driven component of the typical UART module is given. With application of design and programming methods of the assembly component,and by learning and understanding of the sample programaim,the diffi-culty of the embedded assembly learning and programming is reduced,and the design of other similar standardized assembly components and programs becomes easy.关键词
ARMCortex-M0+/汇编构件设计/KL系列MCU/底层驱动构件/汇编工程框架/UARTKey words
ARM Cortex-M0+/assembly component design/KL series MCU/bottom-layer driving component/assembly project framework/UART分类
信息技术与安全科学引用本文复制引用
蔡伯峰,王宜怀..基于ARM Cortex-M0+KL系列MCU的汇编构件设计[J].现代电子技术,2018,41(1):38-42,5.基金项目
国家自然科学基金项目(61070169) (61070169)
江苏省高等职业院校国内高级访问学者计划资助项目(2015FX078)Project Supported by National Natural Science Foundation of China(61070169),The Senior Visiting Scholar Program Funded Project for Higher Vocational Colleges in Jiangsu Province(2015FX078). (2015FX078)