usbd_cdc.lst 168 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479
  1. ARM GAS /tmp/cc5SjA9n.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_cdc.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.USBD_CDC_EP0_RxReady,"ax",%progbits
  19. 18 .align 1
  20. 19 .syntax unified
  21. 20 .thumb
  22. 21 .thumb_func
  23. 23 USBD_CDC_EP0_RxReady:
  24. 24 .LVL0:
  25. 25 .LFB660:
  26. 26 .file 1 "Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c"
  27. 1:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  28. 2:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ******************************************************************************
  29. 3:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @file usbd_cdc.c
  30. 4:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @author MCD Application Team
  31. 5:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief This file provides the high layer firmware functions to manage the
  32. 6:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * following functionalities of the USB CDC Class:
  33. 7:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Initialization and Configuration of high and low layer
  34. 8:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Enumeration as CDC Device (and enumeration for each implemented memory interface)
  35. 9:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - OUT/IN data transfer
  36. 10:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Command IN transfer (class requests management)
  37. 11:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Error management
  38. 12:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  39. 13:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @verbatim
  40. 14:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  41. 15:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * ===================================================================
  42. 16:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * CDC Class Driver Description
  43. 17:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * ===================================================================
  44. 18:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * This driver manages the "Universal Serial Bus Class Definitions for Communications De
  45. 19:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Revision 1.2 November 16, 2007" and the sub-protocol specification of "Universal Seri
  46. 20:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Communications Class Subclass Specification for PSTN Devices Revision 1.2 February 9,
  47. 21:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * This driver implements the following aspects of the specification:
  48. 22:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Device descriptor management
  49. 23:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Configuration descriptor management
  50. 24:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Enumeration as CDC device with 2 data endpoints (IN and OUT) and 1 command endpoi
  51. 25:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Requests management (as described in section 6.2 in specification)
  52. 26:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Abstract Control Model compliant
  53. 27:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Union Functional collection (using 1 IN endpoint for control)
  54. 28:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Data interface class
  55. 29:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  56. 30:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * These aspects may be enriched or modified for a specific user application.
  57. 31:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  58. 32:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * This driver doesn't implement the following aspects of the specification
  59. ARM GAS /tmp/cc5SjA9n.s page 2
  60. 33:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * (but it is possible to manage these features with some modifications on this driver)
  61. 34:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - Any class-specific aspect relative to communication classes should be managed by
  62. 35:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * - All communication classes other than PSTN are not managed
  63. 36:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  64. 37:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @endverbatim
  65. 38:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  66. 39:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ******************************************************************************
  67. 40:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @attention
  68. 41:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  69. 42:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  70. 43:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * All rights reserved.</center></h2>
  71. 44:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  72. 45:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * This software component is licensed by ST under Ultimate Liberty license
  73. 46:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * SLA0044, the "License"; You may not use this file except in compliance with
  74. 47:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * the License. You may obtain a copy of the License at:
  75. 48:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * www.st.com/SLA0044
  76. 49:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *
  77. 50:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ******************************************************************************
  78. 51:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  79. 52:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  80. 53:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* BSPDependencies
  81. 54:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** - "stm32xxxxx_{eval}{discovery}{nucleo_144}.c"
  82. 55:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** - "stm32xxxxx_{eval}{discovery}_io.c"
  83. 56:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** EndBSPDependencies */
  84. 57:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  85. 58:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Includes ------------------------------------------------------------------*/
  86. 59:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** #include "usbd_cdc.h"
  87. 60:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** #include "usbd_ctlreq.h"
  88. 61:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  89. 62:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  90. 63:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @addtogroup STM32_USB_DEVICE_LIBRARY
  91. 64:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  92. 65:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  93. 66:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  94. 67:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  95. 68:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC
  96. 69:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief usbd core module
  97. 70:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  98. 71:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  99. 72:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  100. 73:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC_Private_TypesDefinitions
  101. 74:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  102. 75:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  103. 76:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  104. 77:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @}
  105. 78:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  106. 79:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  107. 80:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  108. 81:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC_Private_Defines
  109. 82:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  110. 83:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  111. 84:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  112. 85:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @}
  113. 86:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  114. 87:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  115. 88:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  116. 89:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC_Private_Macros
  117. ARM GAS /tmp/cc5SjA9n.s page 3
  118. 90:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  119. 91:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  120. 92:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  121. 93:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  122. 94:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @}
  123. 95:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  124. 96:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  125. 97:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  126. 98:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC_Private_FunctionPrototypes
  127. 99:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  128. 100:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  129. 101:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  130. 102:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  131. 103:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_Init(USBD_HandleTypeDef *pdev,
  132. 104:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t cfgidx);
  133. 105:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  134. 106:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_DeInit(USBD_HandleTypeDef *pdev,
  135. 107:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t cfgidx);
  136. 108:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  137. 109:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_Setup(USBD_HandleTypeDef *pdev,
  138. 110:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_SetupReqTypedef *req);
  139. 111:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  140. 112:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_DataIn(USBD_HandleTypeDef *pdev,
  141. 113:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t epnum);
  142. 114:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  143. 115:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_DataOut(USBD_HandleTypeDef *pdev,
  144. 116:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t epnum);
  145. 117:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  146. 118:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_EP0_RxReady(USBD_HandleTypeDef *pdev);
  147. 119:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  148. 120:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetFSCfgDesc(uint16_t *length);
  149. 121:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  150. 122:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetHSCfgDesc(uint16_t *length);
  151. 123:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  152. 124:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetOtherSpeedCfgDesc(uint16_t *length);
  153. 125:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  154. 126:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetOtherSpeedCfgDesc(uint16_t *length);
  155. 127:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  156. 128:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t *USBD_CDC_GetDeviceQualifierDescriptor(uint16_t *length);
  157. 129:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  158. 130:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* USB Standard Device Descriptor */
  159. 131:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** __ALIGN_BEGIN static uint8_t USBD_CDC_DeviceQualifierDesc[USB_LEN_DEV_QUALIFIER_DESC] __ALIGN_END =
  160. 132:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  161. 133:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_LEN_DEV_QUALIFIER_DESC,
  162. 134:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_DEVICE_QUALIFIER,
  163. 135:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  164. 136:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02,
  165. 137:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  166. 138:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  167. 139:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  168. 140:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x40,
  169. 141:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01,
  170. 142:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  171. 143:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** };
  172. 144:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  173. 145:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  174. 146:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @}
  175. ARM GAS /tmp/cc5SjA9n.s page 4
  176. 147:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  177. 148:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  178. 149:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC_Private_Variables
  179. 150:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  180. 151:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  181. 152:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  182. 153:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  183. 154:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* CDC interface class callbacks structure */
  184. 155:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_ClassTypeDef USBD_CDC =
  185. 156:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  186. 157:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_Init,
  187. 158:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_DeInit,
  188. 159:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_Setup,
  189. 160:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** NULL, /* EP0_TxSent, */
  190. 161:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_EP0_RxReady,
  191. 162:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_DataIn,
  192. 163:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_DataOut,
  193. 164:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** NULL,
  194. 165:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** NULL,
  195. 166:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** NULL,
  196. 167:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_GetHSCfgDesc,
  197. 168:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_GetFSCfgDesc,
  198. 169:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_GetOtherSpeedCfgDesc,
  199. 170:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_GetDeviceQualifierDescriptor,
  200. 171:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** };
  201. 172:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  202. 173:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* USB CDC device Configuration Descriptor */
  203. 174:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** __ALIGN_BEGIN uint8_t USBD_CDC_CfgHSDesc[USB_CDC_CONFIG_DESC_SIZ] __ALIGN_END =
  204. 175:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  205. 176:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Configuration Descriptor*/
  206. 177:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Configuration Descriptor size */
  207. 178:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_CONFIGURATION, /* bDescriptorType: Configuration */
  208. 179:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_CDC_CONFIG_DESC_SIZ, /* wTotalLength:no of returned bytes */
  209. 180:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  210. 181:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bNumInterfaces: 2 interface */
  211. 182:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bConfigurationValue: Configuration value */
  212. 183:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iConfiguration: Index of string descriptor describing the configuration */
  213. 184:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0xC0, /* bmAttributes: self powered */
  214. 185:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x32, /* MaxPower 0 mA */
  215. 186:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  216. 187:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*---------------------------------------------------------------------------*/
  217. 188:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  218. 189:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Interface Descriptor */
  219. 190:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Interface Descriptor size */
  220. 191:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_INTERFACE, /* bDescriptorType: Interface */
  221. 192:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Interface descriptor type */
  222. 193:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceNumber: Number of Interface */
  223. 194:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bAlternateSetting: Alternate setting */
  224. 195:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bNumEndpoints: One endpoints used */
  225. 196:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bInterfaceClass: Communication Interface Class */
  226. 197:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bInterfaceSubClass: Abstract Control Model */
  227. 198:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bInterfaceProtocol: Common AT commands */
  228. 199:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iInterface: */
  229. 200:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  230. 201:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Header Functional Descriptor*/
  231. 202:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bLength: Endpoint Descriptor size */
  232. 203:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  233. ARM GAS /tmp/cc5SjA9n.s page 5
  234. 204:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bDescriptorSubtype: Header Func Desc */
  235. 205:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x10, /* bcdCDC: spec release number */
  236. 206:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01,
  237. 207:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  238. 208:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Call Management Functional Descriptor*/
  239. 209:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bFunctionLength */
  240. 210:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  241. 211:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bDescriptorSubtype: Call Management Func Desc */
  242. 212:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bmCapabilities: D0+D1 */
  243. 213:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bDataInterface: 1 */
  244. 214:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  245. 215:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*ACM Functional Descriptor*/
  246. 216:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x04, /* bFunctionLength */
  247. 217:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  248. 218:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bDescriptorSubtype: Abstract Control Management desc */
  249. 219:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmCapabilities */
  250. 220:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  251. 221:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Union Functional Descriptor*/
  252. 222:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bFunctionLength */
  253. 223:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  254. 224:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x06, /* bDescriptorSubtype: Union func desc */
  255. 225:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bMasterInterface: Communication class interface */
  256. 226:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bSlaveInterface0: Data Class Interface */
  257. 227:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  258. 228:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint 2 Descriptor*/
  259. 229:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  260. 230:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  261. 231:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_CMD_EP, /* bEndpointAddress */
  262. 232:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x03, /* bmAttributes: Interrupt */
  263. 233:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_CMD_PACKET_SIZE), /* wMaxPacketSize: */
  264. 234:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_CMD_PACKET_SIZE),
  265. 235:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_HS_BINTERVAL, /* bInterval: */
  266. 236:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*---------------------------------------------------------------------------*/
  267. 237:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  268. 238:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Data class interface descriptor*/
  269. 239:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Endpoint Descriptor size */
  270. 240:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_INTERFACE, /* bDescriptorType: */
  271. 241:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bInterfaceNumber: Number of Interface */
  272. 242:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bAlternateSetting: Alternate setting */
  273. 243:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bNumEndpoints: Two endpoints used */
  274. 244:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x0A, /* bInterfaceClass: CDC */
  275. 245:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceSubClass: */
  276. 246:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceProtocol: */
  277. 247:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iInterface: */
  278. 248:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  279. 249:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint OUT Descriptor*/
  280. 250:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  281. 251:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  282. 252:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP, /* bEndpointAddress */
  283. 253:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmAttributes: Bulk */
  284. 254:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_DATA_HS_MAX_PACKET_SIZE), /* wMaxPacketSize: */
  285. 255:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_DATA_HS_MAX_PACKET_SIZE),
  286. 256:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterval: ignore for Bulk transfer */
  287. 257:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  288. 258:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint IN Descriptor*/
  289. 259:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  290. 260:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  291. ARM GAS /tmp/cc5SjA9n.s page 6
  292. 261:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_IN_EP, /* bEndpointAddress */
  293. 262:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmAttributes: Bulk */
  294. 263:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_DATA_HS_MAX_PACKET_SIZE), /* wMaxPacketSize: */
  295. 264:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_DATA_HS_MAX_PACKET_SIZE),
  296. 265:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00 /* bInterval: ignore for Bulk transfer */
  297. 266:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** } ;
  298. 267:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  299. 268:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  300. 269:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* USB CDC device Configuration Descriptor */
  301. 270:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** __ALIGN_BEGIN uint8_t USBD_CDC_CfgFSDesc[USB_CDC_CONFIG_DESC_SIZ] __ALIGN_END =
  302. 271:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  303. 272:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Configuration Descriptor*/
  304. 273:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Configuration Descriptor size */
  305. 274:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_CONFIGURATION, /* bDescriptorType: Configuration */
  306. 275:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_CDC_CONFIG_DESC_SIZ, /* wTotalLength:no of returned bytes */
  307. 276:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  308. 277:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bNumInterfaces: 2 interface */
  309. 278:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bConfigurationValue: Configuration value */
  310. 279:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iConfiguration: Index of string descriptor describing the configuration */
  311. 280:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0xC0, /* bmAttributes: self powered */
  312. 281:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x32, /* MaxPower 0 mA */
  313. 282:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  314. 283:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*---------------------------------------------------------------------------*/
  315. 284:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  316. 285:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Interface Descriptor */
  317. 286:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Interface Descriptor size */
  318. 287:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_INTERFACE, /* bDescriptorType: Interface */
  319. 288:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Interface descriptor type */
  320. 289:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceNumber: Number of Interface */
  321. 290:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bAlternateSetting: Alternate setting */
  322. 291:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bNumEndpoints: One endpoints used */
  323. 292:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bInterfaceClass: Communication Interface Class */
  324. 293:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bInterfaceSubClass: Abstract Control Model */
  325. 294:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bInterfaceProtocol: Common AT commands */
  326. 295:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iInterface: */
  327. 296:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  328. 297:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Header Functional Descriptor*/
  329. 298:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bLength: Endpoint Descriptor size */
  330. 299:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  331. 300:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bDescriptorSubtype: Header Func Desc */
  332. 301:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x10, /* bcdCDC: spec release number */
  333. 302:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01,
  334. 303:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  335. 304:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Call Management Functional Descriptor*/
  336. 305:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bFunctionLength */
  337. 306:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  338. 307:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bDescriptorSubtype: Call Management Func Desc */
  339. 308:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bmCapabilities: D0+D1 */
  340. 309:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bDataInterface: 1 */
  341. 310:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  342. 311:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*ACM Functional Descriptor*/
  343. 312:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x04, /* bFunctionLength */
  344. 313:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  345. 314:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bDescriptorSubtype: Abstract Control Management desc */
  346. 315:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmCapabilities */
  347. 316:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  348. 317:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Union Functional Descriptor*/
  349. ARM GAS /tmp/cc5SjA9n.s page 7
  350. 318:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bFunctionLength */
  351. 319:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  352. 320:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x06, /* bDescriptorSubtype: Union func desc */
  353. 321:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bMasterInterface: Communication class interface */
  354. 322:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bSlaveInterface0: Data Class Interface */
  355. 323:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  356. 324:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint 2 Descriptor*/
  357. 325:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  358. 326:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  359. 327:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_CMD_EP, /* bEndpointAddress */
  360. 328:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x03, /* bmAttributes: Interrupt */
  361. 329:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_CMD_PACKET_SIZE), /* wMaxPacketSize: */
  362. 330:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_CMD_PACKET_SIZE),
  363. 331:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_FS_BINTERVAL, /* bInterval: */
  364. 332:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*---------------------------------------------------------------------------*/
  365. 333:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  366. 334:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Data class interface descriptor*/
  367. 335:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Endpoint Descriptor size */
  368. 336:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_INTERFACE, /* bDescriptorType: */
  369. 337:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bInterfaceNumber: Number of Interface */
  370. 338:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bAlternateSetting: Alternate setting */
  371. 339:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bNumEndpoints: Two endpoints used */
  372. 340:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x0A, /* bInterfaceClass: CDC */
  373. 341:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceSubClass: */
  374. 342:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceProtocol: */
  375. 343:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iInterface: */
  376. 344:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  377. 345:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint OUT Descriptor*/
  378. 346:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  379. 347:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  380. 348:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP, /* bEndpointAddress */
  381. 349:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmAttributes: Bulk */
  382. 350:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_DATA_FS_MAX_PACKET_SIZE), /* wMaxPacketSize: */
  383. 351:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_DATA_FS_MAX_PACKET_SIZE),
  384. 352:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterval: ignore for Bulk transfer */
  385. 353:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  386. 354:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint IN Descriptor*/
  387. 355:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  388. 356:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  389. 357:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_IN_EP, /* bEndpointAddress */
  390. 358:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmAttributes: Bulk */
  391. 359:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_DATA_FS_MAX_PACKET_SIZE), /* wMaxPacketSize: */
  392. 360:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_DATA_FS_MAX_PACKET_SIZE),
  393. 361:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00 /* bInterval: ignore for Bulk transfer */
  394. 362:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** } ;
  395. 363:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  396. 364:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** __ALIGN_BEGIN uint8_t USBD_CDC_OtherSpeedCfgDesc[USB_CDC_CONFIG_DESC_SIZ] __ALIGN_END =
  397. 365:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  398. 366:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Configuation Descriptor size */
  399. 367:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION,
  400. 368:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_CDC_CONFIG_DESC_SIZ,
  401. 369:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  402. 370:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bNumInterfaces: 2 interfaces */
  403. 371:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bConfigurationValue: */
  404. 372:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x04, /* iConfiguration: */
  405. 373:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0xC0, /* bmAttributes: */
  406. 374:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x32, /* MaxPower 100 mA */
  407. ARM GAS /tmp/cc5SjA9n.s page 8
  408. 375:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  409. 376:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Interface Descriptor */
  410. 377:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Interface Descriptor size */
  411. 378:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_INTERFACE, /* bDescriptorType: Interface */
  412. 379:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Interface descriptor type */
  413. 380:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceNumber: Number of Interface */
  414. 381:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bAlternateSetting: Alternate setting */
  415. 382:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bNumEndpoints: One endpoints used */
  416. 383:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bInterfaceClass: Communication Interface Class */
  417. 384:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bInterfaceSubClass: Abstract Control Model */
  418. 385:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bInterfaceProtocol: Common AT commands */
  419. 386:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iInterface: */
  420. 387:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  421. 388:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Header Functional Descriptor*/
  422. 389:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bLength: Endpoint Descriptor size */
  423. 390:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  424. 391:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bDescriptorSubtype: Header Func Desc */
  425. 392:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x10, /* bcdCDC: spec release number */
  426. 393:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01,
  427. 394:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  428. 395:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Call Management Functional Descriptor*/
  429. 396:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bFunctionLength */
  430. 397:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  431. 398:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bDescriptorSubtype: Call Management Func Desc */
  432. 399:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bmCapabilities: D0+D1 */
  433. 400:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bDataInterface: 1 */
  434. 401:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  435. 402:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*ACM Functional Descriptor*/
  436. 403:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x04, /* bFunctionLength */
  437. 404:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  438. 405:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bDescriptorSubtype: Abstract Control Management desc */
  439. 406:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmCapabilities */
  440. 407:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  441. 408:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Union Functional Descriptor*/
  442. 409:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x05, /* bFunctionLength */
  443. 410:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x24, /* bDescriptorType: CS_INTERFACE */
  444. 411:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x06, /* bDescriptorSubtype: Union func desc */
  445. 412:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bMasterInterface: Communication class interface */
  446. 413:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bSlaveInterface0: Data Class Interface */
  447. 414:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  448. 415:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint 2 Descriptor*/
  449. 416:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  450. 417:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  451. 418:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_CMD_EP, /* bEndpointAddress */
  452. 419:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x03, /* bmAttributes: Interrupt */
  453. 420:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** LOBYTE(CDC_CMD_PACKET_SIZE), /* wMaxPacketSize: */
  454. 421:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** HIBYTE(CDC_CMD_PACKET_SIZE),
  455. 422:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_FS_BINTERVAL, /* bInterval: */
  456. 423:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  457. 424:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*---------------------------------------------------------------------------*/
  458. 425:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  459. 426:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Data class interface descriptor*/
  460. 427:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x09, /* bLength: Endpoint Descriptor size */
  461. 428:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_INTERFACE, /* bDescriptorType: */
  462. 429:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x01, /* bInterfaceNumber: Number of Interface */
  463. 430:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bAlternateSetting: Alternate setting */
  464. 431:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bNumEndpoints: Two endpoints used */
  465. ARM GAS /tmp/cc5SjA9n.s page 9
  466. 432:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x0A, /* bInterfaceClass: CDC */
  467. 433:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceSubClass: */
  468. 434:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterfaceProtocol: */
  469. 435:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* iInterface: */
  470. 436:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  471. 437:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint OUT Descriptor*/
  472. 438:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  473. 439:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  474. 440:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP, /* bEndpointAddress */
  475. 441:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmAttributes: Bulk */
  476. 442:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x40, /* wMaxPacketSize: */
  477. 443:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  478. 444:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00, /* bInterval: ignore for Bulk transfer */
  479. 445:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  480. 446:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /*Endpoint IN Descriptor*/
  481. 447:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x07, /* bLength: Endpoint Descriptor size */
  482. 448:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
  483. 449:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_IN_EP, /* bEndpointAddress */
  484. 450:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x02, /* bmAttributes: Bulk */
  485. 451:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x40, /* wMaxPacketSize: */
  486. 452:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00,
  487. 453:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** 0x00 /* bInterval */
  488. 454:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** };
  489. 455:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  490. 456:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  491. 457:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @}
  492. 458:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  493. 459:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  494. 460:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /** @defgroup USBD_CDC_Private_Functions
  495. 461:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @{
  496. 462:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  497. 463:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  498. 464:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  499. 465:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_Init
  500. 466:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Initialize the CDC interface
  501. 467:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  502. 468:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param cfgidx: Configuration index
  503. 469:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  504. 470:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  505. 471:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_Init(USBD_HandleTypeDef *pdev, uint8_t cfgidx)
  506. 472:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  507. 473:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = 0U;
  508. 474:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc;
  509. 475:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  510. 476:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
  511. 477:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  512. 478:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Open EP IN */
  513. 479:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_OpenEP(pdev, CDC_IN_EP, USBD_EP_TYPE_BULK,
  514. 480:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_IN_PACKET_SIZE);
  515. 481:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  516. 482:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_IN_EP & 0xFU].is_used = 1U;
  517. 483:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  518. 484:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Open EP OUT */
  519. 485:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_OpenEP(pdev, CDC_OUT_EP, USBD_EP_TYPE_BULK,
  520. 486:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_OUT_PACKET_SIZE);
  521. 487:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  522. 488:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_out[CDC_OUT_EP & 0xFU].is_used = 1U;
  523. ARM GAS /tmp/cc5SjA9n.s page 10
  524. 489:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  525. 490:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  526. 491:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  527. 492:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  528. 493:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Open EP IN */
  529. 494:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_OpenEP(pdev, CDC_IN_EP, USBD_EP_TYPE_BULK,
  530. 495:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_IN_PACKET_SIZE);
  531. 496:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  532. 497:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_IN_EP & 0xFU].is_used = 1U;
  533. 498:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  534. 499:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Open EP OUT */
  535. 500:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_OpenEP(pdev, CDC_OUT_EP, USBD_EP_TYPE_BULK,
  536. 501:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_OUT_PACKET_SIZE);
  537. 502:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  538. 503:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_out[CDC_OUT_EP & 0xFU].is_used = 1U;
  539. 504:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  540. 505:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Open Command IN EP */
  541. 506:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_OpenEP(pdev, CDC_CMD_EP, USBD_EP_TYPE_INTR, CDC_CMD_PACKET_SIZE);
  542. 507:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_CMD_EP & 0xFU].is_used = 1U;
  543. 508:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  544. 509:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->pClassData = USBD_malloc(sizeof(USBD_CDC_HandleTypeDef));
  545. 510:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  546. 511:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->pClassData == NULL)
  547. 512:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  548. 513:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = 1U;
  549. 514:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  550. 515:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  551. 516:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  552. 517:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  553. 518:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  554. 519:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Init physical Interface components */
  555. 520:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ((USBD_CDC_ItfTypeDef *)pdev->pUserData)->Init();
  556. 521:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  557. 522:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Init Xfer states */
  558. 523:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->TxState = 0U;
  559. 524:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxState = 0U;
  560. 525:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  561. 526:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
  562. 527:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  563. 528:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Prepare Out endpoint to receive next packet */
  564. 529:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_PrepareReceive(pdev, CDC_OUT_EP, hcdc->RxBuffer,
  565. 530:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_OUT_PACKET_SIZE);
  566. 531:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  567. 532:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  568. 533:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  569. 534:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Prepare Out endpoint to receive next packet */
  570. 535:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_PrepareReceive(pdev, CDC_OUT_EP, hcdc->RxBuffer,
  571. 536:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_OUT_PACKET_SIZE);
  572. 537:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  573. 538:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  574. 539:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return ret;
  575. 540:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  576. 541:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  577. 542:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  578. 543:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_Init
  579. 544:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * DeInitialize the CDC layer
  580. 545:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  581. ARM GAS /tmp/cc5SjA9n.s page 11
  582. 546:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param cfgidx: Configuration index
  583. 547:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  584. 548:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  585. 549:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_DeInit(USBD_HandleTypeDef *pdev, uint8_t cfgidx)
  586. 550:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  587. 551:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = 0U;
  588. 552:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  589. 553:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Close EP IN */
  590. 554:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_CloseEP(pdev, CDC_IN_EP);
  591. 555:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_IN_EP & 0xFU].is_used = 0U;
  592. 556:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  593. 557:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Close EP OUT */
  594. 558:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_CloseEP(pdev, CDC_OUT_EP);
  595. 559:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_out[CDC_OUT_EP & 0xFU].is_used = 0U;
  596. 560:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  597. 561:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Close Command IN EP */
  598. 562:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_CloseEP(pdev, CDC_CMD_EP);
  599. 563:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_CMD_EP & 0xFU].is_used = 0U;
  600. 564:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  601. 565:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* DeInit physical Interface components */
  602. 566:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->pClassData != NULL)
  603. 567:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  604. 568:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ((USBD_CDC_ItfTypeDef *)pdev->pUserData)->DeInit();
  605. 569:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_free(pdev->pClassData);
  606. 570:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->pClassData = NULL;
  607. 571:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  608. 572:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  609. 573:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return ret;
  610. 574:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  611. 575:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  612. 576:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  613. 577:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_Setup
  614. 578:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Handle the CDC specific requests
  615. 579:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: instance
  616. 580:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param req: usb requests
  617. 581:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  618. 582:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  619. 583:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_Setup(USBD_HandleTypeDef *pdev,
  620. 584:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_SetupReqTypedef *req)
  621. 585:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  622. 586:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  623. 587:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ifalt = 0U;
  624. 588:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint16_t status_info = 0U;
  625. 589:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = USBD_OK;
  626. 590:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  627. 591:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
  628. 592:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  629. 593:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** case USB_REQ_TYPE_CLASS :
  630. 594:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (req->wLength)
  631. 595:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  632. 596:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (req->bmRequest & 0x80U)
  633. 597:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  634. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ((USBD_CDC_ItfTypeDef *)pdev->pUserData)->Control(req->bRequest,
  635. 599:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  636. 600:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** req->wLength);
  637. 601:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  638. 602:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)hcdc->data, req->wLength);
  639. ARM GAS /tmp/cc5SjA9n.s page 12
  640. 603:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  641. 604:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  642. 605:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  643. 606:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->CmdOpCode = req->bRequest;
  644. 607:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->CmdLength = (uint8_t)req->wLength;
  645. 608:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  646. 609:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlPrepareRx(pdev, (uint8_t *)(void *)hcdc->data, req->wLength);
  647. 610:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  648. 611:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  649. 612:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  650. 613:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  651. 614:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ((USBD_CDC_ItfTypeDef *)pdev->pUserData)->Control(req->bRequest,
  652. 615:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)req, 0U);
  653. 616:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  654. 617:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  655. 618:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  656. 619:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** case USB_REQ_TYPE_STANDARD:
  657. 620:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** switch (req->bRequest)
  658. 621:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  659. 622:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** case USB_REQ_GET_STATUS:
  660. 623:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->dev_state == USBD_STATE_CONFIGURED)
  661. 624:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  662. 625:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&status_info, 2U);
  663. 626:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  664. 627:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  665. 628:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  666. 629:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlError(pdev, req);
  667. 630:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  668. 631:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  669. 632:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  670. 633:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  671. 634:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** case USB_REQ_GET_INTERFACE:
  672. 635:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->dev_state == USBD_STATE_CONFIGURED)
  673. 636:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  674. 637:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlSendData(pdev, &ifalt, 1U);
  675. 638:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  676. 639:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  677. 640:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  678. 641:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlError(pdev, req);
  679. 642:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  680. 643:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  681. 644:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  682. 645:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  683. 646:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** case USB_REQ_SET_INTERFACE:
  684. 647:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->dev_state != USBD_STATE_CONFIGURED)
  685. 648:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  686. 649:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlError(pdev, req);
  687. 650:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  688. 651:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  689. 652:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  690. 653:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  691. 654:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** default:
  692. 655:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlError(pdev, req);
  693. 656:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  694. 657:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  695. 658:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  696. 659:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  697. ARM GAS /tmp/cc5SjA9n.s page 13
  698. 660:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  699. 661:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** default:
  700. 662:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CtlError(pdev, req);
  701. 663:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  702. 664:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  703. 665:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  704. 666:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  705. 667:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return ret;
  706. 668:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  707. 669:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  708. 670:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  709. 671:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_DataIn
  710. 672:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Data sent on non-control IN endpoint
  711. 673:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  712. 674:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param epnum: endpoint number
  713. 675:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  714. 676:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  715. 677:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_DataIn(USBD_HandleTypeDef *pdev, uint8_t epnum)
  716. 678:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  717. 679:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *)pdev->pClassData;
  718. 680:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** PCD_HandleTypeDef *hpcd = pdev->pData;
  719. 681:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  720. 682:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->pClassData != NULL)
  721. 683:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  722. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if ((pdev->ep_in[epnum].total_length > 0U) && ((pdev->ep_in[epnum].total_length % hpcd->IN_ep[e
  723. 685:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  724. 686:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Update the packet total length */
  725. 687:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[epnum].total_length = 0U;
  726. 688:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  727. 689:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Send ZLP */
  728. 690:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_Transmit(pdev, epnum, NULL, 0U);
  729. 691:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  730. 692:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  731. 693:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  732. 694:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->TxState = 0U;
  733. 695:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  734. 696:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  735. 697:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  736. 698:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  737. 699:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  738. 700:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_FAIL;
  739. 701:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  740. 702:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  741. 703:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  742. 704:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  743. 705:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_DataOut
  744. 706:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Data received on non-control Out endpoint
  745. 707:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  746. 708:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param epnum: endpoint number
  747. 709:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  748. 710:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  749. 711:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_DataOut(USBD_HandleTypeDef *pdev, uint8_t epnum)
  750. 712:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  751. 713:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  752. 714:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  753. 715:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Get the received data length */
  754. 716:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxLength = USBD_LL_GetRxDataSize(pdev, epnum);
  755. ARM GAS /tmp/cc5SjA9n.s page 14
  756. 717:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  757. 718:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* USB data will be immediately processed, this allow next USB traffic being
  758. 719:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** NAKed till the end of the application Xfer */
  759. 720:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->pClassData != NULL)
  760. 721:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  761. 722:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ((USBD_CDC_ItfTypeDef *)pdev->pUserData)->Receive(hcdc->RxBuffer, &hcdc->RxLength);
  762. 723:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  763. 724:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  764. 725:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  765. 726:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  766. 727:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  767. 728:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_FAIL;
  768. 729:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  769. 730:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  770. 731:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  771. 732:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  772. 733:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_EP0_RxReady
  773. 734:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Handle EP0 Rx Ready event
  774. 735:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  775. 736:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  776. 737:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  777. 738:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t USBD_CDC_EP0_RxReady(USBD_HandleTypeDef *pdev)
  778. 739:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  779. 27 .loc 1 739 1 view -0
  780. 28 .cfi_startproc
  781. 29 @ args = 0, pretend = 0, frame = 0
  782. 30 @ frame_needed = 0, uses_anonymous_args = 0
  783. 31 .loc 1 739 1 is_stmt 0 view .LVU1
  784. 32 0000 10B5 push {r4, lr}
  785. 33 .LCFI0:
  786. 34 .cfi_def_cfa_offset 8
  787. 35 .cfi_offset 4, -8
  788. 36 .cfi_offset 14, -4
  789. 740:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  790. 37 .loc 1 740 3 is_stmt 1 view .LVU2
  791. 38 .loc 1 740 29 is_stmt 0 view .LVU3
  792. 39 0002 D0F8B842 ldr r4, [r0, #696]
  793. 40 .LVL1:
  794. 741:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  795. 742:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if ((pdev->pUserData != NULL) && (hcdc->CmdOpCode != 0xFFU))
  796. 41 .loc 1 742 3 is_stmt 1 view .LVU4
  797. 42 .loc 1 742 12 is_stmt 0 view .LVU5
  798. 43 0006 D0F8BC32 ldr r3, [r0, #700]
  799. 44 .loc 1 742 6 view .LVU6
  800. 45 000a 5BB1 cbz r3, .L2
  801. 46 .loc 1 742 41 discriminator 1 view .LVU7
  802. 47 000c 94F80002 ldrb r0, [r4, #512] @ zero_extendqisi2
  803. 48 .LVL2:
  804. 49 .loc 1 742 33 discriminator 1 view .LVU8
  805. 50 0010 FF28 cmp r0, #255
  806. 51 0012 07D0 beq .L2
  807. 743:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  808. 744:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ((USBD_CDC_ItfTypeDef *)pdev->pUserData)->Control(hcdc->CmdOpCode,
  809. 52 .loc 1 744 5 is_stmt 1 view .LVU9
  810. 53 .loc 1 744 45 is_stmt 0 view .LVU10
  811. 54 0014 9B68 ldr r3, [r3, #8]
  812. 55 .loc 1 744 6 view .LVU11
  813. ARM GAS /tmp/cc5SjA9n.s page 15
  814. 56 0016 94F80122 ldrb r2, [r4, #513] @ zero_extendqisi2
  815. 57 001a 2146 mov r1, r4
  816. 58 001c 9847 blx r3
  817. 59 .LVL3:
  818. 745:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  819. 746:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint16_t)hcdc->CmdLength);
  820. 747:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->CmdOpCode = 0xFFU;
  821. 60 .loc 1 747 5 is_stmt 1 view .LVU12
  822. 61 .loc 1 747 21 is_stmt 0 view .LVU13
  823. 62 001e FF23 movs r3, #255
  824. 63 0020 84F80032 strb r3, [r4, #512]
  825. 64 .L2:
  826. 748:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  827. 749:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  828. 750:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  829. 65 .loc 1 750 3 is_stmt 1 view .LVU14
  830. 751:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  831. 66 .loc 1 751 1 is_stmt 0 view .LVU15
  832. 67 0024 0020 movs r0, #0
  833. 68 0026 10BD pop {r4, pc}
  834. 69 .loc 1 751 1 view .LVU16
  835. 70 .cfi_endproc
  836. 71 .LFE660:
  837. 73 .section .text.USBD_CDC_GetFSCfgDesc,"ax",%progbits
  838. 74 .align 1
  839. 75 .syntax unified
  840. 76 .thumb
  841. 77 .thumb_func
  842. 79 USBD_CDC_GetFSCfgDesc:
  843. 80 .LVL4:
  844. 81 .LFB661:
  845. 752:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  846. 753:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  847. 754:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_GetFSCfgDesc
  848. 755:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Return configuration descriptor
  849. 756:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param speed : current device speed
  850. 757:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param length : pointer data length
  851. 758:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval pointer to descriptor buffer
  852. 759:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  853. 760:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetFSCfgDesc(uint16_t *length)
  854. 761:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  855. 82 .loc 1 761 1 is_stmt 1 view -0
  856. 83 .cfi_startproc
  857. 84 @ args = 0, pretend = 0, frame = 0
  858. 85 @ frame_needed = 0, uses_anonymous_args = 0
  859. 86 @ link register save eliminated.
  860. 762:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *length = sizeof(USBD_CDC_CfgFSDesc);
  861. 87 .loc 1 762 3 view .LVU18
  862. 88 .loc 1 762 11 is_stmt 0 view .LVU19
  863. 89 0000 4323 movs r3, #67
  864. 90 0002 0380 strh r3, [r0] @ movhi
  865. 763:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_CDC_CfgFSDesc;
  866. 91 .loc 1 763 3 is_stmt 1 view .LVU20
  867. 764:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  868. 92 .loc 1 764 1 is_stmt 0 view .LVU21
  869. 93 0004 0048 ldr r0, .L5
  870. 94 .LVL5:
  871. ARM GAS /tmp/cc5SjA9n.s page 16
  872. 95 .loc 1 764 1 view .LVU22
  873. 96 0006 7047 bx lr
  874. 97 .L6:
  875. 98 .align 2
  876. 99 .L5:
  877. 100 0008 00000000 .word .LANCHOR0
  878. 101 .cfi_endproc
  879. 102 .LFE661:
  880. 104 .section .text.USBD_CDC_GetHSCfgDesc,"ax",%progbits
  881. 105 .align 1
  882. 106 .syntax unified
  883. 107 .thumb
  884. 108 .thumb_func
  885. 110 USBD_CDC_GetHSCfgDesc:
  886. 111 .LVL6:
  887. 112 .LFB662:
  888. 765:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  889. 766:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  890. 767:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_GetHSCfgDesc
  891. 768:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Return configuration descriptor
  892. 769:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param speed : current device speed
  893. 770:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param length : pointer data length
  894. 771:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval pointer to descriptor buffer
  895. 772:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  896. 773:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetHSCfgDesc(uint16_t *length)
  897. 774:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  898. 113 .loc 1 774 1 is_stmt 1 view -0
  899. 114 .cfi_startproc
  900. 115 @ args = 0, pretend = 0, frame = 0
  901. 116 @ frame_needed = 0, uses_anonymous_args = 0
  902. 117 @ link register save eliminated.
  903. 775:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *length = sizeof(USBD_CDC_CfgHSDesc);
  904. 118 .loc 1 775 3 view .LVU24
  905. 119 .loc 1 775 11 is_stmt 0 view .LVU25
  906. 120 0000 4323 movs r3, #67
  907. 121 0002 0380 strh r3, [r0] @ movhi
  908. 776:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_CDC_CfgHSDesc;
  909. 122 .loc 1 776 3 is_stmt 1 view .LVU26
  910. 777:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  911. 123 .loc 1 777 1 is_stmt 0 view .LVU27
  912. 124 0004 0048 ldr r0, .L8
  913. 125 .LVL7:
  914. 126 .loc 1 777 1 view .LVU28
  915. 127 0006 7047 bx lr
  916. 128 .L9:
  917. 129 .align 2
  918. 130 .L8:
  919. 131 0008 00000000 .word .LANCHOR1
  920. 132 .cfi_endproc
  921. 133 .LFE662:
  922. 135 .section .text.USBD_CDC_GetOtherSpeedCfgDesc,"ax",%progbits
  923. 136 .align 1
  924. 137 .syntax unified
  925. 138 .thumb
  926. 139 .thumb_func
  927. 141 USBD_CDC_GetOtherSpeedCfgDesc:
  928. 142 .LVL8:
  929. ARM GAS /tmp/cc5SjA9n.s page 17
  930. 143 .LFB663:
  931. 778:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  932. 779:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  933. 780:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_GetCfgDesc
  934. 781:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Return configuration descriptor
  935. 782:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param speed : current device speed
  936. 783:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param length : pointer data length
  937. 784:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval pointer to descriptor buffer
  938. 785:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  939. 786:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** static uint8_t *USBD_CDC_GetOtherSpeedCfgDesc(uint16_t *length)
  940. 787:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  941. 144 .loc 1 787 1 is_stmt 1 view -0
  942. 145 .cfi_startproc
  943. 146 @ args = 0, pretend = 0, frame = 0
  944. 147 @ frame_needed = 0, uses_anonymous_args = 0
  945. 148 @ link register save eliminated.
  946. 788:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *length = sizeof(USBD_CDC_OtherSpeedCfgDesc);
  947. 149 .loc 1 788 3 view .LVU30
  948. 150 .loc 1 788 11 is_stmt 0 view .LVU31
  949. 151 0000 4323 movs r3, #67
  950. 152 0002 0380 strh r3, [r0] @ movhi
  951. 789:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_CDC_OtherSpeedCfgDesc;
  952. 153 .loc 1 789 3 is_stmt 1 view .LVU32
  953. 790:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  954. 154 .loc 1 790 1 is_stmt 0 view .LVU33
  955. 155 0004 0048 ldr r0, .L11
  956. 156 .LVL9:
  957. 157 .loc 1 790 1 view .LVU34
  958. 158 0006 7047 bx lr
  959. 159 .L12:
  960. 160 .align 2
  961. 161 .L11:
  962. 162 0008 00000000 .word .LANCHOR2
  963. 163 .cfi_endproc
  964. 164 .LFE663:
  965. 166 .section .text.USBD_CDC_GetDeviceQualifierDescriptor,"ax",%progbits
  966. 167 .align 1
  967. 168 .global USBD_CDC_GetDeviceQualifierDescriptor
  968. 169 .syntax unified
  969. 170 .thumb
  970. 171 .thumb_func
  971. 173 USBD_CDC_GetDeviceQualifierDescriptor:
  972. 174 .LVL10:
  973. 175 .LFB664:
  974. 791:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  975. 792:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  976. 793:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief DeviceQualifierDescriptor
  977. 794:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * return Device Qualifier descriptor
  978. 795:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param length : pointer data length
  979. 796:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval pointer to descriptor buffer
  980. 797:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  981. 798:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t *USBD_CDC_GetDeviceQualifierDescriptor(uint16_t *length)
  982. 799:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  983. 176 .loc 1 799 1 is_stmt 1 view -0
  984. 177 .cfi_startproc
  985. 178 @ args = 0, pretend = 0, frame = 0
  986. 179 @ frame_needed = 0, uses_anonymous_args = 0
  987. ARM GAS /tmp/cc5SjA9n.s page 18
  988. 180 @ link register save eliminated.
  989. 800:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** *length = sizeof(USBD_CDC_DeviceQualifierDesc);
  990. 181 .loc 1 800 3 view .LVU36
  991. 182 .loc 1 800 11 is_stmt 0 view .LVU37
  992. 183 0000 0A23 movs r3, #10
  993. 184 0002 0380 strh r3, [r0] @ movhi
  994. 801:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_CDC_DeviceQualifierDesc;
  995. 185 .loc 1 801 3 is_stmt 1 view .LVU38
  996. 802:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  997. 186 .loc 1 802 1 is_stmt 0 view .LVU39
  998. 187 0004 0048 ldr r0, .L14
  999. 188 .LVL11:
  1000. 189 .loc 1 802 1 view .LVU40
  1001. 190 0006 7047 bx lr
  1002. 191 .L15:
  1003. 192 .align 2
  1004. 193 .L14:
  1005. 194 0008 00000000 .word .LANCHOR3
  1006. 195 .cfi_endproc
  1007. 196 .LFE664:
  1008. 198 .section .text.USBD_CDC_DataOut,"ax",%progbits
  1009. 199 .align 1
  1010. 200 .syntax unified
  1011. 201 .thumb
  1012. 202 .thumb_func
  1013. 204 USBD_CDC_DataOut:
  1014. 205 .LVL12:
  1015. 206 .LFB659:
  1016. 712:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  1017. 207 .loc 1 712 1 is_stmt 1 view -0
  1018. 208 .cfi_startproc
  1019. 209 @ args = 0, pretend = 0, frame = 0
  1020. 210 @ frame_needed = 0, uses_anonymous_args = 0
  1021. 712:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  1022. 211 .loc 1 712 1 is_stmt 0 view .LVU42
  1023. 212 0000 38B5 push {r3, r4, r5, lr}
  1024. 213 .LCFI1:
  1025. 214 .cfi_def_cfa_offset 16
  1026. 215 .cfi_offset 3, -16
  1027. 216 .cfi_offset 4, -12
  1028. 217 .cfi_offset 5, -8
  1029. 218 .cfi_offset 14, -4
  1030. 219 0002 0446 mov r4, r0
  1031. 713:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1032. 220 .loc 1 713 3 is_stmt 1 view .LVU43
  1033. 713:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1034. 221 .loc 1 713 29 is_stmt 0 view .LVU44
  1035. 222 0004 D0F8B852 ldr r5, [r0, #696]
  1036. 223 .LVL13:
  1037. 716:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1038. 224 .loc 1 716 3 is_stmt 1 view .LVU45
  1039. 716:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1040. 225 .loc 1 716 20 is_stmt 0 view .LVU46
  1041. 226 0008 FFF7FEFF bl USBD_LL_GetRxDataSize
  1042. 227 .LVL14:
  1043. 716:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1044. 228 .loc 1 716 18 view .LVU47
  1045. ARM GAS /tmp/cc5SjA9n.s page 19
  1046. 229 000c C5F80C02 str r0, [r5, #524]
  1047. 720:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1048. 230 .loc 1 720 3 is_stmt 1 view .LVU48
  1049. 720:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1050. 231 .loc 1 720 11 is_stmt 0 view .LVU49
  1051. 232 0010 D4F8B832 ldr r3, [r4, #696]
  1052. 720:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1053. 233 .loc 1 720 6 view .LVU50
  1054. 234 0014 4BB1 cbz r3, .L18
  1055. 722:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1056. 235 .loc 1 722 5 is_stmt 1 view .LVU51
  1057. 722:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1058. 236 .loc 1 722 33 is_stmt 0 view .LVU52
  1059. 237 0016 D4F8BC32 ldr r3, [r4, #700]
  1060. 722:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1061. 238 .loc 1 722 45 view .LVU53
  1062. 239 001a DB68 ldr r3, [r3, #12]
  1063. 722:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1064. 240 .loc 1 722 6 view .LVU54
  1065. 241 001c 05F50371 add r1, r5, #524
  1066. 242 0020 D5F80402 ldr r0, [r5, #516]
  1067. 243 0024 9847 blx r3
  1068. 244 .LVL15:
  1069. 724:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1070. 245 .loc 1 724 5 is_stmt 1 view .LVU55
  1071. 724:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1072. 246 .loc 1 724 12 is_stmt 0 view .LVU56
  1073. 247 0026 0020 movs r0, #0
  1074. 248 .L17:
  1075. 730:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1076. 249 .loc 1 730 1 view .LVU57
  1077. 250 0028 38BD pop {r3, r4, r5, pc}
  1078. 251 .LVL16:
  1079. 252 .L18:
  1080. 728:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1081. 253 .loc 1 728 12 view .LVU58
  1082. 254 002a 0220 movs r0, #2
  1083. 255 002c FCE7 b .L17
  1084. 256 .cfi_endproc
  1085. 257 .LFE659:
  1086. 259 .section .text.USBD_CDC_DataIn,"ax",%progbits
  1087. 260 .align 1
  1088. 261 .syntax unified
  1089. 262 .thumb
  1090. 263 .thumb_func
  1091. 265 USBD_CDC_DataIn:
  1092. 266 .LVL17:
  1093. 267 .LFB658:
  1094. 678:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *)pdev->pClassData;
  1095. 268 .loc 1 678 1 is_stmt 1 view -0
  1096. 269 .cfi_startproc
  1097. 270 @ args = 0, pretend = 0, frame = 0
  1098. 271 @ frame_needed = 0, uses_anonymous_args = 0
  1099. 678:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *)pdev->pClassData;
  1100. 272 .loc 1 678 1 is_stmt 0 view .LVU60
  1101. 273 0000 10B5 push {r4, lr}
  1102. 274 .LCFI2:
  1103. ARM GAS /tmp/cc5SjA9n.s page 20
  1104. 275 .cfi_def_cfa_offset 8
  1105. 276 .cfi_offset 4, -8
  1106. 277 .cfi_offset 14, -4
  1107. 679:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** PCD_HandleTypeDef *hpcd = pdev->pData;
  1108. 278 .loc 1 679 3 is_stmt 1 view .LVU61
  1109. 679:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** PCD_HandleTypeDef *hpcd = pdev->pData;
  1110. 279 .loc 1 679 27 is_stmt 0 view .LVU62
  1111. 280 0002 D0F8B822 ldr r2, [r0, #696]
  1112. 281 .LVL18:
  1113. 680:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1114. 282 .loc 1 680 3 is_stmt 1 view .LVU63
  1115. 680:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1116. 283 .loc 1 680 22 is_stmt 0 view .LVU64
  1117. 284 0006 D0F8C042 ldr r4, [r0, #704]
  1118. 285 .LVL19:
  1119. 682:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1120. 286 .loc 1 682 3 is_stmt 1 view .LVU65
  1121. 682:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1122. 287 .loc 1 682 6 is_stmt 0 view .LVU66
  1123. 288 000a F2B1 cbz r2, .L24
  1124. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1125. 289 .loc 1 684 5 is_stmt 1 view .LVU67
  1126. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1127. 290 .loc 1 684 28 is_stmt 0 view .LVU68
  1128. 291 000c 01EB8103 add r3, r1, r1, lsl #2
  1129. 292 0010 00EB8303 add r3, r0, r3, lsl #2
  1130. 293 0014 DB69 ldr r3, [r3, #28]
  1131. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1132. 294 .loc 1 684 8 view .LVU69
  1133. 295 0016 4BB1 cbz r3, .L22
  1134. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1135. 296 .loc 1 684 105 discriminator 1 view .LVU70
  1136. 297 0018 01EB810C add ip, r1, r1, lsl #2
  1137. 298 001c 04EBCC04 add r4, r4, ip, lsl #3
  1138. 299 .LVL20:
  1139. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1140. 300 .loc 1 684 105 discriminator 1 view .LVU71
  1141. 301 0020 A46B ldr r4, [r4, #56]
  1142. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1143. 302 .loc 1 684 85 discriminator 1 view .LVU72
  1144. 303 0022 B3FBF4FC udiv ip, r3, r4
  1145. 304 0026 04FB1C33 mls r3, r4, ip, r3
  1146. 684:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1147. 305 .loc 1 684 48 discriminator 1 view .LVU73
  1148. 306 002a 23B1 cbz r3, .L26
  1149. 307 .L22:
  1150. 694:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1151. 308 .loc 1 694 7 is_stmt 1 view .LVU74
  1152. 694:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1153. 309 .loc 1 694 21 is_stmt 0 view .LVU75
  1154. 310 002c 0023 movs r3, #0
  1155. 311 002e C2F81432 str r3, [r2, #532]
  1156. 312 .LVL21:
  1157. 313 .L23:
  1158. 696:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1159. 314 .loc 1 696 5 is_stmt 1 view .LVU76
  1160. 696:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1161. ARM GAS /tmp/cc5SjA9n.s page 21
  1162. 315 .loc 1 696 12 is_stmt 0 view .LVU77
  1163. 316 0032 0020 movs r0, #0
  1164. 317 .L21:
  1165. 702:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1166. 318 .loc 1 702 1 view .LVU78
  1167. 319 0034 10BD pop {r4, pc}
  1168. 320 .LVL22:
  1169. 321 .L26:
  1170. 687:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1171. 322 .loc 1 687 7 is_stmt 1 view .LVU79
  1172. 687:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1173. 323 .loc 1 687 39 is_stmt 0 view .LVU80
  1174. 324 0036 01EB8103 add r3, r1, r1, lsl #2
  1175. 325 003a 00EB8303 add r3, r0, r3, lsl #2
  1176. 326 003e 0022 movs r2, #0
  1177. 327 .LVL23:
  1178. 687:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1179. 328 .loc 1 687 39 view .LVU81
  1180. 329 0040 DA61 str r2, [r3, #28]
  1181. 330 .LVL24:
  1182. 690:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1183. 331 .loc 1 690 7 is_stmt 1 view .LVU82
  1184. 332 0042 1346 mov r3, r2
  1185. 333 0044 FFF7FEFF bl USBD_LL_Transmit
  1186. 334 .LVL25:
  1187. 690:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1188. 335 .loc 1 690 7 is_stmt 0 view .LVU83
  1189. 336 0048 F3E7 b .L23
  1190. 337 .LVL26:
  1191. 338 .L24:
  1192. 700:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1193. 339 .loc 1 700 12 view .LVU84
  1194. 340 004a 0220 movs r0, #2
  1195. 341 .LVL27:
  1196. 700:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1197. 342 .loc 1 700 12 view .LVU85
  1198. 343 004c F2E7 b .L21
  1199. 344 .cfi_endproc
  1200. 345 .LFE658:
  1201. 347 .section .text.USBD_CDC_Setup,"ax",%progbits
  1202. 348 .align 1
  1203. 349 .syntax unified
  1204. 350 .thumb
  1205. 351 .thumb_func
  1206. 353 USBD_CDC_Setup:
  1207. 354 .LVL28:
  1208. 355 .LFB657:
  1209. 585:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  1210. 356 .loc 1 585 1 is_stmt 1 view -0
  1211. 357 .cfi_startproc
  1212. 358 @ args = 0, pretend = 0, frame = 8
  1213. 359 @ frame_needed = 0, uses_anonymous_args = 0
  1214. 585:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  1215. 360 .loc 1 585 1 is_stmt 0 view .LVU87
  1216. 361 0000 F0B5 push {r4, r5, r6, r7, lr}
  1217. 362 .LCFI3:
  1218. 363 .cfi_def_cfa_offset 20
  1219. ARM GAS /tmp/cc5SjA9n.s page 22
  1220. 364 .cfi_offset 4, -20
  1221. 365 .cfi_offset 5, -16
  1222. 366 .cfi_offset 6, -12
  1223. 367 .cfi_offset 7, -8
  1224. 368 .cfi_offset 14, -4
  1225. 369 0002 83B0 sub sp, sp, #12
  1226. 370 .LCFI4:
  1227. 371 .cfi_def_cfa_offset 32
  1228. 372 0004 0646 mov r6, r0
  1229. 373 0006 0C46 mov r4, r1
  1230. 586:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ifalt = 0U;
  1231. 374 .loc 1 586 3 is_stmt 1 view .LVU88
  1232. 586:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ifalt = 0U;
  1233. 375 .loc 1 586 29 is_stmt 0 view .LVU89
  1234. 376 0008 D0F8B872 ldr r7, [r0, #696]
  1235. 377 .LVL29:
  1236. 587:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint16_t status_info = 0U;
  1237. 378 .loc 1 587 3 is_stmt 1 view .LVU90
  1238. 587:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint16_t status_info = 0U;
  1239. 379 .loc 1 587 11 is_stmt 0 view .LVU91
  1240. 380 000c 0023 movs r3, #0
  1241. 381 000e 8DF80730 strb r3, [sp, #7]
  1242. 588:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = USBD_OK;
  1243. 382 .loc 1 588 3 is_stmt 1 view .LVU92
  1244. 588:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = USBD_OK;
  1245. 383 .loc 1 588 12 is_stmt 0 view .LVU93
  1246. 384 0012 ADF80430 strh r3, [sp, #4] @ movhi
  1247. 589:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1248. 385 .loc 1 589 3 is_stmt 1 view .LVU94
  1249. 386 .LVL30:
  1250. 591:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1251. 387 .loc 1 591 3 view .LVU95
  1252. 591:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1253. 388 .loc 1 591 14 is_stmt 0 view .LVU96
  1254. 389 0016 0B78 ldrb r3, [r1] @ zero_extendqisi2
  1255. 591:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1256. 390 .loc 1 591 3 view .LVU97
  1257. 391 0018 13F06005 ands r5, r3, #96
  1258. 392 001c 27D0 beq .L28
  1259. 393 001e 202D cmp r5, #32
  1260. 394 0020 53D1 bne .L29
  1261. 594:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1262. 395 .loc 1 594 7 is_stmt 1 view .LVU98
  1263. 594:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1264. 396 .loc 1 594 14 is_stmt 0 view .LVU99
  1265. 397 0022 CA88 ldrh r2, [r1, #6]
  1266. 594:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1267. 398 .loc 1 594 10 view .LVU100
  1268. 399 0024 DAB1 cbz r2, .L30
  1269. 596:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1270. 400 .loc 1 596 9 is_stmt 1 view .LVU101
  1271. 596:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1272. 401 .loc 1 596 12 is_stmt 0 view .LVU102
  1273. 402 0026 13F0800F tst r3, #128
  1274. 403 002a 0CD0 beq .L31
  1275. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  1276. 404 .loc 1 598 11 is_stmt 1 view .LVU103
  1277. ARM GAS /tmp/cc5SjA9n.s page 23
  1278. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  1279. 405 .loc 1 598 39 is_stmt 0 view .LVU104
  1280. 406 002c D0F8BC32 ldr r3, [r0, #700]
  1281. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  1282. 407 .loc 1 598 51 view .LVU105
  1283. 408 0030 9B68 ldr r3, [r3, #8]
  1284. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  1285. 409 .loc 1 598 12 view .LVU106
  1286. 410 0032 3946 mov r1, r7
  1287. 411 .LVL31:
  1288. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  1289. 412 .loc 1 598 12 view .LVU107
  1290. 413 0034 6078 ldrb r0, [r4, #1] @ zero_extendqisi2
  1291. 414 .LVL32:
  1292. 598:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)hcdc->data,
  1293. 415 .loc 1 598 12 view .LVU108
  1294. 416 0036 9847 blx r3
  1295. 417 .LVL33:
  1296. 602:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1297. 418 .loc 1 602 11 is_stmt 1 view .LVU109
  1298. 419 0038 E288 ldrh r2, [r4, #6]
  1299. 420 003a 3946 mov r1, r7
  1300. 421 003c 3046 mov r0, r6
  1301. 422 003e FFF7FEFF bl USBD_CtlSendData
  1302. 423 .LVL34:
  1303. 589:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1304. 424 .loc 1 589 11 is_stmt 0 view .LVU110
  1305. 425 0042 0025 movs r5, #0
  1306. 426 0044 44E0 b .L32
  1307. 427 .LVL35:
  1308. 428 .L31:
  1309. 606:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->CmdLength = (uint8_t)req->wLength;
  1310. 429 .loc 1 606 11 is_stmt 1 view .LVU111
  1311. 606:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->CmdLength = (uint8_t)req->wLength;
  1312. 430 .loc 1 606 32 is_stmt 0 view .LVU112
  1313. 431 0046 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  1314. 606:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->CmdLength = (uint8_t)req->wLength;
  1315. 432 .loc 1 606 27 view .LVU113
  1316. 433 0048 87F80032 strb r3, [r7, #512]
  1317. 607:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1318. 434 .loc 1 607 11 is_stmt 1 view .LVU114
  1319. 607:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1320. 435 .loc 1 607 29 is_stmt 0 view .LVU115
  1321. 436 004c 8B79 ldrb r3, [r1, #6] @ zero_extendqisi2
  1322. 607:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1323. 437 .loc 1 607 27 view .LVU116
  1324. 438 004e 87F80132 strb r3, [r7, #513]
  1325. 609:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1326. 439 .loc 1 609 11 is_stmt 1 view .LVU117
  1327. 440 0052 CA88 ldrh r2, [r1, #6]
  1328. 441 0054 3946 mov r1, r7
  1329. 442 .LVL36:
  1330. 609:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1331. 443 .loc 1 609 11 is_stmt 0 view .LVU118
  1332. 444 0056 FFF7FEFF bl USBD_CtlPrepareRx
  1333. 445 .LVL37:
  1334. 589:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1335. ARM GAS /tmp/cc5SjA9n.s page 24
  1336. 446 .loc 1 589 11 view .LVU119
  1337. 447 005a 0025 movs r5, #0
  1338. 448 005c 38E0 b .L32
  1339. 449 .LVL38:
  1340. 450 .L30:
  1341. 614:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)req, 0U);
  1342. 451 .loc 1 614 9 is_stmt 1 view .LVU120
  1343. 614:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)req, 0U);
  1344. 452 .loc 1 614 37 is_stmt 0 view .LVU121
  1345. 453 005e D0F8BC32 ldr r3, [r0, #700]
  1346. 614:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)req, 0U);
  1347. 454 .loc 1 614 49 view .LVU122
  1348. 455 0062 9B68 ldr r3, [r3, #8]
  1349. 614:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)req, 0U);
  1350. 456 .loc 1 614 10 view .LVU123
  1351. 457 0064 0022 movs r2, #0
  1352. 458 0066 4878 ldrb r0, [r1, #1] @ zero_extendqisi2
  1353. 459 .LVL39:
  1354. 614:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint8_t *)(void *)req, 0U);
  1355. 460 .loc 1 614 10 view .LVU124
  1356. 461 0068 9847 blx r3
  1357. 462 .LVL40:
  1358. 589:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1359. 463 .loc 1 589 11 view .LVU125
  1360. 464 006a 0025 movs r5, #0
  1361. 465 006c 30E0 b .L32
  1362. 466 .LVL41:
  1363. 467 .L28:
  1364. 620:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1365. 468 .loc 1 620 7 is_stmt 1 view .LVU126
  1366. 620:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1367. 469 .loc 1 620 18 is_stmt 0 view .LVU127
  1368. 470 006e 4F78 ldrb r7, [r1, #1] @ zero_extendqisi2
  1369. 471 .LVL42:
  1370. 620:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1371. 472 .loc 1 620 18 view .LVU128
  1372. 473 0070 0A2F cmp r7, #10
  1373. 474 0072 14D0 beq .L33
  1374. 475 0074 0B2F cmp r7, #11
  1375. 476 0076 20D0 beq .L34
  1376. 477 0078 1FB1 cbz r7, .L39
  1377. 655:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  1378. 478 .loc 1 655 11 is_stmt 1 view .LVU129
  1379. 479 007a FFF7FEFF bl USBD_CtlError
  1380. 480 .LVL43:
  1381. 656:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  1382. 481 .loc 1 656 11 view .LVU130
  1383. 657:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1384. 482 .loc 1 657 11 view .LVU131
  1385. 656:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  1386. 483 .loc 1 656 15 is_stmt 0 view .LVU132
  1387. 484 007e 0225 movs r5, #2
  1388. 657:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1389. 485 .loc 1 657 11 view .LVU133
  1390. 486 0080 26E0 b .L32
  1391. 487 .LVL44:
  1392. 488 .L39:
  1393. ARM GAS /tmp/cc5SjA9n.s page 25
  1394. 623:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1395. 489 .loc 1 623 11 is_stmt 1 view .LVU134
  1396. 623:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1397. 490 .loc 1 623 19 is_stmt 0 view .LVU135
  1398. 491 0082 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1399. 623:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1400. 492 .loc 1 623 14 view .LVU136
  1401. 493 0086 032B cmp r3, #3
  1402. 494 0088 03D0 beq .L40
  1403. 629:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  1404. 495 .loc 1 629 13 is_stmt 1 view .LVU137
  1405. 496 008a FFF7FEFF bl USBD_CtlError
  1406. 497 .LVL45:
  1407. 630:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1408. 498 .loc 1 630 13 view .LVU138
  1409. 630:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1410. 499 .loc 1 630 17 is_stmt 0 view .LVU139
  1411. 500 008e 0225 movs r5, #2
  1412. 501 0090 1EE0 b .L32
  1413. 502 .LVL46:
  1414. 503 .L40:
  1415. 625:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1416. 504 .loc 1 625 13 is_stmt 1 view .LVU140
  1417. 505 0092 0222 movs r2, #2
  1418. 506 0094 01A9 add r1, sp, #4
  1419. 507 .LVL47:
  1420. 625:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1421. 508 .loc 1 625 13 is_stmt 0 view .LVU141
  1422. 509 0096 FFF7FEFF bl USBD_CtlSendData
  1423. 510 .LVL48:
  1424. 589:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1425. 511 .loc 1 589 11 view .LVU142
  1426. 512 009a 3D46 mov r5, r7
  1427. 513 009c 18E0 b .L32
  1428. 514 .LVL49:
  1429. 515 .L33:
  1430. 635:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1431. 516 .loc 1 635 11 is_stmt 1 view .LVU143
  1432. 635:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1433. 517 .loc 1 635 19 is_stmt 0 view .LVU144
  1434. 518 009e 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1435. 635:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1436. 519 .loc 1 635 14 view .LVU145
  1437. 520 00a2 032B cmp r3, #3
  1438. 521 00a4 03D0 beq .L41
  1439. 641:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  1440. 522 .loc 1 641 13 is_stmt 1 view .LVU146
  1441. 523 00a6 FFF7FEFF bl USBD_CtlError
  1442. 524 .LVL50:
  1443. 642:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1444. 525 .loc 1 642 13 view .LVU147
  1445. 642:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1446. 526 .loc 1 642 17 is_stmt 0 view .LVU148
  1447. 527 00aa 0225 movs r5, #2
  1448. 528 00ac 10E0 b .L32
  1449. 529 .LVL51:
  1450. 530 .L41:
  1451. ARM GAS /tmp/cc5SjA9n.s page 26
  1452. 637:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1453. 531 .loc 1 637 13 is_stmt 1 view .LVU149
  1454. 532 00ae 0122 movs r2, #1
  1455. 533 00b0 0DF10701 add r1, sp, #7
  1456. 534 .LVL52:
  1457. 637:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1458. 535 .loc 1 637 13 is_stmt 0 view .LVU150
  1459. 536 00b4 FFF7FEFF bl USBD_CtlSendData
  1460. 537 .LVL53:
  1461. 637:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1462. 538 .loc 1 637 13 view .LVU151
  1463. 539 00b8 0AE0 b .L32
  1464. 540 .LVL54:
  1465. 541 .L34:
  1466. 647:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1467. 542 .loc 1 647 11 is_stmt 1 view .LVU152
  1468. 647:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1469. 543 .loc 1 647 19 is_stmt 0 view .LVU153
  1470. 544 00ba 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1471. 647:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1472. 545 .loc 1 647 14 view .LVU154
  1473. 546 00be 032B cmp r3, #3
  1474. 547 00c0 06D0 beq .L32
  1475. 649:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  1476. 548 .loc 1 649 13 is_stmt 1 view .LVU155
  1477. 549 00c2 FFF7FEFF bl USBD_CtlError
  1478. 550 .LVL55:
  1479. 650:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1480. 551 .loc 1 650 13 view .LVU156
  1481. 650:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1482. 552 .loc 1 650 17 is_stmt 0 view .LVU157
  1483. 553 00c6 0225 movs r5, #2
  1484. 554 00c8 02E0 b .L32
  1485. 555 .LVL56:
  1486. 556 .L29:
  1487. 662:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_FAIL;
  1488. 557 .loc 1 662 7 is_stmt 1 view .LVU158
  1489. 558 00ca FFF7FEFF bl USBD_CtlError
  1490. 559 .LVL57:
  1491. 663:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  1492. 560 .loc 1 663 7 view .LVU159
  1493. 664:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1494. 561 .loc 1 664 7 view .LVU160
  1495. 663:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** break;
  1496. 562 .loc 1 663 11 is_stmt 0 view .LVU161
  1497. 563 00ce 0225 movs r5, #2
  1498. 564 .LVL58:
  1499. 565 .L32:
  1500. 667:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1501. 566 .loc 1 667 3 is_stmt 1 view .LVU162
  1502. 668:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1503. 567 .loc 1 668 1 is_stmt 0 view .LVU163
  1504. 568 00d0 2846 mov r0, r5
  1505. 569 00d2 03B0 add sp, sp, #12
  1506. 570 .LCFI5:
  1507. 571 .cfi_def_cfa_offset 20
  1508. 572 @ sp needed
  1509. ARM GAS /tmp/cc5SjA9n.s page 27
  1510. 573 00d4 F0BD pop {r4, r5, r6, r7, pc}
  1511. 668:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1512. 574 .loc 1 668 1 view .LVU164
  1513. 575 .cfi_endproc
  1514. 576 .LFE657:
  1515. 578 .section .text.USBD_CDC_DeInit,"ax",%progbits
  1516. 579 .align 1
  1517. 580 .syntax unified
  1518. 581 .thumb
  1519. 582 .thumb_func
  1520. 584 USBD_CDC_DeInit:
  1521. 585 .LVL59:
  1522. 586 .LFB656:
  1523. 550:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = 0U;
  1524. 587 .loc 1 550 1 is_stmt 1 view -0
  1525. 588 .cfi_startproc
  1526. 589 @ args = 0, pretend = 0, frame = 0
  1527. 590 @ frame_needed = 0, uses_anonymous_args = 0
  1528. 550:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = 0U;
  1529. 591 .loc 1 550 1 is_stmt 0 view .LVU166
  1530. 592 0000 38B5 push {r3, r4, r5, lr}
  1531. 593 .LCFI6:
  1532. 594 .cfi_def_cfa_offset 16
  1533. 595 .cfi_offset 3, -16
  1534. 596 .cfi_offset 4, -12
  1535. 597 .cfi_offset 5, -8
  1536. 598 .cfi_offset 14, -4
  1537. 599 0002 0446 mov r4, r0
  1538. 551:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1539. 600 .loc 1 551 3 is_stmt 1 view .LVU167
  1540. 601 .LVL60:
  1541. 554:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_IN_EP & 0xFU].is_used = 0U;
  1542. 602 .loc 1 554 3 view .LVU168
  1543. 603 0004 8121 movs r1, #129
  1544. 604 .LVL61:
  1545. 554:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_IN_EP & 0xFU].is_used = 0U;
  1546. 605 .loc 1 554 3 is_stmt 0 view .LVU169
  1547. 606 0006 FFF7FEFF bl USBD_LL_CloseEP
  1548. 607 .LVL62:
  1549. 555:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1550. 608 .loc 1 555 3 is_stmt 1 view .LVU170
  1551. 555:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1552. 609 .loc 1 555 41 is_stmt 0 view .LVU171
  1553. 610 000a 0025 movs r5, #0
  1554. 611 000c E562 str r5, [r4, #44]
  1555. 558:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_out[CDC_OUT_EP & 0xFU].is_used = 0U;
  1556. 612 .loc 1 558 3 is_stmt 1 view .LVU172
  1557. 613 000e 0121 movs r1, #1
  1558. 614 0010 2046 mov r0, r4
  1559. 615 0012 FFF7FEFF bl USBD_LL_CloseEP
  1560. 616 .LVL63:
  1561. 559:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1562. 617 .loc 1 559 3 view .LVU173
  1563. 559:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1564. 618 .loc 1 559 43 is_stmt 0 view .LVU174
  1565. 619 0016 C4F86C51 str r5, [r4, #364]
  1566. 562:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_CMD_EP & 0xFU].is_used = 0U;
  1567. ARM GAS /tmp/cc5SjA9n.s page 28
  1568. 620 .loc 1 562 3 is_stmt 1 view .LVU175
  1569. 621 001a 8221 movs r1, #130
  1570. 622 001c 2046 mov r0, r4
  1571. 623 001e FFF7FEFF bl USBD_LL_CloseEP
  1572. 624 .LVL64:
  1573. 563:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1574. 625 .loc 1 563 3 view .LVU176
  1575. 563:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1576. 626 .loc 1 563 42 is_stmt 0 view .LVU177
  1577. 627 0022 2564 str r5, [r4, #64]
  1578. 566:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1579. 628 .loc 1 566 3 is_stmt 1 view .LVU178
  1580. 566:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1581. 629 .loc 1 566 11 is_stmt 0 view .LVU179
  1582. 630 0024 D4F8B832 ldr r3, [r4, #696]
  1583. 566:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1584. 631 .loc 1 566 6 view .LVU180
  1585. 632 0028 4BB1 cbz r3, .L43
  1586. 568:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_free(pdev->pClassData);
  1587. 633 .loc 1 568 5 is_stmt 1 view .LVU181
  1588. 568:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_free(pdev->pClassData);
  1589. 634 .loc 1 568 33 is_stmt 0 view .LVU182
  1590. 635 002a D4F8BC32 ldr r3, [r4, #700]
  1591. 568:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_free(pdev->pClassData);
  1592. 636 .loc 1 568 45 view .LVU183
  1593. 637 002e 5B68 ldr r3, [r3, #4]
  1594. 568:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_free(pdev->pClassData);
  1595. 638 .loc 1 568 6 view .LVU184
  1596. 639 0030 9847 blx r3
  1597. 640 .LVL65:
  1598. 569:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->pClassData = NULL;
  1599. 641 .loc 1 569 5 is_stmt 1 view .LVU185
  1600. 642 0032 D4F8B802 ldr r0, [r4, #696]
  1601. 643 0036 FFF7FEFF bl USBD_static_free
  1602. 644 .LVL66:
  1603. 570:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1604. 645 .loc 1 570 5 view .LVU186
  1605. 570:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1606. 646 .loc 1 570 22 is_stmt 0 view .LVU187
  1607. 647 003a C4F8B852 str r5, [r4, #696]
  1608. 648 .L43:
  1609. 573:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1610. 649 .loc 1 573 3 is_stmt 1 view .LVU188
  1611. 574:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1612. 650 .loc 1 574 1 is_stmt 0 view .LVU189
  1613. 651 003e 0020 movs r0, #0
  1614. 652 0040 38BD pop {r3, r4, r5, pc}
  1615. 574:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1616. 653 .loc 1 574 1 view .LVU190
  1617. 654 .cfi_endproc
  1618. 655 .LFE656:
  1619. 657 .section .text.USBD_CDC_Init,"ax",%progbits
  1620. 658 .align 1
  1621. 659 .syntax unified
  1622. 660 .thumb
  1623. 661 .thumb_func
  1624. 663 USBD_CDC_Init:
  1625. ARM GAS /tmp/cc5SjA9n.s page 29
  1626. 664 .LVL67:
  1627. 665 .LFB655:
  1628. 472:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = 0U;
  1629. 666 .loc 1 472 1 is_stmt 1 view -0
  1630. 667 .cfi_startproc
  1631. 668 @ args = 0, pretend = 0, frame = 0
  1632. 669 @ frame_needed = 0, uses_anonymous_args = 0
  1633. 472:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = 0U;
  1634. 670 .loc 1 472 1 is_stmt 0 view .LVU192
  1635. 671 0000 70B5 push {r4, r5, r6, lr}
  1636. 672 .LCFI7:
  1637. 673 .cfi_def_cfa_offset 16
  1638. 674 .cfi_offset 4, -16
  1639. 675 .cfi_offset 5, -12
  1640. 676 .cfi_offset 6, -8
  1641. 677 .cfi_offset 14, -4
  1642. 678 0002 0446 mov r4, r0
  1643. 473:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc;
  1644. 679 .loc 1 473 3 is_stmt 1 view .LVU193
  1645. 680 .LVL68:
  1646. 474:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1647. 681 .loc 1 474 3 view .LVU194
  1648. 476:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1649. 682 .loc 1 476 3 view .LVU195
  1650. 476:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1651. 683 .loc 1 476 11 is_stmt 0 view .LVU196
  1652. 684 0004 037C ldrb r3, [r0, #16] @ zero_extendqisi2
  1653. 476:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1654. 685 .loc 1 476 6 view .LVU197
  1655. 686 0006 ABBB cbnz r3, .L46
  1656. 479:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_IN_PACKET_SIZE);
  1657. 687 .loc 1 479 5 is_stmt 1 view .LVU198
  1658. 688 0008 4FF40073 mov r3, #512
  1659. 689 000c 0222 movs r2, #2
  1660. 690 000e 8121 movs r1, #129
  1661. 691 .LVL69:
  1662. 479:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_IN_PACKET_SIZE);
  1663. 692 .loc 1 479 5 is_stmt 0 view .LVU199
  1664. 693 0010 FFF7FEFF bl USBD_LL_OpenEP
  1665. 694 .LVL70:
  1666. 482:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1667. 695 .loc 1 482 5 is_stmt 1 view .LVU200
  1668. 482:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1669. 696 .loc 1 482 43 is_stmt 0 view .LVU201
  1670. 697 0014 0125 movs r5, #1
  1671. 698 0016 E562 str r5, [r4, #44]
  1672. 485:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_OUT_PACKET_SIZE);
  1673. 699 .loc 1 485 5 is_stmt 1 view .LVU202
  1674. 700 0018 4FF40073 mov r3, #512
  1675. 701 001c 0222 movs r2, #2
  1676. 702 001e 2946 mov r1, r5
  1677. 703 0020 2046 mov r0, r4
  1678. 704 0022 FFF7FEFF bl USBD_LL_OpenEP
  1679. 705 .LVL71:
  1680. 488:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1681. 706 .loc 1 488 5 view .LVU203
  1682. 488:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1683. ARM GAS /tmp/cc5SjA9n.s page 30
  1684. 707 .loc 1 488 45 is_stmt 0 view .LVU204
  1685. 708 0026 C4F86C51 str r5, [r4, #364]
  1686. 709 .L47:
  1687. 506:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_CMD_EP & 0xFU].is_used = 1U;
  1688. 710 .loc 1 506 3 is_stmt 1 view .LVU205
  1689. 711 002a 0823 movs r3, #8
  1690. 712 002c 0322 movs r2, #3
  1691. 713 002e 8221 movs r1, #130
  1692. 714 0030 2046 mov r0, r4
  1693. 715 0032 FFF7FEFF bl USBD_LL_OpenEP
  1694. 716 .LVL72:
  1695. 507:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1696. 717 .loc 1 507 3 view .LVU206
  1697. 507:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1698. 718 .loc 1 507 42 is_stmt 0 view .LVU207
  1699. 719 0036 0123 movs r3, #1
  1700. 720 0038 2364 str r3, [r4, #64]
  1701. 509:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1702. 721 .loc 1 509 3 is_stmt 1 view .LVU208
  1703. 509:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1704. 722 .loc 1 509 22 is_stmt 0 view .LVU209
  1705. 723 003a 4FF40770 mov r0, #540
  1706. 724 003e FFF7FEFF bl USBD_static_malloc
  1707. 725 .LVL73:
  1708. 726 0042 0546 mov r5, r0
  1709. 509:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1710. 727 .loc 1 509 20 view .LVU210
  1711. 728 0044 C4F8B802 str r0, [r4, #696]
  1712. 511:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1713. 729 .loc 1 511 3 is_stmt 1 view .LVU211
  1714. 511:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1715. 730 .loc 1 511 6 is_stmt 0 view .LVU212
  1716. 731 0048 68B3 cbz r0, .L50
  1717. 517:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1718. 732 .loc 1 517 5 is_stmt 1 view .LVU213
  1719. 733 .LVL74:
  1720. 520:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1721. 734 .loc 1 520 5 view .LVU214
  1722. 520:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1723. 735 .loc 1 520 33 is_stmt 0 view .LVU215
  1724. 736 004a D4F8BC32 ldr r3, [r4, #700]
  1725. 520:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1726. 737 .loc 1 520 45 view .LVU216
  1727. 738 004e 1B68 ldr r3, [r3]
  1728. 520:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1729. 739 .loc 1 520 6 view .LVU217
  1730. 740 0050 9847 blx r3
  1731. 741 .LVL75:
  1732. 523:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxState = 0U;
  1733. 742 .loc 1 523 5 is_stmt 1 view .LVU218
  1734. 523:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxState = 0U;
  1735. 743 .loc 1 523 19 is_stmt 0 view .LVU219
  1736. 744 0052 0023 movs r3, #0
  1737. 745 0054 C5F81432 str r3, [r5, #532]
  1738. 524:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1739. 746 .loc 1 524 5 is_stmt 1 view .LVU220
  1740. 524:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1741. ARM GAS /tmp/cc5SjA9n.s page 31
  1742. 747 .loc 1 524 19 is_stmt 0 view .LVU221
  1743. 748 0058 C5F81832 str r3, [r5, #536]
  1744. 526:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1745. 749 .loc 1 526 5 is_stmt 1 view .LVU222
  1746. 526:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1747. 750 .loc 1 526 13 is_stmt 0 view .LVU223
  1748. 751 005c 267C ldrb r6, [r4, #16] @ zero_extendqisi2
  1749. 526:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1750. 752 .loc 1 526 8 view .LVU224
  1751. 753 005e CEB9 cbnz r6, .L49
  1752. 529:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_OUT_PACKET_SIZE);
  1753. 754 .loc 1 529 7 is_stmt 1 view .LVU225
  1754. 755 0060 4FF40073 mov r3, #512
  1755. 756 0064 D5F80422 ldr r2, [r5, #516]
  1756. 757 0068 0121 movs r1, #1
  1757. 758 006a 2046 mov r0, r4
  1758. 759 006c FFF7FEFF bl USBD_LL_PrepareReceive
  1759. 760 .LVL76:
  1760. 761 .L48:
  1761. 539:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1762. 762 .loc 1 539 3 view .LVU226
  1763. 540:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1764. 763 .loc 1 540 1 is_stmt 0 view .LVU227
  1765. 764 0070 3046 mov r0, r6
  1766. 765 0072 70BD pop {r4, r5, r6, pc}
  1767. 766 .LVL77:
  1768. 767 .L46:
  1769. 494:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_IN_PACKET_SIZE);
  1770. 768 .loc 1 494 5 is_stmt 1 view .LVU228
  1771. 769 0074 4023 movs r3, #64
  1772. 770 0076 0222 movs r2, #2
  1773. 771 0078 8121 movs r1, #129
  1774. 772 .LVL78:
  1775. 494:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_IN_PACKET_SIZE);
  1776. 773 .loc 1 494 5 is_stmt 0 view .LVU229
  1777. 774 007a FFF7FEFF bl USBD_LL_OpenEP
  1778. 775 .LVL79:
  1779. 497:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1780. 776 .loc 1 497 5 is_stmt 1 view .LVU230
  1781. 497:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1782. 777 .loc 1 497 43 is_stmt 0 view .LVU231
  1783. 778 007e 0125 movs r5, #1
  1784. 779 0080 E562 str r5, [r4, #44]
  1785. 500:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_OUT_PACKET_SIZE);
  1786. 780 .loc 1 500 5 is_stmt 1 view .LVU232
  1787. 781 0082 4023 movs r3, #64
  1788. 782 0084 0222 movs r2, #2
  1789. 783 0086 2946 mov r1, r5
  1790. 784 0088 2046 mov r0, r4
  1791. 785 008a FFF7FEFF bl USBD_LL_OpenEP
  1792. 786 .LVL80:
  1793. 503:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1794. 787 .loc 1 503 5 view .LVU233
  1795. 503:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1796. 788 .loc 1 503 45 is_stmt 0 view .LVU234
  1797. 789 008e C4F86C51 str r5, [r4, #364]
  1798. 790 0092 CAE7 b .L47
  1799. ARM GAS /tmp/cc5SjA9n.s page 32
  1800. 791 .LVL81:
  1801. 792 .L49:
  1802. 535:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_OUT_PACKET_SIZE);
  1803. 793 .loc 1 535 7 is_stmt 1 view .LVU235
  1804. 794 0094 4023 movs r3, #64
  1805. 795 0096 D5F80422 ldr r2, [r5, #516]
  1806. 796 009a 0121 movs r1, #1
  1807. 797 009c 2046 mov r0, r4
  1808. 798 009e FFF7FEFF bl USBD_LL_PrepareReceive
  1809. 799 .LVL82:
  1810. 473:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc;
  1811. 800 .loc 1 473 11 is_stmt 0 view .LVU236
  1812. 801 00a2 0026 movs r6, #0
  1813. 802 00a4 E4E7 b .L48
  1814. 803 .LVL83:
  1815. 804 .L50:
  1816. 513:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1817. 805 .loc 1 513 9 view .LVU237
  1818. 806 00a6 0126 movs r6, #1
  1819. 807 00a8 E2E7 b .L48
  1820. 808 .cfi_endproc
  1821. 809 .LFE655:
  1822. 811 .section .text.USBD_CDC_RegisterInterface,"ax",%progbits
  1823. 812 .align 1
  1824. 813 .global USBD_CDC_RegisterInterface
  1825. 814 .syntax unified
  1826. 815 .thumb
  1827. 816 .thumb_func
  1828. 818 USBD_CDC_RegisterInterface:
  1829. 819 .LVL84:
  1830. 820 .LFB665:
  1831. 803:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1832. 804:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  1833. 805:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_RegisterInterface
  1834. 806:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  1835. 807:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param fops: CD Interface callback
  1836. 808:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  1837. 809:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  1838. 810:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t USBD_CDC_RegisterInterface(USBD_HandleTypeDef *pdev,
  1839. 811:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_ItfTypeDef *fops)
  1840. 812:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1841. 821 .loc 1 812 1 is_stmt 1 view -0
  1842. 822 .cfi_startproc
  1843. 823 @ args = 0, pretend = 0, frame = 0
  1844. 824 @ frame_needed = 0, uses_anonymous_args = 0
  1845. 825 @ link register save eliminated.
  1846. 813:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t ret = USBD_FAIL;
  1847. 826 .loc 1 813 3 view .LVU239
  1848. 814:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1849. 815:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (fops != NULL)
  1850. 827 .loc 1 815 3 view .LVU240
  1851. 828 .loc 1 815 6 is_stmt 0 view .LVU241
  1852. 829 0000 19B1 cbz r1, .L54
  1853. 816:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1854. 817:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->pUserData = fops;
  1855. 830 .loc 1 817 5 is_stmt 1 view .LVU242
  1856. 831 .loc 1 817 21 is_stmt 0 view .LVU243
  1857. ARM GAS /tmp/cc5SjA9n.s page 33
  1858. 832 0002 C0F8BC12 str r1, [r0, #700]
  1859. 818:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** ret = USBD_OK;
  1860. 833 .loc 1 818 5 is_stmt 1 view .LVU244
  1861. 834 .LVL85:
  1862. 835 .loc 1 818 9 is_stmt 0 view .LVU245
  1863. 836 0006 0020 movs r0, #0
  1864. 837 .LVL86:
  1865. 838 .loc 1 818 9 view .LVU246
  1866. 839 0008 7047 bx lr
  1867. 840 .LVL87:
  1868. 841 .L54:
  1869. 813:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1870. 842 .loc 1 813 12 view .LVU247
  1871. 843 000a 0220 movs r0, #2
  1872. 844 .LVL88:
  1873. 819:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1874. 820:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1875. 821:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return ret;
  1876. 845 .loc 1 821 3 is_stmt 1 view .LVU248
  1877. 822:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1878. 846 .loc 1 822 1 is_stmt 0 view .LVU249
  1879. 847 000c 7047 bx lr
  1880. 848 .cfi_endproc
  1881. 849 .LFE665:
  1882. 851 .section .text.USBD_CDC_SetTxBuffer,"ax",%progbits
  1883. 852 .align 1
  1884. 853 .global USBD_CDC_SetTxBuffer
  1885. 854 .syntax unified
  1886. 855 .thumb
  1887. 856 .thumb_func
  1888. 858 USBD_CDC_SetTxBuffer:
  1889. 859 .LVL89:
  1890. 860 .LFB666:
  1891. 823:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1892. 824:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  1893. 825:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_SetTxBuffer
  1894. 826:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  1895. 827:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pbuff: Tx Buffer
  1896. 828:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  1897. 829:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  1898. 830:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t USBD_CDC_SetTxBuffer(USBD_HandleTypeDef *pdev,
  1899. 831:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t *pbuff,
  1900. 832:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint16_t length)
  1901. 833:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1902. 861 .loc 1 833 1 is_stmt 1 view -0
  1903. 862 .cfi_startproc
  1904. 863 @ args = 0, pretend = 0, frame = 0
  1905. 864 @ frame_needed = 0, uses_anonymous_args = 0
  1906. 865 @ link register save eliminated.
  1907. 834:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  1908. 866 .loc 1 834 3 view .LVU251
  1909. 867 .loc 1 834 29 is_stmt 0 view .LVU252
  1910. 868 0000 D0F8B832 ldr r3, [r0, #696]
  1911. 869 .LVL90:
  1912. 835:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1913. 836:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->TxBuffer = pbuff;
  1914. 870 .loc 1 836 3 is_stmt 1 view .LVU253
  1915. ARM GAS /tmp/cc5SjA9n.s page 34
  1916. 871 .loc 1 836 18 is_stmt 0 view .LVU254
  1917. 872 0004 C3F80812 str r1, [r3, #520]
  1918. 837:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->TxLength = length;
  1919. 873 .loc 1 837 3 is_stmt 1 view .LVU255
  1920. 874 .loc 1 837 18 is_stmt 0 view .LVU256
  1921. 875 0008 C3F81022 str r2, [r3, #528]
  1922. 838:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1923. 839:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  1924. 876 .loc 1 839 3 is_stmt 1 view .LVU257
  1925. 840:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1926. 877 .loc 1 840 1 is_stmt 0 view .LVU258
  1927. 878 000c 0020 movs r0, #0
  1928. 879 .LVL91:
  1929. 880 .loc 1 840 1 view .LVU259
  1930. 881 000e 7047 bx lr
  1931. 882 .cfi_endproc
  1932. 883 .LFE666:
  1933. 885 .section .text.USBD_CDC_SetRxBuffer,"ax",%progbits
  1934. 886 .align 1
  1935. 887 .global USBD_CDC_SetRxBuffer
  1936. 888 .syntax unified
  1937. 889 .thumb
  1938. 890 .thumb_func
  1939. 892 USBD_CDC_SetRxBuffer:
  1940. 893 .LVL92:
  1941. 894 .LFB667:
  1942. 841:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1943. 842:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1944. 843:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  1945. 844:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_SetRxBuffer
  1946. 845:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  1947. 846:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pbuff: Rx Buffer
  1948. 847:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  1949. 848:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  1950. 849:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t USBD_CDC_SetRxBuffer(USBD_HandleTypeDef *pdev,
  1951. 850:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t *pbuff)
  1952. 851:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1953. 895 .loc 1 851 1 is_stmt 1 view -0
  1954. 896 .cfi_startproc
  1955. 897 @ args = 0, pretend = 0, frame = 0
  1956. 898 @ frame_needed = 0, uses_anonymous_args = 0
  1957. 899 @ link register save eliminated.
  1958. 852:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  1959. 900 .loc 1 852 3 view .LVU261
  1960. 901 .loc 1 852 29 is_stmt 0 view .LVU262
  1961. 902 0000 D0F8B832 ldr r3, [r0, #696]
  1962. 903 .LVL93:
  1963. 853:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1964. 854:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxBuffer = pbuff;
  1965. 904 .loc 1 854 3 is_stmt 1 view .LVU263
  1966. 905 .loc 1 854 18 is_stmt 0 view .LVU264
  1967. 906 0004 C3F80412 str r1, [r3, #516]
  1968. 855:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1969. 856:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  1970. 907 .loc 1 856 3 is_stmt 1 view .LVU265
  1971. 857:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  1972. 908 .loc 1 857 1 is_stmt 0 view .LVU266
  1973. ARM GAS /tmp/cc5SjA9n.s page 35
  1974. 909 0008 0020 movs r0, #0
  1975. 910 .LVL94:
  1976. 911 .loc 1 857 1 view .LVU267
  1977. 912 000a 7047 bx lr
  1978. 913 .cfi_endproc
  1979. 914 .LFE667:
  1980. 916 .section .text.USBD_CDC_TransmitPacket,"ax",%progbits
  1981. 917 .align 1
  1982. 918 .global USBD_CDC_TransmitPacket
  1983. 919 .syntax unified
  1984. 920 .thumb
  1985. 921 .thumb_func
  1986. 923 USBD_CDC_TransmitPacket:
  1987. 924 .LVL95:
  1988. 925 .LFB668:
  1989. 858:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  1990. 859:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  1991. 860:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_TransmitPacket
  1992. 861:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * Transmit packet on IN endpoint
  1993. 862:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  1994. 863:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  1995. 864:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  1996. 865:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t USBD_CDC_TransmitPacket(USBD_HandleTypeDef *pdev)
  1997. 866:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  1998. 926 .loc 1 866 1 is_stmt 1 view -0
  1999. 927 .cfi_startproc
  2000. 928 @ args = 0, pretend = 0, frame = 0
  2001. 929 @ frame_needed = 0, uses_anonymous_args = 0
  2002. 867:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  2003. 930 .loc 1 867 3 view .LVU269
  2004. 931 .loc 1 867 29 is_stmt 0 view .LVU270
  2005. 932 0000 D0F8B822 ldr r2, [r0, #696]
  2006. 933 .LVL96:
  2007. 868:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2008. 869:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->pClassData != NULL)
  2009. 934 .loc 1 869 3 is_stmt 1 view .LVU271
  2010. 935 .loc 1 869 6 is_stmt 0 view .LVU272
  2011. 936 0004 A2B1 cbz r2, .L59
  2012. 866:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  2013. 937 .loc 1 866 1 view .LVU273
  2014. 938 0006 08B5 push {r3, lr}
  2015. 939 .LCFI8:
  2016. 940 .cfi_def_cfa_offset 8
  2017. 941 .cfi_offset 3, -8
  2018. 942 .cfi_offset 14, -4
  2019. 870:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2020. 871:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (hcdc->TxState == 0U)
  2021. 943 .loc 1 871 5 is_stmt 1 view .LVU274
  2022. 944 .loc 1 871 13 is_stmt 0 view .LVU275
  2023. 945 0008 D2F81432 ldr r3, [r2, #532]
  2024. 946 .loc 1 871 8 view .LVU276
  2025. 947 000c 0BB1 cbz r3, .L65
  2026. 872:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2027. 873:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Tx Transfer in progress */
  2028. 874:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->TxState = 1U;
  2029. 875:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2030. 876:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Update the packet total length */
  2031. ARM GAS /tmp/cc5SjA9n.s page 36
  2032. 877:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** pdev->ep_in[CDC_IN_EP & 0xFU].total_length = hcdc->TxLength;
  2033. 878:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2034. 879:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Transmit next packet */
  2035. 880:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_Transmit(pdev, CDC_IN_EP, hcdc->TxBuffer,
  2036. 881:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint16_t)hcdc->TxLength);
  2037. 882:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2038. 883:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  2039. 884:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2040. 885:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  2041. 886:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2042. 887:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_BUSY;
  2043. 948 .loc 1 887 14 view .LVU277
  2044. 949 000e 0120 movs r0, #1
  2045. 950 .LVL97:
  2046. 951 .L58:
  2047. 888:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2048. 889:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2049. 890:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  2050. 891:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2051. 892:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_FAIL;
  2052. 893:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2053. 894:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2054. 952 .loc 1 894 1 view .LVU278
  2055. 953 0010 08BD pop {r3, pc}
  2056. 954 .LVL98:
  2057. 955 .L65:
  2058. 874:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2059. 956 .loc 1 874 7 is_stmt 1 view .LVU279
  2060. 874:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2061. 957 .loc 1 874 21 is_stmt 0 view .LVU280
  2062. 958 0012 0123 movs r3, #1
  2063. 959 0014 C2F81432 str r3, [r2, #532]
  2064. 877:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2065. 960 .loc 1 877 7 is_stmt 1 view .LVU281
  2066. 877:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2067. 961 .loc 1 877 56 is_stmt 0 view .LVU282
  2068. 962 0018 D2F81032 ldr r3, [r2, #528]
  2069. 877:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2070. 963 .loc 1 877 50 view .LVU283
  2071. 964 001c 0363 str r3, [r0, #48]
  2072. 880:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint16_t)hcdc->TxLength);
  2073. 965 .loc 1 880 7 is_stmt 1 view .LVU284
  2074. 966 001e B2F81032 ldrh r3, [r2, #528]
  2075. 967 0022 D2F80822 ldr r2, [r2, #520]
  2076. 968 .LVL99:
  2077. 880:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** (uint16_t)hcdc->TxLength);
  2078. 969 .loc 1 880 7 is_stmt 0 view .LVU285
  2079. 970 0026 8121 movs r1, #129
  2080. 971 0028 FFF7FEFF bl USBD_LL_Transmit
  2081. 972 .LVL100:
  2082. 883:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2083. 973 .loc 1 883 7 is_stmt 1 view .LVU286
  2084. 883:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2085. 974 .loc 1 883 14 is_stmt 0 view .LVU287
  2086. 975 002c 0020 movs r0, #0
  2087. 976 002e EFE7 b .L58
  2088. 977 .LVL101:
  2089. ARM GAS /tmp/cc5SjA9n.s page 37
  2090. 978 .L59:
  2091. 979 .LCFI9:
  2092. 980 .cfi_def_cfa_offset 0
  2093. 981 .cfi_restore 3
  2094. 982 .cfi_restore 14
  2095. 892:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2096. 983 .loc 1 892 12 view .LVU288
  2097. 984 0030 0220 movs r0, #2
  2098. 985 .LVL102:
  2099. 986 .loc 1 894 1 view .LVU289
  2100. 987 0032 7047 bx lr
  2101. 988 .cfi_endproc
  2102. 989 .LFE668:
  2103. 991 .section .text.USBD_CDC_ReceivePacket,"ax",%progbits
  2104. 992 .align 1
  2105. 993 .global USBD_CDC_ReceivePacket
  2106. 994 .syntax unified
  2107. 995 .thumb
  2108. 996 .thumb_func
  2109. 998 USBD_CDC_ReceivePacket:
  2110. 999 .LVL103:
  2111. 1000 .LFB669:
  2112. 895:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2113. 896:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2114. 897:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /**
  2115. 898:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @brief USBD_CDC_ReceivePacket
  2116. 899:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * prepare OUT Endpoint for reception
  2117. 900:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @param pdev: device instance
  2118. 901:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** * @retval status
  2119. 902:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** */
  2120. 903:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** uint8_t USBD_CDC_ReceivePacket(USBD_HandleTypeDef *pdev)
  2121. 904:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2122. 1001 .loc 1 904 1 is_stmt 1 view -0
  2123. 1002 .cfi_startproc
  2124. 1003 @ args = 0, pretend = 0, frame = 0
  2125. 1004 @ frame_needed = 0, uses_anonymous_args = 0
  2126. 905:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  2127. 1005 .loc 1 905 3 view .LVU291
  2128. 1006 .loc 1 905 29 is_stmt 0 view .LVU292
  2129. 1007 0000 D0F8B822 ldr r2, [r0, #696]
  2130. 1008 .LVL104:
  2131. 906:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c ****
  2132. 907:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Suspend or Resume USB Out process */
  2133. 908:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->pClassData != NULL)
  2134. 1009 .loc 1 908 3 is_stmt 1 view .LVU293
  2135. 1010 .loc 1 908 6 is_stmt 0 view .LVU294
  2136. 1011 0004 92B1 cbz r2, .L70
  2137. 904:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef *) pdev->pClassData;
  2138. 1012 .loc 1 904 1 view .LVU295
  2139. 1013 0006 08B5 push {r3, lr}
  2140. 1014 .LCFI10:
  2141. 1015 .cfi_def_cfa_offset 8
  2142. 1016 .cfi_offset 3, -8
  2143. 1017 .cfi_offset 14, -4
  2144. 909:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2145. 910:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
  2146. 1018 .loc 1 910 5 is_stmt 1 view .LVU296
  2147. ARM GAS /tmp/cc5SjA9n.s page 38
  2148. 1019 .loc 1 910 13 is_stmt 0 view .LVU297
  2149. 1020 0008 037C ldrb r3, [r0, #16] @ zero_extendqisi2
  2150. 1021 .loc 1 910 8 view .LVU298
  2151. 1022 000a 43B9 cbnz r3, .L68
  2152. 911:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2153. 912:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Prepare Out endpoint to receive next packet */
  2154. 913:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_PrepareReceive(pdev,
  2155. 1023 .loc 1 913 7 is_stmt 1 view .LVU299
  2156. 1024 000c 4FF40073 mov r3, #512
  2157. 1025 0010 D2F80422 ldr r2, [r2, #516]
  2158. 1026 .LVL105:
  2159. 1027 .loc 1 913 7 is_stmt 0 view .LVU300
  2160. 1028 0014 0121 movs r1, #1
  2161. 1029 0016 FFF7FEFF bl USBD_LL_PrepareReceive
  2162. 1030 .LVL106:
  2163. 1031 .L69:
  2164. 914:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP,
  2165. 915:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxBuffer,
  2166. 916:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_HS_OUT_PACKET_SIZE);
  2167. 917:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2168. 918:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  2169. 919:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2170. 920:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** /* Prepare Out endpoint to receive next packet */
  2171. 921:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** USBD_LL_PrepareReceive(pdev,
  2172. 922:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP,
  2173. 923:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** hcdc->RxBuffer,
  2174. 924:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_DATA_FS_OUT_PACKET_SIZE);
  2175. 925:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2176. 926:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_OK;
  2177. 1032 .loc 1 926 5 is_stmt 1 view .LVU301
  2178. 1033 .loc 1 926 12 is_stmt 0 view .LVU302
  2179. 1034 001a 0020 movs r0, #0
  2180. 927:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2181. 928:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** else
  2182. 929:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** {
  2183. 930:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** return USBD_FAIL;
  2184. 931:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2185. 932:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2186. 1035 .loc 1 932 1 view .LVU303
  2187. 1036 001c 08BD pop {r3, pc}
  2188. 1037 .LVL107:
  2189. 1038 .L68:
  2190. 921:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP,
  2191. 1039 .loc 1 921 7 is_stmt 1 view .LVU304
  2192. 1040 001e 4023 movs r3, #64
  2193. 1041 0020 D2F80422 ldr r2, [r2, #516]
  2194. 1042 .LVL108:
  2195. 921:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP,
  2196. 1043 .loc 1 921 7 is_stmt 0 view .LVU305
  2197. 1044 0024 0121 movs r1, #1
  2198. 1045 0026 FFF7FEFF bl USBD_LL_PrepareReceive
  2199. 1046 .LVL109:
  2200. 921:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** CDC_OUT_EP,
  2201. 1047 .loc 1 921 7 view .LVU306
  2202. 1048 002a F6E7 b .L69
  2203. 1049 .LVL110:
  2204. 1050 .L70:
  2205. ARM GAS /tmp/cc5SjA9n.s page 39
  2206. 1051 .LCFI11:
  2207. 1052 .cfi_def_cfa_offset 0
  2208. 1053 .cfi_restore 3
  2209. 1054 .cfi_restore 14
  2210. 930:Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c **** }
  2211. 1055 .loc 1 930 12 view .LVU307
  2212. 1056 002c 0220 movs r0, #2
  2213. 1057 .LVL111:
  2214. 1058 .loc 1 932 1 view .LVU308
  2215. 1059 002e 7047 bx lr
  2216. 1060 .cfi_endproc
  2217. 1061 .LFE669:
  2218. 1063 .global USBD_CDC_OtherSpeedCfgDesc
  2219. 1064 .global USBD_CDC_CfgFSDesc
  2220. 1065 .global USBD_CDC_CfgHSDesc
  2221. 1066 .global USBD_CDC
  2222. 1067 .section .data.USBD_CDC,"aw"
  2223. 1068 .align 2
  2224. 1071 USBD_CDC:
  2225. 1072 0000 00000000 .word USBD_CDC_Init
  2226. 1073 0004 00000000 .word USBD_CDC_DeInit
  2227. 1074 0008 00000000 .word USBD_CDC_Setup
  2228. 1075 000c 00000000 .word 0
  2229. 1076 0010 00000000 .word USBD_CDC_EP0_RxReady
  2230. 1077 0014 00000000 .word USBD_CDC_DataIn
  2231. 1078 0018 00000000 .word USBD_CDC_DataOut
  2232. 1079 001c 00000000 .word 0
  2233. 1080 0020 00000000 .word 0
  2234. 1081 0024 00000000 .word 0
  2235. 1082 0028 00000000 .word USBD_CDC_GetHSCfgDesc
  2236. 1083 002c 00000000 .word USBD_CDC_GetFSCfgDesc
  2237. 1084 0030 00000000 .word USBD_CDC_GetOtherSpeedCfgDesc
  2238. 1085 0034 00000000 .word USBD_CDC_GetDeviceQualifierDescriptor
  2239. 1086 .section .data.USBD_CDC_CfgFSDesc,"aw"
  2240. 1087 .align 2
  2241. 1088 .set .LANCHOR0,. + 0
  2242. 1091 USBD_CDC_CfgFSDesc:
  2243. 1092 0000 09024300 .ascii "\011\002C\000\002\001\000\3002\011\004\000\000\001\002"
  2244. 1092 020100C0
  2245. 1092 32090400
  2246. 1092 000102
  2247. 1093 000f 02010005 .ascii "\002\001\000\005$\000\020\001\005$\001\000\001\004$"
  2248. 1093 24001001
  2249. 1093 05240100
  2250. 1093 010424
  2251. 1094 001e 02020524 .ascii "\002\002\005$\006\000\001\007\005\202\003\010\000\020"
  2252. 1094 06000107
  2253. 1094 05820308
  2254. 1094 0010
  2255. 1095 002c 09040100 .ascii "\011\004\001\000\002\012\000\000\000\007\005\001\002"
  2256. 1095 020A0000
  2257. 1095 00070501
  2258. 1095 02
  2259. 1096 0039 40000007 .ascii "@\000\000\007\005\201\002@\000\000"
  2260. 1096 05810240
  2261. 1096 0000
  2262. 1097 .section .data.USBD_CDC_CfgHSDesc,"aw"
  2263. ARM GAS /tmp/cc5SjA9n.s page 40
  2264. 1098 .align 2
  2265. 1099 .set .LANCHOR1,. + 0
  2266. 1102 USBD_CDC_CfgHSDesc:
  2267. 1103 0000 09024300 .ascii "\011\002C\000\002\001\000\3002\011\004\000\000\001\002"
  2268. 1103 020100C0
  2269. 1103 32090400
  2270. 1103 000102
  2271. 1104 000f 02010005 .ascii "\002\001\000\005$\000\020\001\005$\001\000\001\004$"
  2272. 1104 24001001
  2273. 1104 05240100
  2274. 1104 010424
  2275. 1105 001e 02020524 .ascii "\002\002\005$\006\000\001\007\005\202\003\010\000\020"
  2276. 1105 06000107
  2277. 1105 05820308
  2278. 1105 0010
  2279. 1106 002c 09040100 .ascii "\011\004\001\000\002\012\000\000\000\007\005\001\002"
  2280. 1106 020A0000
  2281. 1106 00070501
  2282. 1106 02
  2283. 1107 0039 00020007 .ascii "\000\002\000\007\005\201\002\000\002\000"
  2284. 1107 05810200
  2285. 1107 0200
  2286. 1108 .section .data.USBD_CDC_DeviceQualifierDesc,"aw"
  2287. 1109 .align 2
  2288. 1110 .set .LANCHOR3,. + 0
  2289. 1113 USBD_CDC_DeviceQualifierDesc:
  2290. 1114 0000 0A060002 .ascii "\012\006\000\002\000\000\000@\001\000"
  2291. 1114 00000040
  2292. 1114 0100
  2293. 1115 .section .data.USBD_CDC_OtherSpeedCfgDesc,"aw"
  2294. 1116 .align 2
  2295. 1117 .set .LANCHOR2,. + 0
  2296. 1120 USBD_CDC_OtherSpeedCfgDesc:
  2297. 1121 0000 09074300 .ascii "\011\007C\000\002\001\004\3002\011\004\000\000\001\002"
  2298. 1121 020104C0
  2299. 1121 32090400
  2300. 1121 000102
  2301. 1122 000f 02010005 .ascii "\002\001\000\005$\000\020\001\005$\001\000\001\004$"
  2302. 1122 24001001
  2303. 1122 05240100
  2304. 1122 010424
  2305. 1123 001e 02020524 .ascii "\002\002\005$\006\000\001\007\005\202\003\010\000\020"
  2306. 1123 06000107
  2307. 1123 05820308
  2308. 1123 0010
  2309. 1124 002c 09040100 .ascii "\011\004\001\000\002\012\000\000\000\007\005\001\002"
  2310. 1124 020A0000
  2311. 1124 00070501
  2312. 1124 02
  2313. 1125 0039 40000007 .ascii "@\000\000\007\005\201\002@\000\000"
  2314. 1125 05810240
  2315. 1125 0000
  2316. 1126 .text
  2317. 1127 .Letext0:
  2318. 1128 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  2319. 1129 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  2320. 1130 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  2321. ARM GAS /tmp/cc5SjA9n.s page 41
  2322. 1131 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
  2323. 1132 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h"
  2324. 1133 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h"
  2325. 1134 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h"
  2326. 1135 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h"
  2327. 1136 .file 10 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
  2328. 1137 .file 11 "Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h"
  2329. 1138 .file 12 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
  2330. 1139 .file 13 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h"
  2331. 1140 .file 14 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ctlreq.h"
  2332. 1141 .file 15 "USB_DEVICE/Target/usbd_conf.h"
  2333. ARM GAS /tmp/cc5SjA9n.s page 42
  2334. DEFINED SYMBOLS
  2335. *ABS*:0000000000000000 usbd_cdc.c
  2336. /tmp/cc5SjA9n.s:18 .text.USBD_CDC_EP0_RxReady:0000000000000000 $t
  2337. /tmp/cc5SjA9n.s:23 .text.USBD_CDC_EP0_RxReady:0000000000000000 USBD_CDC_EP0_RxReady
  2338. /tmp/cc5SjA9n.s:74 .text.USBD_CDC_GetFSCfgDesc:0000000000000000 $t
  2339. /tmp/cc5SjA9n.s:79 .text.USBD_CDC_GetFSCfgDesc:0000000000000000 USBD_CDC_GetFSCfgDesc
  2340. /tmp/cc5SjA9n.s:100 .text.USBD_CDC_GetFSCfgDesc:0000000000000008 $d
  2341. /tmp/cc5SjA9n.s:105 .text.USBD_CDC_GetHSCfgDesc:0000000000000000 $t
  2342. /tmp/cc5SjA9n.s:110 .text.USBD_CDC_GetHSCfgDesc:0000000000000000 USBD_CDC_GetHSCfgDesc
  2343. /tmp/cc5SjA9n.s:131 .text.USBD_CDC_GetHSCfgDesc:0000000000000008 $d
  2344. /tmp/cc5SjA9n.s:136 .text.USBD_CDC_GetOtherSpeedCfgDesc:0000000000000000 $t
  2345. /tmp/cc5SjA9n.s:141 .text.USBD_CDC_GetOtherSpeedCfgDesc:0000000000000000 USBD_CDC_GetOtherSpeedCfgDesc
  2346. /tmp/cc5SjA9n.s:162 .text.USBD_CDC_GetOtherSpeedCfgDesc:0000000000000008 $d
  2347. /tmp/cc5SjA9n.s:167 .text.USBD_CDC_GetDeviceQualifierDescriptor:0000000000000000 $t
  2348. /tmp/cc5SjA9n.s:173 .text.USBD_CDC_GetDeviceQualifierDescriptor:0000000000000000 USBD_CDC_GetDeviceQualifierDescriptor
  2349. /tmp/cc5SjA9n.s:194 .text.USBD_CDC_GetDeviceQualifierDescriptor:0000000000000008 $d
  2350. /tmp/cc5SjA9n.s:199 .text.USBD_CDC_DataOut:0000000000000000 $t
  2351. /tmp/cc5SjA9n.s:204 .text.USBD_CDC_DataOut:0000000000000000 USBD_CDC_DataOut
  2352. /tmp/cc5SjA9n.s:260 .text.USBD_CDC_DataIn:0000000000000000 $t
  2353. /tmp/cc5SjA9n.s:265 .text.USBD_CDC_DataIn:0000000000000000 USBD_CDC_DataIn
  2354. /tmp/cc5SjA9n.s:348 .text.USBD_CDC_Setup:0000000000000000 $t
  2355. /tmp/cc5SjA9n.s:353 .text.USBD_CDC_Setup:0000000000000000 USBD_CDC_Setup
  2356. /tmp/cc5SjA9n.s:579 .text.USBD_CDC_DeInit:0000000000000000 $t
  2357. /tmp/cc5SjA9n.s:584 .text.USBD_CDC_DeInit:0000000000000000 USBD_CDC_DeInit
  2358. /tmp/cc5SjA9n.s:658 .text.USBD_CDC_Init:0000000000000000 $t
  2359. /tmp/cc5SjA9n.s:663 .text.USBD_CDC_Init:0000000000000000 USBD_CDC_Init
  2360. /tmp/cc5SjA9n.s:812 .text.USBD_CDC_RegisterInterface:0000000000000000 $t
  2361. /tmp/cc5SjA9n.s:818 .text.USBD_CDC_RegisterInterface:0000000000000000 USBD_CDC_RegisterInterface
  2362. /tmp/cc5SjA9n.s:852 .text.USBD_CDC_SetTxBuffer:0000000000000000 $t
  2363. /tmp/cc5SjA9n.s:858 .text.USBD_CDC_SetTxBuffer:0000000000000000 USBD_CDC_SetTxBuffer
  2364. /tmp/cc5SjA9n.s:886 .text.USBD_CDC_SetRxBuffer:0000000000000000 $t
  2365. /tmp/cc5SjA9n.s:892 .text.USBD_CDC_SetRxBuffer:0000000000000000 USBD_CDC_SetRxBuffer
  2366. /tmp/cc5SjA9n.s:917 .text.USBD_CDC_TransmitPacket:0000000000000000 $t
  2367. /tmp/cc5SjA9n.s:923 .text.USBD_CDC_TransmitPacket:0000000000000000 USBD_CDC_TransmitPacket
  2368. /tmp/cc5SjA9n.s:992 .text.USBD_CDC_ReceivePacket:0000000000000000 $t
  2369. /tmp/cc5SjA9n.s:998 .text.USBD_CDC_ReceivePacket:0000000000000000 USBD_CDC_ReceivePacket
  2370. /tmp/cc5SjA9n.s:1120 .data.USBD_CDC_OtherSpeedCfgDesc:0000000000000000 USBD_CDC_OtherSpeedCfgDesc
  2371. /tmp/cc5SjA9n.s:1091 .data.USBD_CDC_CfgFSDesc:0000000000000000 USBD_CDC_CfgFSDesc
  2372. /tmp/cc5SjA9n.s:1102 .data.USBD_CDC_CfgHSDesc:0000000000000000 USBD_CDC_CfgHSDesc
  2373. /tmp/cc5SjA9n.s:1071 .data.USBD_CDC:0000000000000000 USBD_CDC
  2374. /tmp/cc5SjA9n.s:1068 .data.USBD_CDC:0000000000000000 $d
  2375. /tmp/cc5SjA9n.s:1087 .data.USBD_CDC_CfgFSDesc:0000000000000000 $d
  2376. /tmp/cc5SjA9n.s:1098 .data.USBD_CDC_CfgHSDesc:0000000000000000 $d
  2377. /tmp/cc5SjA9n.s:1109 .data.USBD_CDC_DeviceQualifierDesc:0000000000000000 $d
  2378. /tmp/cc5SjA9n.s:1113 .data.USBD_CDC_DeviceQualifierDesc:0000000000000000 USBD_CDC_DeviceQualifierDesc
  2379. /tmp/cc5SjA9n.s:1116 .data.USBD_CDC_OtherSpeedCfgDesc:0000000000000000 $d
  2380. UNDEFINED SYMBOLS
  2381. USBD_LL_GetRxDataSize
  2382. USBD_LL_Transmit
  2383. USBD_CtlSendData
  2384. USBD_CtlPrepareRx
  2385. USBD_CtlError
  2386. USBD_LL_CloseEP
  2387. USBD_static_free
  2388. USBD_LL_OpenEP
  2389. USBD_static_malloc
  2390. ARM GAS /tmp/cc5SjA9n.s page 43
  2391. USBD_LL_PrepareReceive