文件名称: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/
MCS51_uCOC_II/demo1.c
MCS51_uCOC_II/demo1.M51
MCS51_uCOC_II/demo1.Opt
MCS51_uCOC_II/demo1.plg
MCS51_uCOC_II/demo1.Uv2
MCS51_uCOC_II/INCLUDES.H
MCS51_uCOC_II/OS_CFG.H
MCS51_uCOC_II/OS_CORE.C
MCS51_uCOC_II/OS_CPU.H
MCS51_uCOC_II/OS_CPU_A.ASM
MCS51_uCOC_II/OS_CPU_C.C
MCS51_uCOC_II/OS_MBOX.C
MCS51_uCOC_II/OS_MEM.C
MCS51_uCOC_II/OS_Q.C
MCS51_uCOC_II/OS_SEM.C
MCS51_uCOC_II/OS_TASK.C
MCS51_uCOC_II/OS_TIME.C
MCS51_uCOC_II/Startup.asm
MCS51_uCOC_II/UCOS_II.C
MCS51_uCOC_II/UCOS_II.H
MCS51_uCOC_II/版本说明.txt
MCS51_uCOC_II/demo1.c
MCS51_uCOC_II/demo1.M51
MCS51_uCOC_II/demo1.Opt
MCS51_uCOC_II/demo1.plg
MCS51_uCOC_II/demo1.Uv2
MCS51_uCOC_II/INCLUDES.H
MCS51_uCOC_II/OS_CFG.H
MCS51_uCOC_II/OS_CORE.C
MCS51_uCOC_II/OS_CPU.H
MCS51_uCOC_II/OS_CPU_A.ASM
MCS51_uCOC_II/OS_CPU_C.C
MCS51_uCOC_II/OS_MBOX.C
MCS51_uCOC_II/OS_MEM.C
MCS51_uCOC_II/OS_Q.C
MCS51_uCOC_II/OS_SEM.C
MCS51_uCOC_II/OS_TASK.C
MCS51_uCOC_II/OS_TIME.C
MCS51_uCOC_II/Startup.asm
MCS51_uCOC_II/UCOS_II.C
MCS51_uCOC_II/UCOS_II.H
MCS51_uCOC_II/版本说明.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.