Location:
Search - embeded
Search list
Description: 预处理器(Preprocessor)
1. 用预处理指令#define 声明一个常数,用以表明1年中有多少秒(忽略闰年问题)
#define SECONDS_PER_YEAR (60 * 60 * 24 * 365)UL
我在这想看到几件事情:
1). #define 语法的基本知识(例如:不能以分号结束,括号的使用,等等)
2). 懂得预处理器将为你计算常数表达式的值,因此,直接写出你是如何计算一年中有多少秒而不是计算出实际的值,是更清晰而没有代价的。
3). 意识到这个表达式将使一个16位机的整型数溢出-因此要用到长整型符号L,告诉编译器这个常数是的长整型数。
4). 如果你在你的表达式中用到UL(表示无符号长整型),那么你有了一个好的起点。记住,第一印象很重要。
。。。。。。
-The processor (Preprocessor) 1. With preprocessing directives# create a profile for a resource declare a constant, to indicate that 1 years how many seconds (ignoring a leap year problem) Create a profile for a resource# SECONDS_PER_YEAR (60* 60** 365) UL 24 I want to see a few things: Create a profile for a resource# 1). The basic grammar knowledge (for example: can t with semicolon, the use of brackets, etc.) 2). Know the processor will be in your calculation constant expression value, so, write you is how to calculate the direct a year rather than how many seconds to figure out the actual value, is the more clear and no cost. 3). To realize this expression will make a 16-bit machine integer overflow-so to use long integer symbols, tell the compiler L the constant is yes long integer. 4). If you in your expression used UL (said unsigned long integer), then you have a good starting point. Remember, the first impression is very important. ......
Platform: |
Size: 24576 |
Author: gui |
Hits:
Description: 嵌入式操作系统,哈工大老师上课用的课件爱你,十分的不错。-embedded operation system, slice.
Platform: |
Size: 8904704 |
Author: 许多 |
Hits:
Description: 本文档加源码是基于STR750开发板,基于SMI的监控系统的设计与实现,有上位机和下位机得实现代码。-This document is based on STR750 added source development board, based on the SMI monitoring system design and implementation of a PC and the next crew get the implementation code.
Platform: |
Size: 2266112 |
Author: zhouguozheng |
Hits:
Description: Program for RFID, to program embeded system
Platform: |
Size: 12288 |
Author: Kidane |
Hits:
Description: 字库的调用以及使用,使用逻辑字体的arm嵌入式应用程序测试代码-the font code of embeded arm
Platform: |
Size: 5120 |
Author: 张堪 |
Hits:
Description: 讲述ARM9开发板进行linux嵌入式系统开发的相关资料。-About the ARM9 development board linux embedded system development related information.
Platform: |
Size: 10422272 |
Author: jamie |
Hits:
Description: Good Question for embeded programming-Good Question for embeded programming.....
Platform: |
Size: 17408 |
Author: Ravi |
Hits:
Description: based on renesas 78K0R/Kx3 16bit MCU to realize Temperature measurement by external temp sensor and embeded AD module
Platform: |
Size: 44032 |
Author: pablo |
Hits:
Description: enbedded program for 8051
easy program codes
Platform: |
Size: 82944 |
Author: vinay |
Hits:
Description: 讲解了嵌入式操作系统的大致原理,也讲解了一些常见的操作系统。-Embedded systems and real-time software development
Platform: |
Size: 1878016 |
Author: 周兰 |
Hits:
Description: Embeded tomcat in your new project
Platform: |
Size: 73728 |
Author: Hugo Castro |
Hits:
Description: 除了了解如何更有效地使用 C 和 C++你还将会从本书中包含的高级
主题有存储器检测和验证、设备驱动程序的设计和实现.实时操作系统的内部
机理,还有代码优化技术。 -In addition to understanding how to more effectively use C and C++ you will be advanced from the theme of the book contains a memory testing and validation, device driver design and implementation. Real-time operating system' s internal mechanisms, as well as code optimization techniques.
Platform: |
Size: 1455104 |
Author: 夏梁智 |
Hits:
Description: 一个移植到TQ2440的跑马灯程序,很实用,可以利用ads1.2进行下载-this is an embeded system project
Platform: |
Size: 486400 |
Author: 李晶武 |
Hits:
Description: 嵌入式系统课程的相关课件,总共分七章,相对独立。-Courses related to embedded systems courseware, a total in seven chapters, is relatively independent.
Platform: |
Size: 13500416 |
Author: mafen |
Hits:
Description: ITSxxxSC-DSP second development manual for the image processing in the embeded system-ITSxxxSC-DSP second development manual
Platform: |
Size: 457728 |
Author: philly |
Hits:
Description: 基于v4l的嵌入式程序开发,可应用于嵌入式图像处理的开发-v4l embedded system s3c 2440
Platform: |
Size: 28672 |
Author: 崔俊杰 |
Hits:
Description: 将Bmp格式转化为raw格式,对于图像处理的入门获得Raw原始矩阵很有好处-Bmp2raw is a tool to convert 24bit BMP file to raw data.
It may be useful before generating C arrays for showing a picture in
a embeded system.
The color order in the output file is (B,G,R),(B,G,R), ...
Platform: |
Size: 12288 |
Author: 张增 |
Hits:
Description: 电源适器自动化测试,需套测试治具,可连续测试6 - 15 个充电器产品-Automated testing device power adapter
Platform: |
Size: 48128 |
Author: chenfeimy |
Hits:
Description: “嵌入式系统原理与应用技术”第二章讲义课件-the ppt of the "principle of the embeded system and application"
Platform: |
Size: 316416 |
Author: 海伦 |
Hits:
Description: 书籍“嵌入式系统原理与应用技术”的第三章课件-the ppt of the "principle of the system of the embeded system"
Platform: |
Size: 299008 |
Author: 海伦 |
Hits: