嵌入式:关于Linux下_init与_exit的解释, include/linux/init.h#define __init __attribute__ ((__section__ (.init.te
嵌入式:关于Linux下_init与_exit的解释, include/linux/init.h#define __init __attribute__ ((__section__ (.init.te
UC/OS II多任务切换例程#include “config.h”#define TaskStkLengh 64OS_STK TaskStk [TaskStkLengh];O
__raw_spin_lock在ARM处理器上的实现/******include/asm-arm/spinlock_types.h***/typedefstruct{volatileunsignedi
#include#include#defineucharunsignedchar#defineuintunsignedint/*通信命令*/#define_ACTIVE_0x01//主机询问从机是否存
/**位定义实现3个LED的点亮*李钦焰2011.12.01*/#include#defineON0#defineOFF1sbitled1=P1^0;sbitled2=P1^2;sbitled3=P1
#include#defineDS1302_DIRP1DIR#defineDS1302_INP1IN#defineDS1302_OUTP1OUT#defineDS1302_RSTBIT7#define