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

1 / 38
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功