文件名称:MCS51_uCOC_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函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号 。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
demo3.c专门针对printf函数进行了测试。-1. In the file OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, it should be placed in code. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H stack size MaxStkSize to 900. 3. OS_CPU_C.C of InitTimer0 function of the increase on to open T0 interrupt explanation. Allow T0 interrupt, then EA = 0 (51 on the power-on defaults), the interrupt will not occur, meet OSStart () before not generate an interrupt request. 4. Modify the interrupt handling process in order to closely monitor the situation interrupt nesting. Each interrupt immediately after OSIntNesting+1 into primitive operations. Previous versions of interrupt nesting is possible errors of judgment, causing the interrupt is not completely processed on task switching. 5. Increase the printf function of the transplant, support flexible data display. Supports standard or long binary/octal/decimal/hexadecimal/unsigned integers, supporting character, string, float, percent sign . Which float over the entire range is fully
增加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函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号 。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
demo3.c专门针对printf函数进行了测试。-1. In the file OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, it should be placed in code. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H stack size MaxStkSize to 900. 3. OS_CPU_C.C of InitTimer0 function of the increase on to open T0 interrupt explanation. Allow T0 interrupt, then EA = 0 (51 on the power-on defaults), the interrupt will not occur, meet OSStart () before not generate an interrupt request. 4. Modify the interrupt handling process in order to closely monitor the situation interrupt nesting. Each interrupt immediately after OSIntNesting+1 into primitive operations. Previous versions of interrupt nesting is possible errors of judgment, causing the interrupt is not completely processed on task switching. 5. Increase the printf function of the transplant, support flexible data display. Supports standard or long binary/octal/decimal/hexadecimal/unsigned integers, supporting character, string, float, percent sign . Which float over the entire range is fully
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MCS51_uCOC_II
.............\demo1.c
.............\demo1.M51
.............\demo1.Opt
.............\demo1.plg
.............\demo1.Uv2
.............\INCLUDES.H
.............\OS_CFG.H
.............\OS_CORE.C
.............\OS_CPU.H
.............\OS_CPU_A.ASM
.............\OS_CPU_C.C
.............\OS_MBOX.C
.............\OS_MEM.C
.............\OS_Q.C
.............\OS_SEM.C
.............\OS_TASK.C
.............\OS_TIME.C
.............\Startup.asm
.............\UCOS_II.C
.............\UCOS_II.H
.............\版本说明.txt