usbd_conf.lst 119 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465
  1. ARM GAS /tmp/ccWUM42c.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_conf.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.USBD_Get_USB_Status,"ax",%progbits
  19. 18 .align 1
  20. 19 .syntax unified
  21. 20 .thumb
  22. 21 .thumb_func
  23. 23 USBD_Get_USB_Status:
  24. 24 .LVL0:
  25. 25 .LFB686:
  26. 26 .file 1 "USB_DEVICE/Target/usbd_conf.c"
  27. 1:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN Header */
  28. 2:USB_DEVICE/Target/usbd_conf.c **** /**
  29. 3:USB_DEVICE/Target/usbd_conf.c **** ******************************************************************************
  30. 4:USB_DEVICE/Target/usbd_conf.c **** * @file : Target/usbd_conf.c
  31. 5:USB_DEVICE/Target/usbd_conf.c **** * @version : v2.0_Cube
  32. 6:USB_DEVICE/Target/usbd_conf.c **** * @brief : This file implements the board support package for the USB device library
  33. 7:USB_DEVICE/Target/usbd_conf.c **** ******************************************************************************
  34. 8:USB_DEVICE/Target/usbd_conf.c **** * @attention
  35. 9:USB_DEVICE/Target/usbd_conf.c **** *
  36. 10:USB_DEVICE/Target/usbd_conf.c **** * Copyright (c) 2024 STMicroelectronics.
  37. 11:USB_DEVICE/Target/usbd_conf.c **** * All rights reserved.
  38. 12:USB_DEVICE/Target/usbd_conf.c **** *
  39. 13:USB_DEVICE/Target/usbd_conf.c **** * This software is licensed under terms that can be found in the LICENSE file
  40. 14:USB_DEVICE/Target/usbd_conf.c **** * in the root directory of this software component.
  41. 15:USB_DEVICE/Target/usbd_conf.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  42. 16:USB_DEVICE/Target/usbd_conf.c **** *
  43. 17:USB_DEVICE/Target/usbd_conf.c **** ******************************************************************************
  44. 18:USB_DEVICE/Target/usbd_conf.c **** */
  45. 19:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END Header */
  46. 20:USB_DEVICE/Target/usbd_conf.c ****
  47. 21:USB_DEVICE/Target/usbd_conf.c **** /* Includes ------------------------------------------------------------------*/
  48. 22:USB_DEVICE/Target/usbd_conf.c **** #include "stm32f1xx.h"
  49. 23:USB_DEVICE/Target/usbd_conf.c **** #include "stm32f1xx_hal.h"
  50. 24:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_def.h"
  51. 25:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_core.h"
  52. 26:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_cdc.h"
  53. 27:USB_DEVICE/Target/usbd_conf.c ****
  54. 28:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN Includes */
  55. 29:USB_DEVICE/Target/usbd_conf.c ****
  56. 30:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END Includes */
  57. 31:USB_DEVICE/Target/usbd_conf.c ****
  58. 32:USB_DEVICE/Target/usbd_conf.c **** /* Private typedef -----------------------------------------------------------*/
  59. ARM GAS /tmp/ccWUM42c.s page 2
  60. 33:USB_DEVICE/Target/usbd_conf.c **** /* Private define ------------------------------------------------------------*/
  61. 34:USB_DEVICE/Target/usbd_conf.c **** /* Private macro -------------------------------------------------------------*/
  62. 35:USB_DEVICE/Target/usbd_conf.c ****
  63. 36:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN PV */
  64. 37:USB_DEVICE/Target/usbd_conf.c **** /* Private variables ---------------------------------------------------------*/
  65. 38:USB_DEVICE/Target/usbd_conf.c ****
  66. 39:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END PV */
  67. 40:USB_DEVICE/Target/usbd_conf.c ****
  68. 41:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef hpcd_USB_FS;
  69. 42:USB_DEVICE/Target/usbd_conf.c **** void Error_Handler(void);
  70. 43:USB_DEVICE/Target/usbd_conf.c ****
  71. 44:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 0 */
  72. 45:USB_DEVICE/Target/usbd_conf.c ****
  73. 46:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 0 */
  74. 47:USB_DEVICE/Target/usbd_conf.c ****
  75. 48:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN PFP */
  76. 49:USB_DEVICE/Target/usbd_conf.c **** /* Private function prototypes -----------------------------------------------*/
  77. 50:USB_DEVICE/Target/usbd_conf.c ****
  78. 51:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END PFP */
  79. 52:USB_DEVICE/Target/usbd_conf.c ****
  80. 53:USB_DEVICE/Target/usbd_conf.c **** /* Private functions ---------------------------------------------------------*/
  81. 54:USB_DEVICE/Target/usbd_conf.c **** static USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status);
  82. 55:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 1 */
  83. 56:USB_DEVICE/Target/usbd_conf.c ****
  84. 57:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 1 */
  85. 58:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  86. 59:USB_DEVICE/Target/usbd_conf.c **** static void PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);
  87. 60:USB_DEVICE/Target/usbd_conf.c **** #else
  88. 61:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);
  89. 62:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  90. 63:USB_DEVICE/Target/usbd_conf.c ****
  91. 64:USB_DEVICE/Target/usbd_conf.c **** /*******************************************************************************
  92. 65:USB_DEVICE/Target/usbd_conf.c **** LL Driver Callbacks (PCD -> USB Device Library)
  93. 66:USB_DEVICE/Target/usbd_conf.c **** *******************************************************************************/
  94. 67:USB_DEVICE/Target/usbd_conf.c **** /* MSP Init */
  95. 68:USB_DEVICE/Target/usbd_conf.c ****
  96. 69:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle)
  97. 70:USB_DEVICE/Target/usbd_conf.c **** {
  98. 71:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB)
  99. 72:USB_DEVICE/Target/usbd_conf.c **** {
  100. 73:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 0 */
  101. 74:USB_DEVICE/Target/usbd_conf.c ****
  102. 75:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspInit 0 */
  103. 76:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral clock enable */
  104. 77:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_USB_CLK_ENABLE();
  105. 78:USB_DEVICE/Target/usbd_conf.c ****
  106. 79:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral interrupt init */
  107. 80:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_SetPriority(USB_LP_CAN1_RX0_IRQn, 0, 0);
  108. 81:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn);
  109. 82:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 1 */
  110. 83:USB_DEVICE/Target/usbd_conf.c ****
  111. 84:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspInit 1 */
  112. 85:USB_DEVICE/Target/usbd_conf.c **** }
  113. 86:USB_DEVICE/Target/usbd_conf.c **** }
  114. 87:USB_DEVICE/Target/usbd_conf.c ****
  115. 88:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle)
  116. 89:USB_DEVICE/Target/usbd_conf.c **** {
  117. ARM GAS /tmp/ccWUM42c.s page 3
  118. 90:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB)
  119. 91:USB_DEVICE/Target/usbd_conf.c **** {
  120. 92:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspDeInit 0 */
  121. 93:USB_DEVICE/Target/usbd_conf.c ****
  122. 94:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspDeInit 0 */
  123. 95:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral clock disable */
  124. 96:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_USB_CLK_DISABLE();
  125. 97:USB_DEVICE/Target/usbd_conf.c ****
  126. 98:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral interrupt Deinit*/
  127. 99:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_DisableIRQ(USB_LP_CAN1_RX0_IRQn);
  128. 100:USB_DEVICE/Target/usbd_conf.c ****
  129. 101:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspDeInit 1 */
  130. 102:USB_DEVICE/Target/usbd_conf.c ****
  131. 103:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspDeInit 1 */
  132. 104:USB_DEVICE/Target/usbd_conf.c **** }
  133. 105:USB_DEVICE/Target/usbd_conf.c **** }
  134. 106:USB_DEVICE/Target/usbd_conf.c ****
  135. 107:USB_DEVICE/Target/usbd_conf.c **** /**
  136. 108:USB_DEVICE/Target/usbd_conf.c **** * @brief Setup stage callback
  137. 109:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  138. 110:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  139. 111:USB_DEVICE/Target/usbd_conf.c **** */
  140. 112:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  141. 113:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd)
  142. 114:USB_DEVICE/Target/usbd_conf.c **** #else
  143. 115:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd)
  144. 116:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  145. 117:USB_DEVICE/Target/usbd_conf.c **** {
  146. 118:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup);
  147. 119:USB_DEVICE/Target/usbd_conf.c **** }
  148. 120:USB_DEVICE/Target/usbd_conf.c ****
  149. 121:USB_DEVICE/Target/usbd_conf.c **** /**
  150. 122:USB_DEVICE/Target/usbd_conf.c **** * @brief Data Out stage callback.
  151. 123:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  152. 124:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number
  153. 125:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  154. 126:USB_DEVICE/Target/usbd_conf.c **** */
  155. 127:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  156. 128:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  157. 129:USB_DEVICE/Target/usbd_conf.c **** #else
  158. 130:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  159. 131:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  160. 132:USB_DEVICE/Target/usbd_conf.c **** {
  161. 133:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff);
  162. 134:USB_DEVICE/Target/usbd_conf.c **** }
  163. 135:USB_DEVICE/Target/usbd_conf.c ****
  164. 136:USB_DEVICE/Target/usbd_conf.c **** /**
  165. 137:USB_DEVICE/Target/usbd_conf.c **** * @brief Data In stage callback.
  166. 138:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  167. 139:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number
  168. 140:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  169. 141:USB_DEVICE/Target/usbd_conf.c **** */
  170. 142:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  171. 143:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  172. 144:USB_DEVICE/Target/usbd_conf.c **** #else
  173. 145:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  174. 146:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  175. ARM GAS /tmp/ccWUM42c.s page 4
  176. 147:USB_DEVICE/Target/usbd_conf.c **** {
  177. 148:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff);
  178. 149:USB_DEVICE/Target/usbd_conf.c **** }
  179. 150:USB_DEVICE/Target/usbd_conf.c ****
  180. 151:USB_DEVICE/Target/usbd_conf.c **** /**
  181. 152:USB_DEVICE/Target/usbd_conf.c **** * @brief SOF callback.
  182. 153:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  183. 154:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  184. 155:USB_DEVICE/Target/usbd_conf.c **** */
  185. 156:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  186. 157:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd)
  187. 158:USB_DEVICE/Target/usbd_conf.c **** #else
  188. 159:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd)
  189. 160:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  190. 161:USB_DEVICE/Target/usbd_conf.c **** {
  191. 162:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData);
  192. 163:USB_DEVICE/Target/usbd_conf.c **** }
  193. 164:USB_DEVICE/Target/usbd_conf.c ****
  194. 165:USB_DEVICE/Target/usbd_conf.c **** /**
  195. 166:USB_DEVICE/Target/usbd_conf.c **** * @brief Reset callback.
  196. 167:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  197. 168:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  198. 169:USB_DEVICE/Target/usbd_conf.c **** */
  199. 170:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  200. 171:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd)
  201. 172:USB_DEVICE/Target/usbd_conf.c **** #else
  202. 173:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd)
  203. 174:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  204. 175:USB_DEVICE/Target/usbd_conf.c **** {
  205. 176:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL;
  206. 177:USB_DEVICE/Target/usbd_conf.c ****
  207. 178:USB_DEVICE/Target/usbd_conf.c **** if ( hpcd->Init.speed != PCD_SPEED_FULL)
  208. 179:USB_DEVICE/Target/usbd_conf.c **** {
  209. 180:USB_DEVICE/Target/usbd_conf.c **** Error_Handler();
  210. 181:USB_DEVICE/Target/usbd_conf.c **** }
  211. 182:USB_DEVICE/Target/usbd_conf.c **** /* Set Speed. */
  212. 183:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed);
  213. 184:USB_DEVICE/Target/usbd_conf.c ****
  214. 185:USB_DEVICE/Target/usbd_conf.c **** /* Reset Device. */
  215. 186:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData);
  216. 187:USB_DEVICE/Target/usbd_conf.c **** }
  217. 188:USB_DEVICE/Target/usbd_conf.c ****
  218. 189:USB_DEVICE/Target/usbd_conf.c **** /**
  219. 190:USB_DEVICE/Target/usbd_conf.c **** * @brief Suspend callback.
  220. 191:USB_DEVICE/Target/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it)
  221. 192:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  222. 193:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  223. 194:USB_DEVICE/Target/usbd_conf.c **** */
  224. 195:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  225. 196:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd)
  226. 197:USB_DEVICE/Target/usbd_conf.c **** #else
  227. 198:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd)
  228. 199:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  229. 200:USB_DEVICE/Target/usbd_conf.c **** {
  230. 201:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */
  231. 202:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData);
  232. 203:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */
  233. ARM GAS /tmp/ccWUM42c.s page 5
  234. 204:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 2 */
  235. 205:USB_DEVICE/Target/usbd_conf.c **** if (hpcd->Init.low_power_enable)
  236. 206:USB_DEVICE/Target/usbd_conf.c **** {
  237. 207:USB_DEVICE/Target/usbd_conf.c **** /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */
  238. 208:USB_DEVICE/Target/usbd_conf.c **** SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk));
  239. 209:USB_DEVICE/Target/usbd_conf.c **** }
  240. 210:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 2 */
  241. 211:USB_DEVICE/Target/usbd_conf.c **** }
  242. 212:USB_DEVICE/Target/usbd_conf.c ****
  243. 213:USB_DEVICE/Target/usbd_conf.c **** /**
  244. 214:USB_DEVICE/Target/usbd_conf.c **** * @brief Resume callback.
  245. 215:USB_DEVICE/Target/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it)
  246. 216:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  247. 217:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  248. 218:USB_DEVICE/Target/usbd_conf.c **** */
  249. 219:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  250. 220:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd)
  251. 221:USB_DEVICE/Target/usbd_conf.c **** #else
  252. 222:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd)
  253. 223:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  254. 224:USB_DEVICE/Target/usbd_conf.c **** {
  255. 225:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */
  256. 226:USB_DEVICE/Target/usbd_conf.c ****
  257. 227:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 3 */
  258. 228:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData);
  259. 229:USB_DEVICE/Target/usbd_conf.c **** }
  260. 230:USB_DEVICE/Target/usbd_conf.c ****
  261. 231:USB_DEVICE/Target/usbd_conf.c **** /**
  262. 232:USB_DEVICE/Target/usbd_conf.c **** * @brief ISOOUTIncomplete callback.
  263. 233:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  264. 234:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number
  265. 235:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  266. 236:USB_DEVICE/Target/usbd_conf.c **** */
  267. 237:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  268. 238:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  269. 239:USB_DEVICE/Target/usbd_conf.c **** #else
  270. 240:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  271. 241:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  272. 242:USB_DEVICE/Target/usbd_conf.c **** {
  273. 243:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
  274. 244:USB_DEVICE/Target/usbd_conf.c **** }
  275. 245:USB_DEVICE/Target/usbd_conf.c ****
  276. 246:USB_DEVICE/Target/usbd_conf.c **** /**
  277. 247:USB_DEVICE/Target/usbd_conf.c **** * @brief ISOINIncomplete callback.
  278. 248:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  279. 249:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number
  280. 250:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  281. 251:USB_DEVICE/Target/usbd_conf.c **** */
  282. 252:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  283. 253:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  284. 254:USB_DEVICE/Target/usbd_conf.c **** #else
  285. 255:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
  286. 256:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  287. 257:USB_DEVICE/Target/usbd_conf.c **** {
  288. 258:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
  289. 259:USB_DEVICE/Target/usbd_conf.c **** }
  290. 260:USB_DEVICE/Target/usbd_conf.c ****
  291. ARM GAS /tmp/ccWUM42c.s page 6
  292. 261:USB_DEVICE/Target/usbd_conf.c **** /**
  293. 262:USB_DEVICE/Target/usbd_conf.c **** * @brief Connect callback.
  294. 263:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  295. 264:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  296. 265:USB_DEVICE/Target/usbd_conf.c **** */
  297. 266:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  298. 267:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ConnectCallback(PCD_HandleTypeDef *hpcd)
  299. 268:USB_DEVICE/Target/usbd_conf.c **** #else
  300. 269:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd)
  301. 270:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  302. 271:USB_DEVICE/Target/usbd_conf.c **** {
  303. 272:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData);
  304. 273:USB_DEVICE/Target/usbd_conf.c **** }
  305. 274:USB_DEVICE/Target/usbd_conf.c ****
  306. 275:USB_DEVICE/Target/usbd_conf.c **** /**
  307. 276:USB_DEVICE/Target/usbd_conf.c **** * @brief Disconnect callback.
  308. 277:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  309. 278:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  310. 279:USB_DEVICE/Target/usbd_conf.c **** */
  311. 280:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  312. 281:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd)
  313. 282:USB_DEVICE/Target/usbd_conf.c **** #else
  314. 283:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd)
  315. 284:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  316. 285:USB_DEVICE/Target/usbd_conf.c **** {
  317. 286:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData);
  318. 287:USB_DEVICE/Target/usbd_conf.c **** }
  319. 288:USB_DEVICE/Target/usbd_conf.c ****
  320. 289:USB_DEVICE/Target/usbd_conf.c **** /*******************************************************************************
  321. 290:USB_DEVICE/Target/usbd_conf.c **** LL Driver Interface (USB Device Library --> PCD)
  322. 291:USB_DEVICE/Target/usbd_conf.c **** *******************************************************************************/
  323. 292:USB_DEVICE/Target/usbd_conf.c ****
  324. 293:USB_DEVICE/Target/usbd_conf.c **** /**
  325. 294:USB_DEVICE/Target/usbd_conf.c **** * @brief Initializes the low level portion of the device driver.
  326. 295:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  327. 296:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  328. 297:USB_DEVICE/Target/usbd_conf.c **** */
  329. 298:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev)
  330. 299:USB_DEVICE/Target/usbd_conf.c **** {
  331. 300:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */
  332. 301:USB_DEVICE/Target/usbd_conf.c **** /* Link the driver to the stack. */
  333. 302:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.pData = pdev;
  334. 303:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS;
  335. 304:USB_DEVICE/Target/usbd_conf.c ****
  336. 305:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Instance = USB;
  337. 306:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8;
  338. 307:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL;
  339. 308:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE;
  340. 309:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE;
  341. 310:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE;
  342. 311:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK)
  343. 312:USB_DEVICE/Target/usbd_conf.c **** {
  344. 313:USB_DEVICE/Target/usbd_conf.c **** Error_Handler( );
  345. 314:USB_DEVICE/Target/usbd_conf.c **** }
  346. 315:USB_DEVICE/Target/usbd_conf.c ****
  347. 316:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  348. 317:USB_DEVICE/Target/usbd_conf.c **** /* Register USB PCD CallBacks */
  349. ARM GAS /tmp/ccWUM42c.s page 7
  350. 318:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SOF_CB_ID, PCD_SOFCallback);
  351. 319:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SETUPSTAGE_CB_ID, PCD_SetupStageCallback);
  352. 320:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_RESET_CB_ID, PCD_ResetCallback);
  353. 321:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SUSPEND_CB_ID, PCD_SuspendCallback);
  354. 322:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_RESUME_CB_ID, PCD_ResumeCallback);
  355. 323:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_CONNECT_CB_ID, PCD_ConnectCallback);
  356. 324:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_DISCONNECT_CB_ID, PCD_DisconnectCallback);
  357. 325:USB_DEVICE/Target/usbd_conf.c ****
  358. 326:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterDataOutStageCallback(&hpcd_USB_FS, PCD_DataOutStageCallback);
  359. 327:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterDataInStageCallback(&hpcd_USB_FS, PCD_DataInStageCallback);
  360. 328:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterIsoOutIncpltCallback(&hpcd_USB_FS, PCD_ISOOUTIncompleteCallback);
  361. 329:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterIsoInIncpltCallback(&hpcd_USB_FS, PCD_ISOINIncompleteCallback);
  362. 330:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  363. 331:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN EndPoint_Configuration */
  364. 332:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x00 , PCD_SNG_BUF, 0x18);
  365. 333:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x80 , PCD_SNG_BUF, 0x58);
  366. 334:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration */
  367. 335:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN EndPoint_Configuration_CDC */
  368. 336:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x81 , PCD_SNG_BUF, 0xC0);
  369. 337:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x01 , PCD_SNG_BUF, 0x110);
  370. 338:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x82 , PCD_SNG_BUF, 0x100);
  371. 339:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration_CDC */
  372. 340:USB_DEVICE/Target/usbd_conf.c **** return USBD_OK;
  373. 341:USB_DEVICE/Target/usbd_conf.c **** }
  374. 342:USB_DEVICE/Target/usbd_conf.c ****
  375. 343:USB_DEVICE/Target/usbd_conf.c **** /**
  376. 344:USB_DEVICE/Target/usbd_conf.c **** * @brief De-Initializes the low level portion of the device driver.
  377. 345:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  378. 346:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  379. 347:USB_DEVICE/Target/usbd_conf.c **** */
  380. 348:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev)
  381. 349:USB_DEVICE/Target/usbd_conf.c **** {
  382. 350:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  383. 351:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  384. 352:USB_DEVICE/Target/usbd_conf.c ****
  385. 353:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_DeInit(pdev->pData);
  386. 354:USB_DEVICE/Target/usbd_conf.c ****
  387. 355:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  388. 356:USB_DEVICE/Target/usbd_conf.c ****
  389. 357:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  390. 358:USB_DEVICE/Target/usbd_conf.c **** }
  391. 359:USB_DEVICE/Target/usbd_conf.c ****
  392. 360:USB_DEVICE/Target/usbd_conf.c **** /**
  393. 361:USB_DEVICE/Target/usbd_conf.c **** * @brief Starts the low level portion of the device driver.
  394. 362:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  395. 363:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  396. 364:USB_DEVICE/Target/usbd_conf.c **** */
  397. 365:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev)
  398. 366:USB_DEVICE/Target/usbd_conf.c **** {
  399. 367:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  400. 368:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  401. 369:USB_DEVICE/Target/usbd_conf.c ****
  402. 370:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_Start(pdev->pData);
  403. 371:USB_DEVICE/Target/usbd_conf.c ****
  404. 372:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  405. 373:USB_DEVICE/Target/usbd_conf.c ****
  406. 374:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  407. ARM GAS /tmp/ccWUM42c.s page 8
  408. 375:USB_DEVICE/Target/usbd_conf.c **** }
  409. 376:USB_DEVICE/Target/usbd_conf.c ****
  410. 377:USB_DEVICE/Target/usbd_conf.c **** /**
  411. 378:USB_DEVICE/Target/usbd_conf.c **** * @brief Stops the low level portion of the device driver.
  412. 379:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  413. 380:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  414. 381:USB_DEVICE/Target/usbd_conf.c **** */
  415. 382:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev)
  416. 383:USB_DEVICE/Target/usbd_conf.c **** {
  417. 384:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  418. 385:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  419. 386:USB_DEVICE/Target/usbd_conf.c ****
  420. 387:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_Stop(pdev->pData);
  421. 388:USB_DEVICE/Target/usbd_conf.c ****
  422. 389:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  423. 390:USB_DEVICE/Target/usbd_conf.c ****
  424. 391:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  425. 392:USB_DEVICE/Target/usbd_conf.c **** }
  426. 393:USB_DEVICE/Target/usbd_conf.c ****
  427. 394:USB_DEVICE/Target/usbd_conf.c **** /**
  428. 395:USB_DEVICE/Target/usbd_conf.c **** * @brief Opens an endpoint of the low level driver.
  429. 396:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  430. 397:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  431. 398:USB_DEVICE/Target/usbd_conf.c **** * @param ep_type: Endpoint type
  432. 399:USB_DEVICE/Target/usbd_conf.c **** * @param ep_mps: Endpoint max packet size
  433. 400:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  434. 401:USB_DEVICE/Target/usbd_conf.c **** */
  435. 402:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint1
  436. 403:USB_DEVICE/Target/usbd_conf.c **** {
  437. 404:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  438. 405:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  439. 406:USB_DEVICE/Target/usbd_conf.c ****
  440. 407:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type);
  441. 408:USB_DEVICE/Target/usbd_conf.c ****
  442. 409:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  443. 410:USB_DEVICE/Target/usbd_conf.c ****
  444. 411:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  445. 412:USB_DEVICE/Target/usbd_conf.c **** }
  446. 413:USB_DEVICE/Target/usbd_conf.c ****
  447. 414:USB_DEVICE/Target/usbd_conf.c **** /**
  448. 415:USB_DEVICE/Target/usbd_conf.c **** * @brief Closes an endpoint of the low level driver.
  449. 416:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  450. 417:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  451. 418:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  452. 419:USB_DEVICE/Target/usbd_conf.c **** */
  453. 420:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  454. 421:USB_DEVICE/Target/usbd_conf.c **** {
  455. 422:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  456. 423:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  457. 424:USB_DEVICE/Target/usbd_conf.c ****
  458. 425:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr);
  459. 426:USB_DEVICE/Target/usbd_conf.c ****
  460. 427:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  461. 428:USB_DEVICE/Target/usbd_conf.c ****
  462. 429:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  463. 430:USB_DEVICE/Target/usbd_conf.c **** }
  464. 431:USB_DEVICE/Target/usbd_conf.c ****
  465. ARM GAS /tmp/ccWUM42c.s page 9
  466. 432:USB_DEVICE/Target/usbd_conf.c **** /**
  467. 433:USB_DEVICE/Target/usbd_conf.c **** * @brief Flushes an endpoint of the Low Level Driver.
  468. 434:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  469. 435:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  470. 436:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  471. 437:USB_DEVICE/Target/usbd_conf.c **** */
  472. 438:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  473. 439:USB_DEVICE/Target/usbd_conf.c **** {
  474. 440:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  475. 441:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  476. 442:USB_DEVICE/Target/usbd_conf.c ****
  477. 443:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr);
  478. 444:USB_DEVICE/Target/usbd_conf.c ****
  479. 445:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  480. 446:USB_DEVICE/Target/usbd_conf.c ****
  481. 447:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  482. 448:USB_DEVICE/Target/usbd_conf.c **** }
  483. 449:USB_DEVICE/Target/usbd_conf.c ****
  484. 450:USB_DEVICE/Target/usbd_conf.c **** /**
  485. 451:USB_DEVICE/Target/usbd_conf.c **** * @brief Sets a Stall condition on an endpoint of the Low Level Driver.
  486. 452:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  487. 453:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  488. 454:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  489. 455:USB_DEVICE/Target/usbd_conf.c **** */
  490. 456:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  491. 457:USB_DEVICE/Target/usbd_conf.c **** {
  492. 458:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  493. 459:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  494. 460:USB_DEVICE/Target/usbd_conf.c ****
  495. 461:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr);
  496. 462:USB_DEVICE/Target/usbd_conf.c ****
  497. 463:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  498. 464:USB_DEVICE/Target/usbd_conf.c ****
  499. 465:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  500. 466:USB_DEVICE/Target/usbd_conf.c **** }
  501. 467:USB_DEVICE/Target/usbd_conf.c ****
  502. 468:USB_DEVICE/Target/usbd_conf.c **** /**
  503. 469:USB_DEVICE/Target/usbd_conf.c **** * @brief Clears a Stall condition on an endpoint of the Low Level Driver.
  504. 470:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  505. 471:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  506. 472:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  507. 473:USB_DEVICE/Target/usbd_conf.c **** */
  508. 474:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  509. 475:USB_DEVICE/Target/usbd_conf.c **** {
  510. 476:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  511. 477:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  512. 478:USB_DEVICE/Target/usbd_conf.c ****
  513. 479:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr);
  514. 480:USB_DEVICE/Target/usbd_conf.c ****
  515. 481:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  516. 482:USB_DEVICE/Target/usbd_conf.c ****
  517. 483:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  518. 484:USB_DEVICE/Target/usbd_conf.c **** }
  519. 485:USB_DEVICE/Target/usbd_conf.c ****
  520. 486:USB_DEVICE/Target/usbd_conf.c **** /**
  521. 487:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns Stall condition.
  522. 488:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  523. ARM GAS /tmp/ccWUM42c.s page 10
  524. 489:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  525. 490:USB_DEVICE/Target/usbd_conf.c **** * @retval Stall (1: Yes, 0: No)
  526. 491:USB_DEVICE/Target/usbd_conf.c **** */
  527. 492:USB_DEVICE/Target/usbd_conf.c **** uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  528. 493:USB_DEVICE/Target/usbd_conf.c **** {
  529. 494:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData;
  530. 495:USB_DEVICE/Target/usbd_conf.c ****
  531. 496:USB_DEVICE/Target/usbd_conf.c **** if((ep_addr & 0x80) == 0x80)
  532. 497:USB_DEVICE/Target/usbd_conf.c **** {
  533. 498:USB_DEVICE/Target/usbd_conf.c **** return hpcd->IN_ep[ep_addr & 0x7F].is_stall;
  534. 499:USB_DEVICE/Target/usbd_conf.c **** }
  535. 500:USB_DEVICE/Target/usbd_conf.c **** else
  536. 501:USB_DEVICE/Target/usbd_conf.c **** {
  537. 502:USB_DEVICE/Target/usbd_conf.c **** return hpcd->OUT_ep[ep_addr & 0x7F].is_stall;
  538. 503:USB_DEVICE/Target/usbd_conf.c **** }
  539. 504:USB_DEVICE/Target/usbd_conf.c **** }
  540. 505:USB_DEVICE/Target/usbd_conf.c ****
  541. 506:USB_DEVICE/Target/usbd_conf.c **** /**
  542. 507:USB_DEVICE/Target/usbd_conf.c **** * @brief Assigns a USB address to the device.
  543. 508:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  544. 509:USB_DEVICE/Target/usbd_conf.c **** * @param dev_addr: Device address
  545. 510:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  546. 511:USB_DEVICE/Target/usbd_conf.c **** */
  547. 512:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr)
  548. 513:USB_DEVICE/Target/usbd_conf.c **** {
  549. 514:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  550. 515:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  551. 516:USB_DEVICE/Target/usbd_conf.c ****
  552. 517:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr);
  553. 518:USB_DEVICE/Target/usbd_conf.c ****
  554. 519:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  555. 520:USB_DEVICE/Target/usbd_conf.c ****
  556. 521:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  557. 522:USB_DEVICE/Target/usbd_conf.c **** }
  558. 523:USB_DEVICE/Target/usbd_conf.c ****
  559. 524:USB_DEVICE/Target/usbd_conf.c **** /**
  560. 525:USB_DEVICE/Target/usbd_conf.c **** * @brief Transmits data over an endpoint.
  561. 526:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  562. 527:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  563. 528:USB_DEVICE/Target/usbd_conf.c **** * @param pbuf: Pointer to data to be sent
  564. 529:USB_DEVICE/Target/usbd_conf.c **** * @param size: Data size
  565. 530:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  566. 531:USB_DEVICE/Target/usbd_conf.c **** */
  567. 532:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint1
  568. 533:USB_DEVICE/Target/usbd_conf.c **** {
  569. 534:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  570. 535:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  571. 536:USB_DEVICE/Target/usbd_conf.c ****
  572. 537:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size);
  573. 538:USB_DEVICE/Target/usbd_conf.c ****
  574. 539:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  575. 540:USB_DEVICE/Target/usbd_conf.c ****
  576. 541:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  577. 542:USB_DEVICE/Target/usbd_conf.c **** }
  578. 543:USB_DEVICE/Target/usbd_conf.c ****
  579. 544:USB_DEVICE/Target/usbd_conf.c **** /**
  580. 545:USB_DEVICE/Target/usbd_conf.c **** * @brief Prepares an endpoint for reception.
  581. ARM GAS /tmp/ccWUM42c.s page 11
  582. 546:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  583. 547:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  584. 548:USB_DEVICE/Target/usbd_conf.c **** * @param pbuf: Pointer to data to be received
  585. 549:USB_DEVICE/Target/usbd_conf.c **** * @param size: Data size
  586. 550:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status
  587. 551:USB_DEVICE/Target/usbd_conf.c **** */
  588. 552:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf,
  589. 553:USB_DEVICE/Target/usbd_conf.c **** {
  590. 554:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  591. 555:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  592. 556:USB_DEVICE/Target/usbd_conf.c ****
  593. 557:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size);
  594. 558:USB_DEVICE/Target/usbd_conf.c ****
  595. 559:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status);
  596. 560:USB_DEVICE/Target/usbd_conf.c ****
  597. 561:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  598. 562:USB_DEVICE/Target/usbd_conf.c **** }
  599. 563:USB_DEVICE/Target/usbd_conf.c ****
  600. 564:USB_DEVICE/Target/usbd_conf.c **** /**
  601. 565:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns the last transferred packet size.
  602. 566:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle
  603. 567:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number
  604. 568:USB_DEVICE/Target/usbd_conf.c **** * @retval Received Data Size
  605. 569:USB_DEVICE/Target/usbd_conf.c **** */
  606. 570:USB_DEVICE/Target/usbd_conf.c **** uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
  607. 571:USB_DEVICE/Target/usbd_conf.c **** {
  608. 572:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr);
  609. 573:USB_DEVICE/Target/usbd_conf.c **** }
  610. 574:USB_DEVICE/Target/usbd_conf.c ****
  611. 575:USB_DEVICE/Target/usbd_conf.c **** /**
  612. 576:USB_DEVICE/Target/usbd_conf.c **** * @brief Delays routine for the USB device library.
  613. 577:USB_DEVICE/Target/usbd_conf.c **** * @param Delay: Delay in ms
  614. 578:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  615. 579:USB_DEVICE/Target/usbd_conf.c **** */
  616. 580:USB_DEVICE/Target/usbd_conf.c **** void USBD_LL_Delay(uint32_t Delay)
  617. 581:USB_DEVICE/Target/usbd_conf.c **** {
  618. 582:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay);
  619. 583:USB_DEVICE/Target/usbd_conf.c **** }
  620. 584:USB_DEVICE/Target/usbd_conf.c ****
  621. 585:USB_DEVICE/Target/usbd_conf.c **** /**
  622. 586:USB_DEVICE/Target/usbd_conf.c **** * @brief Static single allocation.
  623. 587:USB_DEVICE/Target/usbd_conf.c **** * @param size: Size of allocated memory
  624. 588:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  625. 589:USB_DEVICE/Target/usbd_conf.c **** */
  626. 590:USB_DEVICE/Target/usbd_conf.c **** void *USBD_static_malloc(uint32_t size)
  627. 591:USB_DEVICE/Target/usbd_conf.c **** {
  628. 592:USB_DEVICE/Target/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_CDC_HandleTypeDef)/4)+1];/* On 32-bit boundary */
  629. 593:USB_DEVICE/Target/usbd_conf.c **** return mem;
  630. 594:USB_DEVICE/Target/usbd_conf.c **** }
  631. 595:USB_DEVICE/Target/usbd_conf.c ****
  632. 596:USB_DEVICE/Target/usbd_conf.c **** /**
  633. 597:USB_DEVICE/Target/usbd_conf.c **** * @brief Dummy memory free
  634. 598:USB_DEVICE/Target/usbd_conf.c **** * @param p: Pointer to allocated memory address
  635. 599:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  636. 600:USB_DEVICE/Target/usbd_conf.c **** */
  637. 601:USB_DEVICE/Target/usbd_conf.c **** void USBD_static_free(void *p)
  638. 602:USB_DEVICE/Target/usbd_conf.c **** {
  639. ARM GAS /tmp/ccWUM42c.s page 12
  640. 603:USB_DEVICE/Target/usbd_conf.c ****
  641. 604:USB_DEVICE/Target/usbd_conf.c **** }
  642. 605:USB_DEVICE/Target/usbd_conf.c ****
  643. 606:USB_DEVICE/Target/usbd_conf.c **** /**
  644. 607:USB_DEVICE/Target/usbd_conf.c **** * @brief Software Device Connection
  645. 608:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle
  646. 609:USB_DEVICE/Target/usbd_conf.c **** * @param state: Connection state (0: disconnected / 1: connected)
  647. 610:USB_DEVICE/Target/usbd_conf.c **** * @retval None
  648. 611:USB_DEVICE/Target/usbd_conf.c **** */
  649. 612:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
  650. 613:USB_DEVICE/Target/usbd_conf.c **** static void PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state)
  651. 614:USB_DEVICE/Target/usbd_conf.c **** #else
  652. 615:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state)
  653. 616:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
  654. 617:USB_DEVICE/Target/usbd_conf.c **** {
  655. 618:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 6 */
  656. 619:USB_DEVICE/Target/usbd_conf.c **** if (state == 1)
  657. 620:USB_DEVICE/Target/usbd_conf.c **** {
  658. 621:USB_DEVICE/Target/usbd_conf.c **** /* Configure Low connection state. */
  659. 622:USB_DEVICE/Target/usbd_conf.c ****
  660. 623:USB_DEVICE/Target/usbd_conf.c **** }
  661. 624:USB_DEVICE/Target/usbd_conf.c **** else
  662. 625:USB_DEVICE/Target/usbd_conf.c **** {
  663. 626:USB_DEVICE/Target/usbd_conf.c **** /* Configure High connection state. */
  664. 627:USB_DEVICE/Target/usbd_conf.c ****
  665. 628:USB_DEVICE/Target/usbd_conf.c **** }
  666. 629:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 6 */
  667. 630:USB_DEVICE/Target/usbd_conf.c **** }
  668. 631:USB_DEVICE/Target/usbd_conf.c ****
  669. 632:USB_DEVICE/Target/usbd_conf.c **** /**
  670. 633:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns the USB status depending on the HAL status:
  671. 634:USB_DEVICE/Target/usbd_conf.c **** * @param hal_status: HAL status
  672. 635:USB_DEVICE/Target/usbd_conf.c **** * @retval USB status
  673. 636:USB_DEVICE/Target/usbd_conf.c **** */
  674. 637:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status)
  675. 638:USB_DEVICE/Target/usbd_conf.c **** {
  676. 27 .loc 1 638 1 view -0
  677. 28 .cfi_startproc
  678. 29 @ args = 0, pretend = 0, frame = 0
  679. 30 @ frame_needed = 0, uses_anonymous_args = 0
  680. 31 @ link register save eliminated.
  681. 639:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  682. 32 .loc 1 639 3 view .LVU1
  683. 640:USB_DEVICE/Target/usbd_conf.c ****
  684. 641:USB_DEVICE/Target/usbd_conf.c **** switch (hal_status)
  685. 33 .loc 1 641 3 view .LVU2
  686. 34 0000 0228 cmp r0, #2
  687. 35 0002 05D8 bhi .L6
  688. 36 0004 DFE800F0 tbb [pc, r0]
  689. 37 .L4:
  690. 38 0008 05 .byte (.L2-.L4)/2
  691. 39 0009 04 .byte (.L6-.L4)/2
  692. 40 000a 02 .byte (.L3-.L4)/2
  693. 41 000b 00 .p2align 1
  694. 42 .L3:
  695. 642:USB_DEVICE/Target/usbd_conf.c **** {
  696. 643:USB_DEVICE/Target/usbd_conf.c **** case HAL_OK :
  697. ARM GAS /tmp/ccWUM42c.s page 13
  698. 644:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_OK;
  699. 645:USB_DEVICE/Target/usbd_conf.c **** break;
  700. 646:USB_DEVICE/Target/usbd_conf.c **** case HAL_ERROR :
  701. 647:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL;
  702. 648:USB_DEVICE/Target/usbd_conf.c **** break;
  703. 649:USB_DEVICE/Target/usbd_conf.c **** case HAL_BUSY :
  704. 650:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_BUSY;
  705. 43 .loc 1 650 7 view .LVU3
  706. 44 .LVL1:
  707. 651:USB_DEVICE/Target/usbd_conf.c **** break;
  708. 45 .loc 1 651 5 view .LVU4
  709. 650:USB_DEVICE/Target/usbd_conf.c **** break;
  710. 46 .loc 1 650 18 is_stmt 0 view .LVU5
  711. 47 000c 0120 movs r0, #1
  712. 48 .LVL2:
  713. 49 .loc 1 651 5 view .LVU6
  714. 50 000e 7047 bx lr
  715. 51 .LVL3:
  716. 52 .L6:
  717. 647:USB_DEVICE/Target/usbd_conf.c **** break;
  718. 53 .loc 1 647 18 view .LVU7
  719. 54 0010 0220 movs r0, #2
  720. 55 .LVL4:
  721. 56 .L2:
  722. 652:USB_DEVICE/Target/usbd_conf.c **** case HAL_TIMEOUT :
  723. 653:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL;
  724. 654:USB_DEVICE/Target/usbd_conf.c **** break;
  725. 655:USB_DEVICE/Target/usbd_conf.c **** default :
  726. 656:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL;
  727. 657:USB_DEVICE/Target/usbd_conf.c **** break;
  728. 658:USB_DEVICE/Target/usbd_conf.c **** }
  729. 659:USB_DEVICE/Target/usbd_conf.c **** return usb_status;
  730. 57 .loc 1 659 3 is_stmt 1 view .LVU8
  731. 660:USB_DEVICE/Target/usbd_conf.c **** }
  732. 58 .loc 1 660 1 is_stmt 0 view .LVU9
  733. 59 0012 7047 bx lr
  734. 60 .cfi_endproc
  735. 61 .LFE686:
  736. 63 .section .text.HAL_PCD_MspInit,"ax",%progbits
  737. 64 .align 1
  738. 65 .global HAL_PCD_MspInit
  739. 66 .syntax unified
  740. 67 .thumb
  741. 68 .thumb_func
  742. 70 HAL_PCD_MspInit:
  743. 71 .LVL5:
  744. 72 .LFB655:
  745. 70:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB)
  746. 73 .loc 1 70 1 is_stmt 1 view -0
  747. 74 .cfi_startproc
  748. 75 @ args = 0, pretend = 0, frame = 8
  749. 76 @ frame_needed = 0, uses_anonymous_args = 0
  750. 71:USB_DEVICE/Target/usbd_conf.c **** {
  751. 77 .loc 1 71 3 view .LVU11
  752. 71:USB_DEVICE/Target/usbd_conf.c **** {
  753. 78 .loc 1 71 15 is_stmt 0 view .LVU12
  754. 79 0000 0268 ldr r2, [r0]
  755. ARM GAS /tmp/ccWUM42c.s page 14
  756. 71:USB_DEVICE/Target/usbd_conf.c **** {
  757. 80 .loc 1 71 5 view .LVU13
  758. 81 0002 0E4B ldr r3, .L14
  759. 82 0004 9A42 cmp r2, r3
  760. 83 0006 00D0 beq .L13
  761. 84 0008 7047 bx lr
  762. 85 .L13:
  763. 70:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB)
  764. 86 .loc 1 70 1 view .LVU14
  765. 87 000a 00B5 push {lr}
  766. 88 .LCFI0:
  767. 89 .cfi_def_cfa_offset 4
  768. 90 .cfi_offset 14, -4
  769. 91 000c 83B0 sub sp, sp, #12
  770. 92 .LCFI1:
  771. 93 .cfi_def_cfa_offset 16
  772. 77:USB_DEVICE/Target/usbd_conf.c ****
  773. 94 .loc 1 77 5 is_stmt 1 view .LVU15
  774. 95 .LBB2:
  775. 77:USB_DEVICE/Target/usbd_conf.c ****
  776. 96 .loc 1 77 5 view .LVU16
  777. 77:USB_DEVICE/Target/usbd_conf.c ****
  778. 97 .loc 1 77 5 view .LVU17
  779. 98 000e 03F5DA33 add r3, r3, #111616
  780. 99 0012 DA69 ldr r2, [r3, #28]
  781. 100 0014 42F40002 orr r2, r2, #8388608
  782. 101 0018 DA61 str r2, [r3, #28]
  783. 77:USB_DEVICE/Target/usbd_conf.c ****
  784. 102 .loc 1 77 5 view .LVU18
  785. 103 001a DB69 ldr r3, [r3, #28]
  786. 104 001c 03F40003 and r3, r3, #8388608
  787. 105 0020 0193 str r3, [sp, #4]
  788. 77:USB_DEVICE/Target/usbd_conf.c ****
  789. 106 .loc 1 77 5 view .LVU19
  790. 107 0022 019B ldr r3, [sp, #4]
  791. 108 .LBE2:
  792. 77:USB_DEVICE/Target/usbd_conf.c ****
  793. 109 .loc 1 77 5 view .LVU20
  794. 80:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn);
  795. 110 .loc 1 80 5 view .LVU21
  796. 111 0024 0022 movs r2, #0
  797. 112 0026 1146 mov r1, r2
  798. 113 0028 1420 movs r0, #20
  799. 114 .LVL6:
  800. 80:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn);
  801. 115 .loc 1 80 5 is_stmt 0 view .LVU22
  802. 116 002a FFF7FEFF bl HAL_NVIC_SetPriority
  803. 117 .LVL7:
  804. 81:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 1 */
  805. 118 .loc 1 81 5 is_stmt 1 view .LVU23
  806. 119 002e 1420 movs r0, #20
  807. 120 0030 FFF7FEFF bl HAL_NVIC_EnableIRQ
  808. 121 .LVL8:
  809. 86:USB_DEVICE/Target/usbd_conf.c ****
  810. 122 .loc 1 86 1 is_stmt 0 view .LVU24
  811. 123 0034 03B0 add sp, sp, #12
  812. 124 .LCFI2:
  813. ARM GAS /tmp/ccWUM42c.s page 15
  814. 125 .cfi_def_cfa_offset 4
  815. 126 @ sp needed
  816. 127 0036 5DF804FB ldr pc, [sp], #4
  817. 128 .L15:
  818. 129 003a 00BF .align 2
  819. 130 .L14:
  820. 131 003c 005C0040 .word 1073765376
  821. 132 .cfi_endproc
  822. 133 .LFE655:
  823. 135 .section .text.HAL_PCD_MspDeInit,"ax",%progbits
  824. 136 .align 1
  825. 137 .global HAL_PCD_MspDeInit
  826. 138 .syntax unified
  827. 139 .thumb
  828. 140 .thumb_func
  829. 142 HAL_PCD_MspDeInit:
  830. 143 .LVL9:
  831. 144 .LFB656:
  832. 89:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB)
  833. 145 .loc 1 89 1 is_stmt 1 view -0
  834. 146 .cfi_startproc
  835. 147 @ args = 0, pretend = 0, frame = 0
  836. 148 @ frame_needed = 0, uses_anonymous_args = 0
  837. 89:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB)
  838. 149 .loc 1 89 1 is_stmt 0 view .LVU26
  839. 150 0000 08B5 push {r3, lr}
  840. 151 .LCFI3:
  841. 152 .cfi_def_cfa_offset 8
  842. 153 .cfi_offset 3, -8
  843. 154 .cfi_offset 14, -4
  844. 90:USB_DEVICE/Target/usbd_conf.c **** {
  845. 155 .loc 1 90 3 is_stmt 1 view .LVU27
  846. 90:USB_DEVICE/Target/usbd_conf.c **** {
  847. 156 .loc 1 90 15 is_stmt 0 view .LVU28
  848. 157 0002 0268 ldr r2, [r0]
  849. 90:USB_DEVICE/Target/usbd_conf.c **** {
  850. 158 .loc 1 90 5 view .LVU29
  851. 159 0004 064B ldr r3, .L20
  852. 160 0006 9A42 cmp r2, r3
  853. 161 0008 00D0 beq .L19
  854. 162 .LVL10:
  855. 163 .L16:
  856. 105:USB_DEVICE/Target/usbd_conf.c ****
  857. 164 .loc 1 105 1 view .LVU30
  858. 165 000a 08BD pop {r3, pc}
  859. 166 .LVL11:
  860. 167 .L19:
  861. 96:USB_DEVICE/Target/usbd_conf.c ****
  862. 168 .loc 1 96 5 is_stmt 1 view .LVU31
  863. 169 000c 054A ldr r2, .L20+4
  864. 170 000e D369 ldr r3, [r2, #28]
  865. 171 0010 23F40003 bic r3, r3, #8388608
  866. 172 0014 D361 str r3, [r2, #28]
  867. 99:USB_DEVICE/Target/usbd_conf.c ****
  868. 173 .loc 1 99 5 view .LVU32
  869. 174 0016 1420 movs r0, #20
  870. 175 .LVL12:
  871. ARM GAS /tmp/ccWUM42c.s page 16
  872. 99:USB_DEVICE/Target/usbd_conf.c ****
  873. 176 .loc 1 99 5 is_stmt 0 view .LVU33
  874. 177 0018 FFF7FEFF bl HAL_NVIC_DisableIRQ
  875. 178 .LVL13:
  876. 105:USB_DEVICE/Target/usbd_conf.c ****
  877. 179 .loc 1 105 1 view .LVU34
  878. 180 001c F5E7 b .L16
  879. 181 .L21:
  880. 182 001e 00BF .align 2
  881. 183 .L20:
  882. 184 0020 005C0040 .word 1073765376
  883. 185 0024 00100240 .word 1073876992
  884. 186 .cfi_endproc
  885. 187 .LFE656:
  886. 189 .section .text.HAL_PCD_SetupStageCallback,"ax",%progbits
  887. 190 .align 1
  888. 191 .global HAL_PCD_SetupStageCallback
  889. 192 .syntax unified
  890. 193 .thumb
  891. 194 .thumb_func
  892. 196 HAL_PCD_SetupStageCallback:
  893. 197 .LVL14:
  894. 198 .LFB657:
  895. 117:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup);
  896. 199 .loc 1 117 1 is_stmt 1 view -0
  897. 200 .cfi_startproc
  898. 201 @ args = 0, pretend = 0, frame = 0
  899. 202 @ frame_needed = 0, uses_anonymous_args = 0
  900. 117:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup);
  901. 203 .loc 1 117 1 is_stmt 0 view .LVU36
  902. 204 0000 08B5 push {r3, lr}
  903. 205 .LCFI4:
  904. 206 .cfi_def_cfa_offset 8
  905. 207 .cfi_offset 3, -8
  906. 208 .cfi_offset 14, -4
  907. 118:USB_DEVICE/Target/usbd_conf.c **** }
  908. 209 .loc 1 118 3 is_stmt 1 view .LVU37
  909. 210 0002 00F52C71 add r1, r0, #688
  910. 211 0006 D0F8EC02 ldr r0, [r0, #748]
  911. 212 .LVL15:
  912. 118:USB_DEVICE/Target/usbd_conf.c **** }
  913. 213 .loc 1 118 3 is_stmt 0 view .LVU38
  914. 214 000a FFF7FEFF bl USBD_LL_SetupStage
  915. 215 .LVL16:
  916. 119:USB_DEVICE/Target/usbd_conf.c ****
  917. 216 .loc 1 119 1 view .LVU39
  918. 217 000e 08BD pop {r3, pc}
  919. 218 .cfi_endproc
  920. 219 .LFE657:
  921. 221 .section .text.HAL_PCD_DataOutStageCallback,"ax",%progbits
  922. 222 .align 1
  923. 223 .global HAL_PCD_DataOutStageCallback
  924. 224 .syntax unified
  925. 225 .thumb
  926. 226 .thumb_func
  927. 228 HAL_PCD_DataOutStageCallback:
  928. 229 .LVL17:
  929. ARM GAS /tmp/ccWUM42c.s page 17
  930. 230 .LFB658:
  931. 132:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff);
  932. 231 .loc 1 132 1 is_stmt 1 view -0
  933. 232 .cfi_startproc
  934. 233 @ args = 0, pretend = 0, frame = 0
  935. 234 @ frame_needed = 0, uses_anonymous_args = 0
  936. 132:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff);
  937. 235 .loc 1 132 1 is_stmt 0 view .LVU41
  938. 236 0000 08B5 push {r3, lr}
  939. 237 .LCFI5:
  940. 238 .cfi_def_cfa_offset 8
  941. 239 .cfi_offset 3, -8
  942. 240 .cfi_offset 14, -4
  943. 133:USB_DEVICE/Target/usbd_conf.c **** }
  944. 241 .loc 1 133 3 is_stmt 1 view .LVU42
  945. 242 0002 01EB8103 add r3, r1, r1, lsl #2
  946. 243 0006 00EBC303 add r3, r0, r3, lsl #3
  947. 244 000a D3F87C21 ldr r2, [r3, #380]
  948. 245 000e D0F8EC02 ldr r0, [r0, #748]
  949. 246 .LVL18:
  950. 133:USB_DEVICE/Target/usbd_conf.c **** }
  951. 247 .loc 1 133 3 is_stmt 0 view .LVU43
  952. 248 0012 FFF7FEFF bl USBD_LL_DataOutStage
  953. 249 .LVL19:
  954. 134:USB_DEVICE/Target/usbd_conf.c ****
  955. 250 .loc 1 134 1 view .LVU44
  956. 251 0016 08BD pop {r3, pc}
  957. 252 .cfi_endproc
  958. 253 .LFE658:
  959. 255 .section .text.HAL_PCD_DataInStageCallback,"ax",%progbits
  960. 256 .align 1
  961. 257 .global HAL_PCD_DataInStageCallback
  962. 258 .syntax unified
  963. 259 .thumb
  964. 260 .thumb_func
  965. 262 HAL_PCD_DataInStageCallback:
  966. 263 .LVL20:
  967. 264 .LFB659:
  968. 147:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff);
  969. 265 .loc 1 147 1 is_stmt 1 view -0
  970. 266 .cfi_startproc
  971. 267 @ args = 0, pretend = 0, frame = 0
  972. 268 @ frame_needed = 0, uses_anonymous_args = 0
  973. 147:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff);
  974. 269 .loc 1 147 1 is_stmt 0 view .LVU46
  975. 270 0000 08B5 push {r3, lr}
  976. 271 .LCFI6:
  977. 272 .cfi_def_cfa_offset 8
  978. 273 .cfi_offset 3, -8
  979. 274 .cfi_offset 14, -4
  980. 148:USB_DEVICE/Target/usbd_conf.c **** }
  981. 275 .loc 1 148 3 is_stmt 1 view .LVU47
  982. 276 0002 01EB8103 add r3, r1, r1, lsl #2
  983. 277 0006 00EBC303 add r3, r0, r3, lsl #3
  984. 278 000a DA6B ldr r2, [r3, #60]
  985. 279 000c D0F8EC02 ldr r0, [r0, #748]
  986. 280 .LVL21:
  987. ARM GAS /tmp/ccWUM42c.s page 18
  988. 148:USB_DEVICE/Target/usbd_conf.c **** }
  989. 281 .loc 1 148 3 is_stmt 0 view .LVU48
  990. 282 0010 FFF7FEFF bl USBD_LL_DataInStage
  991. 283 .LVL22:
  992. 149:USB_DEVICE/Target/usbd_conf.c ****
  993. 284 .loc 1 149 1 view .LVU49
  994. 285 0014 08BD pop {r3, pc}
  995. 286 .cfi_endproc
  996. 287 .LFE659:
  997. 289 .section .text.HAL_PCD_SOFCallback,"ax",%progbits
  998. 290 .align 1
  999. 291 .global HAL_PCD_SOFCallback
  1000. 292 .syntax unified
  1001. 293 .thumb
  1002. 294 .thumb_func
  1003. 296 HAL_PCD_SOFCallback:
  1004. 297 .LVL23:
  1005. 298 .LFB660:
  1006. 161:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData);
  1007. 299 .loc 1 161 1 is_stmt 1 view -0
  1008. 300 .cfi_startproc
  1009. 301 @ args = 0, pretend = 0, frame = 0
  1010. 302 @ frame_needed = 0, uses_anonymous_args = 0
  1011. 161:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData);
  1012. 303 .loc 1 161 1 is_stmt 0 view .LVU51
  1013. 304 0000 08B5 push {r3, lr}
  1014. 305 .LCFI7:
  1015. 306 .cfi_def_cfa_offset 8
  1016. 307 .cfi_offset 3, -8
  1017. 308 .cfi_offset 14, -4
  1018. 162:USB_DEVICE/Target/usbd_conf.c **** }
  1019. 309 .loc 1 162 3 is_stmt 1 view .LVU52
  1020. 310 0002 D0F8EC02 ldr r0, [r0, #748]
  1021. 311 .LVL24:
  1022. 162:USB_DEVICE/Target/usbd_conf.c **** }
  1023. 312 .loc 1 162 3 is_stmt 0 view .LVU53
  1024. 313 0006 FFF7FEFF bl USBD_LL_SOF
  1025. 314 .LVL25:
  1026. 163:USB_DEVICE/Target/usbd_conf.c ****
  1027. 315 .loc 1 163 1 view .LVU54
  1028. 316 000a 08BD pop {r3, pc}
  1029. 317 .cfi_endproc
  1030. 318 .LFE660:
  1031. 320 .section .text.HAL_PCD_ResetCallback,"ax",%progbits
  1032. 321 .align 1
  1033. 322 .global HAL_PCD_ResetCallback
  1034. 323 .syntax unified
  1035. 324 .thumb
  1036. 325 .thumb_func
  1037. 327 HAL_PCD_ResetCallback:
  1038. 328 .LVL26:
  1039. 329 .LFB661:
  1040. 175:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL;
  1041. 330 .loc 1 175 1 is_stmt 1 view -0
  1042. 331 .cfi_startproc
  1043. 332 @ args = 0, pretend = 0, frame = 0
  1044. 333 @ frame_needed = 0, uses_anonymous_args = 0
  1045. ARM GAS /tmp/ccWUM42c.s page 19
  1046. 175:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL;
  1047. 334 .loc 1 175 1 is_stmt 0 view .LVU56
  1048. 335 0000 10B5 push {r4, lr}
  1049. 336 .LCFI8:
  1050. 337 .cfi_def_cfa_offset 8
  1051. 338 .cfi_offset 4, -8
  1052. 339 .cfi_offset 14, -4
  1053. 340 0002 0446 mov r4, r0
  1054. 176:USB_DEVICE/Target/usbd_conf.c ****
  1055. 341 .loc 1 176 3 is_stmt 1 view .LVU57
  1056. 342 .LVL27:
  1057. 178:USB_DEVICE/Target/usbd_conf.c **** {
  1058. 343 .loc 1 178 3 view .LVU58
  1059. 178:USB_DEVICE/Target/usbd_conf.c **** {
  1060. 344 .loc 1 178 18 is_stmt 0 view .LVU59
  1061. 345 0004 8368 ldr r3, [r0, #8]
  1062. 178:USB_DEVICE/Target/usbd_conf.c **** {
  1063. 346 .loc 1 178 6 view .LVU60
  1064. 347 0006 022B cmp r3, #2
  1065. 348 0008 09D1 bne .L33
  1066. 349 .LVL28:
  1067. 350 .L31:
  1068. 183:USB_DEVICE/Target/usbd_conf.c ****
  1069. 351 .loc 1 183 3 is_stmt 1 view .LVU61
  1070. 352 000a 0121 movs r1, #1
  1071. 353 000c D4F8EC02 ldr r0, [r4, #748]
  1072. 354 0010 FFF7FEFF bl USBD_LL_SetSpeed
  1073. 355 .LVL29:
  1074. 186:USB_DEVICE/Target/usbd_conf.c **** }
  1075. 356 .loc 1 186 3 view .LVU62
  1076. 357 0014 D4F8EC02 ldr r0, [r4, #748]
  1077. 358 0018 FFF7FEFF bl USBD_LL_Reset
  1078. 359 .LVL30:
  1079. 187:USB_DEVICE/Target/usbd_conf.c ****
  1080. 360 .loc 1 187 1 is_stmt 0 view .LVU63
  1081. 361 001c 10BD pop {r4, pc}
  1082. 362 .LVL31:
  1083. 363 .L33:
  1084. 180:USB_DEVICE/Target/usbd_conf.c **** }
  1085. 364 .loc 1 180 5 is_stmt 1 view .LVU64
  1086. 365 001e FFF7FEFF bl Error_Handler
  1087. 366 .LVL32:
  1088. 180:USB_DEVICE/Target/usbd_conf.c **** }
  1089. 367 .loc 1 180 5 is_stmt 0 view .LVU65
  1090. 368 0022 F2E7 b .L31
  1091. 369 .cfi_endproc
  1092. 370 .LFE661:
  1093. 372 .section .text.HAL_PCD_SuspendCallback,"ax",%progbits
  1094. 373 .align 1
  1095. 374 .global HAL_PCD_SuspendCallback
  1096. 375 .syntax unified
  1097. 376 .thumb
  1098. 377 .thumb_func
  1099. 379 HAL_PCD_SuspendCallback:
  1100. 380 .LVL33:
  1101. 381 .LFB662:
  1102. 200:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */
  1103. ARM GAS /tmp/ccWUM42c.s page 20
  1104. 382 .loc 1 200 1 is_stmt 1 view -0
  1105. 383 .cfi_startproc
  1106. 384 @ args = 0, pretend = 0, frame = 0
  1107. 385 @ frame_needed = 0, uses_anonymous_args = 0
  1108. 200:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */
  1109. 386 .loc 1 200 1 is_stmt 0 view .LVU67
  1110. 387 0000 10B5 push {r4, lr}
  1111. 388 .LCFI9:
  1112. 389 .cfi_def_cfa_offset 8
  1113. 390 .cfi_offset 4, -8
  1114. 391 .cfi_offset 14, -4
  1115. 392 0002 0446 mov r4, r0
  1116. 202:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */
  1117. 393 .loc 1 202 3 is_stmt 1 view .LVU68
  1118. 394 0004 D0F8EC02 ldr r0, [r0, #748]
  1119. 395 .LVL34:
  1120. 202:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */
  1121. 396 .loc 1 202 3 is_stmt 0 view .LVU69
  1122. 397 0008 FFF7FEFF bl USBD_LL_Suspend
  1123. 398 .LVL35:
  1124. 205:USB_DEVICE/Target/usbd_conf.c **** {
  1125. 399 .loc 1 205 3 is_stmt 1 view .LVU70
  1126. 205:USB_DEVICE/Target/usbd_conf.c **** {
  1127. 400 .loc 1 205 17 is_stmt 0 view .LVU71
  1128. 401 000c A369 ldr r3, [r4, #24]
  1129. 205:USB_DEVICE/Target/usbd_conf.c **** {
  1130. 402 .loc 1 205 6 view .LVU72
  1131. 403 000e 23B1 cbz r3, .L34
  1132. 208:USB_DEVICE/Target/usbd_conf.c **** }
  1133. 404 .loc 1 208 5 is_stmt 1 view .LVU73
  1134. 208:USB_DEVICE/Target/usbd_conf.c **** }
  1135. 405 .loc 1 208 14 is_stmt 0 view .LVU74
  1136. 406 0010 024A ldr r2, .L37
  1137. 407 0012 1369 ldr r3, [r2, #16]
  1138. 408 0014 43F00603 orr r3, r3, #6
  1139. 409 0018 1361 str r3, [r2, #16]
  1140. 410 .L34:
  1141. 211:USB_DEVICE/Target/usbd_conf.c ****
  1142. 411 .loc 1 211 1 view .LVU75
  1143. 412 001a 10BD pop {r4, pc}
  1144. 413 .LVL36:
  1145. 414 .L38:
  1146. 211:USB_DEVICE/Target/usbd_conf.c ****
  1147. 415 .loc 1 211 1 view .LVU76
  1148. 416 .align 2
  1149. 417 .L37:
  1150. 418 001c 00ED00E0 .word -536810240
  1151. 419 .cfi_endproc
  1152. 420 .LFE662:
  1153. 422 .section .text.HAL_PCD_ResumeCallback,"ax",%progbits
  1154. 423 .align 1
  1155. 424 .global HAL_PCD_ResumeCallback
  1156. 425 .syntax unified
  1157. 426 .thumb
  1158. 427 .thumb_func
  1159. 429 HAL_PCD_ResumeCallback:
  1160. 430 .LVL37:
  1161. ARM GAS /tmp/ccWUM42c.s page 21
  1162. 431 .LFB663:
  1163. 224:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */
  1164. 432 .loc 1 224 1 is_stmt 1 view -0
  1165. 433 .cfi_startproc
  1166. 434 @ args = 0, pretend = 0, frame = 0
  1167. 435 @ frame_needed = 0, uses_anonymous_args = 0
  1168. 224:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */
  1169. 436 .loc 1 224 1 is_stmt 0 view .LVU78
  1170. 437 0000 08B5 push {r3, lr}
  1171. 438 .LCFI10:
  1172. 439 .cfi_def_cfa_offset 8
  1173. 440 .cfi_offset 3, -8
  1174. 441 .cfi_offset 14, -4
  1175. 228:USB_DEVICE/Target/usbd_conf.c **** }
  1176. 442 .loc 1 228 3 is_stmt 1 view .LVU79
  1177. 443 0002 D0F8EC02 ldr r0, [r0, #748]
  1178. 444 .LVL38:
  1179. 228:USB_DEVICE/Target/usbd_conf.c **** }
  1180. 445 .loc 1 228 3 is_stmt 0 view .LVU80
  1181. 446 0006 FFF7FEFF bl USBD_LL_Resume
  1182. 447 .LVL39:
  1183. 229:USB_DEVICE/Target/usbd_conf.c ****
  1184. 448 .loc 1 229 1 view .LVU81
  1185. 449 000a 08BD pop {r3, pc}
  1186. 450 .cfi_endproc
  1187. 451 .LFE663:
  1188. 453 .section .text.HAL_PCD_ISOOUTIncompleteCallback,"ax",%progbits
  1189. 454 .align 1
  1190. 455 .global HAL_PCD_ISOOUTIncompleteCallback
  1191. 456 .syntax unified
  1192. 457 .thumb
  1193. 458 .thumb_func
  1194. 460 HAL_PCD_ISOOUTIncompleteCallback:
  1195. 461 .LVL40:
  1196. 462 .LFB664:
  1197. 242:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
  1198. 463 .loc 1 242 1 is_stmt 1 view -0
  1199. 464 .cfi_startproc
  1200. 465 @ args = 0, pretend = 0, frame = 0
  1201. 466 @ frame_needed = 0, uses_anonymous_args = 0
  1202. 242:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
  1203. 467 .loc 1 242 1 is_stmt 0 view .LVU83
  1204. 468 0000 08B5 push {r3, lr}
  1205. 469 .LCFI11:
  1206. 470 .cfi_def_cfa_offset 8
  1207. 471 .cfi_offset 3, -8
  1208. 472 .cfi_offset 14, -4
  1209. 243:USB_DEVICE/Target/usbd_conf.c **** }
  1210. 473 .loc 1 243 3 is_stmt 1 view .LVU84
  1211. 474 0002 D0F8EC02 ldr r0, [r0, #748]
  1212. 475 .LVL41:
  1213. 243:USB_DEVICE/Target/usbd_conf.c **** }
  1214. 476 .loc 1 243 3 is_stmt 0 view .LVU85
  1215. 477 0006 FFF7FEFF bl USBD_LL_IsoOUTIncomplete
  1216. 478 .LVL42:
  1217. 244:USB_DEVICE/Target/usbd_conf.c ****
  1218. 479 .loc 1 244 1 view .LVU86
  1219. ARM GAS /tmp/ccWUM42c.s page 22
  1220. 480 000a 08BD pop {r3, pc}
  1221. 481 .cfi_endproc
  1222. 482 .LFE664:
  1223. 484 .section .text.HAL_PCD_ISOINIncompleteCallback,"ax",%progbits
  1224. 485 .align 1
  1225. 486 .global HAL_PCD_ISOINIncompleteCallback
  1226. 487 .syntax unified
  1227. 488 .thumb
  1228. 489 .thumb_func
  1229. 491 HAL_PCD_ISOINIncompleteCallback:
  1230. 492 .LVL43:
  1231. 493 .LFB665:
  1232. 257:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
  1233. 494 .loc 1 257 1 is_stmt 1 view -0
  1234. 495 .cfi_startproc
  1235. 496 @ args = 0, pretend = 0, frame = 0
  1236. 497 @ frame_needed = 0, uses_anonymous_args = 0
  1237. 257:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
  1238. 498 .loc 1 257 1 is_stmt 0 view .LVU88
  1239. 499 0000 08B5 push {r3, lr}
  1240. 500 .LCFI12:
  1241. 501 .cfi_def_cfa_offset 8
  1242. 502 .cfi_offset 3, -8
  1243. 503 .cfi_offset 14, -4
  1244. 258:USB_DEVICE/Target/usbd_conf.c **** }
  1245. 504 .loc 1 258 3 is_stmt 1 view .LVU89
  1246. 505 0002 D0F8EC02 ldr r0, [r0, #748]
  1247. 506 .LVL44:
  1248. 258:USB_DEVICE/Target/usbd_conf.c **** }
  1249. 507 .loc 1 258 3 is_stmt 0 view .LVU90
  1250. 508 0006 FFF7FEFF bl USBD_LL_IsoINIncomplete
  1251. 509 .LVL45:
  1252. 259:USB_DEVICE/Target/usbd_conf.c ****
  1253. 510 .loc 1 259 1 view .LVU91
  1254. 511 000a 08BD pop {r3, pc}
  1255. 512 .cfi_endproc
  1256. 513 .LFE665:
  1257. 515 .section .text.HAL_PCD_ConnectCallback,"ax",%progbits
  1258. 516 .align 1
  1259. 517 .global HAL_PCD_ConnectCallback
  1260. 518 .syntax unified
  1261. 519 .thumb
  1262. 520 .thumb_func
  1263. 522 HAL_PCD_ConnectCallback:
  1264. 523 .LVL46:
  1265. 524 .LFB666:
  1266. 271:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData);
  1267. 525 .loc 1 271 1 is_stmt 1 view -0
  1268. 526 .cfi_startproc
  1269. 527 @ args = 0, pretend = 0, frame = 0
  1270. 528 @ frame_needed = 0, uses_anonymous_args = 0
  1271. 271:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData);
  1272. 529 .loc 1 271 1 is_stmt 0 view .LVU93
  1273. 530 0000 08B5 push {r3, lr}
  1274. 531 .LCFI13:
  1275. 532 .cfi_def_cfa_offset 8
  1276. 533 .cfi_offset 3, -8
  1277. ARM GAS /tmp/ccWUM42c.s page 23
  1278. 534 .cfi_offset 14, -4
  1279. 272:USB_DEVICE/Target/usbd_conf.c **** }
  1280. 535 .loc 1 272 3 is_stmt 1 view .LVU94
  1281. 536 0002 D0F8EC02 ldr r0, [r0, #748]
  1282. 537 .LVL47:
  1283. 272:USB_DEVICE/Target/usbd_conf.c **** }
  1284. 538 .loc 1 272 3 is_stmt 0 view .LVU95
  1285. 539 0006 FFF7FEFF bl USBD_LL_DevConnected
  1286. 540 .LVL48:
  1287. 273:USB_DEVICE/Target/usbd_conf.c ****
  1288. 541 .loc 1 273 1 view .LVU96
  1289. 542 000a 08BD pop {r3, pc}
  1290. 543 .cfi_endproc
  1291. 544 .LFE666:
  1292. 546 .section .text.HAL_PCD_DisconnectCallback,"ax",%progbits
  1293. 547 .align 1
  1294. 548 .global HAL_PCD_DisconnectCallback
  1295. 549 .syntax unified
  1296. 550 .thumb
  1297. 551 .thumb_func
  1298. 553 HAL_PCD_DisconnectCallback:
  1299. 554 .LVL49:
  1300. 555 .LFB667:
  1301. 285:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData);
  1302. 556 .loc 1 285 1 is_stmt 1 view -0
  1303. 557 .cfi_startproc
  1304. 558 @ args = 0, pretend = 0, frame = 0
  1305. 559 @ frame_needed = 0, uses_anonymous_args = 0
  1306. 285:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData);
  1307. 560 .loc 1 285 1 is_stmt 0 view .LVU98
  1308. 561 0000 08B5 push {r3, lr}
  1309. 562 .LCFI14:
  1310. 563 .cfi_def_cfa_offset 8
  1311. 564 .cfi_offset 3, -8
  1312. 565 .cfi_offset 14, -4
  1313. 286:USB_DEVICE/Target/usbd_conf.c **** }
  1314. 566 .loc 1 286 3 is_stmt 1 view .LVU99
  1315. 567 0002 D0F8EC02 ldr r0, [r0, #748]
  1316. 568 .LVL50:
  1317. 286:USB_DEVICE/Target/usbd_conf.c **** }
  1318. 569 .loc 1 286 3 is_stmt 0 view .LVU100
  1319. 570 0006 FFF7FEFF bl USBD_LL_DevDisconnected
  1320. 571 .LVL51:
  1321. 287:USB_DEVICE/Target/usbd_conf.c ****
  1322. 572 .loc 1 287 1 view .LVU101
  1323. 573 000a 08BD pop {r3, pc}
  1324. 574 .cfi_endproc
  1325. 575 .LFE667:
  1326. 577 .section .text.USBD_LL_Init,"ax",%progbits
  1327. 578 .align 1
  1328. 579 .global USBD_LL_Init
  1329. 580 .syntax unified
  1330. 581 .thumb
  1331. 582 .thumb_func
  1332. 584 USBD_LL_Init:
  1333. 585 .LVL52:
  1334. 586 .LFB668:
  1335. ARM GAS /tmp/ccWUM42c.s page 24
  1336. 299:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */
  1337. 587 .loc 1 299 1 is_stmt 1 view -0
  1338. 588 .cfi_startproc
  1339. 589 @ args = 0, pretend = 0, frame = 0
  1340. 590 @ frame_needed = 0, uses_anonymous_args = 0
  1341. 299:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */
  1342. 591 .loc 1 299 1 is_stmt 0 view .LVU103
  1343. 592 0000 10B5 push {r4, lr}
  1344. 593 .LCFI15:
  1345. 594 .cfi_def_cfa_offset 8
  1346. 595 .cfi_offset 4, -8
  1347. 596 .cfi_offset 14, -4
  1348. 597 0002 0446 mov r4, r0
  1349. 302:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS;
  1350. 598 .loc 1 302 3 is_stmt 1 view .LVU104
  1351. 302:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS;
  1352. 599 .loc 1 302 21 is_stmt 0 view .LVU105
  1353. 600 0004 1D48 ldr r0, .L53
  1354. 601 .LVL53:
  1355. 302:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS;
  1356. 602 .loc 1 302 21 view .LVU106
  1357. 603 0006 C0F8EC42 str r4, [r0, #748]
  1358. 303:USB_DEVICE/Target/usbd_conf.c ****
  1359. 604 .loc 1 303 3 is_stmt 1 view .LVU107
  1360. 303:USB_DEVICE/Target/usbd_conf.c ****
  1361. 605 .loc 1 303 15 is_stmt 0 view .LVU108
  1362. 606 000a C4F8C002 str r0, [r4, #704]
  1363. 305:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8;
  1364. 607 .loc 1 305 3 is_stmt 1 view .LVU109
  1365. 305:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8;
  1366. 608 .loc 1 305 24 is_stmt 0 view .LVU110
  1367. 609 000e 1C4B ldr r3, .L53+4
  1368. 610 0010 0360 str r3, [r0]
  1369. 306:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL;
  1370. 611 .loc 1 306 3 is_stmt 1 view .LVU111
  1371. 306:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL;
  1372. 612 .loc 1 306 34 is_stmt 0 view .LVU112
  1373. 613 0012 0823 movs r3, #8
  1374. 614 0014 4360 str r3, [r0, #4]
  1375. 307:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE;
  1376. 615 .loc 1 307 3 is_stmt 1 view .LVU113
  1377. 307:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE;
  1378. 616 .loc 1 307 26 is_stmt 0 view .LVU114
  1379. 617 0016 0223 movs r3, #2
  1380. 618 0018 8360 str r3, [r0, #8]
  1381. 308:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE;
  1382. 619 .loc 1 308 3 is_stmt 1 view .LVU115
  1383. 308:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE;
  1384. 620 .loc 1 308 37 is_stmt 0 view .LVU116
  1385. 621 001a 0023 movs r3, #0
  1386. 622 001c 8361 str r3, [r0, #24]
  1387. 309:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE;
  1388. 623 .loc 1 309 3 is_stmt 1 view .LVU117
  1389. 309:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE;
  1390. 624 .loc 1 309 31 is_stmt 0 view .LVU118
  1391. 625 001e C361 str r3, [r0, #28]
  1392. 310:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK)
  1393. ARM GAS /tmp/ccWUM42c.s page 25
  1394. 626 .loc 1 310 3 is_stmt 1 view .LVU119
  1395. 310:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK)
  1396. 627 .loc 1 310 44 is_stmt 0 view .LVU120
  1397. 628 0020 0362 str r3, [r0, #32]
  1398. 311:USB_DEVICE/Target/usbd_conf.c **** {
  1399. 629 .loc 1 311 3 is_stmt 1 view .LVU121
  1400. 311:USB_DEVICE/Target/usbd_conf.c **** {
  1401. 630 .loc 1 311 7 is_stmt 0 view .LVU122
  1402. 631 0022 FFF7FEFF bl HAL_PCD_Init
  1403. 632 .LVL54:
  1404. 311:USB_DEVICE/Target/usbd_conf.c **** {
  1405. 633 .loc 1 311 6 view .LVU123
  1406. 634 0026 30BB cbnz r0, .L52
  1407. 635 .L50:
  1408. 332:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x80 , PCD_SNG_BUF, 0x58);
  1409. 636 .loc 1 332 3 is_stmt 1 view .LVU124
  1410. 637 0028 1823 movs r3, #24
  1411. 638 002a 0022 movs r2, #0
  1412. 639 002c 1146 mov r1, r2
  1413. 640 002e D4F8C002 ldr r0, [r4, #704]
  1414. 641 0032 FFF7FEFF bl HAL_PCDEx_PMAConfig
  1415. 642 .LVL55:
  1416. 333:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration */
  1417. 643 .loc 1 333 3 view .LVU125
  1418. 644 0036 5823 movs r3, #88
  1419. 645 0038 0022 movs r2, #0
  1420. 646 003a 8021 movs r1, #128
  1421. 647 003c D4F8C002 ldr r0, [r4, #704]
  1422. 648 0040 FFF7FEFF bl HAL_PCDEx_PMAConfig
  1423. 649 .LVL56:
  1424. 336:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x01 , PCD_SNG_BUF, 0x110);
  1425. 650 .loc 1 336 3 view .LVU126
  1426. 651 0044 C023 movs r3, #192
  1427. 652 0046 0022 movs r2, #0
  1428. 653 0048 8121 movs r1, #129
  1429. 654 004a D4F8C002 ldr r0, [r4, #704]
  1430. 655 004e FFF7FEFF bl HAL_PCDEx_PMAConfig
  1431. 656 .LVL57:
  1432. 337:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x82 , PCD_SNG_BUF, 0x100);
  1433. 657 .loc 1 337 3 view .LVU127
  1434. 658 0052 4FF48873 mov r3, #272
  1435. 659 0056 0022 movs r2, #0
  1436. 660 0058 0121 movs r1, #1
  1437. 661 005a D4F8C002 ldr r0, [r4, #704]
  1438. 662 005e FFF7FEFF bl HAL_PCDEx_PMAConfig
  1439. 663 .LVL58:
  1440. 338:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration_CDC */
  1441. 664 .loc 1 338 3 view .LVU128
  1442. 665 0062 4FF48073 mov r3, #256
  1443. 666 0066 0022 movs r2, #0
  1444. 667 0068 8221 movs r1, #130
  1445. 668 006a D4F8C002 ldr r0, [r4, #704]
  1446. 669 006e FFF7FEFF bl HAL_PCDEx_PMAConfig
  1447. 670 .LVL59:
  1448. 340:USB_DEVICE/Target/usbd_conf.c **** }
  1449. 671 .loc 1 340 3 view .LVU129
  1450. 341:USB_DEVICE/Target/usbd_conf.c ****
  1451. ARM GAS /tmp/ccWUM42c.s page 26
  1452. 672 .loc 1 341 1 is_stmt 0 view .LVU130
  1453. 673 0072 0020 movs r0, #0
  1454. 674 0074 10BD pop {r4, pc}
  1455. 675 .LVL60:
  1456. 676 .L52:
  1457. 313:USB_DEVICE/Target/usbd_conf.c **** }
  1458. 677 .loc 1 313 5 is_stmt 1 view .LVU131
  1459. 678 0076 FFF7FEFF bl Error_Handler
  1460. 679 .LVL61:
  1461. 680 007a D5E7 b .L50
  1462. 681 .L54:
  1463. 682 .align 2
  1464. 683 .L53:
  1465. 684 007c 00000000 .word .LANCHOR0
  1466. 685 0080 005C0040 .word 1073765376
  1467. 686 .cfi_endproc
  1468. 687 .LFE668:
  1469. 689 .section .text.USBD_LL_DeInit,"ax",%progbits
  1470. 690 .align 1
  1471. 691 .global USBD_LL_DeInit
  1472. 692 .syntax unified
  1473. 693 .thumb
  1474. 694 .thumb_func
  1475. 696 USBD_LL_DeInit:
  1476. 697 .LVL62:
  1477. 698 .LFB669:
  1478. 349:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1479. 699 .loc 1 349 1 view -0
  1480. 700 .cfi_startproc
  1481. 701 @ args = 0, pretend = 0, frame = 0
  1482. 702 @ frame_needed = 0, uses_anonymous_args = 0
  1483. 349:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1484. 703 .loc 1 349 1 is_stmt 0 view .LVU133
  1485. 704 0000 08B5 push {r3, lr}
  1486. 705 .LCFI16:
  1487. 706 .cfi_def_cfa_offset 8
  1488. 707 .cfi_offset 3, -8
  1489. 708 .cfi_offset 14, -4
  1490. 350:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1491. 709 .loc 1 350 3 is_stmt 1 view .LVU134
  1492. 710 .LVL63:
  1493. 351:USB_DEVICE/Target/usbd_conf.c ****
  1494. 711 .loc 1 351 3 view .LVU135
  1495. 353:USB_DEVICE/Target/usbd_conf.c ****
  1496. 712 .loc 1 353 3 view .LVU136
  1497. 353:USB_DEVICE/Target/usbd_conf.c ****
  1498. 713 .loc 1 353 16 is_stmt 0 view .LVU137
  1499. 714 0002 D0F8C002 ldr r0, [r0, #704]
  1500. 715 .LVL64:
  1501. 353:USB_DEVICE/Target/usbd_conf.c ****
  1502. 716 .loc 1 353 16 view .LVU138
  1503. 717 0006 FFF7FEFF bl HAL_PCD_DeInit
  1504. 718 .LVL65:
  1505. 355:USB_DEVICE/Target/usbd_conf.c ****
  1506. 719 .loc 1 355 3 is_stmt 1 view .LVU139
  1507. 355:USB_DEVICE/Target/usbd_conf.c ****
  1508. 720 .loc 1 355 17 is_stmt 0 view .LVU140
  1509. ARM GAS /tmp/ccWUM42c.s page 27
  1510. 721 000a FFF7FEFF bl USBD_Get_USB_Status
  1511. 722 .LVL66:
  1512. 357:USB_DEVICE/Target/usbd_conf.c **** }
  1513. 723 .loc 1 357 3 is_stmt 1 view .LVU141
  1514. 358:USB_DEVICE/Target/usbd_conf.c ****
  1515. 724 .loc 1 358 1 is_stmt 0 view .LVU142
  1516. 725 000e 08BD pop {r3, pc}
  1517. 726 .cfi_endproc
  1518. 727 .LFE669:
  1519. 729 .section .text.USBD_LL_Start,"ax",%progbits
  1520. 730 .align 1
  1521. 731 .global USBD_LL_Start
  1522. 732 .syntax unified
  1523. 733 .thumb
  1524. 734 .thumb_func
  1525. 736 USBD_LL_Start:
  1526. 737 .LVL67:
  1527. 738 .LFB670:
  1528. 366:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1529. 739 .loc 1 366 1 is_stmt 1 view -0
  1530. 740 .cfi_startproc
  1531. 741 @ args = 0, pretend = 0, frame = 0
  1532. 742 @ frame_needed = 0, uses_anonymous_args = 0
  1533. 366:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1534. 743 .loc 1 366 1 is_stmt 0 view .LVU144
  1535. 744 0000 08B5 push {r3, lr}
  1536. 745 .LCFI17:
  1537. 746 .cfi_def_cfa_offset 8
  1538. 747 .cfi_offset 3, -8
  1539. 748 .cfi_offset 14, -4
  1540. 367:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1541. 749 .loc 1 367 3 is_stmt 1 view .LVU145
  1542. 750 .LVL68:
  1543. 368:USB_DEVICE/Target/usbd_conf.c ****
  1544. 751 .loc 1 368 3 view .LVU146
  1545. 370:USB_DEVICE/Target/usbd_conf.c ****
  1546. 752 .loc 1 370 3 view .LVU147
  1547. 370:USB_DEVICE/Target/usbd_conf.c ****
  1548. 753 .loc 1 370 16 is_stmt 0 view .LVU148
  1549. 754 0002 D0F8C002 ldr r0, [r0, #704]
  1550. 755 .LVL69:
  1551. 370:USB_DEVICE/Target/usbd_conf.c ****
  1552. 756 .loc 1 370 16 view .LVU149
  1553. 757 0006 FFF7FEFF bl HAL_PCD_Start
  1554. 758 .LVL70:
  1555. 372:USB_DEVICE/Target/usbd_conf.c ****
  1556. 759 .loc 1 372 3 is_stmt 1 view .LVU150
  1557. 372:USB_DEVICE/Target/usbd_conf.c ****
  1558. 760 .loc 1 372 17 is_stmt 0 view .LVU151
  1559. 761 000a FFF7FEFF bl USBD_Get_USB_Status
  1560. 762 .LVL71:
  1561. 374:USB_DEVICE/Target/usbd_conf.c **** }
  1562. 763 .loc 1 374 3 is_stmt 1 view .LVU152
  1563. 375:USB_DEVICE/Target/usbd_conf.c ****
  1564. 764 .loc 1 375 1 is_stmt 0 view .LVU153
  1565. 765 000e 08BD pop {r3, pc}
  1566. 766 .cfi_endproc
  1567. ARM GAS /tmp/ccWUM42c.s page 28
  1568. 767 .LFE670:
  1569. 769 .section .text.USBD_LL_Stop,"ax",%progbits
  1570. 770 .align 1
  1571. 771 .global USBD_LL_Stop
  1572. 772 .syntax unified
  1573. 773 .thumb
  1574. 774 .thumb_func
  1575. 776 USBD_LL_Stop:
  1576. 777 .LVL72:
  1577. 778 .LFB671:
  1578. 383:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1579. 779 .loc 1 383 1 is_stmt 1 view -0
  1580. 780 .cfi_startproc
  1581. 781 @ args = 0, pretend = 0, frame = 0
  1582. 782 @ frame_needed = 0, uses_anonymous_args = 0
  1583. 383:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1584. 783 .loc 1 383 1 is_stmt 0 view .LVU155
  1585. 784 0000 08B5 push {r3, lr}
  1586. 785 .LCFI18:
  1587. 786 .cfi_def_cfa_offset 8
  1588. 787 .cfi_offset 3, -8
  1589. 788 .cfi_offset 14, -4
  1590. 384:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1591. 789 .loc 1 384 3 is_stmt 1 view .LVU156
  1592. 790 .LVL73:
  1593. 385:USB_DEVICE/Target/usbd_conf.c ****
  1594. 791 .loc 1 385 3 view .LVU157
  1595. 387:USB_DEVICE/Target/usbd_conf.c ****
  1596. 792 .loc 1 387 3 view .LVU158
  1597. 387:USB_DEVICE/Target/usbd_conf.c ****
  1598. 793 .loc 1 387 16 is_stmt 0 view .LVU159
  1599. 794 0002 D0F8C002 ldr r0, [r0, #704]
  1600. 795 .LVL74:
  1601. 387:USB_DEVICE/Target/usbd_conf.c ****
  1602. 796 .loc 1 387 16 view .LVU160
  1603. 797 0006 FFF7FEFF bl HAL_PCD_Stop
  1604. 798 .LVL75:
  1605. 389:USB_DEVICE/Target/usbd_conf.c ****
  1606. 799 .loc 1 389 3 is_stmt 1 view .LVU161
  1607. 389:USB_DEVICE/Target/usbd_conf.c ****
  1608. 800 .loc 1 389 17 is_stmt 0 view .LVU162
  1609. 801 000a FFF7FEFF bl USBD_Get_USB_Status
  1610. 802 .LVL76:
  1611. 391:USB_DEVICE/Target/usbd_conf.c **** }
  1612. 803 .loc 1 391 3 is_stmt 1 view .LVU163
  1613. 392:USB_DEVICE/Target/usbd_conf.c ****
  1614. 804 .loc 1 392 1 is_stmt 0 view .LVU164
  1615. 805 000e 08BD pop {r3, pc}
  1616. 806 .cfi_endproc
  1617. 807 .LFE671:
  1618. 809 .section .text.USBD_LL_OpenEP,"ax",%progbits
  1619. 810 .align 1
  1620. 811 .global USBD_LL_OpenEP
  1621. 812 .syntax unified
  1622. 813 .thumb
  1623. 814 .thumb_func
  1624. 816 USBD_LL_OpenEP:
  1625. ARM GAS /tmp/ccWUM42c.s page 29
  1626. 817 .LVL77:
  1627. 818 .LFB672:
  1628. 403:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1629. 819 .loc 1 403 1 is_stmt 1 view -0
  1630. 820 .cfi_startproc
  1631. 821 @ args = 0, pretend = 0, frame = 0
  1632. 822 @ frame_needed = 0, uses_anonymous_args = 0
  1633. 403:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1634. 823 .loc 1 403 1 is_stmt 0 view .LVU166
  1635. 824 0000 08B5 push {r3, lr}
  1636. 825 .LCFI19:
  1637. 826 .cfi_def_cfa_offset 8
  1638. 827 .cfi_offset 3, -8
  1639. 828 .cfi_offset 14, -4
  1640. 829 0002 9446 mov ip, r2
  1641. 830 0004 1A46 mov r2, r3
  1642. 831 .LVL78:
  1643. 404:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1644. 832 .loc 1 404 3 is_stmt 1 view .LVU167
  1645. 405:USB_DEVICE/Target/usbd_conf.c ****
  1646. 833 .loc 1 405 3 view .LVU168
  1647. 407:USB_DEVICE/Target/usbd_conf.c ****
  1648. 834 .loc 1 407 3 view .LVU169
  1649. 407:USB_DEVICE/Target/usbd_conf.c ****
  1650. 835 .loc 1 407 16 is_stmt 0 view .LVU170
  1651. 836 0006 6346 mov r3, ip
  1652. 837 .LVL79:
  1653. 407:USB_DEVICE/Target/usbd_conf.c ****
  1654. 838 .loc 1 407 16 view .LVU171
  1655. 839 0008 D0F8C002 ldr r0, [r0, #704]
  1656. 840 .LVL80:
  1657. 407:USB_DEVICE/Target/usbd_conf.c ****
  1658. 841 .loc 1 407 16 view .LVU172
  1659. 842 000c FFF7FEFF bl HAL_PCD_EP_Open
  1660. 843 .LVL81:
  1661. 409:USB_DEVICE/Target/usbd_conf.c ****
  1662. 844 .loc 1 409 3 is_stmt 1 view .LVU173
  1663. 409:USB_DEVICE/Target/usbd_conf.c ****
  1664. 845 .loc 1 409 17 is_stmt 0 view .LVU174
  1665. 846 0010 FFF7FEFF bl USBD_Get_USB_Status
  1666. 847 .LVL82:
  1667. 411:USB_DEVICE/Target/usbd_conf.c **** }
  1668. 848 .loc 1 411 3 is_stmt 1 view .LVU175
  1669. 412:USB_DEVICE/Target/usbd_conf.c ****
  1670. 849 .loc 1 412 1 is_stmt 0 view .LVU176
  1671. 850 0014 08BD pop {r3, pc}
  1672. 851 .cfi_endproc
  1673. 852 .LFE672:
  1674. 854 .section .text.USBD_LL_CloseEP,"ax",%progbits
  1675. 855 .align 1
  1676. 856 .global USBD_LL_CloseEP
  1677. 857 .syntax unified
  1678. 858 .thumb
  1679. 859 .thumb_func
  1680. 861 USBD_LL_CloseEP:
  1681. 862 .LVL83:
  1682. 863 .LFB673:
  1683. ARM GAS /tmp/ccWUM42c.s page 30
  1684. 421:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1685. 864 .loc 1 421 1 is_stmt 1 view -0
  1686. 865 .cfi_startproc
  1687. 866 @ args = 0, pretend = 0, frame = 0
  1688. 867 @ frame_needed = 0, uses_anonymous_args = 0
  1689. 421:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1690. 868 .loc 1 421 1 is_stmt 0 view .LVU178
  1691. 869 0000 08B5 push {r3, lr}
  1692. 870 .LCFI20:
  1693. 871 .cfi_def_cfa_offset 8
  1694. 872 .cfi_offset 3, -8
  1695. 873 .cfi_offset 14, -4
  1696. 422:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1697. 874 .loc 1 422 3 is_stmt 1 view .LVU179
  1698. 875 .LVL84:
  1699. 423:USB_DEVICE/Target/usbd_conf.c ****
  1700. 876 .loc 1 423 3 view .LVU180
  1701. 425:USB_DEVICE/Target/usbd_conf.c ****
  1702. 877 .loc 1 425 3 view .LVU181
  1703. 425:USB_DEVICE/Target/usbd_conf.c ****
  1704. 878 .loc 1 425 16 is_stmt 0 view .LVU182
  1705. 879 0002 D0F8C002 ldr r0, [r0, #704]
  1706. 880 .LVL85:
  1707. 425:USB_DEVICE/Target/usbd_conf.c ****
  1708. 881 .loc 1 425 16 view .LVU183
  1709. 882 0006 FFF7FEFF bl HAL_PCD_EP_Close
  1710. 883 .LVL86:
  1711. 427:USB_DEVICE/Target/usbd_conf.c ****
  1712. 884 .loc 1 427 3 is_stmt 1 view .LVU184
  1713. 427:USB_DEVICE/Target/usbd_conf.c ****
  1714. 885 .loc 1 427 17 is_stmt 0 view .LVU185
  1715. 886 000a FFF7FEFF bl USBD_Get_USB_Status
  1716. 887 .LVL87:
  1717. 429:USB_DEVICE/Target/usbd_conf.c **** }
  1718. 888 .loc 1 429 3 is_stmt 1 view .LVU186
  1719. 430:USB_DEVICE/Target/usbd_conf.c ****
  1720. 889 .loc 1 430 1 is_stmt 0 view .LVU187
  1721. 890 000e 08BD pop {r3, pc}
  1722. 891 .cfi_endproc
  1723. 892 .LFE673:
  1724. 894 .section .text.USBD_LL_FlushEP,"ax",%progbits
  1725. 895 .align 1
  1726. 896 .global USBD_LL_FlushEP
  1727. 897 .syntax unified
  1728. 898 .thumb
  1729. 899 .thumb_func
  1730. 901 USBD_LL_FlushEP:
  1731. 902 .LVL88:
  1732. 903 .LFB674:
  1733. 439:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1734. 904 .loc 1 439 1 is_stmt 1 view -0
  1735. 905 .cfi_startproc
  1736. 906 @ args = 0, pretend = 0, frame = 0
  1737. 907 @ frame_needed = 0, uses_anonymous_args = 0
  1738. 439:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1739. 908 .loc 1 439 1 is_stmt 0 view .LVU189
  1740. 909 0000 08B5 push {r3, lr}
  1741. ARM GAS /tmp/ccWUM42c.s page 31
  1742. 910 .LCFI21:
  1743. 911 .cfi_def_cfa_offset 8
  1744. 912 .cfi_offset 3, -8
  1745. 913 .cfi_offset 14, -4
  1746. 440:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1747. 914 .loc 1 440 3 is_stmt 1 view .LVU190
  1748. 915 .LVL89:
  1749. 441:USB_DEVICE/Target/usbd_conf.c ****
  1750. 916 .loc 1 441 3 view .LVU191
  1751. 443:USB_DEVICE/Target/usbd_conf.c ****
  1752. 917 .loc 1 443 3 view .LVU192
  1753. 443:USB_DEVICE/Target/usbd_conf.c ****
  1754. 918 .loc 1 443 16 is_stmt 0 view .LVU193
  1755. 919 0002 D0F8C002 ldr r0, [r0, #704]
  1756. 920 .LVL90:
  1757. 443:USB_DEVICE/Target/usbd_conf.c ****
  1758. 921 .loc 1 443 16 view .LVU194
  1759. 922 0006 FFF7FEFF bl HAL_PCD_EP_Flush
  1760. 923 .LVL91:
  1761. 445:USB_DEVICE/Target/usbd_conf.c ****
  1762. 924 .loc 1 445 3 is_stmt 1 view .LVU195
  1763. 445:USB_DEVICE/Target/usbd_conf.c ****
  1764. 925 .loc 1 445 17 is_stmt 0 view .LVU196
  1765. 926 000a FFF7FEFF bl USBD_Get_USB_Status
  1766. 927 .LVL92:
  1767. 447:USB_DEVICE/Target/usbd_conf.c **** }
  1768. 928 .loc 1 447 3 is_stmt 1 view .LVU197
  1769. 448:USB_DEVICE/Target/usbd_conf.c ****
  1770. 929 .loc 1 448 1 is_stmt 0 view .LVU198
  1771. 930 000e 08BD pop {r3, pc}
  1772. 931 .cfi_endproc
  1773. 932 .LFE674:
  1774. 934 .section .text.USBD_LL_StallEP,"ax",%progbits
  1775. 935 .align 1
  1776. 936 .global USBD_LL_StallEP
  1777. 937 .syntax unified
  1778. 938 .thumb
  1779. 939 .thumb_func
  1780. 941 USBD_LL_StallEP:
  1781. 942 .LVL93:
  1782. 943 .LFB675:
  1783. 457:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1784. 944 .loc 1 457 1 is_stmt 1 view -0
  1785. 945 .cfi_startproc
  1786. 946 @ args = 0, pretend = 0, frame = 0
  1787. 947 @ frame_needed = 0, uses_anonymous_args = 0
  1788. 457:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1789. 948 .loc 1 457 1 is_stmt 0 view .LVU200
  1790. 949 0000 08B5 push {r3, lr}
  1791. 950 .LCFI22:
  1792. 951 .cfi_def_cfa_offset 8
  1793. 952 .cfi_offset 3, -8
  1794. 953 .cfi_offset 14, -4
  1795. 458:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1796. 954 .loc 1 458 3 is_stmt 1 view .LVU201
  1797. 955 .LVL94:
  1798. 459:USB_DEVICE/Target/usbd_conf.c ****
  1799. ARM GAS /tmp/ccWUM42c.s page 32
  1800. 956 .loc 1 459 3 view .LVU202
  1801. 461:USB_DEVICE/Target/usbd_conf.c ****
  1802. 957 .loc 1 461 3 view .LVU203
  1803. 461:USB_DEVICE/Target/usbd_conf.c ****
  1804. 958 .loc 1 461 16 is_stmt 0 view .LVU204
  1805. 959 0002 D0F8C002 ldr r0, [r0, #704]
  1806. 960 .LVL95:
  1807. 461:USB_DEVICE/Target/usbd_conf.c ****
  1808. 961 .loc 1 461 16 view .LVU205
  1809. 962 0006 FFF7FEFF bl HAL_PCD_EP_SetStall
  1810. 963 .LVL96:
  1811. 463:USB_DEVICE/Target/usbd_conf.c ****
  1812. 964 .loc 1 463 3 is_stmt 1 view .LVU206
  1813. 463:USB_DEVICE/Target/usbd_conf.c ****
  1814. 965 .loc 1 463 17 is_stmt 0 view .LVU207
  1815. 966 000a FFF7FEFF bl USBD_Get_USB_Status
  1816. 967 .LVL97:
  1817. 465:USB_DEVICE/Target/usbd_conf.c **** }
  1818. 968 .loc 1 465 3 is_stmt 1 view .LVU208
  1819. 466:USB_DEVICE/Target/usbd_conf.c ****
  1820. 969 .loc 1 466 1 is_stmt 0 view .LVU209
  1821. 970 000e 08BD pop {r3, pc}
  1822. 971 .cfi_endproc
  1823. 972 .LFE675:
  1824. 974 .section .text.USBD_LL_ClearStallEP,"ax",%progbits
  1825. 975 .align 1
  1826. 976 .global USBD_LL_ClearStallEP
  1827. 977 .syntax unified
  1828. 978 .thumb
  1829. 979 .thumb_func
  1830. 981 USBD_LL_ClearStallEP:
  1831. 982 .LVL98:
  1832. 983 .LFB676:
  1833. 475:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1834. 984 .loc 1 475 1 is_stmt 1 view -0
  1835. 985 .cfi_startproc
  1836. 986 @ args = 0, pretend = 0, frame = 0
  1837. 987 @ frame_needed = 0, uses_anonymous_args = 0
  1838. 475:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1839. 988 .loc 1 475 1 is_stmt 0 view .LVU211
  1840. 989 0000 08B5 push {r3, lr}
  1841. 990 .LCFI23:
  1842. 991 .cfi_def_cfa_offset 8
  1843. 992 .cfi_offset 3, -8
  1844. 993 .cfi_offset 14, -4
  1845. 476:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1846. 994 .loc 1 476 3 is_stmt 1 view .LVU212
  1847. 995 .LVL99:
  1848. 477:USB_DEVICE/Target/usbd_conf.c ****
  1849. 996 .loc 1 477 3 view .LVU213
  1850. 479:USB_DEVICE/Target/usbd_conf.c ****
  1851. 997 .loc 1 479 3 view .LVU214
  1852. 479:USB_DEVICE/Target/usbd_conf.c ****
  1853. 998 .loc 1 479 16 is_stmt 0 view .LVU215
  1854. 999 0002 D0F8C002 ldr r0, [r0, #704]
  1855. 1000 .LVL100:
  1856. 479:USB_DEVICE/Target/usbd_conf.c ****
  1857. ARM GAS /tmp/ccWUM42c.s page 33
  1858. 1001 .loc 1 479 16 view .LVU216
  1859. 1002 0006 FFF7FEFF bl HAL_PCD_EP_ClrStall
  1860. 1003 .LVL101:
  1861. 481:USB_DEVICE/Target/usbd_conf.c ****
  1862. 1004 .loc 1 481 3 is_stmt 1 view .LVU217
  1863. 481:USB_DEVICE/Target/usbd_conf.c ****
  1864. 1005 .loc 1 481 17 is_stmt 0 view .LVU218
  1865. 1006 000a FFF7FEFF bl USBD_Get_USB_Status
  1866. 1007 .LVL102:
  1867. 483:USB_DEVICE/Target/usbd_conf.c **** }
  1868. 1008 .loc 1 483 3 is_stmt 1 view .LVU219
  1869. 484:USB_DEVICE/Target/usbd_conf.c ****
  1870. 1009 .loc 1 484 1 is_stmt 0 view .LVU220
  1871. 1010 000e 08BD pop {r3, pc}
  1872. 1011 .cfi_endproc
  1873. 1012 .LFE676:
  1874. 1014 .section .text.USBD_LL_IsStallEP,"ax",%progbits
  1875. 1015 .align 1
  1876. 1016 .global USBD_LL_IsStallEP
  1877. 1017 .syntax unified
  1878. 1018 .thumb
  1879. 1019 .thumb_func
  1880. 1021 USBD_LL_IsStallEP:
  1881. 1022 .LVL103:
  1882. 1023 .LFB677:
  1883. 493:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData;
  1884. 1024 .loc 1 493 1 is_stmt 1 view -0
  1885. 1025 .cfi_startproc
  1886. 1026 @ args = 0, pretend = 0, frame = 0
  1887. 1027 @ frame_needed = 0, uses_anonymous_args = 0
  1888. 1028 @ link register save eliminated.
  1889. 494:USB_DEVICE/Target/usbd_conf.c ****
  1890. 1029 .loc 1 494 3 view .LVU222
  1891. 494:USB_DEVICE/Target/usbd_conf.c ****
  1892. 1030 .loc 1 494 22 is_stmt 0 view .LVU223
  1893. 1031 0000 D0F8C032 ldr r3, [r0, #704]
  1894. 1032 .LVL104:
  1895. 496:USB_DEVICE/Target/usbd_conf.c **** {
  1896. 1033 .loc 1 496 3 is_stmt 1 view .LVU224
  1897. 496:USB_DEVICE/Target/usbd_conf.c **** {
  1898. 1034 .loc 1 496 5 is_stmt 0 view .LVU225
  1899. 1035 0004 11F0800F tst r1, #128
  1900. 1036 0008 08D1 bne .L74
  1901. 502:USB_DEVICE/Target/usbd_conf.c **** }
  1902. 1037 .loc 1 502 5 is_stmt 1 view .LVU226
  1903. 502:USB_DEVICE/Target/usbd_conf.c **** }
  1904. 1038 .loc 1 502 33 is_stmt 0 view .LVU227
  1905. 1039 000a 01F07F01 and r1, r1, #127
  1906. 1040 .LVL105:
  1907. 502:USB_DEVICE/Target/usbd_conf.c **** }
  1908. 1041 .loc 1 502 40 view .LVU228
  1909. 1042 000e 01EB8101 add r1, r1, r1, lsl #2
  1910. 1043 0012 03EBC101 add r1, r3, r1, lsl #3
  1911. 1044 0016 91F86A01 ldrb r0, [r1, #362] @ zero_extendqisi2
  1912. 1045 .LVL106:
  1913. 504:USB_DEVICE/Target/usbd_conf.c ****
  1914. 1046 .loc 1 504 1 view .LVU229
  1915. ARM GAS /tmp/ccWUM42c.s page 34
  1916. 1047 001a 7047 bx lr
  1917. 1048 .LVL107:
  1918. 1049 .L74:
  1919. 498:USB_DEVICE/Target/usbd_conf.c **** }
  1920. 1050 .loc 1 498 5 is_stmt 1 view .LVU230
  1921. 498:USB_DEVICE/Target/usbd_conf.c **** }
  1922. 1051 .loc 1 498 32 is_stmt 0 view .LVU231
  1923. 1052 001c 01F07F01 and r1, r1, #127
  1924. 1053 .LVL108:
  1925. 498:USB_DEVICE/Target/usbd_conf.c **** }
  1926. 1054 .loc 1 498 39 view .LVU232
  1927. 1055 0020 0131 adds r1, r1, #1
  1928. 1056 0022 01EB8101 add r1, r1, r1, lsl #2
  1929. 1057 0026 03EBC101 add r1, r3, r1, lsl #3
  1930. 1058 002a 8878 ldrb r0, [r1, #2] @ zero_extendqisi2
  1931. 1059 .LVL109:
  1932. 498:USB_DEVICE/Target/usbd_conf.c **** }
  1933. 1060 .loc 1 498 39 view .LVU233
  1934. 1061 002c 7047 bx lr
  1935. 1062 .cfi_endproc
  1936. 1063 .LFE677:
  1937. 1065 .section .text.USBD_LL_SetUSBAddress,"ax",%progbits
  1938. 1066 .align 1
  1939. 1067 .global USBD_LL_SetUSBAddress
  1940. 1068 .syntax unified
  1941. 1069 .thumb
  1942. 1070 .thumb_func
  1943. 1072 USBD_LL_SetUSBAddress:
  1944. 1073 .LVL110:
  1945. 1074 .LFB678:
  1946. 513:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1947. 1075 .loc 1 513 1 is_stmt 1 view -0
  1948. 1076 .cfi_startproc
  1949. 1077 @ args = 0, pretend = 0, frame = 0
  1950. 1078 @ frame_needed = 0, uses_anonymous_args = 0
  1951. 513:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1952. 1079 .loc 1 513 1 is_stmt 0 view .LVU235
  1953. 1080 0000 08B5 push {r3, lr}
  1954. 1081 .LCFI24:
  1955. 1082 .cfi_def_cfa_offset 8
  1956. 1083 .cfi_offset 3, -8
  1957. 1084 .cfi_offset 14, -4
  1958. 514:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  1959. 1085 .loc 1 514 3 is_stmt 1 view .LVU236
  1960. 1086 .LVL111:
  1961. 515:USB_DEVICE/Target/usbd_conf.c ****
  1962. 1087 .loc 1 515 3 view .LVU237
  1963. 517:USB_DEVICE/Target/usbd_conf.c ****
  1964. 1088 .loc 1 517 3 view .LVU238
  1965. 517:USB_DEVICE/Target/usbd_conf.c ****
  1966. 1089 .loc 1 517 16 is_stmt 0 view .LVU239
  1967. 1090 0002 D0F8C002 ldr r0, [r0, #704]
  1968. 1091 .LVL112:
  1969. 517:USB_DEVICE/Target/usbd_conf.c ****
  1970. 1092 .loc 1 517 16 view .LVU240
  1971. 1093 0006 FFF7FEFF bl HAL_PCD_SetAddress
  1972. 1094 .LVL113:
  1973. ARM GAS /tmp/ccWUM42c.s page 35
  1974. 519:USB_DEVICE/Target/usbd_conf.c ****
  1975. 1095 .loc 1 519 3 is_stmt 1 view .LVU241
  1976. 519:USB_DEVICE/Target/usbd_conf.c ****
  1977. 1096 .loc 1 519 17 is_stmt 0 view .LVU242
  1978. 1097 000a FFF7FEFF bl USBD_Get_USB_Status
  1979. 1098 .LVL114:
  1980. 521:USB_DEVICE/Target/usbd_conf.c **** }
  1981. 1099 .loc 1 521 3 is_stmt 1 view .LVU243
  1982. 522:USB_DEVICE/Target/usbd_conf.c ****
  1983. 1100 .loc 1 522 1 is_stmt 0 view .LVU244
  1984. 1101 000e 08BD pop {r3, pc}
  1985. 1102 .cfi_endproc
  1986. 1103 .LFE678:
  1987. 1105 .section .text.USBD_LL_Transmit,"ax",%progbits
  1988. 1106 .align 1
  1989. 1107 .global USBD_LL_Transmit
  1990. 1108 .syntax unified
  1991. 1109 .thumb
  1992. 1110 .thumb_func
  1993. 1112 USBD_LL_Transmit:
  1994. 1113 .LVL115:
  1995. 1114 .LFB679:
  1996. 533:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  1997. 1115 .loc 1 533 1 is_stmt 1 view -0
  1998. 1116 .cfi_startproc
  1999. 1117 @ args = 0, pretend = 0, frame = 0
  2000. 1118 @ frame_needed = 0, uses_anonymous_args = 0
  2001. 533:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  2002. 1119 .loc 1 533 1 is_stmt 0 view .LVU246
  2003. 1120 0000 08B5 push {r3, lr}
  2004. 1121 .LCFI25:
  2005. 1122 .cfi_def_cfa_offset 8
  2006. 1123 .cfi_offset 3, -8
  2007. 1124 .cfi_offset 14, -4
  2008. 534:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  2009. 1125 .loc 1 534 3 is_stmt 1 view .LVU247
  2010. 1126 .LVL116:
  2011. 535:USB_DEVICE/Target/usbd_conf.c ****
  2012. 1127 .loc 1 535 3 view .LVU248
  2013. 537:USB_DEVICE/Target/usbd_conf.c ****
  2014. 1128 .loc 1 537 3 view .LVU249
  2015. 537:USB_DEVICE/Target/usbd_conf.c ****
  2016. 1129 .loc 1 537 16 is_stmt 0 view .LVU250
  2017. 1130 0002 D0F8C002 ldr r0, [r0, #704]
  2018. 1131 .LVL117:
  2019. 537:USB_DEVICE/Target/usbd_conf.c ****
  2020. 1132 .loc 1 537 16 view .LVU251
  2021. 1133 0006 FFF7FEFF bl HAL_PCD_EP_Transmit
  2022. 1134 .LVL118:
  2023. 539:USB_DEVICE/Target/usbd_conf.c ****
  2024. 1135 .loc 1 539 3 is_stmt 1 view .LVU252
  2025. 539:USB_DEVICE/Target/usbd_conf.c ****
  2026. 1136 .loc 1 539 17 is_stmt 0 view .LVU253
  2027. 1137 000a FFF7FEFF bl USBD_Get_USB_Status
  2028. 1138 .LVL119:
  2029. 541:USB_DEVICE/Target/usbd_conf.c **** }
  2030. 1139 .loc 1 541 3 is_stmt 1 view .LVU254
  2031. ARM GAS /tmp/ccWUM42c.s page 36
  2032. 542:USB_DEVICE/Target/usbd_conf.c ****
  2033. 1140 .loc 1 542 1 is_stmt 0 view .LVU255
  2034. 1141 000e 08BD pop {r3, pc}
  2035. 1142 .cfi_endproc
  2036. 1143 .LFE679:
  2037. 1145 .section .text.USBD_LL_PrepareReceive,"ax",%progbits
  2038. 1146 .align 1
  2039. 1147 .global USBD_LL_PrepareReceive
  2040. 1148 .syntax unified
  2041. 1149 .thumb
  2042. 1150 .thumb_func
  2043. 1152 USBD_LL_PrepareReceive:
  2044. 1153 .LVL120:
  2045. 1154 .LFB680:
  2046. 553:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  2047. 1155 .loc 1 553 1 is_stmt 1 view -0
  2048. 1156 .cfi_startproc
  2049. 1157 @ args = 0, pretend = 0, frame = 0
  2050. 1158 @ frame_needed = 0, uses_anonymous_args = 0
  2051. 553:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK;
  2052. 1159 .loc 1 553 1 is_stmt 0 view .LVU257
  2053. 1160 0000 08B5 push {r3, lr}
  2054. 1161 .LCFI26:
  2055. 1162 .cfi_def_cfa_offset 8
  2056. 1163 .cfi_offset 3, -8
  2057. 1164 .cfi_offset 14, -4
  2058. 554:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK;
  2059. 1165 .loc 1 554 3 is_stmt 1 view .LVU258
  2060. 1166 .LVL121:
  2061. 555:USB_DEVICE/Target/usbd_conf.c ****
  2062. 1167 .loc 1 555 3 view .LVU259
  2063. 557:USB_DEVICE/Target/usbd_conf.c ****
  2064. 1168 .loc 1 557 3 view .LVU260
  2065. 557:USB_DEVICE/Target/usbd_conf.c ****
  2066. 1169 .loc 1 557 16 is_stmt 0 view .LVU261
  2067. 1170 0002 D0F8C002 ldr r0, [r0, #704]
  2068. 1171 .LVL122:
  2069. 557:USB_DEVICE/Target/usbd_conf.c ****
  2070. 1172 .loc 1 557 16 view .LVU262
  2071. 1173 0006 FFF7FEFF bl HAL_PCD_EP_Receive
  2072. 1174 .LVL123:
  2073. 559:USB_DEVICE/Target/usbd_conf.c ****
  2074. 1175 .loc 1 559 3 is_stmt 1 view .LVU263
  2075. 559:USB_DEVICE/Target/usbd_conf.c ****
  2076. 1176 .loc 1 559 17 is_stmt 0 view .LVU264
  2077. 1177 000a FFF7FEFF bl USBD_Get_USB_Status
  2078. 1178 .LVL124:
  2079. 561:USB_DEVICE/Target/usbd_conf.c **** }
  2080. 1179 .loc 1 561 3 is_stmt 1 view .LVU265
  2081. 562:USB_DEVICE/Target/usbd_conf.c ****
  2082. 1180 .loc 1 562 1 is_stmt 0 view .LVU266
  2083. 1181 000e 08BD pop {r3, pc}
  2084. 1182 .cfi_endproc
  2085. 1183 .LFE680:
  2086. 1185 .section .text.USBD_LL_GetRxDataSize,"ax",%progbits
  2087. 1186 .align 1
  2088. 1187 .global USBD_LL_GetRxDataSize
  2089. ARM GAS /tmp/ccWUM42c.s page 37
  2090. 1188 .syntax unified
  2091. 1189 .thumb
  2092. 1190 .thumb_func
  2093. 1192 USBD_LL_GetRxDataSize:
  2094. 1193 .LVL125:
  2095. 1194 .LFB681:
  2096. 571:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr);
  2097. 1195 .loc 1 571 1 is_stmt 1 view -0
  2098. 1196 .cfi_startproc
  2099. 1197 @ args = 0, pretend = 0, frame = 0
  2100. 1198 @ frame_needed = 0, uses_anonymous_args = 0
  2101. 571:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr);
  2102. 1199 .loc 1 571 1 is_stmt 0 view .LVU268
  2103. 1200 0000 08B5 push {r3, lr}
  2104. 1201 .LCFI27:
  2105. 1202 .cfi_def_cfa_offset 8
  2106. 1203 .cfi_offset 3, -8
  2107. 1204 .cfi_offset 14, -4
  2108. 572:USB_DEVICE/Target/usbd_conf.c **** }
  2109. 1205 .loc 1 572 3 is_stmt 1 view .LVU269
  2110. 572:USB_DEVICE/Target/usbd_conf.c **** }
  2111. 1206 .loc 1 572 10 is_stmt 0 view .LVU270
  2112. 1207 0002 D0F8C002 ldr r0, [r0, #704]
  2113. 1208 .LVL126:
  2114. 572:USB_DEVICE/Target/usbd_conf.c **** }
  2115. 1209 .loc 1 572 10 view .LVU271
  2116. 1210 0006 FFF7FEFF bl HAL_PCD_EP_GetRxCount
  2117. 1211 .LVL127:
  2118. 573:USB_DEVICE/Target/usbd_conf.c ****
  2119. 1212 .loc 1 573 1 view .LVU272
  2120. 1213 000a 08BD pop {r3, pc}
  2121. 1214 .cfi_endproc
  2122. 1215 .LFE681:
  2123. 1217 .section .text.USBD_LL_Delay,"ax",%progbits
  2124. 1218 .align 1
  2125. 1219 .global USBD_LL_Delay
  2126. 1220 .syntax unified
  2127. 1221 .thumb
  2128. 1222 .thumb_func
  2129. 1224 USBD_LL_Delay:
  2130. 1225 .LVL128:
  2131. 1226 .LFB682:
  2132. 581:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay);
  2133. 1227 .loc 1 581 1 is_stmt 1 view -0
  2134. 1228 .cfi_startproc
  2135. 1229 @ args = 0, pretend = 0, frame = 0
  2136. 1230 @ frame_needed = 0, uses_anonymous_args = 0
  2137. 581:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay);
  2138. 1231 .loc 1 581 1 is_stmt 0 view .LVU274
  2139. 1232 0000 08B5 push {r3, lr}
  2140. 1233 .LCFI28:
  2141. 1234 .cfi_def_cfa_offset 8
  2142. 1235 .cfi_offset 3, -8
  2143. 1236 .cfi_offset 14, -4
  2144. 582:USB_DEVICE/Target/usbd_conf.c **** }
  2145. 1237 .loc 1 582 3 is_stmt 1 view .LVU275
  2146. 1238 0002 FFF7FEFF bl HAL_Delay
  2147. ARM GAS /tmp/ccWUM42c.s page 38
  2148. 1239 .LVL129:
  2149. 583:USB_DEVICE/Target/usbd_conf.c ****
  2150. 1240 .loc 1 583 1 is_stmt 0 view .LVU276
  2151. 1241 0006 08BD pop {r3, pc}
  2152. 1242 .cfi_endproc
  2153. 1243 .LFE682:
  2154. 1245 .section .text.USBD_static_malloc,"ax",%progbits
  2155. 1246 .align 1
  2156. 1247 .global USBD_static_malloc
  2157. 1248 .syntax unified
  2158. 1249 .thumb
  2159. 1250 .thumb_func
  2160. 1252 USBD_static_malloc:
  2161. 1253 .LVL130:
  2162. 1254 .LFB683:
  2163. 591:USB_DEVICE/Target/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_CDC_HandleTypeDef)/4)+1];/* On 32-bit boundary */
  2164. 1255 .loc 1 591 1 is_stmt 1 view -0
  2165. 1256 .cfi_startproc
  2166. 1257 @ args = 0, pretend = 0, frame = 0
  2167. 1258 @ frame_needed = 0, uses_anonymous_args = 0
  2168. 1259 @ link register save eliminated.
  2169. 592:USB_DEVICE/Target/usbd_conf.c **** return mem;
  2170. 1260 .loc 1 592 3 view .LVU278
  2171. 593:USB_DEVICE/Target/usbd_conf.c **** }
  2172. 1261 .loc 1 593 3 view .LVU279
  2173. 594:USB_DEVICE/Target/usbd_conf.c ****
  2174. 1262 .loc 1 594 1 is_stmt 0 view .LVU280
  2175. 1263 0000 0048 ldr r0, .L86
  2176. 1264 .LVL131:
  2177. 594:USB_DEVICE/Target/usbd_conf.c ****
  2178. 1265 .loc 1 594 1 view .LVU281
  2179. 1266 0002 7047 bx lr
  2180. 1267 .L87:
  2181. 1268 .align 2
  2182. 1269 .L86:
  2183. 1270 0004 00000000 .word .LANCHOR1
  2184. 1271 .cfi_endproc
  2185. 1272 .LFE683:
  2186. 1274 .section .text.USBD_static_free,"ax",%progbits
  2187. 1275 .align 1
  2188. 1276 .global USBD_static_free
  2189. 1277 .syntax unified
  2190. 1278 .thumb
  2191. 1279 .thumb_func
  2192. 1281 USBD_static_free:
  2193. 1282 .LVL132:
  2194. 1283 .LFB684:
  2195. 602:USB_DEVICE/Target/usbd_conf.c ****
  2196. 1284 .loc 1 602 1 is_stmt 1 view -0
  2197. 1285 .cfi_startproc
  2198. 1286 @ args = 0, pretend = 0, frame = 0
  2199. 1287 @ frame_needed = 0, uses_anonymous_args = 0
  2200. 1288 @ link register save eliminated.
  2201. 604:USB_DEVICE/Target/usbd_conf.c ****
  2202. 1289 .loc 1 604 1 view .LVU283
  2203. 1290 0000 7047 bx lr
  2204. 1291 .cfi_endproc
  2205. ARM GAS /tmp/ccWUM42c.s page 39
  2206. 1292 .LFE684:
  2207. 1294 .section .text.HAL_PCDEx_SetConnectionState,"ax",%progbits
  2208. 1295 .align 1
  2209. 1296 .global HAL_PCDEx_SetConnectionState
  2210. 1297 .syntax unified
  2211. 1298 .thumb
  2212. 1299 .thumb_func
  2213. 1301 HAL_PCDEx_SetConnectionState:
  2214. 1302 .LVL133:
  2215. 1303 .LFB685:
  2216. 617:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 6 */
  2217. 1304 .loc 1 617 1 view -0
  2218. 1305 .cfi_startproc
  2219. 1306 @ args = 0, pretend = 0, frame = 0
  2220. 1307 @ frame_needed = 0, uses_anonymous_args = 0
  2221. 1308 @ link register save eliminated.
  2222. 619:USB_DEVICE/Target/usbd_conf.c **** {
  2223. 1309 .loc 1 619 3 view .LVU285
  2224. 628:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 6 */
  2225. 1310 .loc 1 628 3 view .LVU286
  2226. 630:USB_DEVICE/Target/usbd_conf.c ****
  2227. 1311 .loc 1 630 1 is_stmt 0 view .LVU287
  2228. 1312 0000 7047 bx lr
  2229. 1313 .cfi_endproc
  2230. 1314 .LFE685:
  2231. 1316 .global hpcd_USB_FS
  2232. 1317 .section .bss.hpcd_USB_FS,"aw",%nobits
  2233. 1318 .align 2
  2234. 1319 .set .LANCHOR0,. + 0
  2235. 1322 hpcd_USB_FS:
  2236. 1323 0000 00000000 .space 752
  2237. 1323 00000000
  2238. 1323 00000000
  2239. 1323 00000000
  2240. 1323 00000000
  2241. 1324 .section .bss.mem.0,"aw",%nobits
  2242. 1325 .align 2
  2243. 1326 .set .LANCHOR1,. + 0
  2244. 1329 mem.0:
  2245. 1330 0000 00000000 .space 544
  2246. 1330 00000000
  2247. 1330 00000000
  2248. 1330 00000000
  2249. 1330 00000000
  2250. 1331 .text
  2251. 1332 .Letext0:
  2252. 1333 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  2253. 1334 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  2254. 1335 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
  2255. 1336 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  2256. 1337 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
  2257. 1338 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
  2258. 1339 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h"
  2259. 1340 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h"
  2260. 1341 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h"
  2261. 1342 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h"
  2262. 1343 .file 12 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
  2263. ARM GAS /tmp/ccWUM42c.s page 40
  2264. 1344 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
  2265. 1345 .file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h"
  2266. 1346 .file 15 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
  2267. 1347 .file 16 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h"
  2268. ARM GAS /tmp/ccWUM42c.s page 41
  2269. DEFINED SYMBOLS
  2270. *ABS*:0000000000000000 usbd_conf.c
  2271. /tmp/ccWUM42c.s:18 .text.USBD_Get_USB_Status:0000000000000000 $t
  2272. /tmp/ccWUM42c.s:23 .text.USBD_Get_USB_Status:0000000000000000 USBD_Get_USB_Status
  2273. /tmp/ccWUM42c.s:38 .text.USBD_Get_USB_Status:0000000000000008 $d
  2274. /tmp/ccWUM42c.s:64 .text.HAL_PCD_MspInit:0000000000000000 $t
  2275. /tmp/ccWUM42c.s:70 .text.HAL_PCD_MspInit:0000000000000000 HAL_PCD_MspInit
  2276. /tmp/ccWUM42c.s:131 .text.HAL_PCD_MspInit:000000000000003c $d
  2277. /tmp/ccWUM42c.s:136 .text.HAL_PCD_MspDeInit:0000000000000000 $t
  2278. /tmp/ccWUM42c.s:142 .text.HAL_PCD_MspDeInit:0000000000000000 HAL_PCD_MspDeInit
  2279. /tmp/ccWUM42c.s:184 .text.HAL_PCD_MspDeInit:0000000000000020 $d
  2280. /tmp/ccWUM42c.s:190 .text.HAL_PCD_SetupStageCallback:0000000000000000 $t
  2281. /tmp/ccWUM42c.s:196 .text.HAL_PCD_SetupStageCallback:0000000000000000 HAL_PCD_SetupStageCallback
  2282. /tmp/ccWUM42c.s:222 .text.HAL_PCD_DataOutStageCallback:0000000000000000 $t
  2283. /tmp/ccWUM42c.s:228 .text.HAL_PCD_DataOutStageCallback:0000000000000000 HAL_PCD_DataOutStageCallback
  2284. /tmp/ccWUM42c.s:256 .text.HAL_PCD_DataInStageCallback:0000000000000000 $t
  2285. /tmp/ccWUM42c.s:262 .text.HAL_PCD_DataInStageCallback:0000000000000000 HAL_PCD_DataInStageCallback
  2286. /tmp/ccWUM42c.s:290 .text.HAL_PCD_SOFCallback:0000000000000000 $t
  2287. /tmp/ccWUM42c.s:296 .text.HAL_PCD_SOFCallback:0000000000000000 HAL_PCD_SOFCallback
  2288. /tmp/ccWUM42c.s:321 .text.HAL_PCD_ResetCallback:0000000000000000 $t
  2289. /tmp/ccWUM42c.s:327 .text.HAL_PCD_ResetCallback:0000000000000000 HAL_PCD_ResetCallback
  2290. /tmp/ccWUM42c.s:373 .text.HAL_PCD_SuspendCallback:0000000000000000 $t
  2291. /tmp/ccWUM42c.s:379 .text.HAL_PCD_SuspendCallback:0000000000000000 HAL_PCD_SuspendCallback
  2292. /tmp/ccWUM42c.s:418 .text.HAL_PCD_SuspendCallback:000000000000001c $d
  2293. /tmp/ccWUM42c.s:423 .text.HAL_PCD_ResumeCallback:0000000000000000 $t
  2294. /tmp/ccWUM42c.s:429 .text.HAL_PCD_ResumeCallback:0000000000000000 HAL_PCD_ResumeCallback
  2295. /tmp/ccWUM42c.s:454 .text.HAL_PCD_ISOOUTIncompleteCallback:0000000000000000 $t
  2296. /tmp/ccWUM42c.s:460 .text.HAL_PCD_ISOOUTIncompleteCallback:0000000000000000 HAL_PCD_ISOOUTIncompleteCallback
  2297. /tmp/ccWUM42c.s:485 .text.HAL_PCD_ISOINIncompleteCallback:0000000000000000 $t
  2298. /tmp/ccWUM42c.s:491 .text.HAL_PCD_ISOINIncompleteCallback:0000000000000000 HAL_PCD_ISOINIncompleteCallback
  2299. /tmp/ccWUM42c.s:516 .text.HAL_PCD_ConnectCallback:0000000000000000 $t
  2300. /tmp/ccWUM42c.s:522 .text.HAL_PCD_ConnectCallback:0000000000000000 HAL_PCD_ConnectCallback
  2301. /tmp/ccWUM42c.s:547 .text.HAL_PCD_DisconnectCallback:0000000000000000 $t
  2302. /tmp/ccWUM42c.s:553 .text.HAL_PCD_DisconnectCallback:0000000000000000 HAL_PCD_DisconnectCallback
  2303. /tmp/ccWUM42c.s:578 .text.USBD_LL_Init:0000000000000000 $t
  2304. /tmp/ccWUM42c.s:584 .text.USBD_LL_Init:0000000000000000 USBD_LL_Init
  2305. /tmp/ccWUM42c.s:684 .text.USBD_LL_Init:000000000000007c $d
  2306. /tmp/ccWUM42c.s:690 .text.USBD_LL_DeInit:0000000000000000 $t
  2307. /tmp/ccWUM42c.s:696 .text.USBD_LL_DeInit:0000000000000000 USBD_LL_DeInit
  2308. /tmp/ccWUM42c.s:730 .text.USBD_LL_Start:0000000000000000 $t
  2309. /tmp/ccWUM42c.s:736 .text.USBD_LL_Start:0000000000000000 USBD_LL_Start
  2310. /tmp/ccWUM42c.s:770 .text.USBD_LL_Stop:0000000000000000 $t
  2311. /tmp/ccWUM42c.s:776 .text.USBD_LL_Stop:0000000000000000 USBD_LL_Stop
  2312. /tmp/ccWUM42c.s:810 .text.USBD_LL_OpenEP:0000000000000000 $t
  2313. /tmp/ccWUM42c.s:816 .text.USBD_LL_OpenEP:0000000000000000 USBD_LL_OpenEP
  2314. /tmp/ccWUM42c.s:855 .text.USBD_LL_CloseEP:0000000000000000 $t
  2315. /tmp/ccWUM42c.s:861 .text.USBD_LL_CloseEP:0000000000000000 USBD_LL_CloseEP
  2316. /tmp/ccWUM42c.s:895 .text.USBD_LL_FlushEP:0000000000000000 $t
  2317. /tmp/ccWUM42c.s:901 .text.USBD_LL_FlushEP:0000000000000000 USBD_LL_FlushEP
  2318. /tmp/ccWUM42c.s:935 .text.USBD_LL_StallEP:0000000000000000 $t
  2319. /tmp/ccWUM42c.s:941 .text.USBD_LL_StallEP:0000000000000000 USBD_LL_StallEP
  2320. /tmp/ccWUM42c.s:975 .text.USBD_LL_ClearStallEP:0000000000000000 $t
  2321. /tmp/ccWUM42c.s:981 .text.USBD_LL_ClearStallEP:0000000000000000 USBD_LL_ClearStallEP
  2322. /tmp/ccWUM42c.s:1015 .text.USBD_LL_IsStallEP:0000000000000000 $t
  2323. /tmp/ccWUM42c.s:1021 .text.USBD_LL_IsStallEP:0000000000000000 USBD_LL_IsStallEP
  2324. /tmp/ccWUM42c.s:1066 .text.USBD_LL_SetUSBAddress:0000000000000000 $t
  2325. /tmp/ccWUM42c.s:1072 .text.USBD_LL_SetUSBAddress:0000000000000000 USBD_LL_SetUSBAddress
  2326. ARM GAS /tmp/ccWUM42c.s page 42
  2327. /tmp/ccWUM42c.s:1106 .text.USBD_LL_Transmit:0000000000000000 $t
  2328. /tmp/ccWUM42c.s:1112 .text.USBD_LL_Transmit:0000000000000000 USBD_LL_Transmit
  2329. /tmp/ccWUM42c.s:1146 .text.USBD_LL_PrepareReceive:0000000000000000 $t
  2330. /tmp/ccWUM42c.s:1152 .text.USBD_LL_PrepareReceive:0000000000000000 USBD_LL_PrepareReceive
  2331. /tmp/ccWUM42c.s:1186 .text.USBD_LL_GetRxDataSize:0000000000000000 $t
  2332. /tmp/ccWUM42c.s:1192 .text.USBD_LL_GetRxDataSize:0000000000000000 USBD_LL_GetRxDataSize
  2333. /tmp/ccWUM42c.s:1218 .text.USBD_LL_Delay:0000000000000000 $t
  2334. /tmp/ccWUM42c.s:1224 .text.USBD_LL_Delay:0000000000000000 USBD_LL_Delay
  2335. /tmp/ccWUM42c.s:1246 .text.USBD_static_malloc:0000000000000000 $t
  2336. /tmp/ccWUM42c.s:1252 .text.USBD_static_malloc:0000000000000000 USBD_static_malloc
  2337. /tmp/ccWUM42c.s:1270 .text.USBD_static_malloc:0000000000000004 $d
  2338. /tmp/ccWUM42c.s:1275 .text.USBD_static_free:0000000000000000 $t
  2339. /tmp/ccWUM42c.s:1281 .text.USBD_static_free:0000000000000000 USBD_static_free
  2340. /tmp/ccWUM42c.s:1295 .text.HAL_PCDEx_SetConnectionState:0000000000000000 $t
  2341. /tmp/ccWUM42c.s:1301 .text.HAL_PCDEx_SetConnectionState:0000000000000000 HAL_PCDEx_SetConnectionState
  2342. /tmp/ccWUM42c.s:1322 .bss.hpcd_USB_FS:0000000000000000 hpcd_USB_FS
  2343. /tmp/ccWUM42c.s:1318 .bss.hpcd_USB_FS:0000000000000000 $d
  2344. /tmp/ccWUM42c.s:1325 .bss.mem.0:0000000000000000 $d
  2345. /tmp/ccWUM42c.s:1329 .bss.mem.0:0000000000000000 mem.0
  2346. /tmp/ccWUM42c.s:41 .text.USBD_Get_USB_Status:000000000000000b $d
  2347. /tmp/ccWUM42c.s:41 .text.USBD_Get_USB_Status:000000000000000c $t
  2348. UNDEFINED SYMBOLS
  2349. HAL_NVIC_SetPriority
  2350. HAL_NVIC_EnableIRQ
  2351. HAL_NVIC_DisableIRQ
  2352. USBD_LL_SetupStage
  2353. USBD_LL_DataOutStage
  2354. USBD_LL_DataInStage
  2355. USBD_LL_SOF
  2356. USBD_LL_SetSpeed
  2357. USBD_LL_Reset
  2358. Error_Handler
  2359. USBD_LL_Suspend
  2360. USBD_LL_Resume
  2361. USBD_LL_IsoOUTIncomplete
  2362. USBD_LL_IsoINIncomplete
  2363. USBD_LL_DevConnected
  2364. USBD_LL_DevDisconnected
  2365. HAL_PCD_Init
  2366. HAL_PCDEx_PMAConfig
  2367. HAL_PCD_DeInit
  2368. HAL_PCD_Start
  2369. HAL_PCD_Stop
  2370. HAL_PCD_EP_Open
  2371. HAL_PCD_EP_Close
  2372. HAL_PCD_EP_Flush
  2373. HAL_PCD_EP_SetStall
  2374. HAL_PCD_EP_ClrStall
  2375. HAL_PCD_SetAddress
  2376. HAL_PCD_EP_Transmit
  2377. HAL_PCD_EP_Receive
  2378. HAL_PCD_EP_GetRxCount
  2379. HAL_Delay