原创 收工~~~俺把自己雷翻了~~~实在是晕呀~~~

2009-3-9 23:04 2395 1 2 分类: MCU/ 嵌入式
HotC51 发表于 2009-3-9 23:06 裸奔式实时操作系统HotTask51 ←返回版面 按此察看该网友的资料 按此把文章加入收藏夹 按此编辑本帖

楼主: 收工~~~俺把自己雷翻了~~~实在是晕呀~~~


刚开始~~~

/*--------------------------------------------
    汇编数组"宏C"定义
--------------------------------------------*/
#define size_nop()            size_NOP
#define macro_nop()            asm_NOP()

typedef void (*pHotMacro_Proc)(void);//函数指针

typedef void (*pHotMacro_Proc_U8)(unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P8)(unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U8U8)(unsigned char, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U8P8)(unsigned char, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P8U8)(unsigned char*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P8P8)(unsigned char*, unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U8U16)(unsigned char, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U8P16)(unsigned char, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P8U16)(unsigned char*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P8P16)(unsigned char*, unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U16)(unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P16)(unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U16U8)(unsigned int, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U16P8)(unsigned int, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P16U8)(unsigned int*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P16P8)(unsigned int*, unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U16U16)(unsigned int, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U16P16)(unsigned int, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P16U16)(unsigned int*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P16P16)(unsigned int*, unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U16U32)(unsigned int, unsigned long);//函数指针
typedef void (*pHotMacro_Proc_U16P32)(unsigned int, unsigned long*);//函数指针
typedef void (*pHotMacro_Proc_P16U32)(unsigned int*, unsigned long);//函数指针
typedef void (*pHotMacro_Proc_P16P32)(unsigned int*, unsigned long*);//函数指针

typedef void (*pHotMacro_Proc_U32)(unsigned long);//函数指针
typedef void (*pHotMacro_Proc_P32)(unsigned long*);//函数指针

typedef void (*pHotMacro_Proc_U32U8)(unsigned long, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U32P8)(unsigned long, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P32U8)(unsigned long*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P32P8)(unsigned long*, unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U32U16)(unsigned long, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U32P16)(unsigned long, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P32U16)(unsigned long*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P32P16)(unsigned long*, unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U32U32)(unsigned long, unsigned long);//函数指针
typedef void (*pHotMacro_Proc_U32P32)(unsigned long, unsigned long*);//函数指针
typedef void (*pHotMacro_Proc_P32U32)(unsigned long*, unsigned long);//函数指针
typedef void (*pHotMacro_Proc_P32P32)(unsigned long*, unsigned long*);//函数指针

typedef void (*pHotMacro_Proc_U8U8U8)(unsigned char, unsigned char, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U8U8P8)(unsigned char, unsigned char, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_U8P8U8)(unsigned char, unsigned char*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U8P8P8)(unsigned char, unsigned char*, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P8U8U8)(unsigned char*, unsigned char, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P8U8P8)(unsigned char*, unsigned char, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P8P8U8)(unsigned char*, unsigned char*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P8P8P8)(unsigned char*, unsigned char*, unsigned char*);//函数指针


typedef void (*pHotMacro_Proc_U8U8U16)(unsigned char, unsigned char, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U8U8P16)(unsigned char, unsigned char, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_U8P8U16)(unsigned char, unsigned char*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U8P8P16)(unsigned char, unsigned char*, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P8U8U16)(unsigned char*, unsigned char, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P8U8P16)(unsigned char*, unsigned char, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P8P8U16)(unsigned char*, unsigned char*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P8P8P16)(unsigned char*, unsigned char*, unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U8U16U8)(unsigned char, unsigned int, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U8U16P8)(unsigned char, unsigned int, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_U8P16U8)(unsigned char, unsigned int*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U8P16P8)(unsigned char, unsigned int*, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P8U16U8)(unsigned char*, unsigned int, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P8U16P8)(unsigned char*, unsigned int, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P8P16U8)(unsigned char*, unsigned int*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P8P16P8)(unsigned char*, unsigned int*, unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U8U16U16)(unsigned char, unsigned int, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U8U16P16)(unsigned char, unsigned int, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_U8P16U16)(unsigned char, unsigned int*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U8P16P16)(unsigned char, unsigned int*, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P8U16U16)(unsigned char*, unsigned int, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P8U16P16)(unsigned char*, unsigned int, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P8P16U16)(unsigned char*, unsigned int*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P8P16P16)(unsigned char*, unsigned int*, unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U16U8U8)(unsigned int, unsigned char, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U16U8P8)(unsigned int, unsigned char, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_U16P8U8)(unsigned int, unsigned char*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U16P8P8)(unsigned int, unsigned char*, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P16U8U8)(unsigned int*, unsigned char, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P16U8P8)(unsigned int*, unsigned char, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P16P8U8)(unsigned int*, unsigned char*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P16P8P8)(unsigned int*, unsigned char*, unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U16U8U16)(unsigned int, unsigned char, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U16U8P16)(unsigned int, unsigned char, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_U16P8U16)(unsigned int, unsigned char*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U16P8P16)(unsigned int, unsigned char*, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P16U8U16)(unsigned int*, unsigned char, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P16U8P16)(unsigned int*, unsigned char, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P16P8U16)(unsigned int*, unsigned char*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P16P8P16)(unsigned int*, unsigned char*, unsigned int*);//函数指针

