📄 bsp_int.lst
字号:
###############################################################################
# #
# IAR ANSI C/C++ Compiler V6.10.2.52244/W32 for ARM 07/Aug/2011 12:10:22 #
# Copyright 1999-2010 IAR Systems AB. #
# #
# Cpu mode = thumb #
# Endian = little #
# Source file = F:\stm32\我的程序\Micrium\Software\EWARM\BSP\bsp_int.c #
# Command line = F:\stm32\我的程序\Micrium\Software\EWARM\BSP\bsp_int.c #
# -D USE_STDPERIPH_DRIVER -D STM32F10X_CL -lCN #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Flash\Lis #
# t\ -o F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Fla #
# sh\Obj\ --no_cse --no_unroll --no_inline #
# --no_code_motion --no_tbaa --no_clustering #
# --no_scheduling --debug --endian=little --cpu=Cortex-M3 #
# -e --fpu=None --dlib_config #
# D:\arm\INC\c\DLib_Config_Normal.h -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\APP\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\ #
# -I F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP #
# \ST\CMSIS\CM3\CoreSupport\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\ST #
# \CMSIS\CM3\DeviceSupport\ST\STM32F10x\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\ST #
# \STM32F10x_StdPeriph_Driver\inc\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\uC #
# OS-II\ -I F:\stm32\我的程序\Micrium\Software\EWARM\OS-II #
# \..\..\uCOS-II\Ports\ARM-Cortex-M3\Generic\IAR\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\..\uCO #
# S-II\Source\ -I F:\stm32\我的程序\Micrium\Software\EWARM #
# \OS-II\..\..\uC-LIB\ -I F:\stm32\我的程序\Micrium\Softwa #
# re\EWARM\OS-II\..\..\uC-LIB\Ports\ARM-Cortex-M3\IAR\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\..\uC- #
# CPU\ -I F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\. #
# .\..\uC-CPU\ARM-Cortex-M3\IAR\ -On --use_c++_inline #
# List file = F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Flash\Lis #
# t\bsp_int.lst #
# Object file = F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Flash\Obj #
# \bsp_int.o #
# #
# #
###############################################################################
F:\stm32\我的程序\Micrium\Software\EWARM\BSP\bsp_int.c
1 /*
2 *********************************************************************************************************
3 * MICIRUM BOARD SUPPORT PACKAGE
4 *
5 * (c) Copyright 2007-2008; Micrium, Inc.; Weston, FL
6 *
7 * All rights reserved. Protected by international copyright laws.
8 * Knowledge of the source code may not be used to write a similar
9 * product. This file may only be used in accordance with a license
10 * and should not be redistributed in any way.
11 *********************************************************************************************************
12 */
13
14 /*
15 *********************************************************************************************************
16 *
17 * BOARD SUPPORT PACKAGE
18 *
19 * ST Microelectronics STM32
20 * on the
21 *
22 * Micrium uC-Eval-STM32F107
23 * Evaluation Board
24 *
25 * Filename : bsp_int.c
26 * Version : V1.00
27 * Programmer(s) : EHS
28 *********************************************************************************************************
29 */
30
31 /*
32 *********************************************************************************************************
33 * INCLUDE FILES
34 *********************************************************************************************************
35 */
36
37 #define BSP_INT_MODULE
38 #include <bsp.h>
39
40
41 /*
42 *********************************************************************************************************
43 * LOCAL DEFINES
44 *********************************************************************************************************
45 */
46
47 #define BSP_INT_SRC_NBR 68
48
49
50 /*
51 *********************************************************************************************************
52 * LOCAL CONSTANTS
53 *********************************************************************************************************
54 */
55
56
57 /*
58 *********************************************************************************************************
59 * LOCAL DATA TYPES
60 *********************************************************************************************************
61 */
62
63
64 /*
65 *********************************************************************************************************
66 * LOCAL TABLES
67 *********************************************************************************************************
68 */
69
\ In section .bss, align 4
70 static CPU_FNCT_VOID BSP_IntVectTbl[BSP_INT_SRC_NBR];
\ BSP_IntVectTbl:
\ 00000000 DS8 272
71
72
73 /*
74 *********************************************************************************************************
75 * LOCAL GLOBAL VARIABLES
76 *********************************************************************************************************
77 */
78
79
80 /*
81 *********************************************************************************************************
82 * LOCAL FUNCTION PROTOTYPES
83 *********************************************************************************************************
84 */
85
86 static void BSP_IntHandler (CPU_DATA int_id);
87 static void BSP_IntHandlerDummy(void);
88
89
90 /*
91 *********************************************************************************************************
92 * LOCAL CONFIGURATION ERRORS
93 *********************************************************************************************************
94 */
95
96
97 /*
98 *********************************************************************************************************
99 * BSP_IntClr()
100 *
101 * Description : Clear interrupt.
102 *
103 * Argument(s) : int_id Interrupt to clear.
104 *
105 * Return(s) : none.
106 *
107 * Caller(s) : Application.
108 *
109 * Note(s) : (1) An interrupt does not need to be cleared within the interrupt controller.
110 *********************************************************************************************************
111 */
112
\ In section .text, align 2, keep-with-next
113 void BSP_IntClr (CPU_DATA int_id)
114 {
115
116 }
\ BSP_IntClr:
\ 00000000 7047 BX LR ;; return
117
118
119 /*
120 *********************************************************************************************************
121 * BSP_IntDis()
122 *
123 * Description : Disable interrupt.
124 *
125 * Argument(s) : int_id Interrupt to disable.
126 *
127 * Return(s) : none.
128 *
129 * Caller(s) : Application.
130 *
131 * Note(s) : none.
132 *********************************************************************************************************
133 */
134
\ In section .text, align 2, keep-with-next
135 void BSP_IntDis (CPU_DATA int_id)
136 {
\ BSP_IntDis:
\ 00000000 10B5 PUSH {R4,LR}
\ 00000002 0400 MOVS R4,R0
137 if (int_id < BSP_INT_SRC_NBR) {
\ 00000004 442C CMP R4,#+68
\ 00000006 04D2 BCS.N ??BSP_IntDis_0
138 CPU_IntSrcDis(int_id + 16);
\ 00000008 14F11000 ADDS R0,R4,#+16
\ 0000000C C0B2 UXTB R0,R0 ;; ZeroExt R0,R0,#+24,#+24
\ 0000000E ........ BL CPU_IntSrcDis
139 }
140 }
\ ??BSP_IntDis_0:
\ 00000012 10BD POP {R4,PC} ;; return
141
142
143 /*
144 *********************************************************************************************************
145 * BSP_IntDisAll()
146 *
147 * Description : Disable ALL interrupts.
148 *
149 * Argument(s) : none.
150 *
151 * Return(s) : none.
152 *
153 * Caller(s) : Application.
154 *
155 * Note(s) : none.
156 *********************************************************************************************************
157 */
158
\ In section .text, align 2, keep-with-next
159 void BSP_IntDisAll (void)
160 {
\ BSP_IntDisAll:
\ 00000000 80B5 PUSH {R7,LR}
161 CPU_IntDis();
\ 00000002 ........ BL CPU_IntDis
162 }
\ 00000006 01BD POP {R0,PC} ;; return
163
164
165 /*
166 *********************************************************************************************************
167 * BSP_IntEn()
168 *
169 * Description : Enable interrupt.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -