includes.h

来自「AT91RM9200-UC/OS-II,clock,irq,usart,pio等」· C头文件 代码 · 共 33 行

H
33
字号
#ifndef _INCLUDES_H
#define _INCLUDES_H

#include <AT91RM9200.h>
#include <lib_AT91RM9200.h>

#include <OS_CPU.h>

#include <UCOS_II.H>

//////////////////////// 消息传输结构 //////////////////////////////
typedef struct {
	   INT32S Type;
	   void *Body;
	   INT32U Extra; 
} TMessage;


typedef  void (*PFNCT)(void);
typedef  void (*PFNCT1)(int);
typedef  void (*PFNCT2)(int,int);


#define NULL	0

#define MASTER_CLK	60000000

#define TASK_STK_SIZE 2048


#define MSG_QUEUE_SIZE	10

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?