typedef void (*pHotMacro_Proc_U16U16U8)(unsigned int, unsigned int, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U16U16P8)(unsigned int, unsigned int, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_U16P16U8)(unsigned int, unsigned int*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_U16P16P8)(unsigned int, unsigned int*, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P16U16U8)(unsigned int*, unsigned int, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P16U16P8)(unsigned int*, unsigned int, unsigned char*);//函数指针
typedef void (*pHotMacro_Proc_P16P16U8)(unsigned int*, unsigned int*, unsigned char);//函数指针
typedef void (*pHotMacro_Proc_P16P16P8)(unsigned int*, unsigned int*, unsigned char*);//函数指针

typedef void (*pHotMacro_Proc_U16U16U16)(unsigned int, unsigned int, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U16U16P16)(unsigned int, unsigned int, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_U16P16U16)(unsigned int, unsigned int*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_U16P16P16)(unsigned int, unsigned int*, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P16U16U16)(unsigned int*, unsigned int, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P16U16P16)(unsigned int*, unsigned int, unsigned int*);//函数指针
typedef void (*pHotMacro_Proc_P16P16U16)(unsigned int*, unsigned int*, unsigned int);//函数指针
typedef void (*pHotMacro_Proc_P16P16P16)(unsigned int*, unsigned int*, unsigned int*);//函数指针



typedef unsigned char (*pHotMacro_ProcU8)(void);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8)(void);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U8)(unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P8)(unsigned char*);//函数指针

typedef unsigned char* (*pHotMacro_ProcP8_U8)(unsigned char);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P8)(unsigned char*);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U8U8)(unsigned char, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U8P8)(unsigned char, unsigned char*);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P8U8)(unsigned char*, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P8P8)(unsigned char*, unsigned char*);//函数指针

typedef unsigned char* (*pHotMacro_ProcP8_U8U8)(unsigned char, unsigned char);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_U8P8)(unsigned char, unsigned char*);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P8U8)(unsigned char*, unsigned char);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P8P8)(unsigned char*, unsigned char*);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U8U16)(unsigned char, unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U8P16)(unsigned char, unsigned int*);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P8U16)(unsigned char*, unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P8P16)(unsigned char*, unsigned int*);//函数指针

typedef unsigned char* (*pHotMacro_ProcP8_U8U16)(unsigned char, unsigned int);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_U8P16)(unsigned char, unsigned int*);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P8U16)(unsigned char*, unsigned int);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P8P16)(unsigned char*, unsigned int*);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U16)(unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P16)(unsigned int*);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_U16)(unsigned int);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P16)(unsigned int*);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U16U8)(unsigned int, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U16P8)(unsigned int, unsigned char*);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P16U8)(unsigned int*, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P16P8)(unsigned int*, unsigned char*);//函数指针

typedef unsigned char* (*pHotMacro_ProcP8_U16U8)(unsigned int, unsigned char);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_U16P8)(unsigned int, unsigned char*);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P16U8)(unsigned int*, unsigned char);//函数指针
typedef unsigned char* (*pHotMacro_ProcP8_P16P8)(unsigned int*, unsigned char*);//函数指针


typedef unsigned char (*pHotMacro_ProcU8_U16U16)(unsigned int, unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U16U32)(unsigned int, unsigned long);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U32)(unsigned long);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_P32)(unsigned long*);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U32U8)(unsigned long, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U32U16)(unsigned long, unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U32U32)(unsigned long, unsigned long);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U8U8U8)(unsigned char, unsigned char, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U8U8U16)(unsigned char, unsigned char, unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U8U16U8)(unsigned char, unsigned int, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U8U16U16)(unsigned char, unsigned int, unsigned int);//函数指针

typedef unsigned char (*pHotMacro_ProcU8_U16U8U8)(unsigned int, unsigned char, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U16U8U16)(unsigned int, unsigned char, unsigned int);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U16U16U8)(unsigned int, unsigned int, unsigned char);//函数指针
typedef unsigned char (*pHotMacro_ProcU8_U16U16U16)(unsigned int, unsigned int, unsigned int);//函数指针


typedef unsigned int (*pHotMacro_ProcU16)(void);//函数指针

typedef unsigned int (*pHotMacro_ProcU16_U8)(unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U8U8)(unsigned char, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U8U16)(unsigned char, unsigned int);//函数指针

typedef unsigned int (*pHotMacro_ProcU16_U16)(unsigned int);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U16U8)(unsigned int, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U16U16)(unsigned int, unsigned int);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U16U32)(unsigned int, unsigned long);//函数指针

typedef unsigned int (*pHotMacro_ProcU16_U32)(unsigned long);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U32U8)(unsigned long, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U32U16)(unsigned long, unsigned int);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U32U32)(unsigned long, unsigned long);//函数指针

typedef unsigned int (*pHotMacro_ProcU16_U8U8U8)(unsigned char, unsigned char, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U8U8U16)(unsigned char, unsigned char, unsigned int);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U8U16U8)(unsigned char, unsigned int, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U8U16U16)(unsigned char, unsigned int, unsigned int);//函数指针

typedef unsigned int (*pHotMacro_ProcU16_U16U8U8)(unsigned int, unsigned char, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U16U8U16)(unsigned int, unsigned char, unsigned int);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U16U16U8)(unsigned int, unsigned int, unsigned char);//函数指针
typedef unsigned int (*pHotMacro_ProcU16_U16U16U16)(unsigned int, unsigned int, unsigned int);//函数指针


typedef unsigned long (*pHotMacro_ProcU32)(void);//函数指针

typedef unsigned long (*pHotMacro_ProcU32_U8)(unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U8U8)(unsigned char, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U8U16)(unsigned char, unsigned int);//函数指针

typedef unsigned long (*pHotMacro_ProcU32_U16)(unsigned int);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U16U8)(unsigned int, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U16U16)(unsigned int, unsigned int);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U16U32)(unsigned int, unsigned long);//函数指针

typedef unsigned long (*pHotMacro_ProcU32_U32)(unsigned long);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U32U8)(unsigned long, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U32U16)(unsigned long, unsigned int);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U32U32)(unsigned long, unsigned long);//函数指针

typedef unsigned long (*pHotMacro_ProcU32_U8U8U8)(unsigned char, unsigned char, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U8U8U16)(unsigned char, unsigned char, unsigned int);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U8U16U8)(unsigned char, unsigned int, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U8U16U16)(unsigned char, unsigned int, unsigned int);//函数指针

typedef unsigned long (*pHotMacro_ProcU32_U16U8U8)(unsigned int, unsigned char, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U16U8U16)(unsigned int, unsigned char, unsigned int);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U16U16U8)(unsigned int, unsigned int, unsigned char);//函数指针
typedef unsigned long (*pHotMacro_ProcU32_U16U16U16)(unsigned int, unsigned int, unsigned int);//函数指针

PARTNER CONTENT

文章评论1条评论)

登录后参与讨论

用户1569463 2009-3-10 07:49

这么多支持,要干什么
相关推荐阅读
雁塔菜农 2012-04-05 17:51
2012年度新唐Cortex-M0助学开发套件有约束条件赠送申报贴
2012年度新唐Cortex-M0助学套件从4月起每月有约束条件发放16套。 申报人必须是21ic或 EDNC 会员 并具备1月的会龄。 申报时必须注明“遵守约束条件,缴纳250元订金,上...
雁塔菜农 2012-04-05 17:04
2012年度Cortex-M0助学园地推广框图
...
雁塔菜农 2012-04-01 17:59
2012年度Cortex-M0助学园地奖励计划细则
抢楼请点击:菜地公告:即日起创建《菜农Cortex-M0助学园地》(盖楼入口) 每月10号和25号的下午2:50进行2次抢楼,规则同去年12月的疯狂抢楼活动。 奖品由21IC、北航、广州迪圣...
雁塔菜农 2012-02-03 08:19
菜农谋略:搞定牛人宋俊德,对女牛人孙昌旭说:“记住,俺是雁塔菜农~~~ ”
http://www.baidu.com/s?wd=%B2%CB%C5%A9%D0%A6%CC%B8%A1%B6%D0%C2%C0%CB%C3%FB%C8%CB%D0%A7%D3%A6%A1%B7...
EE直播间
更多
我要评论
1
1
关闭 站长推荐上一条 /3 下一条