红外接收(nec)稳定程序 c文件
/* =========================================================================== */
/* Project: s3c44b0_lib */
/* File: irda.c */
/* Organization: cug-1200525 */
/* Author: yuyongbao */
/* Date: 5/11/2007 */
/* Describe: lib */
/* =========================================================================== */
#include "..\mcu_lib\lib_config.h"
#include "irda.h"
unsigned char bitcnt;
unsigned char Irdata[4];
unsigned char IrBegin,IrOK;
void Irda_Init(void)
{
bitcnt=0;
IrOK=FALSE;
IrBegin=FALSE;
rTCON &= 0xf0ffffff; // clear manu
相关文档:
The meaning of each is:
MemberMeaningRange
tm_sec
seconds after the minute
0-61*
tm_min
minutes after the hour
0-59
tm_hour
hours since midnight
0-23
tm_mday
day of the month
1-31
tm_mon
months since January
0-11
tm_year
years since 1900
tm_wday
days since Sunday
0-6
tm_yday
d ......
一个C程序的内存布局(memory layout)
2009-09-09 15:19
一个C程序一直以来都是由以下5个段(pieces)组成:
代码段(text segment):存放CPU执行的机器指令(machine instructions)。通常情况下,代码段是可共享的,使其可共享的目的是对于频繁被执行的程序,只需要在内存中有一份拷贝即可,比如文本编辑器(text editors),C ......
Crimson来自于Sun捐赠给Apache的ProjectX项目,Xerces来自IBM捐赠给Apache的XML4J项目,结果Xerces胜出,成了Apache XML小组全力开发的XML API,而Crimon已经早就不做了,如今Xerces名满天下,到处都是在用Xerces DOM和SAX解析器,只有Sun不服气,非要在JDK1.4里面使用过时的Crimson,让人感觉像是在赌气一样,真是让 ......
前段时间刚参加了n多公司的C/C++软件工程师的面试,有国企,外企,私企(moto,飞思卡尔,港湾,中国卫星XXX(这个牛))等等等等。感受感想颇多,近日终于空闲,在此表述一下。
本人基本条件:3年开发经验,2year+ Windows development experence,1year+ Linux experence. 熟悉C,C++,MFC/SDK/API,MiniG ......