您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > uCOS and ARM Cortex-M3
Micriµm©Copyright2006,MicriµmAllRightsreservedµC/OS-IIandARMCortex-M3ProcessorsApplicationNoteAN-1018HTU’smodel...................................................63.00µC/OS-IIPortfortheARMCortex-M3processors......................................93.01DirectoriesandFiles...................................................................................103.02OS_CPU.H.................................................................................................113.02.01OS_CPU.H,macrosfor‘externals’.............................................................113.02.02OS_CPU.H,DataTypes.............................................................................113.02.03OS_CPU.H,CriticalSections......................................................................123.02.04OS_CPU.H,Stackgrowth..........................................................................123.02.05OS_CPU.H,TaskLevelContextSwitch.....................................................133.02.06OS_CPU.H,FunctionPrototypes...............................................................133.03OS_CPU_C.C.............................................................................................143.03.01OS_CPU_C.C,OSInitHookBegin().............................................................143.03.02OS_CPU_C.C,OSTaskCreateHook()........................................................153.03.03OS_CPU_C.C,OSTaskStkInit().................................................................163.03.04OS_CPU_C.C,OSTaskSwHook()..............................................................183.03.05OS_CPU_C.C,OSTimeTickHook()............................................................183.03.06OS_CPU_C.C,OS_CPU_SysTickInit()......................................................193.04OS_CPU_A.ASM........................................................................................203.04.01OS_CPU_A.ASM,OS_CPU_SR_Save()...................................................203.04.02OS_CPU_A.ASM,OS_CPU_SR_Restore()...............................................203.04.03OS_CPU_A.ASM,OSStartHighRdy().........................................................213.04.04OS_CPU_A.ASM,OSCtxSw()....................................................................223.04.05OS_CPU_A.ASM,OSIntCtxSw()................................................................233.04.06OS_CPU_A.ASM,OS_CPU_PendSVHandler().........................................233.05OS_DBG.C.................................................................................................274.00ExceptionVectorTable..............................................................................284.01Exception/InterruptHandlingSequence...................................................294.02InterruptControllers....................................................................................294.03InterruptServiceRoutines..........................................................................295.00ApplicationCode........................................................................................305.01APP.C,APP.HandAPP_CFG.H................................................................315.02INCLUDES.H..............................................................................................346.00BSP(BoardSupportPackage)...................................................................356.01BSP(BoardSupportPackage)–LEDManagement..................................35µC/OS-IIforARMCortex-M3Processors37.00Conclusion..................................................................................................36Licensing...................................................................................................................37References...................................................................................................................37Contacts...................................................................................................................37Notes...................................................................................................................38µC/OS-IIfortheARMCortex-M3Processors41.00IntroductionARMhasbeenworkingonanewarchitecturecalledtheCortexforanumberofyears.Duringdevelopment,µC/OS-IIwasusedtovalidatesomeofthedesignaspectsandwasusedasasourceofideastocreatenewcapabilitiestosupportRTOSs.Inotherwords,µC/OS-IIwasthefirstRTOSportedtotheCortex.Thisapplicationnotedescribesthe‘official’MicriumportforµC/OS-IIontheCortex-M3processor.Figure1-1showsablockdiagramshowingtherelationshipbetweenyourapplication,µC/OS-II,theportcodeandtheBSP(BoardSupportPackage).Relevantsectionsofthisapplicationnotearereferencedonthefigure.µC/OS-IIforARMCortex-M3Processors5Figure1-1,Relationshipbetweenmodules.µC/OS-IIOS_CORE.COS_FLAG.COS_MBOX.COS_MEM.COS_MUTEX.COS_Q.COS_SEM.CO
本文标题:uCOS and ARM Cortex-M3
链接地址:https://www.777doc.com/doc-4197282 .html