《uCOS_and_ARM_Cortex-M3》.pdf
文本预览下载声明
Micriµm
© Copyright 2006, Micriµm
All Rights reserved
µC/OS-II
and
ARM Cortex-M3 Processors
Application Note
AN-1018
HTUwww.MUTH
µC/OS-II for the ARM Cortex-M3 Processors
Table of Contents
1.00 Introduction 4
2.00 The ARM Cortex-M3 programmer’s model 6
3.00 µC/OS-II Port for the ARM Cortex-M3 processors 9
3.01 Directories and Files 10
3.02 OS_CPU.H 11
3.02.01 OS_CPU.H, macros for ‘externals’ 11
3.02.02 OS_CPU.H, Data Types 11
3.02.03 OS_CPU.H, Critical Sections 12
3.02.04 OS_CPU.H, Stack growth 12
3.02.05 OS_CPU.H, Task Level Context Switch 13
3.02.06 OS_CPU.H, Function Prototypes 13
3.03 OS_CPU_C.C 14
3.03.01 OS_CPU_C.C, OSInitHookBegin() 14
3.03.02 OS_CPU_C.C, OSTaskCreateHook() 15
3.03.03 OS_CPU_C.C, OSTaskStkInit() 16
3.03.04 OS_CPU_C.C, OSTaskSwHook() 18
3.03.05 OS_CPU_C.C, OSTimeTickHook() 18
3.03.06 OS_CPU_C.C, OS_CPU_SysTickInit() 19
3.04 OS_CPU_A.ASM 20
3.04.01 OS_CPU_A.ASM, OS_CPU_SR_Save() 20
3.04.02 OS_CPU_A.ASM, OS_CPU_SR_Restore() 20
3.04.03 OS_CPU_A.ASM, OSStartHighRdy() 21
3.04.04 OS_CPU_A.ASM, OSCtxSw() 22
3.04.05 OS_CPU_A.ASM, OSIntCtxSw() 23
3.04.06 OS_CPU_A.ASM, OS_CPU_PendSVHandler() 23
3.05 OS_DBG.C 27
4.00 Exception Vector Table 28
4.01 Exception / Interrupt Handling Sequence 29
4.02 Interrupt Controllers 29
4.03 Interrupt Service Routines 29
5.00 Application C
显示全部