电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

AVR1000XMEGA的C语言代码编写入门

AVR1000XMEGA的C语言代码编写入门_第1页
1/19
AVR1000XMEGA的C语言代码编写入门_第2页
2/19
AVR1000XMEGA的C语言代码编写入门_第3页
3/19
8-bit 8 位Microcontrollers 微处理器Application Note 应用注释AVR1000: Getting Started Writing C-code for XMEGAAVR1000 : XMEGA 的 C 语言代码编写入门Features 特点:• Naming conventions 命名约定- Register names 寄存器名- Bit names 位名• C-code names C-代码名- Bit and group masks 位与组掩码- Group configuration masks 组配置掩码• Methods for accessing registers 访问寄存器的方法• Methods for writing reusable module functions 可多次使用模块功能的写入方法1 Introduction 引言Short development times and high quality requirements on electronic products has made high-level programming languages a requirement. The main reason is that High level languages make it easier to maintain and reuse code due to better portability and readability. 由于电子产品的开发时间短,质量要求高,因此需要高层次的编程语言。最主要的原因是,高级语言具有更好的可移植性和可读性,使其更易于维护和重复使用代码。The choice of programming language alone does not ensure high readability and reusability; good coding style does. Therefore the XMEGA™ peripherals, header files and drivers are designed with this in mind. 编程语言的选择本身并非是能确保具有较高的可读性和可重复使用性的唯一条件,还必须有良好的编码风格。因此 XMEGA ™的外围设备,头文件和驱动程序的设计都是基于这方面考虑的。The most widely used high-level language for AVR® microcontrollers is C, and this application note therefore focuses on C programming. To support most of the AVR C pilers that are available, the code examples are as far as possible written in ANSI C. A few examples are specific to IAR Embedded Workbench®, but the ideas and methods can be used for other pilers with minor changes. IAR specific examples are clearly marked.AVR ®微控制器使用的最广泛的高级语言就是 C 语言,因此本应用注释的重点是 C 语言编程。为了支持大多数可用的 AVR C 语...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

AVR1000XMEGA的C语言代码编写入门

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部