文件名称:MCS5_uCOC_II
介绍说明--下载内容均来自于网络,请自行研究使用
移植到MCS51的uCOS_II。
1。在文件OS_CORE.C中OSMapTbl和OSUnMapTbl数组用于查表,所以应该放在code里。
增加code关键字。UCOS_II.H和OS_CORE.C。
2。OS_CFG.H堆栈大小MaxStkSize改为900。
3。OS_CPU_C.C的InitTimer0函数增加了关于开T0中断的解释。
允许T0中断,此时EA=0(51上电缺省值),中断还不会发生,满足在OSStart()前不产生中断的要求。
4。修改中断处理流程,以便严密监视中断嵌套情况。每个中断进入后立即进行OSIntNesting+1原语操作。
5。增加printf函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号%。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
-transplanted to the MCS51 uCOS_II. 1. In the document which OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, Therefore, it should be placed on code Lane. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H MaxStkSize stack size to 900. 3. OS_CPU_C.C InitTimer0 function of the increase on the open T0 interrupted explained. Allow T0 interruption, this time EA = 0 (51 electricity default value), also will not be interrupted. meet the OSStart () do not have interrupted the former requirements. 4. Changes interrupt handling procedures, in order to closely monitor the situation interrupt nesting. Each interruption immediately after entering OSIntNesting a primitive operation. 5. Printf function to increase the transplant, support flexible data show. Support for standard or long binar
1。在文件OS_CORE.C中OSMapTbl和OSUnMapTbl数组用于查表,所以应该放在code里。
增加code关键字。UCOS_II.H和OS_CORE.C。
2。OS_CFG.H堆栈大小MaxStkSize改为900。
3。OS_CPU_C.C的InitTimer0函数增加了关于开T0中断的解释。
允许T0中断,此时EA=0(51上电缺省值),中断还不会发生,满足在OSStart()前不产生中断的要求。
4。修改中断处理流程,以便严密监视中断嵌套情况。每个中断进入后立即进行OSIntNesting+1原语操作。
5。增加printf函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号%。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
-transplanted to the MCS51 uCOS_II. 1. In the document which OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, Therefore, it should be placed on code Lane. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H MaxStkSize stack size to 900. 3. OS_CPU_C.C InitTimer0 function of the increase on the open T0 interrupted explained. Allow T0 interruption, this time EA = 0 (51 electricity default value), also will not be interrupted. meet the OSStart () do not have interrupted the former requirements. 4. Changes interrupt handling procedures, in order to closely monitor the situation interrupt nesting. Each interruption immediately after entering OSIntNesting a primitive operation. 5. Printf function to increase the transplant, support flexible data show. Support for standard or long binar
(系统自动生成,下载前可以参看下载内容)
下载文件列表
移植到MCS51的uCOC_II
....................\demo1
....................\demo1.c
....................\demo1.lnp
....................\demo1.ls1
....................\demo1.LST
....................\demo1.M51
....................\demo1.OBJ
....................\demo1.Opt
....................\demo1.plg
....................\demo1.SRC
....................\demo1.Uv2
....................\demo1.__i
....................\demo1_Opt.Bak
....................\demo1_Uv2.Bak
....................\INCLUDES.H
....................\OS_CFG.H
....................\OS_CORE.C
....................\OS_CPU.H
....................\OS_CPU_A.ASM
....................\OS_CPU_A.LST
....................\OS_CPU_A.OBJ
....................\OS_CPU_C.C
....................\OS_CPU_C.ls1
....................\OS_CPU_C.LST
....................\OS_CPU_C.OBJ
....................\OS_CPU_C.SRC
....................\OS_CPU_C.__i
....................\OS_MBOX.C
....................\OS_MEM.C
....................\OS_Q.C
....................\OS_SEM.C
....................\OS_TASK.C
....................\OS_TIME.C
....................\Startup.asm
....................\Startup.LST
....................\Startup.OBJ
....................\UCOS_II.C
....................\UCOS_II.H
....................\UCOS_II.ls1
....................\UCOS_II.LST
....................\UCOS_II.OBJ
....................\UCOS_II.SRC
....................\UCOS_II.__i
....................\版本说明.txt
....................\demo1
....................\demo1.c
....................\demo1.lnp
....................\demo1.ls1
....................\demo1.LST
....................\demo1.M51
....................\demo1.OBJ
....................\demo1.Opt
....................\demo1.plg
....................\demo1.SRC
....................\demo1.Uv2
....................\demo1.__i
....................\demo1_Opt.Bak
....................\demo1_Uv2.Bak
....................\INCLUDES.H
....................\OS_CFG.H
....................\OS_CORE.C
....................\OS_CPU.H
....................\OS_CPU_A.ASM
....................\OS_CPU_A.LST
....................\OS_CPU_A.OBJ
....................\OS_CPU_C.C
....................\OS_CPU_C.ls1
....................\OS_CPU_C.LST
....................\OS_CPU_C.OBJ
....................\OS_CPU_C.SRC
....................\OS_CPU_C.__i
....................\OS_MBOX.C
....................\OS_MEM.C
....................\OS_Q.C
....................\OS_SEM.C
....................\OS_TASK.C
....................\OS_TIME.C
....................\Startup.asm
....................\Startup.LST
....................\Startup.OBJ
....................\UCOS_II.C
....................\UCOS_II.H
....................\UCOS_II.ls1
....................\UCOS_II.LST
....................\UCOS_II.OBJ
....................\UCOS_II.SRC
....................\UCOS_II.__i
....................\版本说明.txt