📄 stm32f10x_flash.lst
字号:
132:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Read the ACR register */
133:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** tmpreg = FLASH->ACR;
36 .loc 1 133 0
37 0000 034B ldr r3, .L3
38 0002 1A68 ldr r2, [r3, #0]
39 .LVL1:
134:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
135:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Sets the Latency value */
136:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** tmpreg &= ACR_LATENCY_Mask;
40 .loc 1 136 0
41 0004 02F03802 and r2, r2, #56
42 .LVL2:
137:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** tmpreg |= FLASH_Latency;
43 .loc 1 137 0
44 0008 1043 orrs r0, r0, r2
45 .LVL3:
138:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
139:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Write the ACR register */
140:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->ACR = tmpreg;
46 .loc 1 140 0
47 000a 1860 str r0, [r3, #0]
141:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** }
48 .loc 1 141 0
49 000c 7047 bx lr
50 .L4:
51 000e C046 .align 2
52 .L3:
53 0010 00200240 .word 1073881088
54 .LFE26:
56 .section .text.FLASH_HalfCycleAccessCmd,"ax",%progbits
57 .align 2
58 .global FLASH_HalfCycleAccessCmd
59 .thumb
60 .thumb_func
62 FLASH_HalfCycleAccessCmd:
63 .LFB27:
142:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
143:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /**
144:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @brief Enables or disables the Half cycle flash access.
145:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @param FLASH_HalfCycleAccess: specifies the FLASH Half cycle Access mode.
146:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * This parameter can be one of the following values:
147:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @arg FLASH_HalfCycleAccess_Enable: FLASH Half Cycle Enable
148:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @arg FLASH_HalfCycleAccess_Disable: FLASH Half Cycle Disable
149:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @retval : None
150:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** */
151:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** void FLASH_HalfCycleAccessCmd(uint32_t FLASH_HalfCycleAccess)
152:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** {
64 .loc 1 152 0
65 @ args = 0, pretend = 0, frame = 0
66 @ frame_needed = 0, uses_anonymous_args = 0
67 @ link register save eliminated.
68 .LVL4:
153:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Check the parameters */
154:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** assert_param(IS_FLASH_HALFCYCLEACCESS_STATE(FLASH_HalfCycleAccess));
155:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
156:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Enable or disable the Half cycle access */
157:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->ACR &= ACR_HLFCYA_Mask;
69 .loc 1 157 0
70 0000 044A ldr r2, .L7
71 0002 1368 ldr r3, [r2, #0]
72 0004 23F00803 bic r3, r3, #8
73 0008 1360 str r3, [r2, #0]
158:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->ACR |= FLASH_HalfCycleAccess;
74 .loc 1 158 0
75 000a 1368 ldr r3, [r2, #0]
76 000c 1843 orrs r0, r0, r3
77 .LVL5:
78 000e 1060 str r0, [r2, #0]
159:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** }
79 .loc 1 159 0
80 0010 7047 bx lr
81 .L8:
82 0012 C046 .align 2
83 .L7:
84 0014 00200240 .word 1073881088
85 .LFE27:
87 .section .text.FLASH_PrefetchBufferCmd,"ax",%progbits
88 .align 2
89 .global FLASH_PrefetchBufferCmd
90 .thumb
91 .thumb_func
93 FLASH_PrefetchBufferCmd:
94 .LFB28:
160:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
161:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /**
162:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @brief Enables or disables the Prefetch Buffer.
163:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @param FLASH_PrefetchBuffer: specifies the Prefetch buffer status.
164:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * This parameter can be one of the following values:
165:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @arg FLASH_PrefetchBuffer_Enable: FLASH Prefetch Buffer Enable
166:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @arg FLASH_PrefetchBuffer_Disable: FLASH Prefetch Buffer Disable
167:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @retval : None
168:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** */
169:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** void FLASH_PrefetchBufferCmd(uint32_t FLASH_PrefetchBuffer)
170:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** {
95 .loc 1 170 0
96 @ args = 0, pretend = 0, frame = 0
97 @ frame_needed = 0, uses_anonymous_args = 0
98 @ link register save eliminated.
99 .LVL6:
171:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Check the parameters */
172:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** assert_param(IS_FLASH_PREFETCHBUFFER_STATE(FLASH_PrefetchBuffer));
173:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
174:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Enable or disable the Prefetch Buffer */
175:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->ACR &= ACR_PRFTBE_Mask;
100 .loc 1 175 0
101 0000 044A ldr r2, .L11
102 0002 1368 ldr r3, [r2, #0]
103 0004 23F01003 bic r3, r3, #16
104 0008 1360 str r3, [r2, #0]
176:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->ACR |= FLASH_PrefetchBuffer;
105 .loc 1 176 0
106 000a 1368 ldr r3, [r2, #0]
107 000c 1843 orrs r0, r0, r3
108 .LVL7:
109 000e 1060 str r0, [r2, #0]
177:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** }
110 .loc 1 177 0
111 0010 7047 bx lr
112 .L12:
113 0012 C046 .align 2
114 .L11:
115 0014 00200240 .word 1073881088
116 .LFE28:
118 .section .text.FLASH_Unlock,"ax",%progbits
119 .align 2
120 .global FLASH_Unlock
121 .thumb
122 .thumb_func
124 FLASH_Unlock:
125 .LFB29:
178:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c ****
179:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /**
180:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @brief Unlocks the FLASH Program Erase Controller.
181:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @param None
182:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** * @retval : None
183:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** */
184:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** void FLASH_Unlock(void)
185:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** {
126 .loc 1 185 0
127 @ args = 0, pretend = 0, frame = 0
128 @ frame_needed = 0, uses_anonymous_args = 0
129 @ link register save eliminated.
186:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** /* Authorize the FPEC Access */
187:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->KEYR = FLASH_KEY1;
130 .loc 1 187 0
131 0000 034B ldr r3, .L15
132 0002 044A ldr r2, .L15+4
133 0004 5A60 str r2, [r3, #4]
188:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** FLASH->KEYR = FLASH_KEY2;
134 .loc 1 188 0
135 0006 02F18832 add r2, r2, #-2004318072
136 000a 5A60 str r2, [r3, #4]
189:lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c **** }
137 .loc 1 189 0
138 000c 7047 bx lr
139 .L16:
140 000e C046 .align 2
141 .L15:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -