usbd_core.lst 114 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023
  1. ARM GAS /tmp/cc7t8dPw.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_core.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.USBD_Init,"ax",%progbits
  19. 18 .align 1
  20. 19 .global USBD_Init
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 USBD_Init:
  25. 25 .LVL0:
  26. 26 .LFB655:
  27. 27 .file 1 "Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c"
  28. 1:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  29. 2:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** ******************************************************************************
  30. 3:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @file usbd_core.c
  31. 4:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @author MCD Application Team
  32. 5:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief This file provides all the USBD core functions.
  33. 6:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** ******************************************************************************
  34. 7:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @attention
  35. 8:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *
  36. 9:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  37. 10:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * All rights reserved.</center></h2>
  38. 11:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *
  39. 12:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * This software component is licensed by ST under Ultimate Liberty license
  40. 13:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.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_core.c **** * the License. You may obtain a copy of the License at:
  42. 15:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * www.st.com/SLA0044
  43. 16:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *
  44. 17:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** ******************************************************************************
  45. 18:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  46. 19:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  47. 20:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Includes ------------------------------------------------------------------*/
  48. 21:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #include "usbd_core.h"
  49. 22:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  50. 23:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @addtogroup STM32_USBD_DEVICE_LIBRARY
  51. 24:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  52. 25:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  53. 26:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  54. 27:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  55. 28:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE
  56. 29:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief usbd core module
  57. 30:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  58. 31:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  59. ARM GAS /tmp/cc7t8dPw.s page 2
  60. 32:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  61. 33:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_TypesDefinitions
  62. 34:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  63. 35:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  64. 36:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  65. 37:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  66. 38:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
  67. 39:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  68. 40:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  69. 41:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  70. 42:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Defines
  71. 43:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  72. 44:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  73. 45:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  74. 46:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  75. 47:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
  76. 48:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  77. 49:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  78. 50:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  79. 51:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Macros
  80. 52:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  81. 53:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  82. 54:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  83. 55:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  84. 56:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
  85. 57:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  86. 58:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  87. 59:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  88. 60:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_FunctionPrototypes
  89. 61:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  90. 62:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  91. 63:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  92. 64:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  93. 65:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
  94. 66:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  95. 67:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  96. 68:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Variables
  97. 69:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  98. 70:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  99. 71:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  100. 72:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  101. 73:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
  102. 74:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  103. 75:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  104. 76:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  105. 77:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Functions
  106. 78:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
  107. 79:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  108. 80:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  109. 81:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  110. 82:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_Init
  111. 83:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Initializes the device stack and load the class driver
  112. 84:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  113. 85:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdesc: Descriptor structure address
  114. 86:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param id: Low level core index
  115. 87:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval None
  116. 88:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  117. ARM GAS /tmp/cc7t8dPw.s page 3
  118. 89:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev,
  119. 90:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_DescriptorsTypeDef *pdesc, uint8_t id)
  120. 91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  121. 28 .loc 1 91 1 view -0
  122. 29 .cfi_startproc
  123. 30 @ args = 0, pretend = 0, frame = 0
  124. 31 @ frame_needed = 0, uses_anonymous_args = 0
  125. 92:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Check whether the USB Host handle is valid */
  126. 93:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev == NULL)
  127. 32 .loc 1 93 3 view .LVU1
  128. 33 .loc 1 93 6 is_stmt 0 view .LVU2
  129. 34 0000 98B1 cbz r0, .L5
  130. 91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Check whether the USB Host handle is valid */
  131. 35 .loc 1 91 1 view .LVU3
  132. 36 0002 08B5 push {r3, lr}
  133. 37 .LCFI0:
  134. 38 .cfi_def_cfa_offset 8
  135. 39 .cfi_offset 3, -8
  136. 40 .cfi_offset 14, -4
  137. 41 0004 0346 mov r3, r0
  138. 94:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  139. 95:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #if (USBD_DEBUG_LEVEL > 1U)
  140. 96:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_ErrLog("Invalid Device handle");
  141. 97:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #endif
  142. 98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_FAIL;
  143. 99:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  144. 100:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  145. 101:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Unlink previous class*/
  146. 102:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->pClass != NULL)
  147. 42 .loc 1 102 3 is_stmt 1 view .LVU4
  148. 43 .loc 1 102 11 is_stmt 0 view .LVU5
  149. 44 0006 D0F8B402 ldr r0, [r0, #692]
  150. 45 .LVL1:
  151. 46 .loc 1 102 6 view .LVU6
  152. 47 000a 10B1 cbz r0, .L3
  153. 103:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  154. 104:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass = NULL;
  155. 48 .loc 1 104 5 is_stmt 1 view .LVU7
  156. 49 .loc 1 104 18 is_stmt 0 view .LVU8
  157. 50 000c 0020 movs r0, #0
  158. 51 000e C3F8B402 str r0, [r3, #692]
  159. 52 .L3:
  160. 105:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  161. 106:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  162. 107:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Assign USBD Descriptors */
  163. 108:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdesc != NULL)
  164. 53 .loc 1 108 3 is_stmt 1 view .LVU9
  165. 54 .loc 1 108 6 is_stmt 0 view .LVU10
  166. 55 0012 09B1 cbz r1, .L4
  167. 109:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  168. 110:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pDesc = pdesc;
  169. 56 .loc 1 110 5 is_stmt 1 view .LVU11
  170. 57 .loc 1 110 17 is_stmt 0 view .LVU12
  171. 58 0014 C3F8B012 str r1, [r3, #688]
  172. 59 .L4:
  173. 111:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  174. 112:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  175. ARM GAS /tmp/cc7t8dPw.s page 4
  176. 113:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Set Device initial State */
  177. 114:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_state = USBD_STATE_DEFAULT;
  178. 60 .loc 1 114 3 is_stmt 1 view .LVU13
  179. 61 .loc 1 114 19 is_stmt 0 view .LVU14
  180. 62 0018 0121 movs r1, #1
  181. 63 .LVL2:
  182. 64 .loc 1 114 19 view .LVU15
  183. 65 001a 83F89C12 strb r1, [r3, #668]
  184. 115:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->id = id;
  185. 66 .loc 1 115 3 is_stmt 1 view .LVU16
  186. 67 .loc 1 115 12 is_stmt 0 view .LVU17
  187. 68 001e 1A70 strb r2, [r3]
  188. 116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Initialize low level driver */
  189. 117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_Init(pdev);
  190. 69 .loc 1 117 3 is_stmt 1 view .LVU18
  191. 70 0020 1846 mov r0, r3
  192. 71 0022 FFF7FEFF bl USBD_LL_Init
  193. 72 .LVL3:
  194. 118:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  195. 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  196. 73 .loc 1 119 3 view .LVU19
  197. 74 .loc 1 119 10 is_stmt 0 view .LVU20
  198. 75 0026 0020 movs r0, #0
  199. 120:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  200. 76 .loc 1 120 1 view .LVU21
  201. 77 0028 08BD pop {r3, pc}
  202. 78 .LVL4:
  203. 79 .L5:
  204. 80 .LCFI1:
  205. 81 .cfi_def_cfa_offset 0
  206. 82 .cfi_restore 3
  207. 83 .cfi_restore 14
  208. 98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  209. 84 .loc 1 98 12 view .LVU22
  210. 85 002a 0220 movs r0, #2
  211. 86 .LVL5:
  212. 87 .loc 1 120 1 view .LVU23
  213. 88 002c 7047 bx lr
  214. 89 .cfi_endproc
  215. 90 .LFE655:
  216. 92 .section .text.USBD_DeInit,"ax",%progbits
  217. 93 .align 1
  218. 94 .global USBD_DeInit
  219. 95 .syntax unified
  220. 96 .thumb
  221. 97 .thumb_func
  222. 99 USBD_DeInit:
  223. 100 .LVL6:
  224. 101 .LFB656:
  225. 121:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  226. 122:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  227. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_DeInit
  228. 124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Re-Initialize th device library
  229. 125:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  230. 126:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status: status
  231. 127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  232. 128:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev)
  233. ARM GAS /tmp/cc7t8dPw.s page 5
  234. 129:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  235. 102 .loc 1 129 1 is_stmt 1 view -0
  236. 103 .cfi_startproc
  237. 104 @ args = 0, pretend = 0, frame = 0
  238. 105 @ frame_needed = 0, uses_anonymous_args = 0
  239. 106 .loc 1 129 1 is_stmt 0 view .LVU25
  240. 107 0000 10B5 push {r4, lr}
  241. 108 .LCFI2:
  242. 109 .cfi_def_cfa_offset 8
  243. 110 .cfi_offset 4, -8
  244. 111 .cfi_offset 14, -4
  245. 112 0002 0446 mov r4, r0
  246. 130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Set Default State */
  247. 131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_state = USBD_STATE_DEFAULT;
  248. 113 .loc 1 131 3 is_stmt 1 view .LVU26
  249. 114 .loc 1 131 19 is_stmt 0 view .LVU27
  250. 115 0004 0123 movs r3, #1
  251. 116 0006 80F89C32 strb r3, [r0, #668]
  252. 132:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  253. 133:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Free Class Resources */
  254. 134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
  255. 117 .loc 1 134 3 is_stmt 1 view .LVU28
  256. 118 .loc 1 134 7 is_stmt 0 view .LVU29
  257. 119 000a D0F8B432 ldr r3, [r0, #692]
  258. 120 .loc 1 134 15 view .LVU30
  259. 121 000e 5B68 ldr r3, [r3, #4]
  260. 122 .loc 1 134 3 view .LVU31
  261. 123 0010 0179 ldrb r1, [r0, #4] @ zero_extendqisi2
  262. 124 0012 9847 blx r3
  263. 125 .LVL7:
  264. 135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  265. 136:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Stop the low level driver */
  266. 137:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_Stop(pdev);
  267. 126 .loc 1 137 3 is_stmt 1 view .LVU32
  268. 127 0014 2046 mov r0, r4
  269. 128 0016 FFF7FEFF bl USBD_LL_Stop
  270. 129 .LVL8:
  271. 138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  272. 139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Initialize low level driver */
  273. 140:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_DeInit(pdev);
  274. 130 .loc 1 140 3 view .LVU33
  275. 131 001a 2046 mov r0, r4
  276. 132 001c FFF7FEFF bl USBD_LL_DeInit
  277. 133 .LVL9:
  278. 141:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  279. 142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  280. 134 .loc 1 142 3 view .LVU34
  281. 143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  282. 135 .loc 1 143 1 is_stmt 0 view .LVU35
  283. 136 0020 0020 movs r0, #0
  284. 137 0022 10BD pop {r4, pc}
  285. 138 .loc 1 143 1 view .LVU36
  286. 139 .cfi_endproc
  287. 140 .LFE656:
  288. 142 .section .text.USBD_RegisterClass,"ax",%progbits
  289. 143 .align 1
  290. 144 .global USBD_RegisterClass
  291. ARM GAS /tmp/cc7t8dPw.s page 6
  292. 145 .syntax unified
  293. 146 .thumb
  294. 147 .thumb_func
  295. 149 USBD_RegisterClass:
  296. 150 .LVL10:
  297. 151 .LFB657:
  298. 144:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  299. 145:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  300. 146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_RegisterClass
  301. 147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Link class driver to Device Core.
  302. 148:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pDevice : Device Handle
  303. 149:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pclass: Class handle
  304. 150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval USBD Status
  305. 151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  306. 152:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass)
  307. 153:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  308. 152 .loc 1 153 1 is_stmt 1 view -0
  309. 153 .cfi_startproc
  310. 154 @ args = 0, pretend = 0, frame = 0
  311. 155 @ frame_needed = 0, uses_anonymous_args = 0
  312. 156 @ link register save eliminated.
  313. 154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef status = USBD_OK;
  314. 157 .loc 1 154 3 view .LVU38
  315. 155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pclass != NULL)
  316. 158 .loc 1 155 3 view .LVU39
  317. 159 .loc 1 155 6 is_stmt 0 view .LVU40
  318. 160 0000 19B1 cbz r1, .L14
  319. 156:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  320. 157:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* link the class to the USB Device handle */
  321. 158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass = pclass;
  322. 161 .loc 1 158 5 is_stmt 1 view .LVU41
  323. 162 .loc 1 158 18 is_stmt 0 view .LVU42
  324. 163 0002 C0F8B412 str r1, [r0, #692]
  325. 159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** status = USBD_OK;
  326. 164 .loc 1 159 5 is_stmt 1 view .LVU43
  327. 165 .loc 1 159 12 is_stmt 0 view .LVU44
  328. 166 0006 0020 movs r0, #0
  329. 167 .LVL11:
  330. 168 .loc 1 159 12 view .LVU45
  331. 169 0008 7047 bx lr
  332. 170 .LVL12:
  333. 171 .L14:
  334. 160:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  335. 161:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  336. 162:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  337. 163:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #if (USBD_DEBUG_LEVEL > 1U)
  338. 164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_ErrLog("Invalid Class handle");
  339. 165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #endif
  340. 166:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** status = USBD_FAIL;
  341. 172 .loc 1 166 12 view .LVU46
  342. 173 000a 0220 movs r0, #2
  343. 174 .LVL13:
  344. 167:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  345. 168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  346. 169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return status;
  347. 175 .loc 1 169 3 is_stmt 1 view .LVU47
  348. 170:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  349. ARM GAS /tmp/cc7t8dPw.s page 7
  350. 176 .loc 1 170 1 is_stmt 0 view .LVU48
  351. 177 000c 7047 bx lr
  352. 178 .cfi_endproc
  353. 179 .LFE657:
  354. 181 .section .text.USBD_Start,"ax",%progbits
  355. 182 .align 1
  356. 183 .global USBD_Start
  357. 184 .syntax unified
  358. 185 .thumb
  359. 186 .thumb_func
  360. 188 USBD_Start:
  361. 189 .LVL14:
  362. 190 .LFB658:
  363. 171:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  364. 172:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  365. 173:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_Start
  366. 174:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Start the USB Device Core.
  367. 175:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: Device Handle
  368. 176:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval USBD Status
  369. 177:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  370. 178:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_Start(USBD_HandleTypeDef *pdev)
  371. 179:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  372. 191 .loc 1 179 1 is_stmt 1 view -0
  373. 192 .cfi_startproc
  374. 193 @ args = 0, pretend = 0, frame = 0
  375. 194 @ frame_needed = 0, uses_anonymous_args = 0
  376. 195 .loc 1 179 1 is_stmt 0 view .LVU50
  377. 196 0000 08B5 push {r3, lr}
  378. 197 .LCFI3:
  379. 198 .cfi_def_cfa_offset 8
  380. 199 .cfi_offset 3, -8
  381. 200 .cfi_offset 14, -4
  382. 180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Start the low level driver */
  383. 181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_Start(pdev);
  384. 201 .loc 1 181 3 is_stmt 1 view .LVU51
  385. 202 0002 FFF7FEFF bl USBD_LL_Start
  386. 203 .LVL15:
  387. 182:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  388. 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  389. 204 .loc 1 183 3 view .LVU52
  390. 184:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  391. 205 .loc 1 184 1 is_stmt 0 view .LVU53
  392. 206 0006 0020 movs r0, #0
  393. 207 0008 08BD pop {r3, pc}
  394. 208 .cfi_endproc
  395. 209 .LFE658:
  396. 211 .section .text.USBD_Stop,"ax",%progbits
  397. 212 .align 1
  398. 213 .global USBD_Stop
  399. 214 .syntax unified
  400. 215 .thumb
  401. 216 .thumb_func
  402. 218 USBD_Stop:
  403. 219 .LVL16:
  404. 220 .LFB659:
  405. 185:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  406. 186:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  407. ARM GAS /tmp/cc7t8dPw.s page 8
  408. 187:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_Stop
  409. 188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Stop the USB Device Core.
  410. 189:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: Device Handle
  411. 190:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval USBD Status
  412. 191:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  413. 192:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_Stop(USBD_HandleTypeDef *pdev)
  414. 193:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  415. 221 .loc 1 193 1 is_stmt 1 view -0
  416. 222 .cfi_startproc
  417. 223 @ args = 0, pretend = 0, frame = 0
  418. 224 @ frame_needed = 0, uses_anonymous_args = 0
  419. 225 .loc 1 193 1 is_stmt 0 view .LVU55
  420. 226 0000 10B5 push {r4, lr}
  421. 227 .LCFI4:
  422. 228 .cfi_def_cfa_offset 8
  423. 229 .cfi_offset 4, -8
  424. 230 .cfi_offset 14, -4
  425. 231 0002 0446 mov r4, r0
  426. 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Free Class Resources */
  427. 195:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
  428. 232 .loc 1 195 3 is_stmt 1 view .LVU56
  429. 233 .loc 1 195 7 is_stmt 0 view .LVU57
  430. 234 0004 D0F8B432 ldr r3, [r0, #692]
  431. 235 .loc 1 195 15 view .LVU58
  432. 236 0008 5B68 ldr r3, [r3, #4]
  433. 237 .loc 1 195 3 view .LVU59
  434. 238 000a 0179 ldrb r1, [r0, #4] @ zero_extendqisi2
  435. 239 000c 9847 blx r3
  436. 240 .LVL17:
  437. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  438. 197:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Stop the low level driver */
  439. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_Stop(pdev);
  440. 241 .loc 1 198 3 is_stmt 1 view .LVU60
  441. 242 000e 2046 mov r0, r4
  442. 243 0010 FFF7FEFF bl USBD_LL_Stop
  443. 244 .LVL18:
  444. 199:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  445. 200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  446. 245 .loc 1 200 3 view .LVU61
  447. 201:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  448. 246 .loc 1 201 1 is_stmt 0 view .LVU62
  449. 247 0014 0020 movs r0, #0
  450. 248 0016 10BD pop {r4, pc}
  451. 249 .loc 1 201 1 view .LVU63
  452. 250 .cfi_endproc
  453. 251 .LFE659:
  454. 253 .section .text.USBD_RunTestMode,"ax",%progbits
  455. 254 .align 1
  456. 255 .global USBD_RunTestMode
  457. 256 .syntax unified
  458. 257 .thumb
  459. 258 .thumb_func
  460. 260 USBD_RunTestMode:
  461. 261 .LVL19:
  462. 262 .LFB660:
  463. 202:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  464. 203:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  465. ARM GAS /tmp/cc7t8dPw.s page 9
  466. 204:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_RunTestMode
  467. 205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Launch test mode process
  468. 206:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  469. 207:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  470. 208:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  471. 209:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_RunTestMode(USBD_HandleTypeDef *pdev)
  472. 210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  473. 263 .loc 1 210 1 is_stmt 1 view -0
  474. 264 .cfi_startproc
  475. 265 @ args = 0, pretend = 0, frame = 0
  476. 266 @ frame_needed = 0, uses_anonymous_args = 0
  477. 267 @ link register save eliminated.
  478. 211:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Prevent unused argument compilation warning */
  479. 212:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** UNUSED(pdev);
  480. 268 .loc 1 212 3 view .LVU65
  481. 213:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  482. 214:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  483. 269 .loc 1 214 3 view .LVU66
  484. 215:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  485. 270 .loc 1 215 1 is_stmt 0 view .LVU67
  486. 271 0000 0020 movs r0, #0
  487. 272 .LVL20:
  488. 273 .loc 1 215 1 view .LVU68
  489. 274 0002 7047 bx lr
  490. 275 .cfi_endproc
  491. 276 .LFE660:
  492. 278 .section .text.USBD_SetClassConfig,"ax",%progbits
  493. 279 .align 1
  494. 280 .global USBD_SetClassConfig
  495. 281 .syntax unified
  496. 282 .thumb
  497. 283 .thumb_func
  498. 285 USBD_SetClassConfig:
  499. 286 .LVL21:
  500. 287 .LFB661:
  501. 216:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  502. 217:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  503. 218:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_SetClassConfig
  504. 219:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Configure device and start the interface
  505. 220:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  506. 221:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param cfgidx: configuration index
  507. 222:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  508. 223:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  509. 224:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  510. 225:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx)
  511. 226:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  512. 288 .loc 1 226 1 is_stmt 1 view -0
  513. 289 .cfi_startproc
  514. 290 @ args = 0, pretend = 0, frame = 0
  515. 291 @ frame_needed = 0, uses_anonymous_args = 0
  516. 292 .loc 1 226 1 is_stmt 0 view .LVU70
  517. 293 0000 08B5 push {r3, lr}
  518. 294 .LCFI5:
  519. 295 .cfi_def_cfa_offset 8
  520. 296 .cfi_offset 3, -8
  521. 297 .cfi_offset 14, -4
  522. 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef ret = USBD_FAIL;
  523. ARM GAS /tmp/cc7t8dPw.s page 10
  524. 298 .loc 1 227 3 is_stmt 1 view .LVU71
  525. 299 .LVL22:
  526. 228:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  527. 229:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->pClass != NULL)
  528. 300 .loc 1 229 3 view .LVU72
  529. 301 .loc 1 229 11 is_stmt 0 view .LVU73
  530. 302 0002 D0F8B432 ldr r3, [r0, #692]
  531. 303 .loc 1 229 6 view .LVU74
  532. 304 0006 2BB1 cbz r3, .L22
  533. 230:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  534. 231:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Set configuration and Start the Class*/
  535. 232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->pClass->Init(pdev, cfgidx) == 0U)
  536. 305 .loc 1 232 5 is_stmt 1 view .LVU75
  537. 306 .loc 1 232 21 is_stmt 0 view .LVU76
  538. 307 0008 1B68 ldr r3, [r3]
  539. 308 .loc 1 232 9 view .LVU77
  540. 309 000a 9847 blx r3
  541. 310 .LVL23:
  542. 311 .loc 1 232 8 view .LVU78
  543. 312 000c 00B9 cbnz r0, .L24
  544. 313 .L21:
  545. 314 .LVL24:
  546. 233:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  547. 234:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** ret = USBD_OK;
  548. 235:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  549. 236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  550. 237:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  551. 238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return ret;
  552. 315 .loc 1 238 3 is_stmt 1 view .LVU79
  553. 239:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  554. 316 .loc 1 239 1 is_stmt 0 view .LVU80
  555. 317 000e 08BD pop {r3, pc}
  556. 318 .LVL25:
  557. 319 .L24:
  558. 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  559. 320 .loc 1 227 22 view .LVU81
  560. 321 0010 0220 movs r0, #2
  561. 322 0012 FCE7 b .L21
  562. 323 .LVL26:
  563. 324 .L22:
  564. 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  565. 325 .loc 1 227 22 view .LVU82
  566. 326 0014 0220 movs r0, #2
  567. 327 .LVL27:
  568. 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  569. 328 .loc 1 227 22 view .LVU83
  570. 329 0016 FAE7 b .L21
  571. 330 .cfi_endproc
  572. 331 .LFE661:
  573. 333 .section .text.USBD_ClrClassConfig,"ax",%progbits
  574. 334 .align 1
  575. 335 .global USBD_ClrClassConfig
  576. 336 .syntax unified
  577. 337 .thumb
  578. 338 .thumb_func
  579. 340 USBD_ClrClassConfig:
  580. 341 .LVL28:
  581. ARM GAS /tmp/cc7t8dPw.s page 11
  582. 342 .LFB662:
  583. 240:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  584. 241:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  585. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_ClrClassConfig
  586. 243:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Clear current configuration
  587. 244:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  588. 245:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param cfgidx: configuration index
  589. 246:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status: USBD_StatusTypeDef
  590. 247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  591. 248:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx)
  592. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  593. 343 .loc 1 249 1 is_stmt 1 view -0
  594. 344 .cfi_startproc
  595. 345 @ args = 0, pretend = 0, frame = 0
  596. 346 @ frame_needed = 0, uses_anonymous_args = 0
  597. 347 .loc 1 249 1 is_stmt 0 view .LVU85
  598. 348 0000 08B5 push {r3, lr}
  599. 349 .LCFI6:
  600. 350 .cfi_def_cfa_offset 8
  601. 351 .cfi_offset 3, -8
  602. 352 .cfi_offset 14, -4
  603. 250:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Clear configuration and De-initialize the Class process*/
  604. 251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DeInit(pdev, cfgidx);
  605. 353 .loc 1 251 3 is_stmt 1 view .LVU86
  606. 354 .loc 1 251 7 is_stmt 0 view .LVU87
  607. 355 0002 D0F8B432 ldr r3, [r0, #692]
  608. 356 .loc 1 251 15 view .LVU88
  609. 357 0006 5B68 ldr r3, [r3, #4]
  610. 358 .loc 1 251 3 view .LVU89
  611. 359 0008 9847 blx r3
  612. 360 .LVL29:
  613. 252:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  614. 253:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  615. 361 .loc 1 253 3 is_stmt 1 view .LVU90
  616. 254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  617. 362 .loc 1 254 1 is_stmt 0 view .LVU91
  618. 363 000a 0020 movs r0, #0
  619. 364 000c 08BD pop {r3, pc}
  620. 365 .cfi_endproc
  621. 366 .LFE662:
  622. 368 .section .text.USBD_LL_SetupStage,"ax",%progbits
  623. 369 .align 1
  624. 370 .global USBD_LL_SetupStage
  625. 371 .syntax unified
  626. 372 .thumb
  627. 373 .thumb_func
  628. 375 USBD_LL_SetupStage:
  629. 376 .LVL30:
  630. 377 .LFB663:
  631. 255:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  632. 256:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  633. 257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  634. 258:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_SetupStage
  635. 259:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle the setup stage
  636. 260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  637. 261:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  638. 262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  639. ARM GAS /tmp/cc7t8dPw.s page 12
  640. 263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_SetupStage(USBD_HandleTypeDef *pdev, uint8_t *psetup)
  641. 264:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  642. 378 .loc 1 264 1 is_stmt 1 view -0
  643. 379 .cfi_startproc
  644. 380 @ args = 0, pretend = 0, frame = 0
  645. 381 @ frame_needed = 0, uses_anonymous_args = 0
  646. 382 .loc 1 264 1 is_stmt 0 view .LVU93
  647. 383 0000 38B5 push {r3, r4, r5, lr}
  648. 384 .LCFI7:
  649. 385 .cfi_def_cfa_offset 16
  650. 386 .cfi_offset 3, -16
  651. 387 .cfi_offset 4, -12
  652. 388 .cfi_offset 5, -8
  653. 389 .cfi_offset 14, -4
  654. 390 0002 0446 mov r4, r0
  655. 265:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_ParseSetupRequest(&pdev->request, psetup);
  656. 391 .loc 1 265 3 is_stmt 1 view .LVU94
  657. 392 0004 00F52A75 add r5, r0, #680
  658. 393 0008 2846 mov r0, r5
  659. 394 .LVL31:
  660. 395 .loc 1 265 3 is_stmt 0 view .LVU95
  661. 396 000a FFF7FEFF bl USBD_ParseSetupRequest
  662. 397 .LVL32:
  663. 266:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  664. 267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep0_state = USBD_EP0_SETUP;
  665. 398 .loc 1 267 3 is_stmt 1 view .LVU96
  666. 399 .loc 1 267 19 is_stmt 0 view .LVU97
  667. 400 000e 0123 movs r3, #1
  668. 401 0010 C4F89432 str r3, [r4, #660]
  669. 268:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  670. 269:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep0_data_len = pdev->request.wLength;
  671. 402 .loc 1 269 3 is_stmt 1 view .LVU98
  672. 403 .loc 1 269 37 is_stmt 0 view .LVU99
  673. 404 0014 B4F8AE32 ldrh r3, [r4, #686]
  674. 405 .loc 1 269 22 view .LVU100
  675. 406 0018 C4F89832 str r3, [r4, #664]
  676. 270:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  677. 271:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** switch (pdev->request.bmRequest & 0x1FU)
  678. 407 .loc 1 271 3 is_stmt 1 view .LVU101
  679. 408 .loc 1 271 24 is_stmt 0 view .LVU102
  680. 409 001c 94F8A812 ldrb r1, [r4, #680] @ zero_extendqisi2
  681. 410 0020 01F01F03 and r3, r1, #31
  682. 411 .loc 1 271 3 view .LVU103
  683. 412 0024 012B cmp r3, #1
  684. 413 0026 0ED0 beq .L28
  685. 414 0028 022B cmp r3, #2
  686. 415 002a 11D0 beq .L29
  687. 416 002c 2BB1 cbz r3, .L33
  688. 272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  689. 273:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** case USB_REQ_RECIPIENT_DEVICE:
  690. 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StdDevReq(pdev, &pdev->request);
  691. 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  692. 276:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  693. 277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** case USB_REQ_RECIPIENT_INTERFACE:
  694. 278:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StdItfReq(pdev, &pdev->request);
  695. 279:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  696. 280:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  697. ARM GAS /tmp/cc7t8dPw.s page 13
  698. 281:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** case USB_REQ_RECIPIENT_ENDPOINT:
  699. 282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StdEPReq(pdev, &pdev->request);
  700. 283:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  701. 284:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  702. 285:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** default:
  703. 286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, (pdev->request.bmRequest & 0x80U));
  704. 417 .loc 1 286 7 is_stmt 1 view .LVU104
  705. 418 002e 01F08001 and r1, r1, #128
  706. 419 0032 2046 mov r0, r4
  707. 420 0034 FFF7FEFF bl USBD_LL_StallEP
  708. 421 .LVL33:
  709. 287:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  710. 422 .loc 1 287 7 view .LVU105
  711. 423 0038 03E0 b .L31
  712. 424 .L33:
  713. 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  714. 425 .loc 1 274 7 view .LVU106
  715. 426 003a 2946 mov r1, r5
  716. 427 003c 2046 mov r0, r4
  717. 428 003e FFF7FEFF bl USBD_StdDevReq
  718. 429 .LVL34:
  719. 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  720. 430 .loc 1 275 7 view .LVU107
  721. 431 .L31:
  722. 288:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  723. 289:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  724. 290:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  725. 432 .loc 1 290 3 view .LVU108
  726. 291:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  727. 433 .loc 1 291 1 is_stmt 0 view .LVU109
  728. 434 0042 0020 movs r0, #0
  729. 435 0044 38BD pop {r3, r4, r5, pc}
  730. 436 .LVL35:
  731. 437 .L28:
  732. 278:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  733. 438 .loc 1 278 7 is_stmt 1 view .LVU110
  734. 439 0046 2946 mov r1, r5
  735. 440 0048 2046 mov r0, r4
  736. 441 004a FFF7FEFF bl USBD_StdItfReq
  737. 442 .LVL36:
  738. 279:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  739. 443 .loc 1 279 7 view .LVU111
  740. 444 004e F8E7 b .L31
  741. 445 .L29:
  742. 282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** break;
  743. 446 .loc 1 282 7 view .LVU112
  744. 447 0050 2946 mov r1, r5
  745. 448 0052 2046 mov r0, r4
  746. 449 0054 FFF7FEFF bl USBD_StdEPReq
  747. 450 .LVL37:
  748. 283:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  749. 451 .loc 1 283 7 view .LVU113
  750. 452 0058 F3E7 b .L31
  751. 453 .cfi_endproc
  752. 454 .LFE663:
  753. 456 .section .text.USBD_LL_DataOutStage,"ax",%progbits
  754. 457 .align 1
  755. ARM GAS /tmp/cc7t8dPw.s page 14
  756. 458 .global USBD_LL_DataOutStage
  757. 459 .syntax unified
  758. 460 .thumb
  759. 461 .thumb_func
  760. 463 USBD_LL_DataOutStage:
  761. 464 .LVL38:
  762. 465 .LFB664:
  763. 292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  764. 293:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  765. 294:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_DataOutStage
  766. 295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle data OUT stage
  767. 296:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  768. 297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param epnum: endpoint index
  769. 298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  770. 299:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  771. 300:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev,
  772. 301:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** uint8_t epnum, uint8_t *pdata)
  773. 302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  774. 466 .loc 1 302 1 view -0
  775. 467 .cfi_startproc
  776. 468 @ args = 0, pretend = 0, frame = 0
  777. 469 @ frame_needed = 0, uses_anonymous_args = 0
  778. 470 .loc 1 302 1 is_stmt 0 view .LVU115
  779. 471 0000 38B5 push {r3, r4, r5, lr}
  780. 472 .LCFI8:
  781. 473 .cfi_def_cfa_offset 16
  782. 474 .cfi_offset 3, -16
  783. 475 .cfi_offset 4, -12
  784. 476 .cfi_offset 5, -8
  785. 477 .cfi_offset 14, -4
  786. 478 0002 0446 mov r4, r0
  787. 303:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_EndpointTypeDef *pep;
  788. 479 .loc 1 303 3 is_stmt 1 view .LVU116
  789. 304:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  790. 305:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (epnum == 0U)
  791. 480 .loc 1 305 3 view .LVU117
  792. 481 .loc 1 305 6 is_stmt 0 view .LVU118
  793. 482 0004 0D46 mov r5, r1
  794. 483 0006 91BB cbnz r1, .L35
  795. 484 0008 1346 mov r3, r2
  796. 306:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  797. 307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pep = &pdev->ep_out[0];
  798. 485 .loc 1 307 5 is_stmt 1 view .LVU119
  799. 486 .LVL39:
  800. 308:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  801. 309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->ep0_state == USBD_EP0_DATA_OUT)
  802. 487 .loc 1 309 5 view .LVU120
  803. 488 .loc 1 309 13 is_stmt 0 view .LVU121
  804. 489 000a D0F89422 ldr r2, [r0, #660]
  805. 490 .LVL40:
  806. 491 .loc 1 309 8 view .LVU122
  807. 492 000e 032A cmp r2, #3
  808. 493 0010 03D0 beq .L46
  809. 310:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  810. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pep->rem_length > pep->maxpacket)
  811. 312:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  812. 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pep->rem_length -= pep->maxpacket;
  813. ARM GAS /tmp/cc7t8dPw.s page 15
  814. 314:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  815. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_CtlContinueRx(pdev, pdata,
  816. 316:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (uint16_t)MIN(pep->rem_length, pep->maxpacket));
  817. 317:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  818. 318:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  819. 319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  820. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if ((pdev->pClass->EP0_RxReady != NULL) &&
  821. 321:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  822. 322:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  823. 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->EP0_RxReady(pdev);
  824. 324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  825. 325:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_CtlSendStatus(pdev);
  826. 326:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  827. 327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  828. 328:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  829. 329:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  830. 330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->ep0_state == USBD_EP0_STATUS_OUT)
  831. 494 .loc 1 330 7 is_stmt 1 view .LVU123
  832. 495 .loc 1 330 10 is_stmt 0 view .LVU124
  833. 496 0012 052A cmp r2, #5
  834. 497 0014 24D0 beq .L47
  835. 331:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  836. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /*
  837. 333:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * STATUS PHASE completed, update ep0_state to idle
  838. 334:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  839. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep0_state = USBD_EP0_IDLE;
  840. 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, 0U);
  841. 337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  842. 338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  843. 339:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  844. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else if ((pdev->pClass->DataOut != NULL) &&
  845. 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  846. 342:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  847. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DataOut(pdev, epnum);
  848. 344:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  849. 345:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  850. 346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  851. 347:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* should never be in this condition */
  852. 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_FAIL;
  853. 349:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  854. 350:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  855. 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  856. 498 .loc 1 351 10 view .LVU125
  857. 499 0016 0846 mov r0, r1
  858. 500 .LVL41:
  859. 501 .loc 1 351 10 view .LVU126
  860. 502 0018 33E0 b .L40
  861. 503 .LVL42:
  862. 504 .L46:
  863. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  864. 505 .loc 1 311 7 is_stmt 1 view .LVU127
  865. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  866. 506 .loc 1 311 14 is_stmt 0 view .LVU128
  867. 507 001a D0F86011 ldr r1, [r0, #352]
  868. 508 .LVL43:
  869. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  870. 509 .loc 1 311 32 view .LVU129
  871. ARM GAS /tmp/cc7t8dPw.s page 16
  872. 510 001e D0F86421 ldr r2, [r0, #356]
  873. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  874. 511 .loc 1 311 10 view .LVU130
  875. 512 0022 9142 cmp r1, r2
  876. 513 0024 0DD9 bls .L37
  877. 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  878. 514 .loc 1 313 9 is_stmt 1 view .LVU131
  879. 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  880. 515 .loc 1 313 25 is_stmt 0 view .LVU132
  881. 516 0026 891A subs r1, r1, r2
  882. 517 0028 C0F86011 str r1, [r0, #352]
  883. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (uint16_t)MIN(pep->rem_length, pep->maxpacket));
  884. 518 .loc 1 315 9 is_stmt 1 view .LVU133
  885. 519 002c 8A42 cmp r2, r1
  886. 520 002e 06D9 bls .L38
  887. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (uint16_t)MIN(pep->rem_length, pep->maxpacket));
  888. 521 .loc 1 315 9 is_stmt 0 discriminator 1 view .LVU134
  889. 522 0030 8AB2 uxth r2, r1
  890. 523 .L39:
  891. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (uint16_t)MIN(pep->rem_length, pep->maxpacket));
  892. 524 .loc 1 315 9 discriminator 4 view .LVU135
  893. 525 0032 1946 mov r1, r3
  894. 526 0034 2046 mov r0, r4
  895. 527 .LVL44:
  896. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (uint16_t)MIN(pep->rem_length, pep->maxpacket));
  897. 528 .loc 1 315 9 discriminator 4 view .LVU136
  898. 529 0036 FFF7FEFF bl USBD_CtlContinueRx
  899. 530 .LVL45:
  900. 531 .loc 1 351 10 discriminator 4 view .LVU137
  901. 532 003a 2846 mov r0, r5
  902. 533 003c 21E0 b .L40
  903. 534 .LVL46:
  904. 535 .L38:
  905. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (uint16_t)MIN(pep->rem_length, pep->maxpacket));
  906. 536 .loc 1 315 9 discriminator 2 view .LVU138
  907. 537 003e 92B2 uxth r2, r2
  908. 538 0040 F7E7 b .L39
  909. 539 .L37:
  910. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  911. 540 .loc 1 320 9 is_stmt 1 view .LVU139
  912. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  913. 541 .loc 1 320 18 is_stmt 0 view .LVU140
  914. 542 0042 D0F8B432 ldr r3, [r0, #692]
  915. 543 .LVL47:
  916. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  917. 544 .loc 1 320 26 view .LVU141
  918. 545 0046 1B69 ldr r3, [r3, #16]
  919. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  920. 546 .loc 1 320 12 view .LVU142
  921. 547 0048 1BB1 cbz r3, .L41
  922. 321:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  923. 548 .loc 1 321 18 discriminator 1 view .LVU143
  924. 549 004a 90F89C22 ldrb r2, [r0, #668] @ zero_extendqisi2
  925. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  926. 550 .loc 1 320 49 discriminator 1 view .LVU144
  927. 551 004e 032A cmp r2, #3
  928. 552 0050 04D0 beq .L48
  929. ARM GAS /tmp/cc7t8dPw.s page 17
  930. 553 .LVL48:
  931. 554 .L41:
  932. 325:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  933. 555 .loc 1 325 9 is_stmt 1 view .LVU145
  934. 556 0052 2046 mov r0, r4
  935. 557 0054 FFF7FEFF bl USBD_CtlSendStatus
  936. 558 .LVL49:
  937. 559 .loc 1 351 10 is_stmt 0 view .LVU146
  938. 560 0058 2846 mov r0, r5
  939. 561 005a 12E0 b .L40
  940. 562 .LVL50:
  941. 563 .L48:
  942. 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  943. 564 .loc 1 323 11 is_stmt 1 view .LVU147
  944. 565 005c 9847 blx r3
  945. 566 .LVL51:
  946. 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  947. 567 .loc 1 323 11 is_stmt 0 view .LVU148
  948. 568 005e F8E7 b .L41
  949. 569 .LVL52:
  950. 570 .L47:
  951. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, 0U);
  952. 571 .loc 1 335 9 is_stmt 1 view .LVU149
  953. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, 0U);
  954. 572 .loc 1 335 25 is_stmt 0 view .LVU150
  955. 573 0060 0021 movs r1, #0
  956. 574 .LVL53:
  957. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, 0U);
  958. 575 .loc 1 335 25 view .LVU151
  959. 576 0062 C0F89412 str r1, [r0, #660]
  960. 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  961. 577 .loc 1 336 9 is_stmt 1 view .LVU152
  962. 578 0066 FFF7FEFF bl USBD_LL_StallEP
  963. 579 .LVL54:
  964. 580 .loc 1 351 10 is_stmt 0 view .LVU153
  965. 581 006a 2846 mov r0, r5
  966. 582 006c 09E0 b .L40
  967. 583 .LVL55:
  968. 584 .L35:
  969. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  970. 585 .loc 1 340 8 is_stmt 1 view .LVU154
  971. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  972. 586 .loc 1 340 17 is_stmt 0 view .LVU155
  973. 587 006e D0F8B432 ldr r3, [r0, #692]
  974. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  975. 588 .loc 1 340 25 view .LVU156
  976. 589 0072 9B69 ldr r3, [r3, #24]
  977. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  978. 590 .loc 1 340 11 view .LVU157
  979. 591 0074 33B1 cbz r3, .L43
  980. 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  981. 592 .loc 1 341 17 discriminator 1 view .LVU158
  982. 593 0076 90F89C22 ldrb r2, [r0, #668] @ zero_extendqisi2
  983. 594 .LVL56:
  984. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  985. 595 .loc 1 340 44 discriminator 1 view .LVU159
  986. 596 007a 032A cmp r2, #3
  987. ARM GAS /tmp/cc7t8dPw.s page 18
  988. 597 007c 04D1 bne .L44
  989. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  990. 598 .loc 1 343 5 is_stmt 1 view .LVU160
  991. 599 007e 9847 blx r3
  992. 600 .LVL57:
  993. 601 .loc 1 351 10 is_stmt 0 view .LVU161
  994. 602 0080 0020 movs r0, #0
  995. 603 .L40:
  996. 352:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  997. 604 .loc 1 352 1 view .LVU162
  998. 605 0082 38BD pop {r3, r4, r5, pc}
  999. 606 .LVL58:
  1000. 607 .L43:
  1001. 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1002. 608 .loc 1 348 12 view .LVU163
  1003. 609 0084 0220 movs r0, #2
  1004. 610 .LVL59:
  1005. 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1006. 611 .loc 1 348 12 view .LVU164
  1007. 612 0086 FCE7 b .L40
  1008. 613 .LVL60:
  1009. 614 .L44:
  1010. 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1011. 615 .loc 1 348 12 view .LVU165
  1012. 616 0088 0220 movs r0, #2
  1013. 617 .LVL61:
  1014. 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1015. 618 .loc 1 348 12 view .LVU166
  1016. 619 008a FAE7 b .L40
  1017. 620 .cfi_endproc
  1018. 621 .LFE664:
  1019. 623 .section .text.USBD_LL_DataInStage,"ax",%progbits
  1020. 624 .align 1
  1021. 625 .global USBD_LL_DataInStage
  1022. 626 .syntax unified
  1023. 627 .thumb
  1024. 628 .thumb_func
  1025. 630 USBD_LL_DataInStage:
  1026. 631 .LVL62:
  1027. 632 .LFB665:
  1028. 353:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1029. 354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1030. 355:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_DataInStage
  1031. 356:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle data in stage
  1032. 357:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1033. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param epnum: endpoint index
  1034. 359:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1035. 360:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1036. 361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev,
  1037. 362:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** uint8_t epnum, uint8_t *pdata)
  1038. 363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1039. 633 .loc 1 363 1 is_stmt 1 view -0
  1040. 634 .cfi_startproc
  1041. 635 @ args = 0, pretend = 0, frame = 0
  1042. 636 @ frame_needed = 0, uses_anonymous_args = 0
  1043. 637 .loc 1 363 1 is_stmt 0 view .LVU168
  1044. 638 0000 38B5 push {r3, r4, r5, lr}
  1045. ARM GAS /tmp/cc7t8dPw.s page 19
  1046. 639 .LCFI9:
  1047. 640 .cfi_def_cfa_offset 16
  1048. 641 .cfi_offset 3, -16
  1049. 642 .cfi_offset 4, -12
  1050. 643 .cfi_offset 5, -8
  1051. 644 .cfi_offset 14, -4
  1052. 645 0002 0446 mov r4, r0
  1053. 364:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_EndpointTypeDef *pep;
  1054. 646 .loc 1 364 3 is_stmt 1 view .LVU169
  1055. 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1056. 366:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (epnum == 0U)
  1057. 647 .loc 1 366 3 view .LVU170
  1058. 648 .loc 1 366 6 is_stmt 0 view .LVU171
  1059. 649 0004 0D46 mov r5, r1
  1060. 650 0006 0029 cmp r1, #0
  1061. 651 0008 53D1 bne .L50
  1062. 652 000a 1346 mov r3, r2
  1063. 367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1064. 368:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pep = &pdev->ep_in[0];
  1065. 653 .loc 1 368 5 is_stmt 1 view .LVU172
  1066. 654 .LVL63:
  1067. 369:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1068. 370:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->ep0_state == USBD_EP0_DATA_IN)
  1069. 655 .loc 1 370 5 view .LVU173
  1070. 656 .loc 1 370 13 is_stmt 0 view .LVU174
  1071. 657 000c D0F89422 ldr r2, [r0, #660]
  1072. 658 .LVL64:
  1073. 659 .loc 1 370 8 view .LVU175
  1074. 660 0010 022A cmp r2, #2
  1075. 661 0012 0CD0 beq .L62
  1076. 371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1077. 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pep->rem_length > pep->maxpacket)
  1078. 373:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1079. 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pep->rem_length -= pep->maxpacket;
  1080. 375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1081. 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_CtlContinueSendData(pdev, pdata, (uint16_t)pep->rem_length);
  1082. 377:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1083. 378:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Prepare endpoint for premature end of transfer */
  1084. 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U);
  1085. 380:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1086. 381:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  1087. 382:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1088. 383:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* last packet is MPS multiple, so send ZLP packet */
  1089. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if ((pep->total_length % pep->maxpacket == 0U) &&
  1090. 385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1091. 386:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length < pdev->ep0_data_len))
  1092. 387:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1093. 388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_CtlContinueSendData(pdev, NULL, 0U);
  1094. 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep0_data_len = 0U;
  1095. 390:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1096. 391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Prepare endpoint for premature end of transfer */
  1097. 392:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U);
  1098. 393:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1099. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  1100. 395:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1101. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if ((pdev->pClass->EP0_TxSent != NULL) &&
  1102. 397:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1103. ARM GAS /tmp/cc7t8dPw.s page 20
  1104. 398:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1105. 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->EP0_TxSent(pdev);
  1106. 400:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1107. 401:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, 0x80U);
  1108. 402:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_CtlReceiveStatus(pdev);
  1109. 403:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1110. 404:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1111. 405:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1112. 406:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  1113. 407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1114. 408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if ((pdev->ep0_state == USBD_EP0_STATUS_IN) ||
  1115. 662 .loc 1 408 7 is_stmt 1 view .LVU176
  1116. 663 .loc 1 408 10 is_stmt 0 view .LVU177
  1117. 664 0014 042A cmp r2, #4
  1118. 665 0016 00D0 beq .L56
  1119. 666 .loc 1 408 51 discriminator 1 view .LVU178
  1120. 667 0018 1AB9 cbnz r2, .L53
  1121. 668 .L56:
  1122. 409:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->ep0_state == USBD_EP0_IDLE))
  1123. 410:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1124. 411:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_StallEP(pdev, 0x80U);
  1125. 669 .loc 1 411 9 is_stmt 1 view .LVU179
  1126. 670 001a 8021 movs r1, #128
  1127. 671 .LVL65:
  1128. 672 .loc 1 411 9 is_stmt 0 view .LVU180
  1129. 673 001c 2046 mov r0, r4
  1130. 674 .LVL66:
  1131. 675 .loc 1 411 9 view .LVU181
  1132. 676 001e FFF7FEFF bl USBD_LL_StallEP
  1133. 677 .LVL67:
  1134. 678 .L53:
  1135. 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1136. 413:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1137. 414:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1138. 415:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->dev_test_mode == 1U)
  1139. 679 .loc 1 415 5 is_stmt 1 view .LVU182
  1140. 680 .loc 1 415 13 is_stmt 0 view .LVU183
  1141. 681 0022 94F8A032 ldrb r3, [r4, #672] @ zero_extendqisi2
  1142. 682 .loc 1 415 8 view .LVU184
  1143. 683 0026 012B cmp r3, #1
  1144. 684 0028 3ED0 beq .L63
  1145. 416:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1146. 417:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_RunTestMode(pdev);
  1147. 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_test_mode = 0U;
  1148. 419:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1149. 420:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1150. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else if ((pdev->pClass->DataIn != NULL) &&
  1151. 422:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1152. 423:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1153. 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DataIn(pdev, epnum);
  1154. 425:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1155. 426:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** else
  1156. 427:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1157. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* should never be in this condition */
  1158. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_FAIL;
  1159. 430:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1160. 431:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1161. ARM GAS /tmp/cc7t8dPw.s page 21
  1162. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1163. 685 .loc 1 432 10 view .LVU185
  1164. 686 002a 2846 mov r0, r5
  1165. 687 .LVL68:
  1166. 688 .L57:
  1167. 433:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1168. 689 .loc 1 433 1 view .LVU186
  1169. 690 002c 38BD pop {r3, r4, r5, pc}
  1170. 691 .LVL69:
  1171. 692 .L62:
  1172. 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1173. 693 .loc 1 372 7 is_stmt 1 view .LVU187
  1174. 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1175. 694 .loc 1 372 14 is_stmt 0 view .LVU188
  1176. 695 002e 016A ldr r1, [r0, #32]
  1177. 696 .LVL70:
  1178. 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1179. 697 .loc 1 372 32 view .LVU189
  1180. 698 0030 426A ldr r2, [r0, #36]
  1181. 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1182. 699 .loc 1 372 10 view .LVU190
  1183. 700 0032 9142 cmp r1, r2
  1184. 701 0034 1BD8 bhi .L64
  1185. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1186. 702 .loc 1 384 9 is_stmt 1 view .LVU191
  1187. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1188. 703 .loc 1 384 17 is_stmt 0 view .LVU192
  1189. 704 0036 C169 ldr r1, [r0, #28]
  1190. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1191. 705 .loc 1 384 32 view .LVU193
  1192. 706 0038 B1FBF2F3 udiv r3, r1, r2
  1193. 707 .LVL71:
  1194. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1195. 708 .loc 1 384 32 view .LVU194
  1196. 709 003c 02FB1313 mls r3, r2, r3, r1
  1197. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1198. 710 .loc 1 384 12 view .LVU195
  1199. 711 0040 2BB9 cbnz r3, .L54
  1200. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length >= pep->maxpacket) &&
  1201. 712 .loc 1 384 56 discriminator 1 view .LVU196
  1202. 713 0042 8A42 cmp r2, r1
  1203. 714 0044 03D8 bhi .L54
  1204. 386:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1205. 715 .loc 1 386 38 view .LVU197
  1206. 716 0046 D0F89832 ldr r3, [r0, #664]
  1207. 385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pep->total_length < pdev->ep0_data_len))
  1208. 717 .loc 1 385 51 view .LVU198
  1209. 718 004a 9942 cmp r1, r3
  1210. 719 004c 1CD3 bcc .L65
  1211. 720 .L54:
  1212. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1213. 721 .loc 1 396 11 is_stmt 1 view .LVU199
  1214. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1215. 722 .loc 1 396 20 is_stmt 0 view .LVU200
  1216. 723 004e D4F8B432 ldr r3, [r4, #692]
  1217. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1218. 724 .loc 1 396 28 view .LVU201
  1219. ARM GAS /tmp/cc7t8dPw.s page 22
  1220. 725 0052 DB68 ldr r3, [r3, #12]
  1221. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1222. 726 .loc 1 396 14 view .LVU202
  1223. 727 0054 1BB1 cbz r3, .L55
  1224. 397:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1225. 728 .loc 1 397 20 discriminator 1 view .LVU203
  1226. 729 0056 94F89C22 ldrb r2, [r4, #668] @ zero_extendqisi2
  1227. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1228. 730 .loc 1 396 50 discriminator 1 view .LVU204
  1229. 731 005a 032A cmp r2, #3
  1230. 732 005c 21D0 beq .L66
  1231. 733 .LVL72:
  1232. 734 .L55:
  1233. 401:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_CtlReceiveStatus(pdev);
  1234. 735 .loc 1 401 11 is_stmt 1 view .LVU205
  1235. 736 005e 8021 movs r1, #128
  1236. 737 0060 2046 mov r0, r4
  1237. 738 0062 FFF7FEFF bl USBD_LL_StallEP
  1238. 739 .LVL73:
  1239. 402:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1240. 740 .loc 1 402 11 view .LVU206
  1241. 741 0066 2046 mov r0, r4
  1242. 742 0068 FFF7FEFF bl USBD_CtlReceiveStatus
  1243. 743 .LVL74:
  1244. 744 006c D9E7 b .L53
  1245. 745 .LVL75:
  1246. 746 .L64:
  1247. 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1248. 747 .loc 1 374 9 view .LVU207
  1249. 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1250. 748 .loc 1 374 25 is_stmt 0 view .LVU208
  1251. 749 006e 8A1A subs r2, r1, r2
  1252. 750 0070 0262 str r2, [r0, #32]
  1253. 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1254. 751 .loc 1 376 9 is_stmt 1 view .LVU209
  1255. 752 0072 92B2 uxth r2, r2
  1256. 753 0074 1946 mov r1, r3
  1257. 754 0076 FFF7FEFF bl USBD_CtlContinueSendData
  1258. 755 .LVL76:
  1259. 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1260. 756 .loc 1 379 9 view .LVU210
  1261. 757 007a 0023 movs r3, #0
  1262. 758 007c 1A46 mov r2, r3
  1263. 759 007e 1946 mov r1, r3
  1264. 760 0080 2046 mov r0, r4
  1265. 761 0082 FFF7FEFF bl USBD_LL_PrepareReceive
  1266. 762 .LVL77:
  1267. 763 0086 CCE7 b .L53
  1268. 764 .LVL78:
  1269. 765 .L65:
  1270. 388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep0_data_len = 0U;
  1271. 766 .loc 1 388 11 view .LVU211
  1272. 767 0088 0022 movs r2, #0
  1273. 768 008a 1146 mov r1, r2
  1274. 769 008c FFF7FEFF bl USBD_CtlContinueSendData
  1275. 770 .LVL79:
  1276. 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1277. ARM GAS /tmp/cc7t8dPw.s page 23
  1278. 771 .loc 1 389 11 view .LVU212
  1279. 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1280. 772 .loc 1 389 30 is_stmt 0 view .LVU213
  1281. 773 0090 0021 movs r1, #0
  1282. 774 0092 C4F89812 str r1, [r4, #664]
  1283. 392:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1284. 775 .loc 1 392 11 is_stmt 1 view .LVU214
  1285. 776 0096 0B46 mov r3, r1
  1286. 777 0098 0A46 mov r2, r1
  1287. 778 009a 2046 mov r0, r4
  1288. 779 009c FFF7FEFF bl USBD_LL_PrepareReceive
  1289. 780 .LVL80:
  1290. 781 00a0 BFE7 b .L53
  1291. 782 .LVL81:
  1292. 783 .L66:
  1293. 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1294. 784 .loc 1 399 13 view .LVU215
  1295. 785 00a2 2046 mov r0, r4
  1296. 786 .LVL82:
  1297. 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1298. 787 .loc 1 399 13 is_stmt 0 view .LVU216
  1299. 788 00a4 9847 blx r3
  1300. 789 .LVL83:
  1301. 790 00a6 DAE7 b .L55
  1302. 791 .L63:
  1303. 417:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_test_mode = 0U;
  1304. 792 .loc 1 417 7 is_stmt 1 view .LVU217
  1305. 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1306. 793 .loc 1 418 7 view .LVU218
  1307. 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1308. 794 .loc 1 418 27 is_stmt 0 view .LVU219
  1309. 795 00a8 0023 movs r3, #0
  1310. 796 00aa 84F8A032 strb r3, [r4, #672]
  1311. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1312. 797 .loc 1 432 10 view .LVU220
  1313. 798 00ae 2846 mov r0, r5
  1314. 799 00b0 BCE7 b .L57
  1315. 800 .LVL84:
  1316. 801 .L50:
  1317. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1318. 802 .loc 1 421 8 is_stmt 1 view .LVU221
  1319. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1320. 803 .loc 1 421 17 is_stmt 0 view .LVU222
  1321. 804 00b2 D0F8B432 ldr r3, [r0, #692]
  1322. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1323. 805 .loc 1 421 25 view .LVU223
  1324. 806 00b6 5B69 ldr r3, [r3, #20]
  1325. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1326. 807 .loc 1 421 11 view .LVU224
  1327. 808 00b8 33B1 cbz r3, .L59
  1328. 422:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1329. 809 .loc 1 422 17 discriminator 1 view .LVU225
  1330. 810 00ba 90F89C22 ldrb r2, [r0, #668] @ zero_extendqisi2
  1331. 811 .LVL85:
  1332. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** (pdev->dev_state == USBD_STATE_CONFIGURED))
  1333. 812 .loc 1 421 43 discriminator 1 view .LVU226
  1334. 813 00be 032A cmp r2, #3
  1335. ARM GAS /tmp/cc7t8dPw.s page 24
  1336. 814 00c0 04D1 bne .L60
  1337. 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1338. 815 .loc 1 424 5 is_stmt 1 view .LVU227
  1339. 816 00c2 9847 blx r3
  1340. 817 .LVL86:
  1341. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1342. 818 .loc 1 432 10 is_stmt 0 view .LVU228
  1343. 819 00c4 0020 movs r0, #0
  1344. 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1345. 820 .loc 1 424 5 view .LVU229
  1346. 821 00c6 B1E7 b .L57
  1347. 822 .LVL87:
  1348. 823 .L59:
  1349. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1350. 824 .loc 1 429 12 view .LVU230
  1351. 825 00c8 0220 movs r0, #2
  1352. 826 .LVL88:
  1353. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1354. 827 .loc 1 429 12 view .LVU231
  1355. 828 00ca AFE7 b .L57
  1356. 829 .LVL89:
  1357. 830 .L60:
  1358. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1359. 831 .loc 1 429 12 view .LVU232
  1360. 832 00cc 0220 movs r0, #2
  1361. 833 .LVL90:
  1362. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1363. 834 .loc 1 429 12 view .LVU233
  1364. 835 00ce ADE7 b .L57
  1365. 836 .cfi_endproc
  1366. 837 .LFE665:
  1367. 839 .section .text.USBD_LL_Reset,"ax",%progbits
  1368. 840 .align 1
  1369. 841 .global USBD_LL_Reset
  1370. 842 .syntax unified
  1371. 843 .thumb
  1372. 844 .thumb_func
  1373. 846 USBD_LL_Reset:
  1374. 847 .LVL91:
  1375. 848 .LFB666:
  1376. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1377. 435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1378. 436:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_LL_Reset
  1379. 437:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle Reset event
  1380. 438:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1381. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1382. 440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1383. 441:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1384. 442:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_Reset(USBD_HandleTypeDef *pdev)
  1385. 443:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1386. 849 .loc 1 443 1 is_stmt 1 view -0
  1387. 850 .cfi_startproc
  1388. 851 @ args = 0, pretend = 0, frame = 0
  1389. 852 @ frame_needed = 0, uses_anonymous_args = 0
  1390. 853 .loc 1 443 1 is_stmt 0 view .LVU235
  1391. 854 0000 70B5 push {r4, r5, r6, lr}
  1392. 855 .LCFI10:
  1393. ARM GAS /tmp/cc7t8dPw.s page 25
  1394. 856 .cfi_def_cfa_offset 16
  1395. 857 .cfi_offset 4, -16
  1396. 858 .cfi_offset 5, -12
  1397. 859 .cfi_offset 6, -8
  1398. 860 .cfi_offset 14, -4
  1399. 861 0002 0446 mov r4, r0
  1400. 444:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Open EP0 OUT */
  1401. 445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_OpenEP(pdev, 0x00U, USBD_EP_TYPE_CTRL, USB_MAX_EP0_SIZE);
  1402. 862 .loc 1 445 3 is_stmt 1 view .LVU236
  1403. 863 0004 4023 movs r3, #64
  1404. 864 0006 0022 movs r2, #0
  1405. 865 0008 1146 mov r1, r2
  1406. 866 000a FFF7FEFF bl USBD_LL_OpenEP
  1407. 867 .LVL92:
  1408. 446:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep_out[0x00U & 0xFU].is_used = 1U;
  1409. 868 .loc 1 446 3 view .LVU237
  1410. 869 .loc 1 446 38 is_stmt 0 view .LVU238
  1411. 870 000e 0125 movs r5, #1
  1412. 871 0010 C4F85851 str r5, [r4, #344]
  1413. 447:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1414. 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep_out[0].maxpacket = USB_MAX_EP0_SIZE;
  1415. 872 .loc 1 448 3 is_stmt 1 view .LVU239
  1416. 873 .loc 1 448 29 is_stmt 0 view .LVU240
  1417. 874 0014 4026 movs r6, #64
  1418. 875 0016 C4F86461 str r6, [r4, #356]
  1419. 449:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1420. 450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Open EP0 IN */
  1421. 451:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_LL_OpenEP(pdev, 0x80U, USBD_EP_TYPE_CTRL, USB_MAX_EP0_SIZE);
  1422. 876 .loc 1 451 3 is_stmt 1 view .LVU241
  1423. 877 001a 3346 mov r3, r6
  1424. 878 001c 0022 movs r2, #0
  1425. 879 001e 8021 movs r1, #128
  1426. 880 0020 2046 mov r0, r4
  1427. 881 0022 FFF7FEFF bl USBD_LL_OpenEP
  1428. 882 .LVL93:
  1429. 452:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep_in[0x80U & 0xFU].is_used = 1U;
  1430. 883 .loc 1 452 3 view .LVU242
  1431. 884 .loc 1 452 37 is_stmt 0 view .LVU243
  1432. 885 0026 A561 str r5, [r4, #24]
  1433. 453:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1434. 454:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep_in[0].maxpacket = USB_MAX_EP0_SIZE;
  1435. 886 .loc 1 454 3 is_stmt 1 view .LVU244
  1436. 887 .loc 1 454 28 is_stmt 0 view .LVU245
  1437. 888 0028 6662 str r6, [r4, #36]
  1438. 455:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1439. 456:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Upon Reset call user call back */
  1440. 457:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_state = USBD_STATE_DEFAULT;
  1441. 889 .loc 1 457 3 is_stmt 1 view .LVU246
  1442. 890 .loc 1 457 19 is_stmt 0 view .LVU247
  1443. 891 002a 84F89C52 strb r5, [r4, #668]
  1444. 458:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->ep0_state = USBD_EP0_IDLE;
  1445. 892 .loc 1 458 3 is_stmt 1 view .LVU248
  1446. 893 .loc 1 458 19 is_stmt 0 view .LVU249
  1447. 894 002e 0023 movs r3, #0
  1448. 895 0030 C4F89432 str r3, [r4, #660]
  1449. 459:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_config = 0U;
  1450. 896 .loc 1 459 3 is_stmt 1 view .LVU250
  1451. ARM GAS /tmp/cc7t8dPw.s page 26
  1452. 897 .loc 1 459 20 is_stmt 0 view .LVU251
  1453. 898 0034 6360 str r3, [r4, #4]
  1454. 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_remote_wakeup = 0U;
  1455. 899 .loc 1 460 3 is_stmt 1 view .LVU252
  1456. 900 .loc 1 460 27 is_stmt 0 view .LVU253
  1457. 901 0036 C4F8A432 str r3, [r4, #676]
  1458. 461:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1459. 462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->pClassData)
  1460. 902 .loc 1 462 3 is_stmt 1 view .LVU254
  1461. 903 .loc 1 462 11 is_stmt 0 view .LVU255
  1462. 904 003a D4F8B832 ldr r3, [r4, #696]
  1463. 905 .loc 1 462 6 view .LVU256
  1464. 906 003e 2BB1 cbz r3, .L68
  1465. 463:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1466. 464:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
  1467. 907 .loc 1 464 5 is_stmt 1 view .LVU257
  1468. 908 .loc 1 464 9 is_stmt 0 view .LVU258
  1469. 909 0040 D4F8B432 ldr r3, [r4, #692]
  1470. 910 .loc 1 464 17 view .LVU259
  1471. 911 0044 5B68 ldr r3, [r3, #4]
  1472. 912 .loc 1 464 5 view .LVU260
  1473. 913 0046 0021 movs r1, #0
  1474. 914 0048 2046 mov r0, r4
  1475. 915 004a 9847 blx r3
  1476. 916 .LVL94:
  1477. 917 .L68:
  1478. 465:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1479. 466:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1480. 467:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1481. 918 .loc 1 467 3 is_stmt 1 view .LVU261
  1482. 468:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1483. 919 .loc 1 468 1 is_stmt 0 view .LVU262
  1484. 920 004c 0020 movs r0, #0
  1485. 921 004e 70BD pop {r4, r5, r6, pc}
  1486. 922 .loc 1 468 1 view .LVU263
  1487. 923 .cfi_endproc
  1488. 924 .LFE666:
  1489. 926 .section .text.USBD_LL_SetSpeed,"ax",%progbits
  1490. 927 .align 1
  1491. 928 .global USBD_LL_SetSpeed
  1492. 929 .syntax unified
  1493. 930 .thumb
  1494. 931 .thumb_func
  1495. 933 USBD_LL_SetSpeed:
  1496. 934 .LVL95:
  1497. 935 .LFB667:
  1498. 469:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1499. 470:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1500. 471:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_LL_Reset
  1501. 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle Reset event
  1502. 473:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1503. 474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1504. 475:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1505. 476:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_SetSpeed(USBD_HandleTypeDef *pdev,
  1506. 477:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_SpeedTypeDef speed)
  1507. 478:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1508. 936 .loc 1 478 1 is_stmt 1 view -0
  1509. ARM GAS /tmp/cc7t8dPw.s page 27
  1510. 937 .cfi_startproc
  1511. 938 @ args = 0, pretend = 0, frame = 0
  1512. 939 @ frame_needed = 0, uses_anonymous_args = 0
  1513. 940 @ link register save eliminated.
  1514. 479:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_speed = speed;
  1515. 941 .loc 1 479 3 view .LVU265
  1516. 942 .loc 1 479 19 is_stmt 0 view .LVU266
  1517. 943 0000 0174 strb r1, [r0, #16]
  1518. 480:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1519. 481:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1520. 944 .loc 1 481 3 is_stmt 1 view .LVU267
  1521. 482:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1522. 945 .loc 1 482 1 is_stmt 0 view .LVU268
  1523. 946 0002 0020 movs r0, #0
  1524. 947 .LVL96:
  1525. 948 .loc 1 482 1 view .LVU269
  1526. 949 0004 7047 bx lr
  1527. 950 .cfi_endproc
  1528. 951 .LFE667:
  1529. 953 .section .text.USBD_LL_Suspend,"ax",%progbits
  1530. 954 .align 1
  1531. 955 .global USBD_LL_Suspend
  1532. 956 .syntax unified
  1533. 957 .thumb
  1534. 958 .thumb_func
  1535. 960 USBD_LL_Suspend:
  1536. 961 .LVL97:
  1537. 962 .LFB668:
  1538. 483:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1539. 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1540. 485:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_Suspend
  1541. 486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle Suspend event
  1542. 487:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1543. 488:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1544. 489:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1545. 490:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1546. 491:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_Suspend(USBD_HandleTypeDef *pdev)
  1547. 492:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1548. 963 .loc 1 492 1 is_stmt 1 view -0
  1549. 964 .cfi_startproc
  1550. 965 @ args = 0, pretend = 0, frame = 0
  1551. 966 @ frame_needed = 0, uses_anonymous_args = 0
  1552. 967 @ link register save eliminated.
  1553. 493:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_old_state = pdev->dev_state;
  1554. 968 .loc 1 493 3 view .LVU271
  1555. 969 .loc 1 493 30 is_stmt 0 view .LVU272
  1556. 970 0000 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1557. 971 .loc 1 493 23 view .LVU273
  1558. 972 0004 80F89D32 strb r3, [r0, #669]
  1559. 494:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_state = USBD_STATE_SUSPENDED;
  1560. 973 .loc 1 494 3 is_stmt 1 view .LVU274
  1561. 974 .loc 1 494 20 is_stmt 0 view .LVU275
  1562. 975 0008 0423 movs r3, #4
  1563. 976 000a 80F89C32 strb r3, [r0, #668]
  1564. 495:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1565. 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1566. 977 .loc 1 496 3 is_stmt 1 view .LVU276
  1567. ARM GAS /tmp/cc7t8dPw.s page 28
  1568. 497:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1569. 978 .loc 1 497 1 is_stmt 0 view .LVU277
  1570. 979 000e 0020 movs r0, #0
  1571. 980 .LVL98:
  1572. 981 .loc 1 497 1 view .LVU278
  1573. 982 0010 7047 bx lr
  1574. 983 .cfi_endproc
  1575. 984 .LFE668:
  1576. 986 .section .text.USBD_LL_Resume,"ax",%progbits
  1577. 987 .align 1
  1578. 988 .global USBD_LL_Resume
  1579. 989 .syntax unified
  1580. 990 .thumb
  1581. 991 .thumb_func
  1582. 993 USBD_LL_Resume:
  1583. 994 .LVL99:
  1584. 995 .LFB669:
  1585. 498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1586. 499:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1587. 500:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_Resume
  1588. 501:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle Resume event
  1589. 502:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1590. 503:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1591. 504:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1592. 505:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1593. 506:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_Resume(USBD_HandleTypeDef *pdev)
  1594. 507:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1595. 996 .loc 1 507 1 is_stmt 1 view -0
  1596. 997 .cfi_startproc
  1597. 998 @ args = 0, pretend = 0, frame = 0
  1598. 999 @ frame_needed = 0, uses_anonymous_args = 0
  1599. 1000 @ link register save eliminated.
  1600. 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->dev_state == USBD_STATE_SUSPENDED)
  1601. 1001 .loc 1 508 3 view .LVU280
  1602. 1002 .loc 1 508 11 is_stmt 0 view .LVU281
  1603. 1003 0000 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1604. 1004 .loc 1 508 6 view .LVU282
  1605. 1005 0004 042B cmp r3, #4
  1606. 1006 0006 01D0 beq .L74
  1607. 1007 .L73:
  1608. 509:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1609. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_state = pdev->dev_old_state;
  1610. 511:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1611. 512:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1612. 513:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1613. 1008 .loc 1 513 3 is_stmt 1 view .LVU283
  1614. 514:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1615. 1009 .loc 1 514 1 is_stmt 0 view .LVU284
  1616. 1010 0008 0020 movs r0, #0
  1617. 1011 .LVL100:
  1618. 1012 .loc 1 514 1 view .LVU285
  1619. 1013 000a 7047 bx lr
  1620. 1014 .LVL101:
  1621. 1015 .L74:
  1622. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1623. 1016 .loc 1 510 5 is_stmt 1 view .LVU286
  1624. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1625. ARM GAS /tmp/cc7t8dPw.s page 29
  1626. 1017 .loc 1 510 27 is_stmt 0 view .LVU287
  1627. 1018 000c 90F89D32 ldrb r3, [r0, #669] @ zero_extendqisi2
  1628. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1629. 1019 .loc 1 510 21 view .LVU288
  1630. 1020 0010 80F89C32 strb r3, [r0, #668]
  1631. 1021 0014 F8E7 b .L73
  1632. 1022 .cfi_endproc
  1633. 1023 .LFE669:
  1634. 1025 .section .text.USBD_LL_SOF,"ax",%progbits
  1635. 1026 .align 1
  1636. 1027 .global USBD_LL_SOF
  1637. 1028 .syntax unified
  1638. 1029 .thumb
  1639. 1030 .thumb_func
  1640. 1032 USBD_LL_SOF:
  1641. 1033 .LVL102:
  1642. 1034 .LFB670:
  1643. 515:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1644. 516:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1645. 517:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_SOF
  1646. 518:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle SOF event
  1647. 519:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1648. 520:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1649. 521:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1650. 522:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1651. 523:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_SOF(USBD_HandleTypeDef *pdev)
  1652. 524:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1653. 1035 .loc 1 524 1 is_stmt 1 view -0
  1654. 1036 .cfi_startproc
  1655. 1037 @ args = 0, pretend = 0, frame = 0
  1656. 1038 @ frame_needed = 0, uses_anonymous_args = 0
  1657. 1039 .loc 1 524 1 is_stmt 0 view .LVU290
  1658. 1040 0000 08B5 push {r3, lr}
  1659. 1041 .LCFI11:
  1660. 1042 .cfi_def_cfa_offset 8
  1661. 1043 .cfi_offset 3, -8
  1662. 1044 .cfi_offset 14, -4
  1663. 525:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->dev_state == USBD_STATE_CONFIGURED)
  1664. 1045 .loc 1 525 3 is_stmt 1 view .LVU291
  1665. 1046 .loc 1 525 11 is_stmt 0 view .LVU292
  1666. 1047 0002 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1667. 1048 .loc 1 525 6 view .LVU293
  1668. 1049 0006 032B cmp r3, #3
  1669. 1050 0008 01D0 beq .L78
  1670. 1051 .LVL103:
  1671. 1052 .L76:
  1672. 526:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1673. 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** if (pdev->pClass->SOF != NULL)
  1674. 528:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1675. 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->SOF(pdev);
  1676. 530:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1677. 531:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1678. 532:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1679. 533:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1680. 1053 .loc 1 533 3 is_stmt 1 view .LVU294
  1681. 534:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1682. 1054 .loc 1 534 1 is_stmt 0 view .LVU295
  1683. ARM GAS /tmp/cc7t8dPw.s page 30
  1684. 1055 000a 0020 movs r0, #0
  1685. 1056 000c 08BD pop {r3, pc}
  1686. 1057 .LVL104:
  1687. 1058 .L78:
  1688. 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1689. 1059 .loc 1 527 5 is_stmt 1 view .LVU296
  1690. 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1691. 1060 .loc 1 527 13 is_stmt 0 view .LVU297
  1692. 1061 000e D0F8B432 ldr r3, [r0, #692]
  1693. 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1694. 1062 .loc 1 527 21 view .LVU298
  1695. 1063 0012 DB69 ldr r3, [r3, #28]
  1696. 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1697. 1064 .loc 1 527 8 view .LVU299
  1698. 1065 0014 002B cmp r3, #0
  1699. 1066 0016 F8D0 beq .L76
  1700. 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1701. 1067 .loc 1 529 7 is_stmt 1 view .LVU300
  1702. 1068 0018 9847 blx r3
  1703. 1069 .LVL105:
  1704. 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1705. 1070 .loc 1 529 7 is_stmt 0 view .LVU301
  1706. 1071 001a F6E7 b .L76
  1707. 1072 .cfi_endproc
  1708. 1073 .LFE670:
  1709. 1075 .section .text.USBD_LL_IsoINIncomplete,"ax",%progbits
  1710. 1076 .align 1
  1711. 1077 .global USBD_LL_IsoINIncomplete
  1712. 1078 .syntax unified
  1713. 1079 .thumb
  1714. 1080 .thumb_func
  1715. 1082 USBD_LL_IsoINIncomplete:
  1716. 1083 .LVL106:
  1717. 1084 .LFB671:
  1718. 535:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1719. 536:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1720. 537:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_IsoINIncomplete
  1721. 538:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle iso in incomplete event
  1722. 539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1723. 540:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1724. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1725. 542:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev,
  1726. 543:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** uint8_t epnum)
  1727. 544:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1728. 1085 .loc 1 544 1 is_stmt 1 view -0
  1729. 1086 .cfi_startproc
  1730. 1087 @ args = 0, pretend = 0, frame = 0
  1731. 1088 @ frame_needed = 0, uses_anonymous_args = 0
  1732. 1089 @ link register save eliminated.
  1733. 545:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Prevent unused arguments compilation warning */
  1734. 546:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** UNUSED(pdev);
  1735. 1090 .loc 1 546 3 view .LVU303
  1736. 547:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** UNUSED(epnum);
  1737. 1091 .loc 1 547 3 view .LVU304
  1738. 548:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1739. 549:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1740. 1092 .loc 1 549 3 view .LVU305
  1741. ARM GAS /tmp/cc7t8dPw.s page 31
  1742. 550:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1743. 1093 .loc 1 550 1 is_stmt 0 view .LVU306
  1744. 1094 0000 0020 movs r0, #0
  1745. 1095 .LVL107:
  1746. 1096 .loc 1 550 1 view .LVU307
  1747. 1097 0002 7047 bx lr
  1748. 1098 .cfi_endproc
  1749. 1099 .LFE671:
  1750. 1101 .section .text.USBD_LL_IsoOUTIncomplete,"ax",%progbits
  1751. 1102 .align 1
  1752. 1103 .global USBD_LL_IsoOUTIncomplete
  1753. 1104 .syntax unified
  1754. 1105 .thumb
  1755. 1106 .thumb_func
  1756. 1108 USBD_LL_IsoOUTIncomplete:
  1757. 1109 .LVL108:
  1758. 1110 .LFB672:
  1759. 551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1760. 552:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1761. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_IsoOUTIncomplete
  1762. 554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle iso out incomplete event
  1763. 555:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1764. 556:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1765. 557:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1766. 558:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev,
  1767. 559:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** uint8_t epnum)
  1768. 560:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1769. 1111 .loc 1 560 1 is_stmt 1 view -0
  1770. 1112 .cfi_startproc
  1771. 1113 @ args = 0, pretend = 0, frame = 0
  1772. 1114 @ frame_needed = 0, uses_anonymous_args = 0
  1773. 1115 @ link register save eliminated.
  1774. 561:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Prevent unused arguments compilation warning */
  1775. 562:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** UNUSED(pdev);
  1776. 1116 .loc 1 562 3 view .LVU309
  1777. 563:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** UNUSED(epnum);
  1778. 1117 .loc 1 563 3 view .LVU310
  1779. 564:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1780. 565:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1781. 1118 .loc 1 565 3 view .LVU311
  1782. 566:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1783. 1119 .loc 1 566 1 is_stmt 0 view .LVU312
  1784. 1120 0000 0020 movs r0, #0
  1785. 1121 .LVL109:
  1786. 1122 .loc 1 566 1 view .LVU313
  1787. 1123 0002 7047 bx lr
  1788. 1124 .cfi_endproc
  1789. 1125 .LFE672:
  1790. 1127 .section .text.USBD_LL_DevConnected,"ax",%progbits
  1791. 1128 .align 1
  1792. 1129 .global USBD_LL_DevConnected
  1793. 1130 .syntax unified
  1794. 1131 .thumb
  1795. 1132 .thumb_func
  1796. 1134 USBD_LL_DevConnected:
  1797. 1135 .LVL110:
  1798. 1136 .LFB673:
  1799. ARM GAS /tmp/cc7t8dPw.s page 32
  1800. 567:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1801. 568:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1802. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_DevConnected
  1803. 570:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle device connection event
  1804. 571:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1805. 572:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1806. 573:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1807. 574:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev)
  1808. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1809. 1137 .loc 1 575 1 is_stmt 1 view -0
  1810. 1138 .cfi_startproc
  1811. 1139 @ args = 0, pretend = 0, frame = 0
  1812. 1140 @ frame_needed = 0, uses_anonymous_args = 0
  1813. 1141 @ link register save eliminated.
  1814. 576:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Prevent unused argument compilation warning */
  1815. 577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** UNUSED(pdev);
  1816. 1142 .loc 1 577 3 view .LVU315
  1817. 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1818. 579:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1819. 1143 .loc 1 579 3 view .LVU316
  1820. 580:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1821. 1144 .loc 1 580 1 is_stmt 0 view .LVU317
  1822. 1145 0000 0020 movs r0, #0
  1823. 1146 .LVL111:
  1824. 1147 .loc 1 580 1 view .LVU318
  1825. 1148 0002 7047 bx lr
  1826. 1149 .cfi_endproc
  1827. 1150 .LFE673:
  1828. 1152 .section .text.USBD_LL_DevDisconnected,"ax",%progbits
  1829. 1153 .align 1
  1830. 1154 .global USBD_LL_DevDisconnected
  1831. 1155 .syntax unified
  1832. 1156 .thumb
  1833. 1157 .thumb_func
  1834. 1159 USBD_LL_DevDisconnected:
  1835. 1160 .LVL112:
  1836. 1161 .LFB674:
  1837. 581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1838. 582:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
  1839. 583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief USBD_DevDisconnected
  1840. 584:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * Handle device disconnection event
  1841. 585:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param pdev: device instance
  1842. 586:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
  1843. 587:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
  1844. 588:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DevDisconnected(USBD_HandleTypeDef *pdev)
  1845. 589:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
  1846. 1162 .loc 1 589 1 is_stmt 1 view -0
  1847. 1163 .cfi_startproc
  1848. 1164 @ args = 0, pretend = 0, frame = 0
  1849. 1165 @ frame_needed = 0, uses_anonymous_args = 0
  1850. 1166 .loc 1 589 1 is_stmt 0 view .LVU320
  1851. 1167 0000 08B5 push {r3, lr}
  1852. 1168 .LCFI12:
  1853. 1169 .cfi_def_cfa_offset 8
  1854. 1170 .cfi_offset 3, -8
  1855. 1171 .cfi_offset 14, -4
  1856. 590:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Free Class Resources */
  1857. ARM GAS /tmp/cc7t8dPw.s page 33
  1858. 591:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->dev_state = USBD_STATE_DEFAULT;
  1859. 1172 .loc 1 591 3 is_stmt 1 view .LVU321
  1860. 1173 .loc 1 591 19 is_stmt 0 view .LVU322
  1861. 1174 0002 0122 movs r2, #1
  1862. 1175 0004 80F89C22 strb r2, [r0, #668]
  1863. 592:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
  1864. 1176 .loc 1 592 3 is_stmt 1 view .LVU323
  1865. 1177 .loc 1 592 7 is_stmt 0 view .LVU324
  1866. 1178 0008 D0F8B422 ldr r2, [r0, #692]
  1867. 1179 .loc 1 592 15 view .LVU325
  1868. 1180 000c 5268 ldr r2, [r2, #4]
  1869. 1181 .loc 1 592 3 view .LVU326
  1870. 1182 000e 0179 ldrb r1, [r0, #4] @ zero_extendqisi2
  1871. 1183 0010 9047 blx r2
  1872. 1184 .LVL113:
  1873. 593:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****
  1874. 594:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** return USBD_OK;
  1875. 1185 .loc 1 594 3 is_stmt 1 view .LVU327
  1876. 595:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
  1877. 1186 .loc 1 595 1 is_stmt 0 view .LVU328
  1878. 1187 0012 0020 movs r0, #0
  1879. 1188 0014 08BD pop {r3, pc}
  1880. 1189 .cfi_endproc
  1881. 1190 .LFE674:
  1882. 1192 .text
  1883. 1193 .Letext0:
  1884. 1194 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  1885. 1195 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  1886. 1196 .file 4 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h"
  1887. 1197 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h"
  1888. 1198 .file 6 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
  1889. 1199 .file 7 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
  1890. 1200 .file 8 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h"
  1891. 1201 .file 9 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ctlreq.h"
  1892. ARM GAS /tmp/cc7t8dPw.s page 34
  1893. DEFINED SYMBOLS
  1894. *ABS*:0000000000000000 usbd_core.c
  1895. /tmp/cc7t8dPw.s:18 .text.USBD_Init:0000000000000000 $t
  1896. /tmp/cc7t8dPw.s:24 .text.USBD_Init:0000000000000000 USBD_Init
  1897. /tmp/cc7t8dPw.s:93 .text.USBD_DeInit:0000000000000000 $t
  1898. /tmp/cc7t8dPw.s:99 .text.USBD_DeInit:0000000000000000 USBD_DeInit
  1899. /tmp/cc7t8dPw.s:143 .text.USBD_RegisterClass:0000000000000000 $t
  1900. /tmp/cc7t8dPw.s:149 .text.USBD_RegisterClass:0000000000000000 USBD_RegisterClass
  1901. /tmp/cc7t8dPw.s:182 .text.USBD_Start:0000000000000000 $t
  1902. /tmp/cc7t8dPw.s:188 .text.USBD_Start:0000000000000000 USBD_Start
  1903. /tmp/cc7t8dPw.s:212 .text.USBD_Stop:0000000000000000 $t
  1904. /tmp/cc7t8dPw.s:218 .text.USBD_Stop:0000000000000000 USBD_Stop
  1905. /tmp/cc7t8dPw.s:254 .text.USBD_RunTestMode:0000000000000000 $t
  1906. /tmp/cc7t8dPw.s:260 .text.USBD_RunTestMode:0000000000000000 USBD_RunTestMode
  1907. /tmp/cc7t8dPw.s:279 .text.USBD_SetClassConfig:0000000000000000 $t
  1908. /tmp/cc7t8dPw.s:285 .text.USBD_SetClassConfig:0000000000000000 USBD_SetClassConfig
  1909. /tmp/cc7t8dPw.s:334 .text.USBD_ClrClassConfig:0000000000000000 $t
  1910. /tmp/cc7t8dPw.s:340 .text.USBD_ClrClassConfig:0000000000000000 USBD_ClrClassConfig
  1911. /tmp/cc7t8dPw.s:369 .text.USBD_LL_SetupStage:0000000000000000 $t
  1912. /tmp/cc7t8dPw.s:375 .text.USBD_LL_SetupStage:0000000000000000 USBD_LL_SetupStage
  1913. /tmp/cc7t8dPw.s:457 .text.USBD_LL_DataOutStage:0000000000000000 $t
  1914. /tmp/cc7t8dPw.s:463 .text.USBD_LL_DataOutStage:0000000000000000 USBD_LL_DataOutStage
  1915. /tmp/cc7t8dPw.s:624 .text.USBD_LL_DataInStage:0000000000000000 $t
  1916. /tmp/cc7t8dPw.s:630 .text.USBD_LL_DataInStage:0000000000000000 USBD_LL_DataInStage
  1917. /tmp/cc7t8dPw.s:840 .text.USBD_LL_Reset:0000000000000000 $t
  1918. /tmp/cc7t8dPw.s:846 .text.USBD_LL_Reset:0000000000000000 USBD_LL_Reset
  1919. /tmp/cc7t8dPw.s:927 .text.USBD_LL_SetSpeed:0000000000000000 $t
  1920. /tmp/cc7t8dPw.s:933 .text.USBD_LL_SetSpeed:0000000000000000 USBD_LL_SetSpeed
  1921. /tmp/cc7t8dPw.s:954 .text.USBD_LL_Suspend:0000000000000000 $t
  1922. /tmp/cc7t8dPw.s:960 .text.USBD_LL_Suspend:0000000000000000 USBD_LL_Suspend
  1923. /tmp/cc7t8dPw.s:987 .text.USBD_LL_Resume:0000000000000000 $t
  1924. /tmp/cc7t8dPw.s:993 .text.USBD_LL_Resume:0000000000000000 USBD_LL_Resume
  1925. /tmp/cc7t8dPw.s:1026 .text.USBD_LL_SOF:0000000000000000 $t
  1926. /tmp/cc7t8dPw.s:1032 .text.USBD_LL_SOF:0000000000000000 USBD_LL_SOF
  1927. /tmp/cc7t8dPw.s:1076 .text.USBD_LL_IsoINIncomplete:0000000000000000 $t
  1928. /tmp/cc7t8dPw.s:1082 .text.USBD_LL_IsoINIncomplete:0000000000000000 USBD_LL_IsoINIncomplete
  1929. /tmp/cc7t8dPw.s:1102 .text.USBD_LL_IsoOUTIncomplete:0000000000000000 $t
  1930. /tmp/cc7t8dPw.s:1108 .text.USBD_LL_IsoOUTIncomplete:0000000000000000 USBD_LL_IsoOUTIncomplete
  1931. /tmp/cc7t8dPw.s:1128 .text.USBD_LL_DevConnected:0000000000000000 $t
  1932. /tmp/cc7t8dPw.s:1134 .text.USBD_LL_DevConnected:0000000000000000 USBD_LL_DevConnected
  1933. /tmp/cc7t8dPw.s:1153 .text.USBD_LL_DevDisconnected:0000000000000000 $t
  1934. /tmp/cc7t8dPw.s:1159 .text.USBD_LL_DevDisconnected:0000000000000000 USBD_LL_DevDisconnected
  1935. UNDEFINED SYMBOLS
  1936. USBD_LL_Init
  1937. USBD_LL_Stop
  1938. USBD_LL_DeInit
  1939. USBD_LL_Start
  1940. USBD_ParseSetupRequest
  1941. USBD_LL_StallEP
  1942. USBD_StdDevReq
  1943. USBD_StdItfReq
  1944. USBD_StdEPReq
  1945. USBD_CtlContinueRx
  1946. USBD_CtlSendStatus
  1947. USBD_CtlReceiveStatus
  1948. USBD_CtlContinueSendData
  1949. ARM GAS /tmp/cc7t8dPw.s page 35
  1950. USBD_LL_PrepareReceive
  1951. USBD_LL_OpenEP