usbd_ioreq.lst 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. ARM GAS /tmp/ccNC6Sc6.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  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 "usbd_ioreq.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.USBD_CtlSendData,"ax",%progbits
  19. 18 .align 1
  20. 19 .global USBD_CtlSendData
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 USBD_CtlSendData:
  25. 25 .LVL0:
  26. 26 .LFB655:
  27. 27 .file 1 "Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c"
  28. 1:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  29. 2:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** ******************************************************************************
  30. 3:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @file usbd_ioreq.c
  31. 4:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @author MCD Application Team
  32. 5:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief This file provides the IO requests APIs for control endpoints.
  33. 6:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** ******************************************************************************
  34. 7:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @attention
  35. 8:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** *
  36. 9:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  37. 10:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * All rights reserved.</center></h2>
  38. 11:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** *
  39. 12:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * This software component is licensed by ST under Ultimate Liberty license
  40. 13:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * SLA0044, the "License"; You may not use this file except in compliance with
  41. 14:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * the License. You may obtain a copy of the License at:
  42. 15:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * www.st.com/SLA0044
  43. 16:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** *
  44. 17:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** ******************************************************************************
  45. 18:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  46. 19:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  47. 20:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Includes ------------------------------------------------------------------*/
  48. 21:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** #include "usbd_ioreq.h"
  49. 22:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  50. 23:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @addtogroup STM32_USB_DEVICE_LIBRARY
  51. 24:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  52. 25:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  53. 26:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  54. 27:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  55. 28:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ
  56. 29:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief control I/O requests module
  57. 30:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  58. 31:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  59. ARM GAS /tmp/ccNC6Sc6.s page 2
  60. 32:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  61. 33:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ_Private_TypesDefinitions
  62. 34:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  63. 35:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  64. 36:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  65. 37:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @}
  66. 38:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  67. 39:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  68. 40:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  69. 41:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ_Private_Defines
  70. 42:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  71. 43:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  72. 44:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  73. 45:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  74. 46:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @}
  75. 47:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  76. 48:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  77. 49:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  78. 50:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ_Private_Macros
  79. 51:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  80. 52:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  81. 53:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  82. 54:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @}
  83. 55:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  84. 56:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  85. 57:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  86. 58:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ_Private_Variables
  87. 59:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  88. 60:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  89. 61:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  90. 62:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  91. 63:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @}
  92. 64:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  93. 65:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  94. 66:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  95. 67:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ_Private_FunctionPrototypes
  96. 68:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  97. 69:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  98. 70:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  99. 71:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @}
  100. 72:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  101. 73:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  102. 74:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  103. 75:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /** @defgroup USBD_IOREQ_Private_Functions
  104. 76:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @{
  105. 77:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  106. 78:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  107. 79:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  108. 80:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_CtlSendData
  109. 81:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * send data on the ctl pipe
  110. 82:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  111. 83:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param buff: pointer to data buffer
  112. 84:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param len: length of data to be sent
  113. 85:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval status
  114. 86:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  115. 87:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_StatusTypeDef USBD_CtlSendData(USBD_HandleTypeDef *pdev,
  116. 88:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** uint8_t *pbuf, uint16_t len)
  117. ARM GAS /tmp/ccNC6Sc6.s page 3
  118. 89:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  119. 28 .loc 1 89 1 view -0
  120. 29 .cfi_startproc
  121. 30 @ args = 0, pretend = 0, frame = 0
  122. 31 @ frame_needed = 0, uses_anonymous_args = 0
  123. 32 .loc 1 89 1 is_stmt 0 view .LVU1
  124. 33 0000 08B5 push {r3, lr}
  125. 34 .LCFI0:
  126. 35 .cfi_def_cfa_offset 8
  127. 36 .cfi_offset 3, -8
  128. 37 .cfi_offset 14, -4
  129. 38 0002 1346 mov r3, r2
  130. 90:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Set EP0 State */
  131. 91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep0_state = USBD_EP0_DATA_IN;
  132. 39 .loc 1 91 3 is_stmt 1 view .LVU2
  133. 40 .loc 1 91 19 is_stmt 0 view .LVU3
  134. 41 0004 0222 movs r2, #2
  135. 42 .LVL1:
  136. 43 .loc 1 91 19 view .LVU4
  137. 44 0006 C0F89422 str r2, [r0, #660]
  138. 92:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep_in[0].total_length = len;
  139. 45 .loc 1 92 3 is_stmt 1 view .LVU5
  140. 46 .loc 1 92 31 is_stmt 0 view .LVU6
  141. 47 000a C361 str r3, [r0, #28]
  142. 93:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep_in[0].rem_length = len;
  143. 48 .loc 1 93 3 is_stmt 1 view .LVU7
  144. 49 .loc 1 93 31 is_stmt 0 view .LVU8
  145. 50 000c 0362 str r3, [r0, #32]
  146. 94:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  147. 95:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Start the transfer */
  148. 96:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_LL_Transmit(pdev, 0x00U, pbuf, len);
  149. 51 .loc 1 96 3 is_stmt 1 view .LVU9
  150. 52 000e 0A46 mov r2, r1
  151. 53 0010 0021 movs r1, #0
  152. 54 .LVL2:
  153. 55 .loc 1 96 3 is_stmt 0 view .LVU10
  154. 56 0012 FFF7FEFF bl USBD_LL_Transmit
  155. 57 .LVL3:
  156. 97:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  157. 98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_OK;
  158. 58 .loc 1 98 3 is_stmt 1 view .LVU11
  159. 99:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  160. 59 .loc 1 99 1 is_stmt 0 view .LVU12
  161. 60 0016 0020 movs r0, #0
  162. 61 0018 08BD pop {r3, pc}
  163. 62 .cfi_endproc
  164. 63 .LFE655:
  165. 65 .section .text.USBD_CtlContinueSendData,"ax",%progbits
  166. 66 .align 1
  167. 67 .global USBD_CtlContinueSendData
  168. 68 .syntax unified
  169. 69 .thumb
  170. 70 .thumb_func
  171. 72 USBD_CtlContinueSendData:
  172. 73 .LVL4:
  173. 74 .LFB656:
  174. 100:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  175. ARM GAS /tmp/ccNC6Sc6.s page 4
  176. 101:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  177. 102:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_CtlContinueSendData
  178. 103:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * continue sending data on the ctl pipe
  179. 104:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  180. 105:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param buff: pointer to data buffer
  181. 106:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param len: length of data to be sent
  182. 107:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval status
  183. 108:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  184. 109:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_StatusTypeDef USBD_CtlContinueSendData(USBD_HandleTypeDef *pdev,
  185. 110:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** uint8_t *pbuf, uint16_t len)
  186. 111:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  187. 75 .loc 1 111 1 is_stmt 1 view -0
  188. 76 .cfi_startproc
  189. 77 @ args = 0, pretend = 0, frame = 0
  190. 78 @ frame_needed = 0, uses_anonymous_args = 0
  191. 79 .loc 1 111 1 is_stmt 0 view .LVU14
  192. 80 0000 08B5 push {r3, lr}
  193. 81 .LCFI1:
  194. 82 .cfi_def_cfa_offset 8
  195. 83 .cfi_offset 3, -8
  196. 84 .cfi_offset 14, -4
  197. 85 0002 1346 mov r3, r2
  198. 112:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Start the next transfer */
  199. 113:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_LL_Transmit(pdev, 0x00U, pbuf, len);
  200. 86 .loc 1 113 3 is_stmt 1 view .LVU15
  201. 87 0004 0A46 mov r2, r1
  202. 88 .LVL5:
  203. 89 .loc 1 113 3 is_stmt 0 view .LVU16
  204. 90 0006 0021 movs r1, #0
  205. 91 .LVL6:
  206. 92 .loc 1 113 3 view .LVU17
  207. 93 0008 FFF7FEFF bl USBD_LL_Transmit
  208. 94 .LVL7:
  209. 114:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  210. 115:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_OK;
  211. 95 .loc 1 115 3 is_stmt 1 view .LVU18
  212. 116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  213. 96 .loc 1 116 1 is_stmt 0 view .LVU19
  214. 97 000c 0020 movs r0, #0
  215. 98 000e 08BD pop {r3, pc}
  216. 99 .cfi_endproc
  217. 100 .LFE656:
  218. 102 .section .text.USBD_CtlPrepareRx,"ax",%progbits
  219. 103 .align 1
  220. 104 .global USBD_CtlPrepareRx
  221. 105 .syntax unified
  222. 106 .thumb
  223. 107 .thumb_func
  224. 109 USBD_CtlPrepareRx:
  225. 110 .LVL8:
  226. 111 .LFB657:
  227. 117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  228. 118:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  229. 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_CtlPrepareRx
  230. 120:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * receive data on the ctl pipe
  231. 121:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  232. 122:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param buff: pointer to data buffer
  233. ARM GAS /tmp/ccNC6Sc6.s page 5
  234. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param len: length of data to be received
  235. 124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval status
  236. 125:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  237. 126:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_StatusTypeDef USBD_CtlPrepareRx(USBD_HandleTypeDef *pdev,
  238. 127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** uint8_t *pbuf, uint16_t len)
  239. 128:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  240. 112 .loc 1 128 1 is_stmt 1 view -0
  241. 113 .cfi_startproc
  242. 114 @ args = 0, pretend = 0, frame = 0
  243. 115 @ frame_needed = 0, uses_anonymous_args = 0
  244. 116 .loc 1 128 1 is_stmt 0 view .LVU21
  245. 117 0000 08B5 push {r3, lr}
  246. 118 .LCFI2:
  247. 119 .cfi_def_cfa_offset 8
  248. 120 .cfi_offset 3, -8
  249. 121 .cfi_offset 14, -4
  250. 122 0002 1346 mov r3, r2
  251. 129:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Set EP0 State */
  252. 130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep0_state = USBD_EP0_DATA_OUT;
  253. 123 .loc 1 130 3 is_stmt 1 view .LVU22
  254. 124 .loc 1 130 19 is_stmt 0 view .LVU23
  255. 125 0004 0322 movs r2, #3
  256. 126 .LVL9:
  257. 127 .loc 1 130 19 view .LVU24
  258. 128 0006 C0F89422 str r2, [r0, #660]
  259. 131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep_out[0].total_length = len;
  260. 129 .loc 1 131 3 is_stmt 1 view .LVU25
  261. 130 .loc 1 131 32 is_stmt 0 view .LVU26
  262. 131 000a C0F85C31 str r3, [r0, #348]
  263. 132:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep_out[0].rem_length = len;
  264. 132 .loc 1 132 3 is_stmt 1 view .LVU27
  265. 133 .loc 1 132 32 is_stmt 0 view .LVU28
  266. 134 000e C0F86031 str r3, [r0, #352]
  267. 133:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  268. 134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Start the transfer */
  269. 135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_LL_PrepareReceive(pdev, 0U, pbuf, len);
  270. 135 .loc 1 135 3 is_stmt 1 view .LVU29
  271. 136 0012 0A46 mov r2, r1
  272. 137 0014 0021 movs r1, #0
  273. 138 .LVL10:
  274. 139 .loc 1 135 3 is_stmt 0 view .LVU30
  275. 140 0016 FFF7FEFF bl USBD_LL_PrepareReceive
  276. 141 .LVL11:
  277. 136:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  278. 137:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_OK;
  279. 142 .loc 1 137 3 is_stmt 1 view .LVU31
  280. 138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  281. 143 .loc 1 138 1 is_stmt 0 view .LVU32
  282. 144 001a 0020 movs r0, #0
  283. 145 001c 08BD pop {r3, pc}
  284. 146 .cfi_endproc
  285. 147 .LFE657:
  286. 149 .section .text.USBD_CtlContinueRx,"ax",%progbits
  287. 150 .align 1
  288. 151 .global USBD_CtlContinueRx
  289. 152 .syntax unified
  290. 153 .thumb
  291. ARM GAS /tmp/ccNC6Sc6.s page 6
  292. 154 .thumb_func
  293. 156 USBD_CtlContinueRx:
  294. 157 .LVL12:
  295. 158 .LFB658:
  296. 139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  297. 140:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  298. 141:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_CtlContinueRx
  299. 142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * continue receive data on the ctl pipe
  300. 143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  301. 144:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param buff: pointer to data buffer
  302. 145:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param len: length of data to be received
  303. 146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval status
  304. 147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  305. 148:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_StatusTypeDef USBD_CtlContinueRx(USBD_HandleTypeDef *pdev,
  306. 149:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** uint8_t *pbuf, uint16_t len)
  307. 150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  308. 159 .loc 1 150 1 is_stmt 1 view -0
  309. 160 .cfi_startproc
  310. 161 @ args = 0, pretend = 0, frame = 0
  311. 162 @ frame_needed = 0, uses_anonymous_args = 0
  312. 163 .loc 1 150 1 is_stmt 0 view .LVU34
  313. 164 0000 08B5 push {r3, lr}
  314. 165 .LCFI3:
  315. 166 .cfi_def_cfa_offset 8
  316. 167 .cfi_offset 3, -8
  317. 168 .cfi_offset 14, -4
  318. 169 0002 1346 mov r3, r2
  319. 151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_LL_PrepareReceive(pdev, 0U, pbuf, len);
  320. 170 .loc 1 151 3 is_stmt 1 view .LVU35
  321. 171 0004 0A46 mov r2, r1
  322. 172 .LVL13:
  323. 173 .loc 1 151 3 is_stmt 0 view .LVU36
  324. 174 0006 0021 movs r1, #0
  325. 175 .LVL14:
  326. 176 .loc 1 151 3 view .LVU37
  327. 177 0008 FFF7FEFF bl USBD_LL_PrepareReceive
  328. 178 .LVL15:
  329. 152:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  330. 153:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_OK;
  331. 179 .loc 1 153 3 is_stmt 1 view .LVU38
  332. 154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  333. 180 .loc 1 154 1 is_stmt 0 view .LVU39
  334. 181 000c 0020 movs r0, #0
  335. 182 000e 08BD pop {r3, pc}
  336. 183 .cfi_endproc
  337. 184 .LFE658:
  338. 186 .section .text.USBD_CtlSendStatus,"ax",%progbits
  339. 187 .align 1
  340. 188 .global USBD_CtlSendStatus
  341. 189 .syntax unified
  342. 190 .thumb
  343. 191 .thumb_func
  344. 193 USBD_CtlSendStatus:
  345. 194 .LVL16:
  346. 195 .LFB659:
  347. 155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  348. 156:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  349. ARM GAS /tmp/ccNC6Sc6.s page 7
  350. 157:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_CtlSendStatus
  351. 158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * send zero lzngth packet on the ctl pipe
  352. 159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  353. 160:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval status
  354. 161:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  355. 162:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_StatusTypeDef USBD_CtlSendStatus(USBD_HandleTypeDef *pdev)
  356. 163:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  357. 196 .loc 1 163 1 is_stmt 1 view -0
  358. 197 .cfi_startproc
  359. 198 @ args = 0, pretend = 0, frame = 0
  360. 199 @ frame_needed = 0, uses_anonymous_args = 0
  361. 200 .loc 1 163 1 is_stmt 0 view .LVU41
  362. 201 0000 08B5 push {r3, lr}
  363. 202 .LCFI4:
  364. 203 .cfi_def_cfa_offset 8
  365. 204 .cfi_offset 3, -8
  366. 205 .cfi_offset 14, -4
  367. 164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Set EP0 State */
  368. 165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep0_state = USBD_EP0_STATUS_IN;
  369. 206 .loc 1 165 3 is_stmt 1 view .LVU42
  370. 207 .loc 1 165 19 is_stmt 0 view .LVU43
  371. 208 0002 0423 movs r3, #4
  372. 209 0004 C0F89432 str r3, [r0, #660]
  373. 166:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  374. 167:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Start the transfer */
  375. 168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_LL_Transmit(pdev, 0x00U, NULL, 0U);
  376. 210 .loc 1 168 3 is_stmt 1 view .LVU44
  377. 211 0008 0023 movs r3, #0
  378. 212 000a 1A46 mov r2, r3
  379. 213 000c 1946 mov r1, r3
  380. 214 000e FFF7FEFF bl USBD_LL_Transmit
  381. 215 .LVL17:
  382. 169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  383. 170:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_OK;
  384. 216 .loc 1 170 3 view .LVU45
  385. 171:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  386. 217 .loc 1 171 1 is_stmt 0 view .LVU46
  387. 218 0012 0020 movs r0, #0
  388. 219 0014 08BD pop {r3, pc}
  389. 220 .cfi_endproc
  390. 221 .LFE659:
  391. 223 .section .text.USBD_CtlReceiveStatus,"ax",%progbits
  392. 224 .align 1
  393. 225 .global USBD_CtlReceiveStatus
  394. 226 .syntax unified
  395. 227 .thumb
  396. 228 .thumb_func
  397. 230 USBD_CtlReceiveStatus:
  398. 231 .LVL18:
  399. 232 .LFB660:
  400. 172:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  401. 173:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  402. 174:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_CtlReceiveStatus
  403. 175:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * receive zero lzngth packet on the ctl pipe
  404. 176:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  405. 177:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval status
  406. 178:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  407. ARM GAS /tmp/ccNC6Sc6.s page 8
  408. 179:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_StatusTypeDef USBD_CtlReceiveStatus(USBD_HandleTypeDef *pdev)
  409. 180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  410. 233 .loc 1 180 1 is_stmt 1 view -0
  411. 234 .cfi_startproc
  412. 235 @ args = 0, pretend = 0, frame = 0
  413. 236 @ frame_needed = 0, uses_anonymous_args = 0
  414. 237 .loc 1 180 1 is_stmt 0 view .LVU48
  415. 238 0000 08B5 push {r3, lr}
  416. 239 .LCFI5:
  417. 240 .cfi_def_cfa_offset 8
  418. 241 .cfi_offset 3, -8
  419. 242 .cfi_offset 14, -4
  420. 181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Set EP0 State */
  421. 182:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** pdev->ep0_state = USBD_EP0_STATUS_OUT;
  422. 243 .loc 1 182 3 is_stmt 1 view .LVU49
  423. 244 .loc 1 182 19 is_stmt 0 view .LVU50
  424. 245 0002 0523 movs r3, #5
  425. 246 0004 C0F89432 str r3, [r0, #660]
  426. 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  427. 184:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /* Start the transfer */
  428. 185:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U);
  429. 247 .loc 1 185 3 is_stmt 1 view .LVU51
  430. 248 0008 0023 movs r3, #0
  431. 249 000a 1A46 mov r2, r3
  432. 250 000c 1946 mov r1, r3
  433. 251 000e FFF7FEFF bl USBD_LL_PrepareReceive
  434. 252 .LVL19:
  435. 186:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  436. 187:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_OK;
  437. 253 .loc 1 187 3 view .LVU52
  438. 188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  439. 254 .loc 1 188 1 is_stmt 0 view .LVU53
  440. 255 0012 0020 movs r0, #0
  441. 256 0014 08BD pop {r3, pc}
  442. 257 .cfi_endproc
  443. 258 .LFE660:
  444. 260 .section .text.USBD_GetRxCount,"ax",%progbits
  445. 261 .align 1
  446. 262 .global USBD_GetRxCount
  447. 263 .syntax unified
  448. 264 .thumb
  449. 265 .thumb_func
  450. 267 USBD_GetRxCount:
  451. 268 .LVL20:
  452. 269 .LFB661:
  453. 189:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c ****
  454. 190:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** /**
  455. 191:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @brief USBD_GetRxCount
  456. 192:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * returns the received data length
  457. 193:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param pdev: device instance
  458. 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @param ep_addr: endpoint address
  459. 195:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** * @retval Rx Data blength
  460. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** */
  461. 197:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** uint32_t USBD_GetRxCount(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  462. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** {
  463. 270 .loc 1 198 1 is_stmt 1 view -0
  464. 271 .cfi_startproc
  465. ARM GAS /tmp/ccNC6Sc6.s page 9
  466. 272 @ args = 0, pretend = 0, frame = 0
  467. 273 @ frame_needed = 0, uses_anonymous_args = 0
  468. 274 .loc 1 198 1 is_stmt 0 view .LVU55
  469. 275 0000 08B5 push {r3, lr}
  470. 276 .LCFI6:
  471. 277 .cfi_def_cfa_offset 8
  472. 278 .cfi_offset 3, -8
  473. 279 .cfi_offset 14, -4
  474. 199:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** return USBD_LL_GetRxDataSize(pdev, ep_addr);
  475. 280 .loc 1 199 3 is_stmt 1 view .LVU56
  476. 281 .loc 1 199 10 is_stmt 0 view .LVU57
  477. 282 0002 FFF7FEFF bl USBD_LL_GetRxDataSize
  478. 283 .LVL21:
  479. 200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c **** }
  480. 284 .loc 1 200 1 view .LVU58
  481. 285 0006 08BD pop {r3, pc}
  482. 286 .cfi_endproc
  483. 287 .LFE661:
  484. 289 .text
  485. 290 .Letext0:
  486. 291 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  487. 292 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  488. 293 .file 4 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h"
  489. 294 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h"
  490. 295 .file 6 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
  491. 296 .file 7 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
  492. ARM GAS /tmp/ccNC6Sc6.s page 10
  493. DEFINED SYMBOLS
  494. *ABS*:0000000000000000 usbd_ioreq.c
  495. /tmp/ccNC6Sc6.s:18 .text.USBD_CtlSendData:0000000000000000 $t
  496. /tmp/ccNC6Sc6.s:24 .text.USBD_CtlSendData:0000000000000000 USBD_CtlSendData
  497. /tmp/ccNC6Sc6.s:66 .text.USBD_CtlContinueSendData:0000000000000000 $t
  498. /tmp/ccNC6Sc6.s:72 .text.USBD_CtlContinueSendData:0000000000000000 USBD_CtlContinueSendData
  499. /tmp/ccNC6Sc6.s:103 .text.USBD_CtlPrepareRx:0000000000000000 $t
  500. /tmp/ccNC6Sc6.s:109 .text.USBD_CtlPrepareRx:0000000000000000 USBD_CtlPrepareRx
  501. /tmp/ccNC6Sc6.s:150 .text.USBD_CtlContinueRx:0000000000000000 $t
  502. /tmp/ccNC6Sc6.s:156 .text.USBD_CtlContinueRx:0000000000000000 USBD_CtlContinueRx
  503. /tmp/ccNC6Sc6.s:187 .text.USBD_CtlSendStatus:0000000000000000 $t
  504. /tmp/ccNC6Sc6.s:193 .text.USBD_CtlSendStatus:0000000000000000 USBD_CtlSendStatus
  505. /tmp/ccNC6Sc6.s:224 .text.USBD_CtlReceiveStatus:0000000000000000 $t
  506. /tmp/ccNC6Sc6.s:230 .text.USBD_CtlReceiveStatus:0000000000000000 USBD_CtlReceiveStatus
  507. /tmp/ccNC6Sc6.s:261 .text.USBD_GetRxCount:0000000000000000 $t
  508. /tmp/ccNC6Sc6.s:267 .text.USBD_GetRxCount:0000000000000000 USBD_GetRxCount
  509. UNDEFINED SYMBOLS
  510. USBD_LL_Transmit
  511. USBD_LL_PrepareReceive
  512. USBD_LL_GetRxDataSize