移动互联项目实训 项目拓展资源 KL25_Development_2_C_programming.pptx

移动互联项目实训 项目拓展资源 KL25_Development_2_C_programming.pptx

  1. 1、本文档共50页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数字电路与嵌入式系统; Course Contents;单片机的启动过程;单片机软件开发的流程;单片机程序的运行;单片机软件开发过程中的各种文件;;ENTRY(__thumb_startup) /* Highest address of the user mode stack */ _estack = 0 /* end of SRAM */ __SP_INIT = _estack; /* Generate a link error if heap and stack dont fit into RAM */ __heap_size = 0x400; /* required amount of heap */ __stack_size = 0x400; /* required amount of stack */ /* Specify the memory areas */ MEMORY { m_interrupts (rx) : ORIGIN = 0 LENGTH = 0xC0 m_cfmprotrom (rx) : ORIGIN = 0 LENGTH = 0x10 m_text (rx) : ORIGIN = 0 LENGTH = 128K - 0x800 m_data (rwx): ORIGIN = 0x1FFFF000, LENGTH = 16K /* SRAM */ } /* Define output sections */ SECTIONS { 。。。。。。。 .text, .rodata -》flash .data, .bss, .heap, .stack -》SRAM;2016/5/23;存储器(和控制寄存器);C programming ;Developed by Dennis Ritchie in Bell Lab for Unix on PDP-11 “The C Programming Language 2nd Ed” (1988) Kernighan Ritchie C is “marco-assemble” language The ANSI C Standard Defined the Syntax and Semantics Standard Defined the Standard C library ;C语言中的数据类型? ;C语言的数据类型;Lecture5 Page 17;Lecture5 Page 18;Lecture5 Page 19;C语言如何实现对硬件的控制? ;KL26 GPIO;KL26 GPIO PDOR;强制类型转换的意义 Forced type conversion ;强制类型转换的妙用;C语言读写特定地址(寄存器);MKL26Z4.h;KL26 GPIO;C语言知道这是一个寄存器? ;Volatile 关键字 [易失的、可变的];volatile (2);Lecture5 Page 31;Bit operations;Bit operators;Bit operation - Set bit/bits;Bit operation – bit mask;Bit operation – clear bit/bits;Bit operation – shift bits;Bit operation – extract bits value;Bit operation – bit/bits condition;中断子程序用C语言如何实现? ;中断子程序用C语言如何实现?;中断向量表;Page 43;从单片机启动 到 main ;起始代码-Startup code;Startup code;有限的RAM ROM 8K~32K RAM; 32K~1M ROM/FLASH, Optimized program, reduced libraries 针对具体的单片机型号 Registers mapping,linker parameters The good thing is “the IDE provides these” 没有操作系统支持 The developer need to take care of everything. 中断子程的编写;单片机C语言编程之特点;;Questions ?

您可能关注的文档

文档评论(0)

WanDocx + 关注
实名认证
内容提供者

大部分文档都有全套资料,如需打包优惠下载,请留言联系。 所有资料均来源于互联网公开下载资源,如有侵权,请联系管理员及时删除。

1亿VIP精品文档

相关文档