gpio.lst 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. ARM GAS /tmp/ccMmnnvT.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .eabi_attribute 27, 1
  4. 3 .eabi_attribute 28, 1
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "gpio.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.MX_GPIO_Init,"ax",%progbits
  19. 18 .align 1
  20. 19 .global MX_GPIO_Init
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 23 .fpu fpv4-sp-d16
  25. 25 MX_GPIO_Init:
  26. 26 .LFB130:
  27. 27 .file 1 "Src/gpio.c"
  28. 1:Src/gpio.c **** /**
  29. 2:Src/gpio.c **** ******************************************************************************
  30. 3:Src/gpio.c **** * File Name : gpio.c
  31. 4:Src/gpio.c **** * Description : This file provides code for the configuration
  32. 5:Src/gpio.c **** * of all used GPIO pins.
  33. 6:Src/gpio.c **** ******************************************************************************
  34. 7:Src/gpio.c **** * @attention
  35. 8:Src/gpio.c **** *
  36. 9:Src/gpio.c **** * <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
  37. 10:Src/gpio.c **** * All rights reserved.</center></h2>
  38. 11:Src/gpio.c **** *
  39. 12:Src/gpio.c **** * This software component is licensed by ST under BSD 3-Clause license,
  40. 13:Src/gpio.c **** * the "License"; You may not use this file except in compliance with the
  41. 14:Src/gpio.c **** * License. You may obtain a copy of the License at:
  42. 15:Src/gpio.c **** * opensource.org/licenses/BSD-3-Clause
  43. 16:Src/gpio.c **** *
  44. 17:Src/gpio.c **** ******************************************************************************
  45. 18:Src/gpio.c **** */
  46. 19:Src/gpio.c ****
  47. 20:Src/gpio.c **** /* Includes ------------------------------------------------------------------*/
  48. 21:Src/gpio.c **** #include "gpio.h"
  49. 22:Src/gpio.c **** /* USER CODE BEGIN 0 */
  50. 23:Src/gpio.c ****
  51. 24:Src/gpio.c **** /* USER CODE END 0 */
  52. 25:Src/gpio.c ****
  53. 26:Src/gpio.c **** /*----------------------------------------------------------------------------*/
  54. 27:Src/gpio.c **** /* Configure GPIO */
  55. 28:Src/gpio.c **** /*----------------------------------------------------------------------------*/
  56. 29:Src/gpio.c **** /* USER CODE BEGIN 1 */
  57. 30:Src/gpio.c ****
  58. 31:Src/gpio.c **** /* USER CODE END 1 */
  59. ARM GAS /tmp/ccMmnnvT.s page 2
  60. 32:Src/gpio.c ****
  61. 33:Src/gpio.c **** /** Configure pins
  62. 34:Src/gpio.c **** */
  63. 35:Src/gpio.c **** void MX_GPIO_Init(void)
  64. 36:Src/gpio.c **** {
  65. 28 .loc 1 36 0
  66. 29 .cfi_startproc
  67. 30 @ args = 0, pretend = 0, frame = 40
  68. 31 @ frame_needed = 0, uses_anonymous_args = 0
  69. 32 0000 30B5 push {r4, r5, lr}
  70. 33 .LCFI0:
  71. 34 .cfi_def_cfa_offset 12
  72. 35 .cfi_offset 4, -12
  73. 36 .cfi_offset 5, -8
  74. 37 .cfi_offset 14, -4
  75. 38 0002 8BB0 sub sp, sp, #44
  76. 39 .LCFI1:
  77. 40 .cfi_def_cfa_offset 56
  78. 37:Src/gpio.c ****
  79. 38:Src/gpio.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
  80. 41 .loc 1 38 0
  81. 42 0004 0024 movs r4, #0
  82. 43 0006 0594 str r4, [sp, #20]
  83. 44 0008 0694 str r4, [sp, #24]
  84. 45 000a 0794 str r4, [sp, #28]
  85. 46 000c 0894 str r4, [sp, #32]
  86. 47 000e 0994 str r4, [sp, #36]
  87. 48 .LBB2:
  88. 39:Src/gpio.c ****
  89. 40:Src/gpio.c **** /* GPIO Ports Clock Enable */
  90. 41:Src/gpio.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
  91. 49 .loc 1 41 0
  92. 50 0010 0194 str r4, [sp, #4]
  93. 51 0012 1E4B ldr r3, .L3
  94. 52 0014 1A6B ldr r2, [r3, #48]
  95. 53 0016 42F00102 orr r2, r2, #1
  96. 54 001a 1A63 str r2, [r3, #48]
  97. 55 001c 1A6B ldr r2, [r3, #48]
  98. 56 001e 02F00102 and r2, r2, #1
  99. 57 0022 0192 str r2, [sp, #4]
  100. 58 0024 019A ldr r2, [sp, #4]
  101. 59 .LBE2:
  102. 60 .LBB3:
  103. 42:Src/gpio.c **** __HAL_RCC_GPIOD_CLK_ENABLE();
  104. 61 .loc 1 42 0
  105. 62 0026 0294 str r4, [sp, #8]
  106. 63 0028 1A6B ldr r2, [r3, #48]
  107. 64 002a 42F00802 orr r2, r2, #8
  108. 65 002e 1A63 str r2, [r3, #48]
  109. 66 0030 1A6B ldr r2, [r3, #48]
  110. 67 0032 02F00802 and r2, r2, #8
  111. 68 0036 0292 str r2, [sp, #8]
  112. 69 0038 029A ldr r2, [sp, #8]
  113. 70 .LBE3:
  114. 71 .LBB4:
  115. 43:Src/gpio.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
  116. 72 .loc 1 43 0
  117. ARM GAS /tmp/ccMmnnvT.s page 3
  118. 73 003a 0394 str r4, [sp, #12]
  119. 74 003c 1A6B ldr r2, [r3, #48]
  120. 75 003e 42F00402 orr r2, r2, #4
  121. 76 0042 1A63 str r2, [r3, #48]
  122. 77 0044 1A6B ldr r2, [r3, #48]
  123. 78 0046 02F00402 and r2, r2, #4
  124. 79 004a 0392 str r2, [sp, #12]
  125. 80 004c 039A ldr r2, [sp, #12]
  126. 81 .LBE4:
  127. 82 .LBB5:
  128. 44:Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  129. 83 .loc 1 44 0
  130. 84 004e 0494 str r4, [sp, #16]
  131. 85 0050 1A6B ldr r2, [r3, #48]
  132. 86 0052 42F00202 orr r2, r2, #2
  133. 87 0056 1A63 str r2, [r3, #48]
  134. 88 0058 1B6B ldr r3, [r3, #48]
  135. 89 005a 03F00203 and r3, r3, #2
  136. 90 005e 0493 str r3, [sp, #16]
  137. 91 0060 049B ldr r3, [sp, #16]
  138. 92 .LBE5:
  139. 45:Src/gpio.c ****
  140. 46:Src/gpio.c **** /*Configure GPIO pin Output Level */
  141. 47:Src/gpio.c **** HAL_GPIO_WritePin(GPIOD, GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15, GPIO_PIN_RESET);
  142. 93 .loc 1 47 0
  143. 94 0062 0B4D ldr r5, .L3+4
  144. 95 0064 2246 mov r2, r4
  145. 96 0066 4FF47041 mov r1, #61440
  146. 97 006a 2846 mov r0, r5
  147. 98 006c FFF7FEFF bl HAL_GPIO_WritePin
  148. 99 .LVL0:
  149. 48:Src/gpio.c ****
  150. 49:Src/gpio.c **** /*Configure GPIO pins : PD12 PD13 PD14 PD15 */
  151. 50:Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15;
  152. 100 .loc 1 50 0
  153. 101 0070 4FF47043 mov r3, #61440
  154. 102 0074 0593 str r3, [sp, #20]
  155. 51:Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  156. 103 .loc 1 51 0
  157. 104 0076 0123 movs r3, #1
  158. 105 0078 0693 str r3, [sp, #24]
  159. 52:Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  160. 106 .loc 1 52 0
  161. 107 007a 0794 str r4, [sp, #28]
  162. 53:Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  163. 108 .loc 1 53 0
  164. 109 007c 0894 str r4, [sp, #32]
  165. 54:Src/gpio.c **** HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
  166. 110 .loc 1 54 0
  167. 111 007e 05A9 add r1, sp, #20
  168. 112 0080 2846 mov r0, r5
  169. 113 0082 FFF7FEFF bl HAL_GPIO_Init
  170. 114 .LVL1:
  171. 55:Src/gpio.c ****
  172. 56:Src/gpio.c **** }
  173. 115 .loc 1 56 0
  174. 116 0086 0BB0 add sp, sp, #44
  175. ARM GAS /tmp/ccMmnnvT.s page 4
  176. 117 .LCFI2:
  177. 118 .cfi_def_cfa_offset 12
  178. 119 @ sp needed
  179. 120 0088 30BD pop {r4, r5, pc}
  180. 121 .L4:
  181. 122 008a 00BF .align 2
  182. 123 .L3:
  183. 124 008c 00380240 .word 1073887232
  184. 125 0090 000C0240 .word 1073875968
  185. 126 .cfi_endproc
  186. 127 .LFE130:
  187. 129 .text
  188. 130 .Letext0:
  189. 131 .file 2 "/usr/include/newlib/machine/_default_types.h"
  190. 132 .file 3 "/usr/include/newlib/sys/_stdint.h"
  191. 133 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
  192. 134 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  193. 135 .file 6 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  194. 136 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h"
  195. ARM GAS /tmp/ccMmnnvT.s page 5
  196. DEFINED SYMBOLS
  197. *ABS*:0000000000000000 gpio.c
  198. /tmp/ccMmnnvT.s:18 .text.MX_GPIO_Init:0000000000000000 $t
  199. /tmp/ccMmnnvT.s:25 .text.MX_GPIO_Init:0000000000000000 MX_GPIO_Init
  200. /tmp/ccMmnnvT.s:124 .text.MX_GPIO_Init:000000000000008c $d
  201. .debug_frame:0000000000000010 $d
  202. UNDEFINED SYMBOLS
  203. HAL_GPIO_WritePin
  204. HAL_GPIO_Init