- 8
- 0
- 约3.79万字
- 约 166页
- 2018-04-25 发布于湖北
- 举报
西安电子科技大学嵌入式实时操作系统课件 第7章概要1
pdest = ppdata-OSEventTbl[0];/*为了避免使用循环语句而增加延迟时间,采用了条件编译来裁剪不必要的循环 */#if OS_EVENT_TBL_SIZE 0 *pdest++ = *psrc++;#endif#if OS_EVENT_TBL_SIZE 1 *pdest++ = *psrc++;#endif#if OS_EVENT_TBL_SIZE 2 *pdest++ = *psrc++;#endif#if OS_EVENT_TBL_SIZE 3 *pdest++ = *psrc++;#endif#if OS_EVENT_TBL_SIZE 4 *pdest++ = *psrc++;#endif#if OS_EVENT_TBL_SIZE 5 *pdest++ = *psrc++; #endif#if OS_EVENT_TBL_SIZE 6 *pdest++ = *psrc++;#endif#if OS_EVENT_TBL_SIZE 7 *pdest = *p
原创力文档

文档评论(0)