usbd_ctlreq.lst 217 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652
  1. ARM GAS /tmp/ccdThgzO.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_ctlreq.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.USBD_GetLen,"ax",%progbits
  19. 18 .align 1
  20. 19 .syntax unified
  21. 20 .thumb
  22. 21 .thumb_func
  23. 23 USBD_GetLen:
  24. 24 .LVL0:
  25. 25 .LFB668:
  26. 26 .file 1 "Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c"
  27. 1:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  28. 2:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ******************************************************************************
  29. 3:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @file usbd_req.c
  30. 4:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @author MCD Application Team
  31. 5:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief This file provides the standard USB requests following chapter 9.
  32. 6:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ******************************************************************************
  33. 7:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @attention
  34. 8:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *
  35. 9:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  36. 10:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * All rights reserved.</center></h2>
  37. 11:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *
  38. 12:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * This software component is licensed by ST under Ultimate Liberty license
  39. 13:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * SLA0044, the "License"; You may not use this file except in compliance with
  40. 14:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * the License. You may obtain a copy of the License at:
  41. 15:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * www.st.com/SLA0044
  42. 16:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *
  43. 17:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ******************************************************************************
  44. 18:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  45. 19:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  46. 20:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* Includes ------------------------------------------------------------------*/
  47. 21:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #include "usbd_ctlreq.h"
  48. 22:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #include "usbd_ioreq.h"
  49. 23:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  50. 24:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  51. 25:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @addtogroup STM32_USBD_STATE_DEVICE_LIBRARY
  52. 26:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  53. 27:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  54. 28:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  55. 29:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  56. 30:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ
  57. 31:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USB standard requests module
  58. 32:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  59. ARM GAS /tmp/ccdThgzO.s page 2
  60. 33:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  61. 34:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  62. 35:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_TypesDefinitions
  63. 36:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  64. 37:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  65. 38:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  66. 39:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  67. 40:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
  68. 41:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  69. 42:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  70. 43:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  71. 44:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Defines
  72. 45:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  73. 46:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  74. 47:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  75. 48:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  76. 49:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
  77. 50:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  78. 51:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  79. 52:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  80. 53:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Macros
  81. 54:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  82. 55:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  83. 56:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  84. 57:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  85. 58:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
  86. 59:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  87. 60:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  88. 61:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  89. 62:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Variables
  90. 63:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  91. 64:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  92. 65:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  93. 66:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  94. 67:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
  95. 68:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  96. 69:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  97. 70:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  98. 71:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_FunctionPrototypes
  99. 72:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  100. 73:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  101. 74:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev,
  102. 75:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  103. 76:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  104. 77:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetAddress(USBD_HandleTypeDef *pdev,
  105. 78:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  106. 79:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  107. 80:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetConfig(USBD_HandleTypeDef *pdev,
  108. 81:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  109. 82:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  110. 83:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetConfig(USBD_HandleTypeDef *pdev,
  111. 84:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  112. 85:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  113. 86:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetStatus(USBD_HandleTypeDef *pdev,
  114. 87:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  115. 88:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  116. 89:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetFeature(USBD_HandleTypeDef *pdev,
  117. ARM GAS /tmp/ccdThgzO.s page 3
  118. 90:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  119. 91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  120. 92:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_ClrFeature(USBD_HandleTypeDef *pdev,
  121. 93:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
  122. 94:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  123. 95:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t USBD_GetLen(uint8_t *buf);
  124. 96:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  125. 97:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  126. 98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
  127. 99:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  128. 100:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  129. 101:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  130. 102:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Functions
  131. 103:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
  132. 104:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  133. 105:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  134. 106:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  135. 107:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  136. 108:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_StdDevReq
  137. 109:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle standard usb device requests
  138. 110:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  139. 111:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  140. 112:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  141. 113:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  142. 114:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef USBD_StdDevReq(USBD_HandleTypeDef *pdev,
  143. 115:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  144. 116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  145. 117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  146. 118:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  147. 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
  148. 120:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  149. 121:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_CLASS:
  150. 122:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_VENDOR:
  151. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->pClass->Setup(pdev, req);
  152. 124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  153. 125:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  154. 126:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_STANDARD:
  155. 127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bRequest)
  156. 128:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  157. 129:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_DESCRIPTOR:
  158. 130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_GetDescriptor(pdev, req);
  159. 131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  160. 132:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  161. 133:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_ADDRESS:
  162. 134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetAddress(pdev, req);
  163. 135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  164. 136:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  165. 137:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_CONFIGURATION:
  166. 138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetConfig(pdev, req);
  167. 139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  168. 140:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  169. 141:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_CONFIGURATION:
  170. 142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_GetConfig(pdev, req);
  171. 143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  172. 144:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  173. 145:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_STATUS:
  174. 146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_GetStatus(pdev, req);
  175. ARM GAS /tmp/ccdThgzO.s page 4
  176. 147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  177. 148:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  178. 149:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_FEATURE:
  179. 150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetFeature(pdev, req);
  180. 151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  181. 152:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  182. 153:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_CLEAR_FEATURE:
  183. 154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrFeature(pdev, req);
  184. 155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  185. 156:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  186. 157:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  187. 158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  188. 159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  189. 160:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  190. 161:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  191. 162:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  192. 163:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  193. 164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  194. 165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  195. 166:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  196. 167:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  197. 168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return ret;
  198. 169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  199. 170:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  200. 171:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  201. 172:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_StdItfReq
  202. 173:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle standard usb interface requests
  203. 174:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  204. 175:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  205. 176:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  206. 177:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  207. 178:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef USBD_StdItfReq(USBD_HandleTypeDef *pdev,
  208. 179:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  209. 180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  210. 181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  211. 182:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  212. 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
  213. 184:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  214. 185:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_CLASS:
  215. 186:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_VENDOR:
  216. 187:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_STANDARD:
  217. 188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  218. 189:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  219. 190:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
  220. 191:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  221. 192:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  222. 193:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  223. 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (LOBYTE(req->wIndex) <= USBD_MAX_NUM_INTERFACES)
  224. 195:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  225. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ret = (USBD_StatusTypeDef)pdev->pClass->Setup(pdev, req);
  226. 197:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  227. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((req->wLength == 0U) && (ret == USBD_OK))
  228. 199:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  229. 200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  230. 201:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  231. 202:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  232. 203:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  233. ARM GAS /tmp/ccdThgzO.s page 5
  234. 204:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  235. 205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  236. 206:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  237. 207:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  238. 208:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  239. 209:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  240. 210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  241. 211:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  242. 212:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  243. 213:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  244. 214:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  245. 215:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  246. 216:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  247. 217:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  248. 218:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  249. 219:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  250. 220:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return USBD_OK;
  251. 221:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  252. 222:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  253. 223:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  254. 224:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_StdEPReq
  255. 225:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle standard usb endpoint requests
  256. 226:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  257. 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  258. 228:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  259. 229:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  260. 230:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef USBD_StdEPReq(USBD_HandleTypeDef *pdev,
  261. 231:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  262. 232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  263. 233:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_EndpointTypeDef *pep;
  264. 234:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t ep_addr;
  265. 235:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  266. 236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ep_addr = LOBYTE(req->wIndex);
  267. 237:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  268. 238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
  269. 239:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  270. 240:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_CLASS:
  271. 241:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_VENDOR:
  272. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->pClass->Setup(pdev, req);
  273. 243:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  274. 244:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  275. 245:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_STANDARD:
  276. 246:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* Check if it is a class request */
  277. 247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((req->bmRequest & 0x60U) == 0x20U)
  278. 248:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  279. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ret = (USBD_StatusTypeDef)pdev->pClass->Setup(pdev, req);
  280. 250:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  281. 251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return ret;
  282. 252:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  283. 253:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  284. 254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bRequest)
  285. 255:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  286. 256:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_FEATURE:
  287. 257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  288. 258:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  289. 259:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  290. 260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) && (ep_addr != 0x80U))
  291. ARM GAS /tmp/ccdThgzO.s page 6
  292. 261:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  293. 262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, ep_addr);
  294. 263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  295. 264:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  296. 265:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  297. 266:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  298. 267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  299. 268:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  300. 269:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  301. 270:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  302. 271:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  303. 272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_EP_HALT)
  304. 273:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  305. 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) &&
  306. 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
  307. 276:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  308. 277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, ep_addr);
  309. 278:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  310. 279:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  311. 280:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  312. 281:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  313. 282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  314. 283:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  315. 284:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  316. 285:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  317. 286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  318. 287:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  319. 288:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  320. 289:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  321. 290:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_CLEAR_FEATURE:
  322. 291:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  323. 292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  324. 293:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  325. 294:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  326. 295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) && (ep_addr != 0x80U))
  327. 296:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  328. 297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, ep_addr);
  329. 298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  330. 299:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  331. 300:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  332. 301:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  333. 302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  334. 303:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  335. 304:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  336. 305:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  337. 306:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  338. 307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_EP_HALT)
  339. 308:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  340. 309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr & 0x7FU) != 0x00U)
  341. 310:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  342. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_ClearStallEP(pdev, ep_addr);
  343. 312:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  344. 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  345. 314:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  346. 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  347. 316:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  348. 317:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  349. ARM GAS /tmp/ccdThgzO.s page 7
  350. 318:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  351. 319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  352. 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  353. 321:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  354. 322:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  355. 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_STATUS:
  356. 324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  357. 325:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  358. 326:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  359. 327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) && (ep_addr != 0x80U))
  360. 328:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  361. 329:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  362. 330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  363. 331:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  364. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \
  365. 333:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  366. 334:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  367. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0000U;
  368. 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  369. 337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pep->status, 2U);
  370. 338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  371. 339:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  372. 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  373. 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr & 0x80U) == 0x80U)
  374. 342:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  375. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->ep_in[ep_addr & 0xFU].is_used == 0U)
  376. 344:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  377. 345:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  378. 346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  379. 347:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  380. 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  381. 349:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  382. 350:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  383. 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->ep_out[ep_addr & 0xFU].is_used == 0U)
  384. 352:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  385. 353:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  386. 354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  387. 355:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  388. 356:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  389. 357:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  390. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \
  391. 359:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  392. 360:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  393. 361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr == 0x00U) || (ep_addr == 0x80U))
  394. 362:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  395. 363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0000U;
  396. 364:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  397. 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else if (USBD_LL_IsStallEP(pdev, ep_addr))
  398. 366:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  399. 367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0001U;
  400. 368:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  401. 369:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  402. 370:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  403. 371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0000U;
  404. 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  405. 373:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  406. 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pep->status, 2U);
  407. ARM GAS /tmp/ccdThgzO.s page 8
  408. 375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  409. 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  410. 377:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  411. 378:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  412. 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  413. 380:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  414. 381:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  415. 382:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  416. 383:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  417. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  418. 385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  419. 386:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  420. 387:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  421. 388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  422. 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  423. 390:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  424. 391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  425. 392:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  426. 393:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  427. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return ret;
  428. 395:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  429. 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  430. 397:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  431. 398:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  432. 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetDescriptor
  433. 400:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Get Descriptor requests
  434. 401:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  435. 402:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  436. 403:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  437. 404:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  438. 405:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev,
  439. 406:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  440. 407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  441. 408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint16_t len = 0U;
  442. 409:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t *pbuf = NULL;
  443. 410:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t err = 0U;
  444. 411:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  445. 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->wValue >> 8)
  446. 413:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  447. 414:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #if (USBD_LPM_ENABLED == 1U)
  448. 415:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_BOS:
  449. 416:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetBOSDescriptor != NULL)
  450. 417:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  451. 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetBOSDescriptor(pdev->dev_speed, &len);
  452. 419:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  453. 420:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  454. 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  455. 422:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  456. 423:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  457. 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  458. 425:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  459. 426:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
  460. 427:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_DEVICE:
  461. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetDeviceDescriptor(pdev->dev_speed, &len);
  462. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  463. 430:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  464. 431:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_CONFIGURATION:
  465. ARM GAS /tmp/ccdThgzO.s page 9
  466. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
  467. 433:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  468. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetHSConfigDescriptor(&len);
  469. 435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  470. 436:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  471. 437:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  472. 438:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  473. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetFSConfigDescriptor(&len);
  474. 440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  475. 441:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  476. 442:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  477. 443:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  478. 444:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_STRING:
  479. 445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch ((uint8_t)(req->wValue))
  480. 446:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  481. 447:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_LANGID_STR:
  482. 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetLangIDStrDescriptor != NULL)
  483. 449:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  484. 450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetLangIDStrDescriptor(pdev->dev_speed, &len);
  485. 451:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  486. 452:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  487. 453:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  488. 454:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  489. 455:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  490. 456:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  491. 457:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  492. 458:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  493. 459:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_MFC_STR:
  494. 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetManufacturerStrDescriptor != NULL)
  495. 461:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  496. 462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetManufacturerStrDescriptor(pdev->dev_speed, &len);
  497. 463:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  498. 464:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  499. 465:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  500. 466:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  501. 467:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  502. 468:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  503. 469:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  504. 470:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  505. 471:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_PRODUCT_STR:
  506. 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetProductStrDescriptor != NULL)
  507. 473:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  508. 474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetProductStrDescriptor(pdev->dev_speed, &len);
  509. 475:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  510. 476:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  511. 477:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  512. 478:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  513. 479:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  514. 480:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  515. 481:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  516. 482:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  517. 483:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_SERIAL_STR:
  518. 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetSerialStrDescriptor != NULL)
  519. 485:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  520. 486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetSerialStrDescriptor(pdev->dev_speed, &len);
  521. 487:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  522. 488:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  523. ARM GAS /tmp/ccdThgzO.s page 10
  524. 489:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  525. 490:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  526. 491:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  527. 492:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  528. 493:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  529. 494:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  530. 495:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_CONFIG_STR:
  531. 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetConfigurationStrDescriptor != NULL)
  532. 497:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  533. 498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetConfigurationStrDescriptor(pdev->dev_speed, &len);
  534. 499:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  535. 500:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  536. 501:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  537. 502:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  538. 503:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  539. 504:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  540. 505:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  541. 506:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  542. 507:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_INTERFACE_STR:
  543. 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetInterfaceStrDescriptor != NULL)
  544. 509:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  545. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetInterfaceStrDescriptor(pdev->dev_speed, &len);
  546. 511:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  547. 512:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  548. 513:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  549. 514:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  550. 515:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  551. 516:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  552. 517:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  553. 518:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  554. 519:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  555. 520:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #if (USBD_SUPPORT_USER_STRING_DESC == 1U)
  556. 521:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pClass->GetUsrStrDescriptor != NULL)
  557. 522:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  558. 523:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetUsrStrDescriptor(pdev, (req->wValue), &len);
  559. 524:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  560. 525:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  561. 526:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  562. 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  563. 528:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  564. 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  565. 530:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  566. 531:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
  567. 532:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  568. 533:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  569. 534:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
  570. 535:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  571. 536:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  572. 537:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  573. 538:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_DEVICE_QUALIFIER:
  574. 539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
  575. 540:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  576. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetDeviceQualifierDescriptor(&len);
  577. 542:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  578. 543:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  579. 544:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  580. 545:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  581. ARM GAS /tmp/ccdThgzO.s page 11
  582. 546:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  583. 547:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  584. 548:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  585. 549:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  586. 550:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION:
  587. 551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
  588. 552:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  589. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetOtherSpeedConfigDescriptor(&len);
  590. 554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
  591. 555:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  592. 556:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  593. 557:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  594. 558:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  595. 559:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  596. 560:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  597. 561:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  598. 562:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  599. 563:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  600. 564:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  601. 565:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  602. 566:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  603. 567:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  604. 568:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  605. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (err != 0U)
  606. 570:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  607. 571:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
  608. 572:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  609. 573:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  610. 574:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  611. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((len != 0U) && (req->wLength != 0U))
  612. 576:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  613. 577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** len = MIN(len, req->wLength);
  614. 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
  615. 579:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  616. 580:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  617. 581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength == 0U)
  618. 582:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  619. 583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendStatus(pdev);
  620. 584:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  621. 585:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  622. 586:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  623. 587:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  624. 588:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  625. 589:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_SetAddress
  626. 590:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Set device address
  627. 591:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  628. 592:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  629. 593:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  630. 594:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  631. 595:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetAddress(USBD_HandleTypeDef *pdev,
  632. 596:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  633. 597:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  634. 598:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t dev_addr;
  635. 599:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  636. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((req->wIndex == 0U) && (req->wLength == 0U) && (req->wValue < 128U))
  637. 601:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  638. 602:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** dev_addr = (uint8_t)(req->wValue) & 0x7FU;
  639. ARM GAS /tmp/ccdThgzO.s page 12
  640. 603:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  641. 604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_state == USBD_STATE_CONFIGURED)
  642. 605:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  643. 606:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  644. 607:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  645. 608:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  646. 609:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  647. 610:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_address = dev_addr;
  648. 611:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_SetUSBAddress(pdev, dev_addr);
  649. 612:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  650. 613:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  651. 614:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (dev_addr != 0U)
  652. 615:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  653. 616:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_ADDRESSED;
  654. 617:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  655. 618:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  656. 619:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  657. 620:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_DEFAULT;
  658. 621:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  659. 622:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  660. 623:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  661. 624:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  662. 625:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  663. 626:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  664. 627:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  665. 628:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  666. 629:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  667. 630:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  668. 631:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_SetConfig
  669. 632:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Set device configuration request
  670. 633:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  671. 634:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  672. 635:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  673. 636:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  674. 637:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetConfig(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
  675. 638:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  676. 639:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t cfgidx;
  677. 640:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  678. 641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** cfgidx = (uint8_t)(req->wValue);
  679. 642:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  680. 643:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (cfgidx > USBD_MAX_NUM_CONFIGURATION)
  681. 644:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  682. 645:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  683. 646:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  684. 647:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  685. 648:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  686. 649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  687. 650:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  688. 651:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  689. 652:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (cfgidx)
  690. 653:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  691. 654:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
  692. 655:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_CONFIGURED;
  693. 656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
  694. 657:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  695. 658:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  696. 659:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
  697. ARM GAS /tmp/ccdThgzO.s page 13
  698. 660:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  699. 661:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  700. 662:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  701. 663:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  702. 664:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  703. 665:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  704. 666:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  705. 667:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  706. 668:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  707. 669:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  708. 670:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (cfgidx == 0U)
  709. 671:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  710. 672:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_ADDRESSED;
  711. 673:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
  712. 674:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
  713. 675:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  714. 676:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  715. 677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else if (cfgidx != pdev->dev_config)
  716. 678:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  717. 679:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* Clear old configuration */
  718. 680:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, (uint8_t)pdev->dev_config);
  719. 681:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  720. 682:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* set new configuration */
  721. 683:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
  722. 684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
  723. 685:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  724. 686:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  725. 687:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
  726. 688:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  727. 689:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  728. 690:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  729. 691:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  730. 692:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  731. 693:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  732. 694:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  733. 695:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  734. 696:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  735. 697:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  736. 698:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  737. 699:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
  738. 700:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  739. 701:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  740. 702:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  741. 703:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  742. 704:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  743. 705:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  744. 706:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetConfig
  745. 707:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Get device configuration request
  746. 708:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  747. 709:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  748. 710:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  749. 711:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  750. 712:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetConfig(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
  751. 713:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  752. 714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 1U)
  753. 715:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  754. 716:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  755. ARM GAS /tmp/ccdThgzO.s page 14
  756. 717:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  757. 718:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
  758. 719:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  759. 720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  760. 721:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  761. 722:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
  762. 723:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  763. 724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_default_config = 0U;
  764. 725:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
  765. 726:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  766. 727:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  767. 728:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  768. 729:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_config, 1U);
  769. 730:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  770. 731:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  771. 732:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  772. 733:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  773. 734:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  774. 735:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  775. 736:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  776. 737:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  777. 738:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  778. 739:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  779. 740:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetStatus
  780. 741:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Get Status request
  781. 742:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  782. 743:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  783. 744:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  784. 745:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  785. 746:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetStatus(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
  786. 747:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  787. 748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  788. 749:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  789. 750:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
  790. 751:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  791. 752:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  792. 753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 0x2U)
  793. 754:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  794. 755:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  795. 756:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  796. 757:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  797. 758:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  798. 759:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #if (USBD_SELF_POWERED == 1U)
  799. 760:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config_status = USB_CONFIG_SELF_POWERED;
  800. 761:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
  801. 762:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config_status = 0U;
  802. 763:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
  803. 764:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  804. 765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_remote_wakeup)
  805. 766:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  806. 767:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config_status |= USB_CONFIG_REMOTE_WAKEUP;
  807. 768:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  808. 769:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  809. 770:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_config_status, 2U);
  810. 771:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  811. 772:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  812. 773:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  813. ARM GAS /tmp/ccdThgzO.s page 15
  814. 774:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  815. 775:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  816. 776:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  817. 777:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  818. 778:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  819. 779:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  820. 780:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  821. 781:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_SetFeature
  822. 782:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Set device feature request
  823. 783:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  824. 784:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  825. 785:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  826. 786:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  827. 787:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetFeature(USBD_HandleTypeDef *pdev,
  828. 788:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  829. 789:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  830. 790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
  831. 791:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  832. 792:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_remote_wakeup = 1U;
  833. 793:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  834. 794:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  835. 795:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  836. 796:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  837. 797:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  838. 798:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  839. 799:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_ClrFeature
  840. 800:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle clear device feature request
  841. 801:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  842. 802:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  843. 803:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
  844. 804:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  845. 805:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_ClrFeature(USBD_HandleTypeDef *pdev,
  846. 806:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  847. 807:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  848. 808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  849. 809:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  850. 810:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
  851. 811:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
  852. 812:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
  853. 813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
  854. 814:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  855. 815:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_remote_wakeup = 0U;
  856. 816:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  857. 817:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  858. 818:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  859. 819:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  860. 820:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
  861. 821:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
  862. 822:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  863. 823:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  864. 824:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  865. 825:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  866. 826:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  867. 827:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_ParseSetupRequest
  868. 828:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Copy buffer into setup structure
  869. 829:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  870. 830:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  871. ARM GAS /tmp/ccdThgzO.s page 16
  872. 831:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval None
  873. 832:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  874. 833:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  875. 834:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata)
  876. 835:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  877. 836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bmRequest = *(uint8_t *)(pdata);
  878. 837:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
  879. 838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wValue = SWAPBYTE(pdata + 2U);
  880. 839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
  881. 840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
  882. 841:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  883. 842:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  884. 843:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  885. 844:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  886. 845:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_CtlError
  887. 846:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle USB low level Error
  888. 847:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
  889. 848:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
  890. 849:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval None
  891. 850:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  892. 851:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  893. 852:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** void USBD_CtlError(USBD_HandleTypeDef *pdev,
  894. 853:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
  895. 854:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  896. 855:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  897. 856:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0U);
  898. 857:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  899. 858:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  900. 859:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  901. 860:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  902. 861:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetString
  903. 862:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Convert Ascii string into unicode one
  904. 863:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param desc : descriptor buffer
  905. 864:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param unicode : Formatted string buffer (unicode)
  906. 865:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param len : descriptor length
  907. 866:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval None
  908. 867:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  909. 868:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len)
  910. 869:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  911. 870:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t idx = 0U;
  912. 871:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  913. 872:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (desc != NULL)
  914. 873:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  915. 874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *len = (uint16_t)USBD_GetLen(desc) * 2U + 2U;
  916. 875:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
  917. 876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = USB_DESC_TYPE_STRING;
  918. 877:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  919. 878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** while (*desc != '\0')
  920. 879:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  921. 880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *desc++;
  922. 881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
  923. 882:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  924. 883:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  925. 884:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  926. 885:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  927. 886:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
  928. 887:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetLen
  929. ARM GAS /tmp/ccdThgzO.s page 17
  930. 888:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * return the string length
  931. 889:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param buf : pointer to the ascii string buffer
  932. 890:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval string length
  933. 891:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
  934. 892:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t USBD_GetLen(uint8_t *buf)
  935. 893:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  936. 27 .loc 1 893 1 view -0
  937. 28 .cfi_startproc
  938. 29 @ args = 0, pretend = 0, frame = 0
  939. 30 @ frame_needed = 0, uses_anonymous_args = 0
  940. 31 @ link register save eliminated.
  941. 32 .loc 1 893 1 is_stmt 0 view .LVU1
  942. 33 0000 0346 mov r3, r0
  943. 894:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t len = 0U;
  944. 34 .loc 1 894 3 is_stmt 1 view .LVU2
  945. 35 .LVL1:
  946. 895:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  947. 896:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** while (*buf != '\0')
  948. 36 .loc 1 896 3 view .LVU3
  949. 894:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t len = 0U;
  950. 37 .loc 1 894 12 is_stmt 0 view .LVU4
  951. 38 0002 0020 movs r0, #0
  952. 39 .LVL2:
  953. 40 .loc 1 896 9 view .LVU5
  954. 41 0004 02E0 b .L2
  955. 42 .LVL3:
  956. 43 .L3:
  957. 897:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  958. 898:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** len++;
  959. 44 .loc 1 898 5 is_stmt 1 view .LVU6
  960. 45 .loc 1 898 8 is_stmt 0 view .LVU7
  961. 46 0006 0130 adds r0, r0, #1
  962. 47 .LVL4:
  963. 48 .loc 1 898 8 view .LVU8
  964. 49 0008 C0B2 uxtb r0, r0
  965. 50 .LVL5:
  966. 899:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** buf++;
  967. 51 .loc 1 899 5 is_stmt 1 view .LVU9
  968. 52 .loc 1 899 8 is_stmt 0 view .LVU10
  969. 53 000a 0133 adds r3, r3, #1
  970. 54 .LVL6:
  971. 55 .L2:
  972. 896:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  973. 56 .loc 1 896 9 is_stmt 1 view .LVU11
  974. 896:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  975. 57 .loc 1 896 10 is_stmt 0 view .LVU12
  976. 58 000c 1A78 ldrb r2, [r3] @ zero_extendqisi2
  977. 896:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  978. 59 .loc 1 896 9 view .LVU13
  979. 60 000e 002A cmp r2, #0
  980. 61 0010 F9D1 bne .L3
  981. 900:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  982. 901:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  983. 902:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return len;
  984. 62 .loc 1 902 3 is_stmt 1 view .LVU14
  985. 903:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  986. 63 .loc 1 903 1 is_stmt 0 view .LVU15
  987. ARM GAS /tmp/ccdThgzO.s page 18
  988. 64 0012 7047 bx lr
  989. 65 .cfi_endproc
  990. 66 .LFE668:
  991. 68 .section .text.USBD_SetFeature,"ax",%progbits
  992. 69 .align 1
  993. 70 .syntax unified
  994. 71 .thumb
  995. 72 .thumb_func
  996. 74 USBD_SetFeature:
  997. 75 .LVL7:
  998. 76 .LFB663:
  999. 789:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
  1000. 77 .loc 1 789 1 is_stmt 1 view -0
  1001. 78 .cfi_startproc
  1002. 79 @ args = 0, pretend = 0, frame = 0
  1003. 80 @ frame_needed = 0, uses_anonymous_args = 0
  1004. 789:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
  1005. 81 .loc 1 789 1 is_stmt 0 view .LVU17
  1006. 82 0000 08B5 push {r3, lr}
  1007. 83 .LCFI0:
  1008. 84 .cfi_def_cfa_offset 8
  1009. 85 .cfi_offset 3, -8
  1010. 86 .cfi_offset 14, -4
  1011. 790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1012. 87 .loc 1 790 3 is_stmt 1 view .LVU18
  1013. 790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1014. 88 .loc 1 790 10 is_stmt 0 view .LVU19
  1015. 89 0002 4B88 ldrh r3, [r1, #2]
  1016. 790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1017. 90 .loc 1 790 6 view .LVU20
  1018. 91 0004 012B cmp r3, #1
  1019. 92 0006 00D0 beq .L7
  1020. 93 .LVL8:
  1021. 94 .L4:
  1022. 795:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1023. 95 .loc 1 795 1 view .LVU21
  1024. 96 0008 08BD pop {r3, pc}
  1025. 97 .LVL9:
  1026. 98 .L7:
  1027. 792:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  1028. 99 .loc 1 792 5 is_stmt 1 view .LVU22
  1029. 792:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  1030. 100 .loc 1 792 29 is_stmt 0 view .LVU23
  1031. 101 000a C0F8A432 str r3, [r0, #676]
  1032. 793:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1033. 102 .loc 1 793 5 is_stmt 1 view .LVU24
  1034. 103 000e FFF7FEFF bl USBD_CtlSendStatus
  1035. 104 .LVL10:
  1036. 795:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1037. 105 .loc 1 795 1 is_stmt 0 view .LVU25
  1038. 106 0012 F9E7 b .L4
  1039. 107 .cfi_endproc
  1040. 108 .LFE663:
  1041. 110 .section .text.USBD_ParseSetupRequest,"ax",%progbits
  1042. 111 .align 1
  1043. 112 .global USBD_ParseSetupRequest
  1044. 113 .syntax unified
  1045. ARM GAS /tmp/ccdThgzO.s page 19
  1046. 114 .thumb
  1047. 115 .thumb_func
  1048. 117 USBD_ParseSetupRequest:
  1049. 118 .LVL11:
  1050. 119 .LFB665:
  1051. 835:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bmRequest = *(uint8_t *)(pdata);
  1052. 120 .loc 1 835 1 is_stmt 1 view -0
  1053. 121 .cfi_startproc
  1054. 122 @ args = 0, pretend = 0, frame = 0
  1055. 123 @ frame_needed = 0, uses_anonymous_args = 0
  1056. 124 @ link register save eliminated.
  1057. 836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
  1058. 125 .loc 1 836 3 view .LVU27
  1059. 836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
  1060. 126 .loc 1 836 20 is_stmt 0 view .LVU28
  1061. 127 0000 0B78 ldrb r3, [r1] @ zero_extendqisi2
  1062. 836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
  1063. 128 .loc 1 836 18 view .LVU29
  1064. 129 0002 0370 strb r3, [r0]
  1065. 837:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wValue = SWAPBYTE(pdata + 2U);
  1066. 130 .loc 1 837 3 is_stmt 1 view .LVU30
  1067. 837:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wValue = SWAPBYTE(pdata + 2U);
  1068. 131 .loc 1 837 17 is_stmt 0 view .LVU31
  1069. 132 0004 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  1070. 133 0006 4370 strb r3, [r0, #1]
  1071. 838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
  1072. 134 .loc 1 838 3 is_stmt 1 view .LVU32
  1073. 838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
  1074. 135 .loc 1 838 17 is_stmt 0 view .LVU33
  1075. 136 0008 8B78 ldrb r3, [r1, #2] @ zero_extendqisi2
  1076. 137 000a CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
  1077. 138 000c 03EB0223 add r3, r3, r2, lsl #8
  1078. 838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
  1079. 139 .loc 1 838 15 view .LVU34
  1080. 140 0010 4380 strh r3, [r0, #2] @ movhi
  1081. 839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
  1082. 141 .loc 1 839 3 is_stmt 1 view .LVU35
  1083. 839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
  1084. 142 .loc 1 839 17 is_stmt 0 view .LVU36
  1085. 143 0012 0B79 ldrb r3, [r1, #4] @ zero_extendqisi2
  1086. 144 0014 4A79 ldrb r2, [r1, #5] @ zero_extendqisi2
  1087. 145 0016 03EB0223 add r3, r3, r2, lsl #8
  1088. 839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
  1089. 146 .loc 1 839 15 view .LVU37
  1090. 147 001a 8380 strh r3, [r0, #4] @ movhi
  1091. 840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1092. 148 .loc 1 840 3 is_stmt 1 view .LVU38
  1093. 840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1094. 149 .loc 1 840 18 is_stmt 0 view .LVU39
  1095. 150 001c 8B79 ldrb r3, [r1, #6] @ zero_extendqisi2
  1096. 151 001e CA79 ldrb r2, [r1, #7] @ zero_extendqisi2
  1097. 152 0020 03EB0223 add r3, r3, r2, lsl #8
  1098. 840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1099. 153 .loc 1 840 16 view .LVU40
  1100. 154 0024 C380 strh r3, [r0, #6] @ movhi
  1101. 842:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1102. 155 .loc 1 842 1 view .LVU41
  1103. ARM GAS /tmp/ccdThgzO.s page 20
  1104. 156 0026 7047 bx lr
  1105. 157 .cfi_endproc
  1106. 158 .LFE665:
  1107. 160 .section .text.USBD_CtlError,"ax",%progbits
  1108. 161 .align 1
  1109. 162 .global USBD_CtlError
  1110. 163 .syntax unified
  1111. 164 .thumb
  1112. 165 .thumb_func
  1113. 167 USBD_CtlError:
  1114. 168 .LVL12:
  1115. 169 .LFB666:
  1116. 854:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  1117. 170 .loc 1 854 1 is_stmt 1 view -0
  1118. 171 .cfi_startproc
  1119. 172 @ args = 0, pretend = 0, frame = 0
  1120. 173 @ frame_needed = 0, uses_anonymous_args = 0
  1121. 854:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  1122. 174 .loc 1 854 1 is_stmt 0 view .LVU43
  1123. 175 0000 10B5 push {r4, lr}
  1124. 176 .LCFI1:
  1125. 177 .cfi_def_cfa_offset 8
  1126. 178 .cfi_offset 4, -8
  1127. 179 .cfi_offset 14, -4
  1128. 180 0002 0446 mov r4, r0
  1129. 855:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0U);
  1130. 181 .loc 1 855 3 is_stmt 1 view .LVU44
  1131. 182 0004 8021 movs r1, #128
  1132. 183 .LVL13:
  1133. 855:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0U);
  1134. 184 .loc 1 855 3 is_stmt 0 view .LVU45
  1135. 185 0006 FFF7FEFF bl USBD_LL_StallEP
  1136. 186 .LVL14:
  1137. 856:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1138. 187 .loc 1 856 3 is_stmt 1 view .LVU46
  1139. 188 000a 0021 movs r1, #0
  1140. 189 000c 2046 mov r0, r4
  1141. 190 000e FFF7FEFF bl USBD_LL_StallEP
  1142. 191 .LVL15:
  1143. 857:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1144. 192 .loc 1 857 1 is_stmt 0 view .LVU47
  1145. 193 0012 10BD pop {r4, pc}
  1146. 857:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1147. 194 .loc 1 857 1 view .LVU48
  1148. 195 .cfi_endproc
  1149. 196 .LFE666:
  1150. 198 .section .text.USBD_GetDescriptor,"ax",%progbits
  1151. 199 .align 1
  1152. 200 .syntax unified
  1153. 201 .thumb
  1154. 202 .thumb_func
  1155. 204 USBD_GetDescriptor:
  1156. 205 .LVL16:
  1157. 206 .LFB658:
  1158. 407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint16_t len = 0U;
  1159. 207 .loc 1 407 1 is_stmt 1 view -0
  1160. 208 .cfi_startproc
  1161. ARM GAS /tmp/ccdThgzO.s page 21
  1162. 209 @ args = 0, pretend = 0, frame = 8
  1163. 210 @ frame_needed = 0, uses_anonymous_args = 0
  1164. 407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint16_t len = 0U;
  1165. 211 .loc 1 407 1 is_stmt 0 view .LVU50
  1166. 212 0000 30B5 push {r4, r5, lr}
  1167. 213 .LCFI2:
  1168. 214 .cfi_def_cfa_offset 12
  1169. 215 .cfi_offset 4, -12
  1170. 216 .cfi_offset 5, -8
  1171. 217 .cfi_offset 14, -4
  1172. 218 0002 83B0 sub sp, sp, #12
  1173. 219 .LCFI3:
  1174. 220 .cfi_def_cfa_offset 24
  1175. 221 0004 0546 mov r5, r0
  1176. 222 0006 0C46 mov r4, r1
  1177. 408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t *pbuf = NULL;
  1178. 223 .loc 1 408 3 is_stmt 1 view .LVU51
  1179. 408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t *pbuf = NULL;
  1180. 224 .loc 1 408 12 is_stmt 0 view .LVU52
  1181. 225 0008 0023 movs r3, #0
  1182. 226 000a ADF80630 strh r3, [sp, #6] @ movhi
  1183. 409:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t err = 0U;
  1184. 227 .loc 1 409 3 is_stmt 1 view .LVU53
  1185. 228 .LVL17:
  1186. 410:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1187. 229 .loc 1 410 3 view .LVU54
  1188. 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1189. 230 .loc 1 412 3 view .LVU55
  1190. 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1191. 231 .loc 1 412 14 is_stmt 0 view .LVU56
  1192. 232 000e 4A88 ldrh r2, [r1, #2]
  1193. 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1194. 233 .loc 1 412 23 view .LVU57
  1195. 234 0010 130A lsrs r3, r2, #8
  1196. 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1197. 235 .loc 1 412 3 view .LVU58
  1198. 236 0012 013B subs r3, r3, #1
  1199. 237 0014 062B cmp r3, #6
  1200. 238 0016 00F2A480 bhi .L12
  1201. 239 001a DFE803F0 tbb [pc, r3]
  1202. 240 .LVL18:
  1203. 241 .L14:
  1204. 242 001e 04 .byte (.L18-.L14)/2
  1205. 243 001f 18 .byte (.L17-.L14)/2
  1206. 244 0020 2C .byte (.L16-.L14)/2
  1207. 245 0021 A2 .byte (.L12-.L14)/2
  1208. 246 0022 A2 .byte (.L12-.L14)/2
  1209. 247 0023 86 .byte (.L15-.L14)/2
  1210. 248 0024 93 .byte (.L13-.L14)/2
  1211. 249 0025 00 .p2align 1
  1212. 250 .L18:
  1213. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1214. 251 .loc 1 428 7 is_stmt 1 view .LVU59
  1215. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1216. 252 .loc 1 428 18 is_stmt 0 view .LVU60
  1217. 253 0026 D0F8B032 ldr r3, [r0, #688]
  1218. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1219. ARM GAS /tmp/ccdThgzO.s page 22
  1220. 254 .loc 1 428 25 view .LVU61
  1221. 255 002a 1B68 ldr r3, [r3]
  1222. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1223. 256 .loc 1 428 14 view .LVU62
  1224. 257 002c 0DF10601 add r1, sp, #6
  1225. 258 0030 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1226. 259 .LVL19:
  1227. 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1228. 260 .loc 1 428 14 view .LVU63
  1229. 261 0032 9847 blx r3
  1230. 262 .LVL20:
  1231. 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1232. 263 .loc 1 429 7 is_stmt 1 view .LVU64
  1233. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1234. 264 .loc 1 569 3 view .LVU65
  1235. 265 .L19:
  1236. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1237. 266 .loc 1 575 5 view .LVU66
  1238. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1239. 267 .loc 1 575 14 is_stmt 0 view .LVU67
  1240. 268 0034 BDF80620 ldrh r2, [sp, #6]
  1241. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1242. 269 .loc 1 575 8 view .LVU68
  1243. 270 0038 1AB1 cbz r2, .L39
  1244. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1245. 271 .loc 1 575 28 discriminator 1 view .LVU69
  1246. 272 003a E388 ldrh r3, [r4, #6]
  1247. 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1248. 273 .loc 1 575 21 discriminator 1 view .LVU70
  1249. 274 003c 002B cmp r3, #0
  1250. 275 003e 40F09480 bne .L42
  1251. 276 .LVL21:
  1252. 277 .L39:
  1253. 581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1254. 278 .loc 1 581 5 is_stmt 1 view .LVU71
  1255. 581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1256. 279 .loc 1 581 12 is_stmt 0 view .LVU72
  1257. 280 0042 E388 ldrh r3, [r4, #6]
  1258. 581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1259. 281 .loc 1 581 8 view .LVU73
  1260. 282 0044 002B cmp r3, #0
  1261. 283 0046 00F09A80 beq .L43
  1262. 284 .LVL22:
  1263. 285 .L11:
  1264. 586:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1265. 286 .loc 1 586 1 view .LVU74
  1266. 287 004a 03B0 add sp, sp, #12
  1267. 288 .LCFI4:
  1268. 289 .cfi_remember_state
  1269. 290 .cfi_def_cfa_offset 12
  1270. 291 @ sp needed
  1271. 292 004c 30BD pop {r4, r5, pc}
  1272. 293 .LVL23:
  1273. 294 .L17:
  1274. 295 .LCFI5:
  1275. 296 .cfi_restore_state
  1276. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1277. ARM GAS /tmp/ccdThgzO.s page 23
  1278. 297 .loc 1 432 7 is_stmt 1 view .LVU75
  1279. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1280. 298 .loc 1 432 15 is_stmt 0 view .LVU76
  1281. 299 004e 037C ldrb r3, [r0, #16] @ zero_extendqisi2
  1282. 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1283. 300 .loc 1 432 10 view .LVU77
  1284. 301 0050 43B9 cbnz r3, .L20
  1285. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1286. 302 .loc 1 434 9 is_stmt 1 view .LVU78
  1287. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1288. 303 .loc 1 434 20 is_stmt 0 view .LVU79
  1289. 304 0052 D0F8B432 ldr r3, [r0, #692]
  1290. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1291. 305 .loc 1 434 28 view .LVU80
  1292. 306 0056 9B6A ldr r3, [r3, #40]
  1293. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1294. 307 .loc 1 434 16 view .LVU81
  1295. 308 0058 0DF10600 add r0, sp, #6
  1296. 309 .LVL24:
  1297. 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1298. 310 .loc 1 434 16 view .LVU82
  1299. 311 005c 9847 blx r3
  1300. 312 .LVL25:
  1301. 435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1302. 313 .loc 1 435 9 is_stmt 1 view .LVU83
  1303. 435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1304. 314 .loc 1 435 17 is_stmt 0 view .LVU84
  1305. 315 005e 0223 movs r3, #2
  1306. 316 0060 4370 strb r3, [r0, #1]
  1307. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1308. 317 .loc 1 569 3 is_stmt 1 view .LVU85
  1309. 318 0062 E7E7 b .L19
  1310. 319 .LVL26:
  1311. 320 .L20:
  1312. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1313. 321 .loc 1 439 9 view .LVU86
  1314. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1315. 322 .loc 1 439 20 is_stmt 0 view .LVU87
  1316. 323 0064 D0F8B432 ldr r3, [r0, #692]
  1317. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1318. 324 .loc 1 439 28 view .LVU88
  1319. 325 0068 DB6A ldr r3, [r3, #44]
  1320. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1321. 326 .loc 1 439 16 view .LVU89
  1322. 327 006a 0DF10600 add r0, sp, #6
  1323. 328 .LVL27:
  1324. 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
  1325. 329 .loc 1 439 16 view .LVU90
  1326. 330 006e 9847 blx r3
  1327. 331 .LVL28:
  1328. 440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1329. 332 .loc 1 440 9 is_stmt 1 view .LVU91
  1330. 440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1331. 333 .loc 1 440 17 is_stmt 0 view .LVU92
  1332. 334 0070 0223 movs r3, #2
  1333. 335 0072 4370 strb r3, [r0, #1]
  1334. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1335. ARM GAS /tmp/ccdThgzO.s page 24
  1336. 336 .loc 1 569 3 is_stmt 1 view .LVU93
  1337. 337 0074 DEE7 b .L19
  1338. 338 .LVL29:
  1339. 339 .L16:
  1340. 445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1341. 340 .loc 1 445 7 view .LVU94
  1342. 445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1343. 341 .loc 1 445 15 is_stmt 0 view .LVU95
  1344. 342 0076 D2B2 uxtb r2, r2
  1345. 343 0078 052A cmp r2, #5
  1346. 344 007a 52D8 bhi .L21
  1347. 345 007c DFE802F0 tbb [pc, r2]
  1348. 346 .L23:
  1349. 347 0080 03 .byte (.L28-.L23)/2
  1350. 348 0081 10 .byte (.L27-.L23)/2
  1351. 349 0082 1D .byte (.L26-.L23)/2
  1352. 350 0083 2A .byte (.L25-.L23)/2
  1353. 351 0084 37 .byte (.L24-.L23)/2
  1354. 352 0085 44 .byte (.L22-.L23)/2
  1355. 353 .p2align 1
  1356. 354 .L28:
  1357. 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1358. 355 .loc 1 448 11 is_stmt 1 view .LVU96
  1359. 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1360. 356 .loc 1 448 19 is_stmt 0 view .LVU97
  1361. 357 0086 D0F8B032 ldr r3, [r0, #688]
  1362. 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1363. 358 .loc 1 448 26 view .LVU98
  1364. 359 008a 5B68 ldr r3, [r3, #4]
  1365. 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1366. 360 .loc 1 448 14 view .LVU99
  1367. 361 008c 23B1 cbz r3, .L29
  1368. 450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1369. 362 .loc 1 450 13 is_stmt 1 view .LVU100
  1370. 450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1371. 363 .loc 1 450 20 is_stmt 0 view .LVU101
  1372. 364 008e 0DF10601 add r1, sp, #6
  1373. 365 0092 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1374. 366 .LVL30:
  1375. 450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1376. 367 .loc 1 450 20 view .LVU102
  1377. 368 0094 9847 blx r3
  1378. 369 .LVL31:
  1379. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1380. 370 .loc 1 569 3 is_stmt 1 view .LVU103
  1381. 371 0096 CDE7 b .L19
  1382. 372 .LVL32:
  1383. 373 .L29:
  1384. 454:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1385. 374 .loc 1 454 13 view .LVU104
  1386. 375 0098 2146 mov r1, r4
  1387. 376 009a FFF7FEFF bl USBD_CtlError
  1388. 377 .LVL33:
  1389. 455:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1390. 378 .loc 1 455 13 view .LVU105
  1391. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1392. 379 .loc 1 569 3 view .LVU106
  1393. ARM GAS /tmp/ccdThgzO.s page 25
  1394. 380 009e D4E7 b .L11
  1395. 381 .LVL34:
  1396. 382 .L27:
  1397. 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1398. 383 .loc 1 460 11 view .LVU107
  1399. 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1400. 384 .loc 1 460 19 is_stmt 0 view .LVU108
  1401. 385 00a0 D0F8B032 ldr r3, [r0, #688]
  1402. 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1403. 386 .loc 1 460 26 view .LVU109
  1404. 387 00a4 9B68 ldr r3, [r3, #8]
  1405. 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1406. 388 .loc 1 460 14 view .LVU110
  1407. 389 00a6 23B1 cbz r3, .L31
  1408. 462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1409. 390 .loc 1 462 13 is_stmt 1 view .LVU111
  1410. 462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1411. 391 .loc 1 462 20 is_stmt 0 view .LVU112
  1412. 392 00a8 0DF10601 add r1, sp, #6
  1413. 393 00ac 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1414. 394 .LVL35:
  1415. 462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1416. 395 .loc 1 462 20 view .LVU113
  1417. 396 00ae 9847 blx r3
  1418. 397 .LVL36:
  1419. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1420. 398 .loc 1 569 3 is_stmt 1 view .LVU114
  1421. 399 00b0 C0E7 b .L19
  1422. 400 .LVL37:
  1423. 401 .L31:
  1424. 466:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1425. 402 .loc 1 466 13 view .LVU115
  1426. 403 00b2 2146 mov r1, r4
  1427. 404 00b4 FFF7FEFF bl USBD_CtlError
  1428. 405 .LVL38:
  1429. 467:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1430. 406 .loc 1 467 13 view .LVU116
  1431. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1432. 407 .loc 1 569 3 view .LVU117
  1433. 408 00b8 C7E7 b .L11
  1434. 409 .LVL39:
  1435. 410 .L26:
  1436. 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1437. 411 .loc 1 472 11 view .LVU118
  1438. 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1439. 412 .loc 1 472 19 is_stmt 0 view .LVU119
  1440. 413 00ba D0F8B032 ldr r3, [r0, #688]
  1441. 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1442. 414 .loc 1 472 26 view .LVU120
  1443. 415 00be DB68 ldr r3, [r3, #12]
  1444. 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1445. 416 .loc 1 472 14 view .LVU121
  1446. 417 00c0 23B1 cbz r3, .L32
  1447. 474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1448. 418 .loc 1 474 13 is_stmt 1 view .LVU122
  1449. 474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1450. 419 .loc 1 474 20 is_stmt 0 view .LVU123
  1451. ARM GAS /tmp/ccdThgzO.s page 26
  1452. 420 00c2 0DF10601 add r1, sp, #6
  1453. 421 00c6 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1454. 422 .LVL40:
  1455. 474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1456. 423 .loc 1 474 20 view .LVU124
  1457. 424 00c8 9847 blx r3
  1458. 425 .LVL41:
  1459. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1460. 426 .loc 1 569 3 is_stmt 1 view .LVU125
  1461. 427 00ca B3E7 b .L19
  1462. 428 .LVL42:
  1463. 429 .L32:
  1464. 478:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1465. 430 .loc 1 478 13 view .LVU126
  1466. 431 00cc 2146 mov r1, r4
  1467. 432 00ce FFF7FEFF bl USBD_CtlError
  1468. 433 .LVL43:
  1469. 479:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1470. 434 .loc 1 479 13 view .LVU127
  1471. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1472. 435 .loc 1 569 3 view .LVU128
  1473. 436 00d2 BAE7 b .L11
  1474. 437 .LVL44:
  1475. 438 .L25:
  1476. 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1477. 439 .loc 1 484 11 view .LVU129
  1478. 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1479. 440 .loc 1 484 19 is_stmt 0 view .LVU130
  1480. 441 00d4 D0F8B032 ldr r3, [r0, #688]
  1481. 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1482. 442 .loc 1 484 26 view .LVU131
  1483. 443 00d8 1B69 ldr r3, [r3, #16]
  1484. 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1485. 444 .loc 1 484 14 view .LVU132
  1486. 445 00da 23B1 cbz r3, .L33
  1487. 486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1488. 446 .loc 1 486 13 is_stmt 1 view .LVU133
  1489. 486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1490. 447 .loc 1 486 20 is_stmt 0 view .LVU134
  1491. 448 00dc 0DF10601 add r1, sp, #6
  1492. 449 00e0 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1493. 450 .LVL45:
  1494. 486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1495. 451 .loc 1 486 20 view .LVU135
  1496. 452 00e2 9847 blx r3
  1497. 453 .LVL46:
  1498. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1499. 454 .loc 1 569 3 is_stmt 1 view .LVU136
  1500. 455 00e4 A6E7 b .L19
  1501. 456 .LVL47:
  1502. 457 .L33:
  1503. 490:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1504. 458 .loc 1 490 13 view .LVU137
  1505. 459 00e6 2146 mov r1, r4
  1506. 460 00e8 FFF7FEFF bl USBD_CtlError
  1507. 461 .LVL48:
  1508. 491:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1509. ARM GAS /tmp/ccdThgzO.s page 27
  1510. 462 .loc 1 491 13 view .LVU138
  1511. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1512. 463 .loc 1 569 3 view .LVU139
  1513. 464 00ec ADE7 b .L11
  1514. 465 .LVL49:
  1515. 466 .L24:
  1516. 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1517. 467 .loc 1 496 11 view .LVU140
  1518. 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1519. 468 .loc 1 496 19 is_stmt 0 view .LVU141
  1520. 469 00ee D0F8B032 ldr r3, [r0, #688]
  1521. 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1522. 470 .loc 1 496 26 view .LVU142
  1523. 471 00f2 5B69 ldr r3, [r3, #20]
  1524. 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1525. 472 .loc 1 496 14 view .LVU143
  1526. 473 00f4 23B1 cbz r3, .L34
  1527. 498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1528. 474 .loc 1 498 13 is_stmt 1 view .LVU144
  1529. 498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1530. 475 .loc 1 498 20 is_stmt 0 view .LVU145
  1531. 476 00f6 0DF10601 add r1, sp, #6
  1532. 477 00fa 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1533. 478 .LVL50:
  1534. 498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1535. 479 .loc 1 498 20 view .LVU146
  1536. 480 00fc 9847 blx r3
  1537. 481 .LVL51:
  1538. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1539. 482 .loc 1 569 3 is_stmt 1 view .LVU147
  1540. 483 00fe 99E7 b .L19
  1541. 484 .LVL52:
  1542. 485 .L34:
  1543. 502:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1544. 486 .loc 1 502 13 view .LVU148
  1545. 487 0100 2146 mov r1, r4
  1546. 488 0102 FFF7FEFF bl USBD_CtlError
  1547. 489 .LVL53:
  1548. 503:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1549. 490 .loc 1 503 13 view .LVU149
  1550. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1551. 491 .loc 1 569 3 view .LVU150
  1552. 492 0106 A0E7 b .L11
  1553. 493 .LVL54:
  1554. 494 .L22:
  1555. 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1556. 495 .loc 1 508 11 view .LVU151
  1557. 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1558. 496 .loc 1 508 19 is_stmt 0 view .LVU152
  1559. 497 0108 D0F8B032 ldr r3, [r0, #688]
  1560. 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1561. 498 .loc 1 508 26 view .LVU153
  1562. 499 010c 9B69 ldr r3, [r3, #24]
  1563. 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1564. 500 .loc 1 508 14 view .LVU154
  1565. 501 010e 23B1 cbz r3, .L35
  1566. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1567. ARM GAS /tmp/ccdThgzO.s page 28
  1568. 502 .loc 1 510 13 is_stmt 1 view .LVU155
  1569. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1570. 503 .loc 1 510 20 is_stmt 0 view .LVU156
  1571. 504 0110 0DF10601 add r1, sp, #6
  1572. 505 0114 007C ldrb r0, [r0, #16] @ zero_extendqisi2
  1573. 506 .LVL55:
  1574. 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1575. 507 .loc 1 510 20 view .LVU157
  1576. 508 0116 9847 blx r3
  1577. 509 .LVL56:
  1578. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1579. 510 .loc 1 569 3 is_stmt 1 view .LVU158
  1580. 511 0118 8CE7 b .L19
  1581. 512 .LVL57:
  1582. 513 .L35:
  1583. 514:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1584. 514 .loc 1 514 13 view .LVU159
  1585. 515 011a 2146 mov r1, r4
  1586. 516 011c FFF7FEFF bl USBD_CtlError
  1587. 517 .LVL58:
  1588. 515:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1589. 518 .loc 1 515 13 view .LVU160
  1590. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1591. 519 .loc 1 569 3 view .LVU161
  1592. 520 0120 93E7 b .L11
  1593. 521 .LVL59:
  1594. 522 .L21:
  1595. 532:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1596. 523 .loc 1 532 11 view .LVU162
  1597. 524 0122 2146 mov r1, r4
  1598. 525 0124 FFF7FEFF bl USBD_CtlError
  1599. 526 .LVL60:
  1600. 533:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
  1601. 527 .loc 1 533 11 view .LVU163
  1602. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1603. 528 .loc 1 569 3 view .LVU164
  1604. 529 0128 8FE7 b .L11
  1605. 530 .LVL61:
  1606. 531 .L15:
  1607. 539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1608. 532 .loc 1 539 7 view .LVU165
  1609. 539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1610. 533 .loc 1 539 15 is_stmt 0 view .LVU166
  1611. 534 012a 037C ldrb r3, [r0, #16] @ zero_extendqisi2
  1612. 539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1613. 535 .loc 1 539 10 view .LVU167
  1614. 536 012c 33B9 cbnz r3, .L36
  1615. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1616. 537 .loc 1 541 9 is_stmt 1 view .LVU168
  1617. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1618. 538 .loc 1 541 20 is_stmt 0 view .LVU169
  1619. 539 012e D0F8B432 ldr r3, [r0, #692]
  1620. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1621. 540 .loc 1 541 28 view .LVU170
  1622. 541 0132 5B6B ldr r3, [r3, #52]
  1623. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1624. 542 .loc 1 541 16 view .LVU171
  1625. ARM GAS /tmp/ccdThgzO.s page 29
  1626. 543 0134 0DF10600 add r0, sp, #6
  1627. 544 .LVL62:
  1628. 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1629. 545 .loc 1 541 16 view .LVU172
  1630. 546 0138 9847 blx r3
  1631. 547 .LVL63:
  1632. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1633. 548 .loc 1 569 3 is_stmt 1 view .LVU173
  1634. 549 013a 7BE7 b .L19
  1635. 550 .LVL64:
  1636. 551 .L36:
  1637. 545:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1638. 552 .loc 1 545 9 view .LVU174
  1639. 553 013c 2146 mov r1, r4
  1640. 554 013e FFF7FEFF bl USBD_CtlError
  1641. 555 .LVL65:
  1642. 546:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1643. 556 .loc 1 546 9 view .LVU175
  1644. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1645. 557 .loc 1 569 3 view .LVU176
  1646. 558 0142 82E7 b .L11
  1647. 559 .LVL66:
  1648. 560 .L13:
  1649. 551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1650. 561 .loc 1 551 7 view .LVU177
  1651. 551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1652. 562 .loc 1 551 15 is_stmt 0 view .LVU178
  1653. 563 0144 037C ldrb r3, [r0, #16] @ zero_extendqisi2
  1654. 551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1655. 564 .loc 1 551 10 view .LVU179
  1656. 565 0146 43B9 cbnz r3, .L37
  1657. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
  1658. 566 .loc 1 553 9 is_stmt 1 view .LVU180
  1659. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
  1660. 567 .loc 1 553 20 is_stmt 0 view .LVU181
  1661. 568 0148 D0F8B432 ldr r3, [r0, #692]
  1662. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
  1663. 569 .loc 1 553 28 view .LVU182
  1664. 570 014c 1B6B ldr r3, [r3, #48]
  1665. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
  1666. 571 .loc 1 553 16 view .LVU183
  1667. 572 014e 0DF10600 add r0, sp, #6
  1668. 573 .LVL67:
  1669. 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
  1670. 574 .loc 1 553 16 view .LVU184
  1671. 575 0152 9847 blx r3
  1672. 576 .LVL68:
  1673. 554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1674. 577 .loc 1 554 9 is_stmt 1 view .LVU185
  1675. 554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1676. 578 .loc 1 554 17 is_stmt 0 view .LVU186
  1677. 579 0154 0723 movs r3, #7
  1678. 580 0156 4370 strb r3, [r0, #1]
  1679. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1680. 581 .loc 1 569 3 is_stmt 1 view .LVU187
  1681. 582 0158 6CE7 b .L19
  1682. 583 .LVL69:
  1683. ARM GAS /tmp/ccdThgzO.s page 30
  1684. 584 .L37:
  1685. 558:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1686. 585 .loc 1 558 9 view .LVU188
  1687. 586 015a 2146 mov r1, r4
  1688. 587 015c FFF7FEFF bl USBD_CtlError
  1689. 588 .LVL70:
  1690. 559:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1691. 589 .loc 1 559 9 view .LVU189
  1692. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1693. 590 .loc 1 569 3 view .LVU190
  1694. 591 0160 73E7 b .L11
  1695. 592 .LVL71:
  1696. 593 .L12:
  1697. 564:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
  1698. 594 .loc 1 564 7 view .LVU191
  1699. 595 0162 2146 mov r1, r4
  1700. 596 0164 FFF7FEFF bl USBD_CtlError
  1701. 597 .LVL72:
  1702. 565:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1703. 598 .loc 1 565 7 view .LVU192
  1704. 566:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1705. 599 .loc 1 566 7 view .LVU193
  1706. 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1707. 600 .loc 1 569 3 view .LVU194
  1708. 571:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1709. 601 .loc 1 571 5 view .LVU195
  1710. 602 0168 6FE7 b .L11
  1711. 603 .LVL73:
  1712. 604 .L42:
  1713. 577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
  1714. 605 .loc 1 577 7 view .LVU196
  1715. 577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
  1716. 606 .loc 1 577 13 is_stmt 0 view .LVU197
  1717. 607 016a 9A42 cmp r2, r3
  1718. 608 016c 28BF it cs
  1719. 609 016e 1A46 movcs r2, r3
  1720. 577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
  1721. 610 .loc 1 577 11 view .LVU198
  1722. 611 0170 ADF80620 strh r2, [sp, #6] @ movhi
  1723. 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1724. 612 .loc 1 578 7 is_stmt 1 view .LVU199
  1725. 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1726. 613 .loc 1 578 13 is_stmt 0 view .LVU200
  1727. 614 0174 0146 mov r1, r0
  1728. 615 0176 2846 mov r0, r5
  1729. 616 .LVL74:
  1730. 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1731. 617 .loc 1 578 13 view .LVU201
  1732. 618 0178 FFF7FEFF bl USBD_CtlSendData
  1733. 619 .LVL75:
  1734. 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1735. 620 .loc 1 578 13 view .LVU202
  1736. 621 017c 61E7 b .L39
  1737. 622 .L43:
  1738. 583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1739. 623 .loc 1 583 7 is_stmt 1 view .LVU203
  1740. 583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1741. ARM GAS /tmp/ccdThgzO.s page 31
  1742. 624 .loc 1 583 13 is_stmt 0 view .LVU204
  1743. 625 017e 2846 mov r0, r5
  1744. 626 0180 FFF7FEFF bl USBD_CtlSendStatus
  1745. 627 .LVL76:
  1746. 628 0184 61E7 b .L11
  1747. 629 .cfi_endproc
  1748. 630 .LFE658:
  1749. 632 .section .text.USBD_SetAddress,"ax",%progbits
  1750. 633 .align 1
  1751. 634 .syntax unified
  1752. 635 .thumb
  1753. 636 .thumb_func
  1754. 638 USBD_SetAddress:
  1755. 639 .LVL77:
  1756. 640 .LFB659:
  1757. 597:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t dev_addr;
  1758. 641 .loc 1 597 1 is_stmt 1 view -0
  1759. 642 .cfi_startproc
  1760. 643 @ args = 0, pretend = 0, frame = 0
  1761. 644 @ frame_needed = 0, uses_anonymous_args = 0
  1762. 597:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t dev_addr;
  1763. 645 .loc 1 597 1 is_stmt 0 view .LVU206
  1764. 646 0000 38B5 push {r3, r4, r5, lr}
  1765. 647 .LCFI6:
  1766. 648 .cfi_def_cfa_offset 16
  1767. 649 .cfi_offset 3, -16
  1768. 650 .cfi_offset 4, -12
  1769. 651 .cfi_offset 5, -8
  1770. 652 .cfi_offset 14, -4
  1771. 653 0002 0446 mov r4, r0
  1772. 598:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1773. 654 .loc 1 598 3 is_stmt 1 view .LVU207
  1774. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1775. 655 .loc 1 600 3 view .LVU208
  1776. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1777. 656 .loc 1 600 11 is_stmt 0 view .LVU209
  1778. 657 0004 8B88 ldrh r3, [r1, #4]
  1779. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1780. 658 .loc 1 600 6 view .LVU210
  1781. 659 0006 F3B9 cbnz r3, .L45
  1782. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1783. 660 .loc 1 600 34 discriminator 1 view .LVU211
  1784. 661 0008 CB88 ldrh r3, [r1, #6]
  1785. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1786. 662 .loc 1 600 27 discriminator 1 view .LVU212
  1787. 663 000a E3B9 cbnz r3, .L45
  1788. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1789. 664 .loc 1 600 58 discriminator 2 view .LVU213
  1790. 665 000c 4B88 ldrh r3, [r1, #2]
  1791. 600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1792. 666 .loc 1 600 51 discriminator 2 view .LVU214
  1793. 667 000e 7F2B cmp r3, #127
  1794. 668 0010 19D8 bhi .L45
  1795. 602:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1796. 669 .loc 1 602 5 is_stmt 1 view .LVU215
  1797. 602:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1798. 670 .loc 1 602 14 is_stmt 0 view .LVU216
  1799. ARM GAS /tmp/ccdThgzO.s page 32
  1800. 671 0012 03F07F05 and r5, r3, #127
  1801. 672 .LVL78:
  1802. 604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1803. 673 .loc 1 604 5 is_stmt 1 view .LVU217
  1804. 604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1805. 674 .loc 1 604 13 is_stmt 0 view .LVU218
  1806. 675 0016 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1807. 604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1808. 676 .loc 1 604 8 view .LVU219
  1809. 677 001a 032B cmp r3, #3
  1810. 678 001c 0CD0 beq .L50
  1811. 610:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_SetUSBAddress(pdev, dev_addr);
  1812. 679 .loc 1 610 7 is_stmt 1 view .LVU220
  1813. 610:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_SetUSBAddress(pdev, dev_addr);
  1814. 680 .loc 1 610 25 is_stmt 0 view .LVU221
  1815. 681 001e 80F89E52 strb r5, [r0, #670]
  1816. 611:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  1817. 682 .loc 1 611 7 is_stmt 1 view .LVU222
  1818. 683 0022 2946 mov r1, r5
  1819. 684 .LVL79:
  1820. 611:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  1821. 685 .loc 1 611 7 is_stmt 0 view .LVU223
  1822. 686 0024 FFF7FEFF bl USBD_LL_SetUSBAddress
  1823. 687 .LVL80:
  1824. 612:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1825. 688 .loc 1 612 7 is_stmt 1 view .LVU224
  1826. 689 0028 2046 mov r0, r4
  1827. 690 002a FFF7FEFF bl USBD_CtlSendStatus
  1828. 691 .LVL81:
  1829. 614:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1830. 692 .loc 1 614 7 view .LVU225
  1831. 614:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1832. 693 .loc 1 614 10 is_stmt 0 view .LVU226
  1833. 694 002e 35B1 cbz r5, .L48
  1834. 616:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1835. 695 .loc 1 616 9 is_stmt 1 view .LVU227
  1836. 616:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1837. 696 .loc 1 616 25 is_stmt 0 view .LVU228
  1838. 697 0030 0223 movs r3, #2
  1839. 698 0032 84F89C32 strb r3, [r4, #668]
  1840. 699 0036 09E0 b .L44
  1841. 700 .LVL82:
  1842. 701 .L50:
  1843. 606:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1844. 702 .loc 1 606 7 is_stmt 1 view .LVU229
  1845. 703 0038 FFF7FEFF bl USBD_CtlError
  1846. 704 .LVL83:
  1847. 606:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1848. 705 .loc 1 606 7 is_stmt 0 view .LVU230
  1849. 706 003c 06E0 b .L44
  1850. 707 .L48:
  1851. 620:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1852. 708 .loc 1 620 9 is_stmt 1 view .LVU231
  1853. 620:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1854. 709 .loc 1 620 25 is_stmt 0 view .LVU232
  1855. 710 003e 0123 movs r3, #1
  1856. 711 0040 84F89C32 strb r3, [r4, #668]
  1857. ARM GAS /tmp/ccdThgzO.s page 33
  1858. 712 0044 02E0 b .L44
  1859. 713 .LVL84:
  1860. 714 .L45:
  1861. 626:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1862. 715 .loc 1 626 5 is_stmt 1 view .LVU233
  1863. 716 0046 2046 mov r0, r4
  1864. 717 .LVL85:
  1865. 626:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1866. 718 .loc 1 626 5 is_stmt 0 view .LVU234
  1867. 719 0048 FFF7FEFF bl USBD_CtlError
  1868. 720 .LVL86:
  1869. 721 .L44:
  1870. 628:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1871. 722 .loc 1 628 1 view .LVU235
  1872. 723 004c 38BD pop {r3, r4, r5, pc}
  1873. 628:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1874. 724 .loc 1 628 1 view .LVU236
  1875. 725 .cfi_endproc
  1876. 726 .LFE659:
  1877. 728 .section .text.USBD_SetConfig,"ax",%progbits
  1878. 729 .align 1
  1879. 730 .syntax unified
  1880. 731 .thumb
  1881. 732 .thumb_func
  1882. 734 USBD_SetConfig:
  1883. 735 .LVL87:
  1884. 736 .LFB660:
  1885. 638:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t cfgidx;
  1886. 737 .loc 1 638 1 is_stmt 1 view -0
  1887. 738 .cfi_startproc
  1888. 739 @ args = 0, pretend = 0, frame = 0
  1889. 740 @ frame_needed = 0, uses_anonymous_args = 0
  1890. 638:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t cfgidx;
  1891. 741 .loc 1 638 1 is_stmt 0 view .LVU238
  1892. 742 0000 38B5 push {r3, r4, r5, lr}
  1893. 743 .LCFI7:
  1894. 744 .cfi_def_cfa_offset 16
  1895. 745 .cfi_offset 3, -16
  1896. 746 .cfi_offset 4, -12
  1897. 747 .cfi_offset 5, -8
  1898. 748 .cfi_offset 14, -4
  1899. 749 0002 0446 mov r4, r0
  1900. 750 0004 0D46 mov r5, r1
  1901. 639:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1902. 751 .loc 1 639 3 is_stmt 1 view .LVU239
  1903. 641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1904. 752 .loc 1 641 3 view .LVU240
  1905. 641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1906. 753 .loc 1 641 12 is_stmt 0 view .LVU241
  1907. 754 0006 8978 ldrb r1, [r1, #2] @ zero_extendqisi2
  1908. 755 .LVL88:
  1909. 641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1910. 756 .loc 1 641 10 view .LVU242
  1911. 757 0008 284B ldr r3, .L68
  1912. 758 000a 1970 strb r1, [r3]
  1913. 643:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1914. 759 .loc 1 643 3 is_stmt 1 view .LVU243
  1915. ARM GAS /tmp/ccdThgzO.s page 34
  1916. 643:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1917. 760 .loc 1 643 6 is_stmt 0 view .LVU244
  1918. 761 000c 0129 cmp r1, #1
  1919. 762 000e 0ED8 bhi .L64
  1920. 649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1921. 763 .loc 1 649 5 is_stmt 1 view .LVU245
  1922. 649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1923. 764 .loc 1 649 17 is_stmt 0 view .LVU246
  1924. 765 0010 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  1925. 649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1926. 766 .loc 1 649 5 view .LVU247
  1927. 767 0014 022B cmp r3, #2
  1928. 768 0016 0ED0 beq .L54
  1929. 769 0018 032B cmp r3, #3
  1930. 770 001a 21D0 beq .L55
  1931. 698:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
  1932. 771 .loc 1 698 9 is_stmt 1 view .LVU248
  1933. 772 001c 2946 mov r1, r5
  1934. 773 001e FFF7FEFF bl USBD_CtlError
  1935. 774 .LVL89:
  1936. 699:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  1937. 775 .loc 1 699 9 view .LVU249
  1938. 776 0022 224B ldr r3, .L68
  1939. 777 0024 1978 ldrb r1, [r3] @ zero_extendqisi2
  1940. 778 0026 2046 mov r0, r4
  1941. 779 0028 FFF7FEFF bl USBD_ClrClassConfig
  1942. 780 .LVL90:
  1943. 700:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1944. 781 .loc 1 700 9 view .LVU250
  1945. 782 002c 02E0 b .L51
  1946. 783 .LVL91:
  1947. 784 .L64:
  1948. 645:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1949. 785 .loc 1 645 5 view .LVU251
  1950. 786 002e 2946 mov r1, r5
  1951. 787 0030 FFF7FEFF bl USBD_CtlError
  1952. 788 .LVL92:
  1953. 789 .L51:
  1954. 703:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  1955. 790 .loc 1 703 1 is_stmt 0 view .LVU252
  1956. 791 0034 38BD pop {r3, r4, r5, pc}
  1957. 792 .LVL93:
  1958. 793 .L54:
  1959. 652:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1960. 794 .loc 1 652 9 is_stmt 1 view .LVU253
  1961. 652:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1962. 795 .loc 1 652 12 is_stmt 0 view .LVU254
  1963. 796 0036 81B1 cbz r1, .L57
  1964. 654:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_CONFIGURED;
  1965. 797 .loc 1 654 11 is_stmt 1 view .LVU255
  1966. 654:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_CONFIGURED;
  1967. 798 .loc 1 654 28 is_stmt 0 view .LVU256
  1968. 799 0038 4160 str r1, [r0, #4]
  1969. 655:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
  1970. 800 .loc 1 655 11 is_stmt 1 view .LVU257
  1971. 655:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
  1972. 801 .loc 1 655 27 is_stmt 0 view .LVU258
  1973. ARM GAS /tmp/ccdThgzO.s page 35
  1974. 802 003a 0323 movs r3, #3
  1975. 803 003c 80F89C32 strb r3, [r0, #668]
  1976. 656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1977. 804 .loc 1 656 11 is_stmt 1 view .LVU259
  1978. 656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1979. 805 .loc 1 656 15 is_stmt 0 view .LVU260
  1980. 806 0040 FFF7FEFF bl USBD_SetClassConfig
  1981. 807 .LVL94:
  1982. 656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  1983. 808 .loc 1 656 14 view .LVU261
  1984. 809 0044 0228 cmp r0, #2
  1985. 810 0046 03D0 beq .L65
  1986. 661:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  1987. 811 .loc 1 661 11 is_stmt 1 view .LVU262
  1988. 812 0048 2046 mov r0, r4
  1989. 813 004a FFF7FEFF bl USBD_CtlSendStatus
  1990. 814 .LVL95:
  1991. 815 004e F1E7 b .L51
  1992. 816 .L65:
  1993. 658:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
  1994. 817 .loc 1 658 13 view .LVU263
  1995. 818 0050 2946 mov r1, r5
  1996. 819 0052 2046 mov r0, r4
  1997. 820 0054 FFF7FEFF bl USBD_CtlError
  1998. 821 .LVL96:
  1999. 659:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2000. 822 .loc 1 659 13 view .LVU264
  2001. 823 0058 ECE7 b .L51
  2002. 824 .LVL97:
  2003. 825 .L57:
  2004. 665:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2005. 826 .loc 1 665 11 view .LVU265
  2006. 827 005a FFF7FEFF bl USBD_CtlSendStatus
  2007. 828 .LVL98:
  2008. 665:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2009. 829 .loc 1 665 11 is_stmt 0 view .LVU266
  2010. 830 005e E9E7 b .L51
  2011. 831 .LVL99:
  2012. 832 .L55:
  2013. 670:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2014. 833 .loc 1 670 9 is_stmt 1 view .LVU267
  2015. 670:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2016. 834 .loc 1 670 12 is_stmt 0 view .LVU268
  2017. 835 0060 89B1 cbz r1, .L66
  2018. 677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2019. 836 .loc 1 677 14 is_stmt 1 view .LVU269
  2020. 677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2021. 837 .loc 1 677 32 is_stmt 0 view .LVU270
  2022. 838 0062 4368 ldr r3, [r0, #4]
  2023. 677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2024. 839 .loc 1 677 17 view .LVU271
  2025. 840 0064 9942 cmp r1, r3
  2026. 841 0066 1DD0 beq .L60
  2027. 680:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2028. 842 .loc 1 680 11 is_stmt 1 view .LVU272
  2029. 843 0068 D9B2 uxtb r1, r3
  2030. 844 006a FFF7FEFF bl USBD_ClrClassConfig
  2031. ARM GAS /tmp/ccdThgzO.s page 36
  2032. 845 .LVL100:
  2033. 683:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
  2034. 846 .loc 1 683 11 view .LVU273
  2035. 683:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
  2036. 847 .loc 1 683 28 is_stmt 0 view .LVU274
  2037. 848 006e 0F4B ldr r3, .L68
  2038. 849 0070 1978 ldrb r1, [r3] @ zero_extendqisi2
  2039. 850 0072 6160 str r1, [r4, #4]
  2040. 684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2041. 851 .loc 1 684 11 is_stmt 1 view .LVU275
  2042. 684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2043. 852 .loc 1 684 15 is_stmt 0 view .LVU276
  2044. 853 0074 2046 mov r0, r4
  2045. 854 0076 FFF7FEFF bl USBD_SetClassConfig
  2046. 855 .LVL101:
  2047. 684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2048. 856 .loc 1 684 14 view .LVU277
  2049. 857 007a 0228 cmp r0, #2
  2050. 858 007c 0DD0 beq .L67
  2051. 689:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2052. 859 .loc 1 689 11 is_stmt 1 view .LVU278
  2053. 860 007e 2046 mov r0, r4
  2054. 861 0080 FFF7FEFF bl USBD_CtlSendStatus
  2055. 862 .LVL102:
  2056. 863 0084 D6E7 b .L51
  2057. 864 .LVL103:
  2058. 865 .L66:
  2059. 672:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
  2060. 866 .loc 1 672 11 view .LVU279
  2061. 672:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
  2062. 867 .loc 1 672 27 is_stmt 0 view .LVU280
  2063. 868 0086 0223 movs r3, #2
  2064. 869 0088 80F89C32 strb r3, [r0, #668]
  2065. 673:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
  2066. 870 .loc 1 673 11 is_stmt 1 view .LVU281
  2067. 673:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
  2068. 871 .loc 1 673 28 is_stmt 0 view .LVU282
  2069. 872 008c 4160 str r1, [r0, #4]
  2070. 674:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  2071. 873 .loc 1 674 11 is_stmt 1 view .LVU283
  2072. 874 008e FFF7FEFF bl USBD_ClrClassConfig
  2073. 875 .LVL104:
  2074. 675:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2075. 876 .loc 1 675 11 view .LVU284
  2076. 877 0092 2046 mov r0, r4
  2077. 878 0094 FFF7FEFF bl USBD_CtlSendStatus
  2078. 879 .LVL105:
  2079. 880 0098 CCE7 b .L51
  2080. 881 .L67:
  2081. 686:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
  2082. 882 .loc 1 686 13 view .LVU285
  2083. 883 009a 2946 mov r1, r5
  2084. 884 009c 2046 mov r0, r4
  2085. 885 009e FFF7FEFF bl USBD_CtlError
  2086. 886 .LVL106:
  2087. 687:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2088. 887 .loc 1 687 13 view .LVU286
  2089. ARM GAS /tmp/ccdThgzO.s page 37
  2090. 888 00a2 C7E7 b .L51
  2091. 889 .LVL107:
  2092. 890 .L60:
  2093. 693:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2094. 891 .loc 1 693 11 view .LVU287
  2095. 892 00a4 FFF7FEFF bl USBD_CtlSendStatus
  2096. 893 .LVL108:
  2097. 693:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2098. 894 .loc 1 693 11 is_stmt 0 view .LVU288
  2099. 895 00a8 C4E7 b .L51
  2100. 896 .L69:
  2101. 897 00aa 00BF .align 2
  2102. 898 .L68:
  2103. 899 00ac 00000000 .word .LANCHOR0
  2104. 900 .cfi_endproc
  2105. 901 .LFE660:
  2106. 903 .section .text.USBD_GetConfig,"ax",%progbits
  2107. 904 .align 1
  2108. 905 .syntax unified
  2109. 906 .thumb
  2110. 907 .thumb_func
  2111. 909 USBD_GetConfig:
  2112. 910 .LVL109:
  2113. 911 .LFB661:
  2114. 713:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 1U)
  2115. 912 .loc 1 713 1 is_stmt 1 view -0
  2116. 913 .cfi_startproc
  2117. 914 @ args = 0, pretend = 0, frame = 0
  2118. 915 @ frame_needed = 0, uses_anonymous_args = 0
  2119. 713:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 1U)
  2120. 916 .loc 1 713 1 is_stmt 0 view .LVU290
  2121. 917 0000 08B5 push {r3, lr}
  2122. 918 .LCFI8:
  2123. 919 .cfi_def_cfa_offset 8
  2124. 920 .cfi_offset 3, -8
  2125. 921 .cfi_offset 14, -4
  2126. 714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2127. 922 .loc 1 714 3 is_stmt 1 view .LVU291
  2128. 714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2129. 923 .loc 1 714 10 is_stmt 0 view .LVU292
  2130. 924 0002 CB88 ldrh r3, [r1, #6]
  2131. 714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2132. 925 .loc 1 714 6 view .LVU293
  2133. 926 0004 012B cmp r3, #1
  2134. 927 0006 0AD1 bne .L78
  2135. 720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2136. 928 .loc 1 720 5 is_stmt 1 view .LVU294
  2137. 720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2138. 929 .loc 1 720 17 is_stmt 0 view .LVU295
  2139. 930 0008 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  2140. 720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2141. 931 .loc 1 720 5 view .LVU296
  2142. 932 000c 022B cmp r3, #2
  2143. 933 000e 09D9 bls .L79
  2144. 934 0010 032B cmp r3, #3
  2145. 935 0012 09D1 bne .L75
  2146. 729:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2147. ARM GAS /tmp/ccdThgzO.s page 38
  2148. 936 .loc 1 729 9 is_stmt 1 view .LVU297
  2149. 937 0014 0122 movs r2, #1
  2150. 938 0016 011D adds r1, r0, #4
  2151. 939 .LVL110:
  2152. 729:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2153. 940 .loc 1 729 9 is_stmt 0 view .LVU298
  2154. 941 0018 FFF7FEFF bl USBD_CtlSendData
  2155. 942 .LVL111:
  2156. 730:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2157. 943 .loc 1 730 9 is_stmt 1 view .LVU299
  2158. 944 001c 01E0 b .L70
  2159. 945 .LVL112:
  2160. 946 .L78:
  2161. 716:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2162. 947 .loc 1 716 5 view .LVU300
  2163. 948 001e FFF7FEFF bl USBD_CtlError
  2164. 949 .LVL113:
  2165. 950 .L70:
  2166. 737:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2167. 951 .loc 1 737 1 is_stmt 0 view .LVU301
  2168. 952 0022 08BD pop {r3, pc}
  2169. 953 .LVL114:
  2170. 954 .L79:
  2171. 720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2172. 955 .loc 1 720 5 view .LVU302
  2173. 956 0024 5BB2 sxtb r3, r3
  2174. 957 0026 13B9 cbnz r3, .L80
  2175. 958 .L75:
  2176. 733:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2177. 959 .loc 1 733 9 is_stmt 1 view .LVU303
  2178. 960 0028 FFF7FEFF bl USBD_CtlError
  2179. 961 .LVL115:
  2180. 734:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2181. 962 .loc 1 734 9 view .LVU304
  2182. 737:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2183. 963 .loc 1 737 1 is_stmt 0 view .LVU305
  2184. 964 002c F9E7 b .L70
  2185. 965 .LVL116:
  2186. 966 .L80:
  2187. 724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
  2188. 967 .loc 1 724 9 is_stmt 1 view .LVU306
  2189. 724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
  2190. 968 .loc 1 724 34 is_stmt 0 view .LVU307
  2191. 969 002e 0146 mov r1, r0
  2192. 970 .LVL117:
  2193. 724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
  2194. 971 .loc 1 724 34 view .LVU308
  2195. 972 0030 0023 movs r3, #0
  2196. 973 0032 41F8083F str r3, [r1, #8]!
  2197. 725:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2198. 974 .loc 1 725 9 is_stmt 1 view .LVU309
  2199. 975 0036 0122 movs r2, #1
  2200. 976 0038 FFF7FEFF bl USBD_CtlSendData
  2201. 977 .LVL118:
  2202. 726:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2203. 978 .loc 1 726 9 view .LVU310
  2204. 979 003c F1E7 b .L70
  2205. ARM GAS /tmp/ccdThgzO.s page 39
  2206. 980 .cfi_endproc
  2207. 981 .LFE661:
  2208. 983 .section .text.USBD_GetStatus,"ax",%progbits
  2209. 984 .align 1
  2210. 985 .syntax unified
  2211. 986 .thumb
  2212. 987 .thumb_func
  2213. 989 USBD_GetStatus:
  2214. 990 .LVL119:
  2215. 991 .LFB662:
  2216. 747:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  2217. 992 .loc 1 747 1 view -0
  2218. 993 .cfi_startproc
  2219. 994 @ args = 0, pretend = 0, frame = 0
  2220. 995 @ frame_needed = 0, uses_anonymous_args = 0
  2221. 747:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  2222. 996 .loc 1 747 1 is_stmt 0 view .LVU312
  2223. 997 0000 08B5 push {r3, lr}
  2224. 998 .LCFI9:
  2225. 999 .cfi_def_cfa_offset 8
  2226. 1000 .cfi_offset 3, -8
  2227. 1001 .cfi_offset 14, -4
  2228. 748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2229. 1002 .loc 1 748 3 is_stmt 1 view .LVU313
  2230. 748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2231. 1003 .loc 1 748 15 is_stmt 0 view .LVU314
  2232. 1004 0002 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  2233. 748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2234. 1005 .loc 1 748 3 view .LVU315
  2235. 1006 0006 013B subs r3, r3, #1
  2236. 1007 0008 022B cmp r3, #2
  2237. 1008 000a 12D8 bhi .L82
  2238. 753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2239. 1009 .loc 1 753 7 is_stmt 1 view .LVU316
  2240. 753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2241. 1010 .loc 1 753 14 is_stmt 0 view .LVU317
  2242. 1011 000c CB88 ldrh r3, [r1, #6]
  2243. 753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2244. 1012 .loc 1 753 10 view .LVU318
  2245. 1013 000e 022B cmp r3, #2
  2246. 1014 0010 0CD1 bne .L87
  2247. 760:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
  2248. 1015 .loc 1 760 7 is_stmt 1 view .LVU319
  2249. 760:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
  2250. 1016 .loc 1 760 31 is_stmt 0 view .LVU320
  2251. 1017 0012 0123 movs r3, #1
  2252. 1018 0014 C360 str r3, [r0, #12]
  2253. 765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2254. 1019 .loc 1 765 7 is_stmt 1 view .LVU321
  2255. 765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2256. 1020 .loc 1 765 15 is_stmt 0 view .LVU322
  2257. 1021 0016 D0F8A432 ldr r3, [r0, #676]
  2258. 765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2259. 1022 .loc 1 765 10 view .LVU323
  2260. 1023 001a 0BB1 cbz r3, .L85
  2261. 767:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2262. 1024 .loc 1 767 9 is_stmt 1 view .LVU324
  2263. ARM GAS /tmp/ccdThgzO.s page 40
  2264. 767:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2265. 1025 .loc 1 767 33 is_stmt 0 view .LVU325
  2266. 1026 001c 0323 movs r3, #3
  2267. 1027 001e C360 str r3, [r0, #12]
  2268. 1028 .L85:
  2269. 770:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2270. 1029 .loc 1 770 7 is_stmt 1 view .LVU326
  2271. 1030 0020 0222 movs r2, #2
  2272. 1031 0022 00F10C01 add r1, r0, #12
  2273. 1032 .LVL120:
  2274. 770:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2275. 1033 .loc 1 770 7 is_stmt 0 view .LVU327
  2276. 1034 0026 FFF7FEFF bl USBD_CtlSendData
  2277. 1035 .LVL121:
  2278. 771:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2279. 1036 .loc 1 771 7 is_stmt 1 view .LVU328
  2280. 1037 .L81:
  2281. 777:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2282. 1038 .loc 1 777 1 is_stmt 0 view .LVU329
  2283. 1039 002a 08BD pop {r3, pc}
  2284. 1040 .LVL122:
  2285. 1041 .L87:
  2286. 755:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2287. 1042 .loc 1 755 9 is_stmt 1 view .LVU330
  2288. 1043 002c FFF7FEFF bl USBD_CtlError
  2289. 1044 .LVL123:
  2290. 756:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2291. 1045 .loc 1 756 9 view .LVU331
  2292. 1046 0030 FBE7 b .L81
  2293. 1047 .LVL124:
  2294. 1048 .L82:
  2295. 774:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2296. 1049 .loc 1 774 7 view .LVU332
  2297. 1050 0032 FFF7FEFF bl USBD_CtlError
  2298. 1051 .LVL125:
  2299. 775:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2300. 1052 .loc 1 775 7 view .LVU333
  2301. 777:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2302. 1053 .loc 1 777 1 is_stmt 0 view .LVU334
  2303. 1054 0036 F8E7 b .L81
  2304. 1055 .cfi_endproc
  2305. 1056 .LFE662:
  2306. 1058 .section .text.USBD_ClrFeature,"ax",%progbits
  2307. 1059 .align 1
  2308. 1060 .syntax unified
  2309. 1061 .thumb
  2310. 1062 .thumb_func
  2311. 1064 USBD_ClrFeature:
  2312. 1065 .LVL126:
  2313. 1066 .LFB664:
  2314. 807:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  2315. 1067 .loc 1 807 1 is_stmt 1 view -0
  2316. 1068 .cfi_startproc
  2317. 1069 @ args = 0, pretend = 0, frame = 0
  2318. 1070 @ frame_needed = 0, uses_anonymous_args = 0
  2319. 807:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
  2320. 1071 .loc 1 807 1 is_stmt 0 view .LVU336
  2321. ARM GAS /tmp/ccdThgzO.s page 41
  2322. 1072 0000 08B5 push {r3, lr}
  2323. 1073 .LCFI10:
  2324. 1074 .cfi_def_cfa_offset 8
  2325. 1075 .cfi_offset 3, -8
  2326. 1076 .cfi_offset 14, -4
  2327. 808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2328. 1077 .loc 1 808 3 is_stmt 1 view .LVU337
  2329. 808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2330. 1078 .loc 1 808 15 is_stmt 0 view .LVU338
  2331. 1079 0002 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  2332. 808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2333. 1080 .loc 1 808 3 view .LVU339
  2334. 1081 0006 013B subs r3, r3, #1
  2335. 1082 0008 022B cmp r3, #2
  2336. 1083 000a 09D8 bhi .L89
  2337. 813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2338. 1084 .loc 1 813 7 is_stmt 1 view .LVU340
  2339. 813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2340. 1085 .loc 1 813 14 is_stmt 0 view .LVU341
  2341. 1086 000c 4B88 ldrh r3, [r1, #2]
  2342. 813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2343. 1087 .loc 1 813 10 view .LVU342
  2344. 1088 000e 012B cmp r3, #1
  2345. 1089 0010 00D0 beq .L92
  2346. 1090 .LVL127:
  2347. 1091 .L88:
  2348. 824:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2349. 1092 .loc 1 824 1 view .LVU343
  2350. 1093 0012 08BD pop {r3, pc}
  2351. 1094 .LVL128:
  2352. 1095 .L92:
  2353. 815:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  2354. 1096 .loc 1 815 9 is_stmt 1 view .LVU344
  2355. 815:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
  2356. 1097 .loc 1 815 33 is_stmt 0 view .LVU345
  2357. 1098 0014 0023 movs r3, #0
  2358. 1099 0016 C0F8A432 str r3, [r0, #676]
  2359. 816:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2360. 1100 .loc 1 816 9 is_stmt 1 view .LVU346
  2361. 1101 001a FFF7FEFF bl USBD_CtlSendStatus
  2362. 1102 .LVL129:
  2363. 816:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2364. 1103 .loc 1 816 9 is_stmt 0 view .LVU347
  2365. 1104 001e F8E7 b .L88
  2366. 1105 .LVL130:
  2367. 1106 .L89:
  2368. 821:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2369. 1107 .loc 1 821 7 is_stmt 1 view .LVU348
  2370. 1108 0020 FFF7FEFF bl USBD_CtlError
  2371. 1109 .LVL131:
  2372. 822:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2373. 1110 .loc 1 822 7 view .LVU349
  2374. 824:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2375. 1111 .loc 1 824 1 is_stmt 0 view .LVU350
  2376. 1112 0024 F5E7 b .L88
  2377. 1113 .cfi_endproc
  2378. 1114 .LFE664:
  2379. ARM GAS /tmp/ccdThgzO.s page 42
  2380. 1116 .section .text.USBD_StdDevReq,"ax",%progbits
  2381. 1117 .align 1
  2382. 1118 .global USBD_StdDevReq
  2383. 1119 .syntax unified
  2384. 1120 .thumb
  2385. 1121 .thumb_func
  2386. 1123 USBD_StdDevReq:
  2387. 1124 .LVL132:
  2388. 1125 .LFB655:
  2389. 116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  2390. 1126 .loc 1 116 1 is_stmt 1 view -0
  2391. 1127 .cfi_startproc
  2392. 1128 @ args = 0, pretend = 0, frame = 0
  2393. 1129 @ frame_needed = 0, uses_anonymous_args = 0
  2394. 116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  2395. 1130 .loc 1 116 1 is_stmt 0 view .LVU352
  2396. 1131 0000 08B5 push {r3, lr}
  2397. 1132 .LCFI11:
  2398. 1133 .cfi_def_cfa_offset 8
  2399. 1134 .cfi_offset 3, -8
  2400. 1135 .cfi_offset 14, -4
  2401. 117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2402. 1136 .loc 1 117 3 is_stmt 1 view .LVU353
  2403. 1137 .LVL133:
  2404. 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2405. 1138 .loc 1 119 3 view .LVU354
  2406. 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2407. 1139 .loc 1 119 14 is_stmt 0 view .LVU355
  2408. 1140 0002 0B78 ldrb r3, [r1] @ zero_extendqisi2
  2409. 1141 0004 03F06003 and r3, r3, #96
  2410. 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2411. 1142 .loc 1 119 3 view .LVU356
  2412. 1143 0008 202B cmp r3, #32
  2413. 1144 000a 05D0 beq .L94
  2414. 1145 000c 402B cmp r3, #64
  2415. 1146 000e 03D0 beq .L94
  2416. 1147 0010 43B1 cbz r3, .L109
  2417. 164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2418. 1148 .loc 1 164 7 is_stmt 1 view .LVU357
  2419. 1149 0012 FFF7FEFF bl USBD_CtlError
  2420. 1150 .LVL134:
  2421. 165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2422. 1151 .loc 1 165 7 view .LVU358
  2423. 1152 0016 03E0 b .L97
  2424. 1153 .LVL135:
  2425. 1154 .L94:
  2426. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2427. 1155 .loc 1 123 7 view .LVU359
  2428. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2429. 1156 .loc 1 123 11 is_stmt 0 view .LVU360
  2430. 1157 0018 D0F8B432 ldr r3, [r0, #692]
  2431. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2432. 1158 .loc 1 123 19 view .LVU361
  2433. 1159 001c 9B68 ldr r3, [r3, #8]
  2434. 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2435. 1160 .loc 1 123 7 view .LVU362
  2436. 1161 001e 9847 blx r3
  2437. ARM GAS /tmp/ccdThgzO.s page 43
  2438. 1162 .LVL136:
  2439. 124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2440. 1163 .loc 1 124 7 is_stmt 1 view .LVU363
  2441. 1164 .L97:
  2442. 168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2443. 1165 .loc 1 168 3 view .LVU364
  2444. 169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2445. 1166 .loc 1 169 1 is_stmt 0 view .LVU365
  2446. 1167 0020 0020 movs r0, #0
  2447. 1168 0022 08BD pop {r3, pc}
  2448. 1169 .LVL137:
  2449. 1170 .L109:
  2450. 127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2451. 1171 .loc 1 127 7 is_stmt 1 view .LVU366
  2452. 127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2453. 1172 .loc 1 127 18 is_stmt 0 view .LVU367
  2454. 1173 0024 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  2455. 1174 0026 092B cmp r3, #9
  2456. 1175 0028 1BD8 bhi .L98
  2457. 1176 002a DFE803F0 tbb [pc, r3]
  2458. 1177 .L100:
  2459. 1178 002e 11 .byte (.L106-.L100)/2
  2460. 1179 002f 17 .byte (.L105-.L100)/2
  2461. 1180 0030 1A .byte (.L98-.L100)/2
  2462. 1181 0031 14 .byte (.L104-.L100)/2
  2463. 1182 0032 1A .byte (.L98-.L100)/2
  2464. 1183 0033 08 .byte (.L103-.L100)/2
  2465. 1184 0034 05 .byte (.L102-.L100)/2
  2466. 1185 0035 1A .byte (.L98-.L100)/2
  2467. 1186 0036 0E .byte (.L101-.L100)/2
  2468. 1187 0037 0B .byte (.L99-.L100)/2
  2469. 1188 .p2align 1
  2470. 1189 .L102:
  2471. 130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2472. 1190 .loc 1 130 11 is_stmt 1 view .LVU368
  2473. 1191 0038 FFF7FEFF bl USBD_GetDescriptor
  2474. 1192 .LVL138:
  2475. 131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2476. 1193 .loc 1 131 11 view .LVU369
  2477. 1194 003c F0E7 b .L97
  2478. 1195 .LVL139:
  2479. 1196 .L103:
  2480. 134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2481. 1197 .loc 1 134 11 view .LVU370
  2482. 1198 003e FFF7FEFF bl USBD_SetAddress
  2483. 1199 .LVL140:
  2484. 135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2485. 1200 .loc 1 135 11 view .LVU371
  2486. 1201 0042 EDE7 b .L97
  2487. 1202 .LVL141:
  2488. 1203 .L99:
  2489. 138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2490. 1204 .loc 1 138 11 view .LVU372
  2491. 1205 0044 FFF7FEFF bl USBD_SetConfig
  2492. 1206 .LVL142:
  2493. 139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2494. 1207 .loc 1 139 11 view .LVU373
  2495. ARM GAS /tmp/ccdThgzO.s page 44
  2496. 1208 0048 EAE7 b .L97
  2497. 1209 .LVL143:
  2498. 1210 .L101:
  2499. 142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2500. 1211 .loc 1 142 11 view .LVU374
  2501. 1212 004a FFF7FEFF bl USBD_GetConfig
  2502. 1213 .LVL144:
  2503. 143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2504. 1214 .loc 1 143 11 view .LVU375
  2505. 1215 004e E7E7 b .L97
  2506. 1216 .LVL145:
  2507. 1217 .L106:
  2508. 146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2509. 1218 .loc 1 146 11 view .LVU376
  2510. 1219 0050 FFF7FEFF bl USBD_GetStatus
  2511. 1220 .LVL146:
  2512. 147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2513. 1221 .loc 1 147 11 view .LVU377
  2514. 1222 0054 E4E7 b .L97
  2515. 1223 .LVL147:
  2516. 1224 .L104:
  2517. 150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2518. 1225 .loc 1 150 11 view .LVU378
  2519. 1226 0056 FFF7FEFF bl USBD_SetFeature
  2520. 1227 .LVL148:
  2521. 151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2522. 1228 .loc 1 151 11 view .LVU379
  2523. 1229 005a E1E7 b .L97
  2524. 1230 .LVL149:
  2525. 1231 .L105:
  2526. 154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2527. 1232 .loc 1 154 11 view .LVU380
  2528. 1233 005c FFF7FEFF bl USBD_ClrFeature
  2529. 1234 .LVL150:
  2530. 155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2531. 1235 .loc 1 155 11 view .LVU381
  2532. 1236 0060 DEE7 b .L97
  2533. 1237 .LVL151:
  2534. 1238 .L98:
  2535. 158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2536. 1239 .loc 1 158 11 view .LVU382
  2537. 1240 0062 FFF7FEFF bl USBD_CtlError
  2538. 1241 .LVL152:
  2539. 159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2540. 1242 .loc 1 159 11 view .LVU383
  2541. 1243 0066 DBE7 b .L97
  2542. 1244 .cfi_endproc
  2543. 1245 .LFE655:
  2544. 1247 .section .text.USBD_StdItfReq,"ax",%progbits
  2545. 1248 .align 1
  2546. 1249 .global USBD_StdItfReq
  2547. 1250 .syntax unified
  2548. 1251 .thumb
  2549. 1252 .thumb_func
  2550. 1254 USBD_StdItfReq:
  2551. 1255 .LVL153:
  2552. 1256 .LFB656:
  2553. ARM GAS /tmp/ccdThgzO.s page 45
  2554. 180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  2555. 1257 .loc 1 180 1 view -0
  2556. 1258 .cfi_startproc
  2557. 1259 @ args = 0, pretend = 0, frame = 0
  2558. 1260 @ frame_needed = 0, uses_anonymous_args = 0
  2559. 180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  2560. 1261 .loc 1 180 1 is_stmt 0 view .LVU385
  2561. 1262 0000 38B5 push {r3, r4, r5, lr}
  2562. 1263 .LCFI12:
  2563. 1264 .cfi_def_cfa_offset 16
  2564. 1265 .cfi_offset 3, -16
  2565. 1266 .cfi_offset 4, -12
  2566. 1267 .cfi_offset 5, -8
  2567. 1268 .cfi_offset 14, -4
  2568. 1269 0002 0546 mov r5, r0
  2569. 1270 0004 0C46 mov r4, r1
  2570. 181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2571. 1271 .loc 1 181 3 is_stmt 1 view .LVU386
  2572. 1272 .LVL154:
  2573. 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2574. 1273 .loc 1 183 3 view .LVU387
  2575. 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2576. 1274 .loc 1 183 14 is_stmt 0 view .LVU388
  2577. 1275 0006 0B78 ldrb r3, [r1] @ zero_extendqisi2
  2578. 1276 0008 03F06003 and r3, r3, #96
  2579. 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2580. 1277 .loc 1 183 3 view .LVU389
  2581. 1278 000c 202B cmp r3, #32
  2582. 1279 000e 06D0 beq .L111
  2583. 1280 0010 402B cmp r3, #64
  2584. 1281 0012 04D0 beq .L111
  2585. 1282 0014 1BB1 cbz r3, .L111
  2586. 216:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2587. 1283 .loc 1 216 7 is_stmt 1 view .LVU390
  2588. 1284 0016 FFF7FEFF bl USBD_CtlError
  2589. 1285 .LVL155:
  2590. 217:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2591. 1286 .loc 1 217 7 view .LVU391
  2592. 1287 .L115:
  2593. 220:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2594. 1288 .loc 1 220 3 view .LVU392
  2595. 221:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2596. 1289 .loc 1 221 1 is_stmt 0 view .LVU393
  2597. 1290 001a 0020 movs r0, #0
  2598. 1291 001c 38BD pop {r3, r4, r5, pc}
  2599. 1292 .LVL156:
  2600. 1293 .L111:
  2601. 188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2602. 1294 .loc 1 188 7 is_stmt 1 view .LVU394
  2603. 188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2604. 1295 .loc 1 188 19 is_stmt 0 view .LVU395
  2605. 1296 001e 95F89C32 ldrb r3, [r5, #668] @ zero_extendqisi2
  2606. 1297 0022 013B subs r3, r3, #1
  2607. 1298 0024 022B cmp r3, #2
  2608. 1299 0026 16D8 bhi .L113
  2609. 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2610. 1300 .loc 1 194 11 is_stmt 1 view .LVU396
  2611. ARM GAS /tmp/ccdThgzO.s page 46
  2612. 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2613. 1301 .loc 1 194 15 is_stmt 0 view .LVU397
  2614. 1302 0028 2379 ldrb r3, [r4, #4] @ zero_extendqisi2
  2615. 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2616. 1303 .loc 1 194 14 view .LVU398
  2617. 1304 002a 012B cmp r3, #1
  2618. 1305 002c 0ED8 bhi .L114
  2619. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2620. 1306 .loc 1 196 13 is_stmt 1 view .LVU399
  2621. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2622. 1307 .loc 1 196 43 is_stmt 0 view .LVU400
  2623. 1308 002e D5F8B432 ldr r3, [r5, #692]
  2624. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2625. 1309 .loc 1 196 51 view .LVU401
  2626. 1310 0032 9B68 ldr r3, [r3, #8]
  2627. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2628. 1311 .loc 1 196 39 view .LVU402
  2629. 1312 0034 2146 mov r1, r4
  2630. 1313 .LVL157:
  2631. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2632. 1314 .loc 1 196 39 view .LVU403
  2633. 1315 0036 2846 mov r0, r5
  2634. 1316 .LVL158:
  2635. 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2636. 1317 .loc 1 196 39 view .LVU404
  2637. 1318 0038 9847 blx r3
  2638. 1319 .LVL159:
  2639. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2640. 1320 .loc 1 198 13 is_stmt 1 view .LVU405
  2641. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2642. 1321 .loc 1 198 21 is_stmt 0 view .LVU406
  2643. 1322 003a E388 ldrh r3, [r4, #6]
  2644. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2645. 1323 .loc 1 198 16 view .LVU407
  2646. 1324 003c 002B cmp r3, #0
  2647. 1325 003e ECD1 bne .L115
  2648. 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2649. 1326 .loc 1 198 38 discriminator 1 view .LVU408
  2650. 1327 0040 0028 cmp r0, #0
  2651. 1328 0042 EAD1 bne .L115
  2652. 200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2653. 1329 .loc 1 200 15 is_stmt 1 view .LVU409
  2654. 1330 0044 2846 mov r0, r5
  2655. 1331 .LVL160:
  2656. 200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2657. 1332 .loc 1 200 15 is_stmt 0 view .LVU410
  2658. 1333 0046 FFF7FEFF bl USBD_CtlSendStatus
  2659. 1334 .LVL161:
  2660. 1335 004a E6E7 b .L115
  2661. 1336 .LVL162:
  2662. 1337 .L114:
  2663. 205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2664. 1338 .loc 1 205 13 is_stmt 1 view .LVU411
  2665. 1339 004c 2146 mov r1, r4
  2666. 1340 .LVL163:
  2667. 205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2668. 1341 .loc 1 205 13 is_stmt 0 view .LVU412
  2669. ARM GAS /tmp/ccdThgzO.s page 47
  2670. 1342 004e 2846 mov r0, r5
  2671. 1343 .LVL164:
  2672. 205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2673. 1344 .loc 1 205 13 view .LVU413
  2674. 1345 0050 FFF7FEFF bl USBD_CtlError
  2675. 1346 .LVL165:
  2676. 1347 0054 E1E7 b .L115
  2677. 1348 .LVL166:
  2678. 1349 .L113:
  2679. 210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2680. 1350 .loc 1 210 11 is_stmt 1 view .LVU414
  2681. 1351 0056 2146 mov r1, r4
  2682. 1352 .LVL167:
  2683. 210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2684. 1353 .loc 1 210 11 is_stmt 0 view .LVU415
  2685. 1354 0058 2846 mov r0, r5
  2686. 1355 .LVL168:
  2687. 210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2688. 1356 .loc 1 210 11 view .LVU416
  2689. 1357 005a FFF7FEFF bl USBD_CtlError
  2690. 1358 .LVL169:
  2691. 211:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2692. 1359 .loc 1 211 11 is_stmt 1 view .LVU417
  2693. 1360 005e DCE7 b .L115
  2694. 1361 .cfi_endproc
  2695. 1362 .LFE656:
  2696. 1364 .section .text.USBD_StdEPReq,"ax",%progbits
  2697. 1365 .align 1
  2698. 1366 .global USBD_StdEPReq
  2699. 1367 .syntax unified
  2700. 1368 .thumb
  2701. 1369 .thumb_func
  2702. 1371 USBD_StdEPReq:
  2703. 1372 .LVL170:
  2704. 1373 .LFB657:
  2705. 232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_EndpointTypeDef *pep;
  2706. 1374 .loc 1 232 1 view -0
  2707. 1375 .cfi_startproc
  2708. 1376 @ args = 0, pretend = 0, frame = 0
  2709. 1377 @ frame_needed = 0, uses_anonymous_args = 0
  2710. 232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_EndpointTypeDef *pep;
  2711. 1378 .loc 1 232 1 is_stmt 0 view .LVU419
  2712. 1379 0000 70B5 push {r4, r5, r6, lr}
  2713. 1380 .LCFI13:
  2714. 1381 .cfi_def_cfa_offset 16
  2715. 1382 .cfi_offset 4, -16
  2716. 1383 .cfi_offset 5, -12
  2717. 1384 .cfi_offset 6, -8
  2718. 1385 .cfi_offset 14, -4
  2719. 1386 0002 0546 mov r5, r0
  2720. 233:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t ep_addr;
  2721. 1387 .loc 1 233 3 is_stmt 1 view .LVU420
  2722. 234:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
  2723. 1388 .loc 1 234 3 view .LVU421
  2724. 235:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ep_addr = LOBYTE(req->wIndex);
  2725. 1389 .loc 1 235 3 view .LVU422
  2726. 1390 .LVL171:
  2727. ARM GAS /tmp/ccdThgzO.s page 48
  2728. 236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2729. 1391 .loc 1 236 3 view .LVU423
  2730. 236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2731. 1392 .loc 1 236 14 is_stmt 0 view .LVU424
  2732. 1393 0004 8B88 ldrh r3, [r1, #4]
  2733. 1394 .LVL172:
  2734. 238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2735. 1395 .loc 1 238 3 is_stmt 1 view .LVU425
  2736. 238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2737. 1396 .loc 1 238 14 is_stmt 0 view .LVU426
  2738. 1397 0006 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2739. 1398 0008 04F06004 and r4, r4, #96
  2740. 238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2741. 1399 .loc 1 238 3 view .LVU427
  2742. 1400 000c 202C cmp r4, #32
  2743. 1401 000e 07D0 beq .L118
  2744. 1402 0010 DAB2 uxtb r2, r3
  2745. 1403 0012 402C cmp r4, #64
  2746. 1404 0014 04D0 beq .L118
  2747. 1405 0016 5CB1 cbz r4, .L157
  2748. 390:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2749. 1406 .loc 1 390 7 is_stmt 1 view .LVU428
  2750. 1407 0018 FFF7FEFF bl USBD_CtlError
  2751. 1408 .LVL173:
  2752. 391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2753. 1409 .loc 1 391 7 view .LVU429
  2754. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2755. 1410 .loc 1 394 10 is_stmt 0 view .LVU430
  2756. 1411 001c 0024 movs r4, #0
  2757. 391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2758. 1412 .loc 1 391 7 view .LVU431
  2759. 1413 001e 05E0 b .L121
  2760. 1414 .LVL174:
  2761. 1415 .L118:
  2762. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2763. 1416 .loc 1 242 7 is_stmt 1 view .LVU432
  2764. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2765. 1417 .loc 1 242 11 is_stmt 0 view .LVU433
  2766. 1418 0020 D5F8B432 ldr r3, [r5, #692]
  2767. 1419 .LVL175:
  2768. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2769. 1420 .loc 1 242 19 view .LVU434
  2770. 1421 0024 9B68 ldr r3, [r3, #8]
  2771. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2772. 1422 .loc 1 242 7 view .LVU435
  2773. 1423 0026 2846 mov r0, r5
  2774. 1424 .LVL176:
  2775. 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2776. 1425 .loc 1 242 7 view .LVU436
  2777. 1426 0028 9847 blx r3
  2778. 1427 .LVL177:
  2779. 243:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2780. 1428 .loc 1 243 7 is_stmt 1 view .LVU437
  2781. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2782. 1429 .loc 1 394 10 is_stmt 0 view .LVU438
  2783. 1430 002a 0024 movs r4, #0
  2784. 1431 .LVL178:
  2785. ARM GAS /tmp/ccdThgzO.s page 49
  2786. 1432 .L121:
  2787. 395:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2788. 1433 .loc 1 395 1 view .LVU439
  2789. 1434 002c 2046 mov r0, r4
  2790. 1435 002e 70BD pop {r4, r5, r6, pc}
  2791. 1436 .LVL179:
  2792. 1437 .L157:
  2793. 247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2794. 1438 .loc 1 247 7 is_stmt 1 view .LVU440
  2795. 247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2796. 1439 .loc 1 247 10 is_stmt 0 view .LVU441
  2797. 1440 0030 202C cmp r4, #32
  2798. 1441 0032 09D0 beq .L158
  2799. 254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2800. 1442 .loc 1 254 7 is_stmt 1 view .LVU442
  2801. 254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2802. 1443 .loc 1 254 18 is_stmt 0 view .LVU443
  2803. 1444 0034 4E78 ldrb r6, [r1, #1] @ zero_extendqisi2
  2804. 1445 0036 012E cmp r6, #1
  2805. 1446 0038 33D0 beq .L123
  2806. 1447 003a 032E cmp r6, #3
  2807. 1448 003c 0AD0 beq .L124
  2808. 1449 003e 002E cmp r6, #0
  2809. 1450 0040 55D0 beq .L159
  2810. 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2811. 1451 .loc 1 384 11 is_stmt 1 view .LVU444
  2812. 1452 0042 FFF7FEFF bl USBD_CtlError
  2813. 1453 .LVL180:
  2814. 385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2815. 1454 .loc 1 385 11 view .LVU445
  2816. 1455 0046 F1E7 b .L121
  2817. 1456 .LVL181:
  2818. 1457 .L158:
  2819. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2820. 1458 .loc 1 249 9 view .LVU446
  2821. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2822. 1459 .loc 1 249 39 is_stmt 0 view .LVU447
  2823. 1460 0048 D0F8B432 ldr r3, [r0, #692]
  2824. 1461 .LVL182:
  2825. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2826. 1462 .loc 1 249 47 view .LVU448
  2827. 1463 004c 9B68 ldr r3, [r3, #8]
  2828. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2829. 1464 .loc 1 249 35 view .LVU449
  2830. 1465 004e 9847 blx r3
  2831. 1466 .LVL183:
  2832. 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2833. 1467 .loc 1 249 35 view .LVU450
  2834. 1468 0050 0446 mov r4, r0
  2835. 1469 .LVL184:
  2836. 251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2837. 1470 .loc 1 251 9 is_stmt 1 view .LVU451
  2838. 251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2839. 1471 .loc 1 251 16 is_stmt 0 view .LVU452
  2840. 1472 0052 EBE7 b .L121
  2841. 1473 .LVL185:
  2842. 1474 .L124:
  2843. ARM GAS /tmp/ccdThgzO.s page 50
  2844. 257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2845. 1475 .loc 1 257 11 is_stmt 1 discriminator 3 view .LVU453
  2846. 257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2847. 1476 .loc 1 257 23 is_stmt 0 discriminator 3 view .LVU454
  2848. 1477 0054 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  2849. 1478 .LVL186:
  2850. 257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2851. 1479 .loc 1 257 23 discriminator 3 view .LVU455
  2852. 1480 0058 022B cmp r3, #2
  2853. 1481 005a 04D0 beq .L127
  2854. 1482 005c 032B cmp r3, #3
  2855. 1483 005e 11D0 beq .L128
  2856. 285:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2857. 1484 .loc 1 285 15 is_stmt 1 view .LVU456
  2858. 1485 0060 FFF7FEFF bl USBD_CtlError
  2859. 1486 .LVL187:
  2860. 286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2861. 1487 .loc 1 286 15 view .LVU457
  2862. 1488 0064 E2E7 b .L121
  2863. 1489 .LVL188:
  2864. 1490 .L127:
  2865. 260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2866. 1491 .loc 1 260 15 view .LVU458
  2867. 260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2868. 1492 .loc 1 260 18 is_stmt 0 view .LVU459
  2869. 1493 0066 0AB1 cbz r2, .L130
  2870. 260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2871. 1494 .loc 1 260 38 discriminator 1 view .LVU460
  2872. 1495 0068 802A cmp r2, #128
  2873. 1496 006a 03D1 bne .L160
  2874. 1497 .L130:
  2875. 267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2876. 1498 .loc 1 267 17 is_stmt 1 view .LVU461
  2877. 1499 006c 2846 mov r0, r5
  2878. 1500 .LVL189:
  2879. 267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2880. 1501 .loc 1 267 17 is_stmt 0 view .LVU462
  2881. 1502 006e FFF7FEFF bl USBD_CtlError
  2882. 1503 .LVL190:
  2883. 267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2884. 1504 .loc 1 267 17 view .LVU463
  2885. 1505 0072 DBE7 b .L121
  2886. 1506 .LVL191:
  2887. 1507 .L160:
  2888. 262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  2889. 1508 .loc 1 262 17 is_stmt 1 view .LVU464
  2890. 1509 0074 1146 mov r1, r2
  2891. 1510 .LVL192:
  2892. 262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  2893. 1511 .loc 1 262 17 is_stmt 0 view .LVU465
  2894. 1512 0076 FFF7FEFF bl USBD_LL_StallEP
  2895. 1513 .LVL193:
  2896. 263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2897. 1514 .loc 1 263 17 is_stmt 1 view .LVU466
  2898. 1515 007a 8021 movs r1, #128
  2899. 1516 007c 2846 mov r0, r5
  2900. 1517 007e FFF7FEFF bl USBD_LL_StallEP
  2901. ARM GAS /tmp/ccdThgzO.s page 51
  2902. 1518 .LVL194:
  2903. 1519 0082 D3E7 b .L121
  2904. 1520 .LVL195:
  2905. 1521 .L128:
  2906. 272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2907. 1522 .loc 1 272 15 view .LVU467
  2908. 272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2909. 1523 .loc 1 272 22 is_stmt 0 view .LVU468
  2910. 1524 0084 4B88 ldrh r3, [r1, #2]
  2911. 272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2912. 1525 .loc 1 272 18 view .LVU469
  2913. 1526 0086 23B9 cbnz r3, .L131
  2914. 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
  2915. 1527 .loc 1 274 17 is_stmt 1 view .LVU470
  2916. 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
  2917. 1528 .loc 1 274 20 is_stmt 0 view .LVU471
  2918. 1529 0088 1AB1 cbz r2, .L131
  2919. 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
  2920. 1530 .loc 1 274 40 discriminator 1 view .LVU472
  2921. 1531 008a 802A cmp r2, #128
  2922. 1532 008c 01D0 beq .L131
  2923. 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2924. 1533 .loc 1 275 47 view .LVU473
  2925. 1534 008e CB88 ldrh r3, [r1, #6]
  2926. 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2927. 1535 .loc 1 275 40 view .LVU474
  2928. 1536 0090 1BB1 cbz r3, .L161
  2929. 1537 .LVL196:
  2930. 1538 .L131:
  2931. 280:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2932. 1539 .loc 1 280 15 is_stmt 1 view .LVU475
  2933. 1540 0092 2846 mov r0, r5
  2934. 1541 0094 FFF7FEFF bl USBD_CtlSendStatus
  2935. 1542 .LVL197:
  2936. 282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  2937. 1543 .loc 1 282 15 view .LVU476
  2938. 1544 0098 C8E7 b .L121
  2939. 1545 .LVL198:
  2940. 1546 .L161:
  2941. 277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2942. 1547 .loc 1 277 19 view .LVU477
  2943. 1548 009a 1146 mov r1, r2
  2944. 1549 .LVL199:
  2945. 277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2946. 1550 .loc 1 277 19 is_stmt 0 view .LVU478
  2947. 1551 009c FFF7FEFF bl USBD_LL_StallEP
  2948. 1552 .LVL200:
  2949. 277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2950. 1553 .loc 1 277 19 view .LVU479
  2951. 1554 00a0 F7E7 b .L131
  2952. 1555 .LVL201:
  2953. 1556 .L123:
  2954. 292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2955. 1557 .loc 1 292 11 is_stmt 1 discriminator 2 view .LVU480
  2956. 292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2957. 1558 .loc 1 292 23 is_stmt 0 discriminator 2 view .LVU481
  2958. 1559 00a2 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
  2959. ARM GAS /tmp/ccdThgzO.s page 52
  2960. 1560 .LVL202:
  2961. 292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2962. 1561 .loc 1 292 23 discriminator 2 view .LVU482
  2963. 1562 00a6 022B cmp r3, #2
  2964. 1563 00a8 04D0 beq .L132
  2965. 1564 00aa 032B cmp r3, #3
  2966. 1565 00ac 11D0 beq .L133
  2967. 318:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  2968. 1566 .loc 1 318 15 is_stmt 1 view .LVU483
  2969. 1567 00ae FFF7FEFF bl USBD_CtlError
  2970. 1568 .LVL203:
  2971. 319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2972. 1569 .loc 1 319 15 view .LVU484
  2973. 1570 00b2 BBE7 b .L121
  2974. 1571 .LVL204:
  2975. 1572 .L132:
  2976. 295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2977. 1573 .loc 1 295 15 view .LVU485
  2978. 295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2979. 1574 .loc 1 295 18 is_stmt 0 view .LVU486
  2980. 1575 00b4 0AB1 cbz r2, .L135
  2981. 295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  2982. 1576 .loc 1 295 38 discriminator 1 view .LVU487
  2983. 1577 00b6 802A cmp r2, #128
  2984. 1578 00b8 03D1 bne .L162
  2985. 1579 .L135:
  2986. 302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2987. 1580 .loc 1 302 17 is_stmt 1 view .LVU488
  2988. 1581 00ba 2846 mov r0, r5
  2989. 1582 .LVL205:
  2990. 302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2991. 1583 .loc 1 302 17 is_stmt 0 view .LVU489
  2992. 1584 00bc FFF7FEFF bl USBD_CtlError
  2993. 1585 .LVL206:
  2994. 302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  2995. 1586 .loc 1 302 17 view .LVU490
  2996. 1587 00c0 B4E7 b .L121
  2997. 1588 .LVL207:
  2998. 1589 .L162:
  2999. 297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  3000. 1590 .loc 1 297 17 is_stmt 1 view .LVU491
  3001. 1591 00c2 1146 mov r1, r2
  3002. 1592 .LVL208:
  3003. 297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
  3004. 1593 .loc 1 297 17 is_stmt 0 view .LVU492
  3005. 1594 00c4 FFF7FEFF bl USBD_LL_StallEP
  3006. 1595 .LVL209:
  3007. 298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3008. 1596 .loc 1 298 17 is_stmt 1 view .LVU493
  3009. 1597 00c8 8021 movs r1, #128
  3010. 1598 00ca 2846 mov r0, r5
  3011. 1599 00cc FFF7FEFF bl USBD_LL_StallEP
  3012. 1600 .LVL210:
  3013. 1601 00d0 ACE7 b .L121
  3014. 1602 .LVL211:
  3015. 1603 .L133:
  3016. 307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3017. ARM GAS /tmp/ccdThgzO.s page 53
  3018. 1604 .loc 1 307 15 view .LVU494
  3019. 307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3020. 1605 .loc 1 307 22 is_stmt 0 view .LVU495
  3021. 1606 00d2 4B88 ldrh r3, [r1, #2]
  3022. 307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3023. 1607 .loc 1 307 18 view .LVU496
  3024. 1608 00d4 002B cmp r3, #0
  3025. 1609 00d6 A9D1 bne .L121
  3026. 309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3027. 1610 .loc 1 309 17 is_stmt 1 view .LVU497
  3028. 309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3029. 1611 .loc 1 309 20 is_stmt 0 view .LVU498
  3030. 1612 00d8 12F07F0F tst r2, #127
  3031. 1613 00dc 03D1 bne .L163
  3032. 1614 .LVL212:
  3033. 1615 .L136:
  3034. 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3035. 1616 .loc 1 313 17 is_stmt 1 view .LVU499
  3036. 1617 00de 2846 mov r0, r5
  3037. 1618 00e0 FFF7FEFF bl USBD_CtlSendStatus
  3038. 1619 .LVL213:
  3039. 1620 00e4 A2E7 b .L121
  3040. 1621 .LVL214:
  3041. 1622 .L163:
  3042. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3043. 1623 .loc 1 311 19 view .LVU500
  3044. 1624 00e6 1146 mov r1, r2
  3045. 1625 .LVL215:
  3046. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3047. 1626 .loc 1 311 19 is_stmt 0 view .LVU501
  3048. 1627 00e8 FFF7FEFF bl USBD_LL_ClearStallEP
  3049. 1628 .LVL216:
  3050. 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3051. 1629 .loc 1 311 19 view .LVU502
  3052. 1630 00ec F7E7 b .L136
  3053. 1631 .LVL217:
  3054. 1632 .L159:
  3055. 324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3056. 1633 .loc 1 324 11 is_stmt 1 discriminator 1 view .LVU503
  3057. 324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3058. 1634 .loc 1 324 23 is_stmt 0 discriminator 1 view .LVU504
  3059. 1635 00ee 90F89C02 ldrb r0, [r0, #668] @ zero_extendqisi2
  3060. 1636 .LVL218:
  3061. 324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3062. 1637 .loc 1 324 23 discriminator 1 view .LVU505
  3063. 1638 00f2 0228 cmp r0, #2
  3064. 1639 00f4 06D0 beq .L137
  3065. 1640 00f6 0328 cmp r0, #3
  3066. 1641 00f8 29D0 beq .L138
  3067. 378:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  3068. 1642 .loc 1 378 15 is_stmt 1 view .LVU506
  3069. 1643 00fa 2846 mov r0, r5
  3070. 1644 00fc FFF7FEFF bl USBD_CtlError
  3071. 1645 .LVL219:
  3072. 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3073. 1646 .loc 1 379 15 view .LVU507
  3074. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3075. ARM GAS /tmp/ccdThgzO.s page 54
  3076. 1647 .loc 1 394 10 is_stmt 0 view .LVU508
  3077. 1648 0100 3446 mov r4, r6
  3078. 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3079. 1649 .loc 1 379 15 view .LVU509
  3080. 1650 0102 93E7 b .L121
  3081. 1651 .LVL220:
  3082. 1652 .L137:
  3083. 327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3084. 1653 .loc 1 327 15 is_stmt 1 view .LVU510
  3085. 327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3086. 1654 .loc 1 327 18 is_stmt 0 view .LVU511
  3087. 1655 0104 0AB1 cbz r2, .L140
  3088. 327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3089. 1656 .loc 1 327 38 discriminator 1 view .LVU512
  3090. 1657 0106 802A cmp r2, #128
  3091. 1658 0108 13D1 bne .L164
  3092. 1659 .L140:
  3093. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3094. 1660 .loc 1 332 15 is_stmt 1 view .LVU513
  3095. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3096. 1661 .loc 1 332 82 is_stmt 0 view .LVU514
  3097. 1662 010a 13F0800F tst r3, #128
  3098. 1663 010e 15D1 bne .L165
  3099. 333:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3100. 1664 .loc 1 333 43 discriminator 2 view .LVU515
  3101. 1665 0110 02F07F02 and r2, r2, #127
  3102. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3103. 1666 .loc 1 332 82 discriminator 2 view .LVU516
  3104. 1667 0114 02EB8202 add r2, r2, r2, lsl #2
  3105. 1668 0118 9100 lsls r1, r2, #2
  3106. 1669 .LVL221:
  3107. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3108. 1670 .loc 1 332 82 discriminator 2 view .LVU517
  3109. 1671 011a 01F5A871 add r1, r1, #336
  3110. 1672 011e 2944 add r1, r1, r5
  3111. 1673 0120 0431 adds r1, r1, #4
  3112. 1674 .L142:
  3113. 1675 .LVL222:
  3114. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3115. 1676 .loc 1 335 15 is_stmt 1 discriminator 4 view .LVU518
  3116. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3117. 1677 .loc 1 335 27 is_stmt 0 discriminator 4 view .LVU519
  3118. 1678 0122 0023 movs r3, #0
  3119. 1679 .LVL223:
  3120. 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3121. 1680 .loc 1 335 27 discriminator 4 view .LVU520
  3122. 1681 0124 0B60 str r3, [r1]
  3123. 1682 .LVL224:
  3124. 337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  3125. 1683 .loc 1 337 15 is_stmt 1 discriminator 4 view .LVU521
  3126. 1684 0126 0222 movs r2, #2
  3127. 1685 0128 2846 mov r0, r5
  3128. 1686 012a FFF7FEFF bl USBD_CtlSendData
  3129. 1687 .LVL225:
  3130. 338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3131. 1688 .loc 1 338 15 discriminator 4 view .LVU522
  3132. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3133. ARM GAS /tmp/ccdThgzO.s page 55
  3134. 1689 .loc 1 394 10 is_stmt 0 discriminator 4 view .LVU523
  3135. 1690 012e 3446 mov r4, r6
  3136. 338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3137. 1691 .loc 1 338 15 discriminator 4 view .LVU524
  3138. 1692 0130 7CE7 b .L121
  3139. 1693 .LVL226:
  3140. 1694 .L164:
  3141. 329:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  3142. 1695 .loc 1 329 17 is_stmt 1 view .LVU525
  3143. 1696 0132 2846 mov r0, r5
  3144. 1697 0134 FFF7FEFF bl USBD_CtlError
  3145. 1698 .LVL227:
  3146. 330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3147. 1699 .loc 1 330 17 view .LVU526
  3148. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3149. 1700 .loc 1 394 10 is_stmt 0 view .LVU527
  3150. 1701 0138 3446 mov r4, r6
  3151. 330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3152. 1702 .loc 1 330 17 view .LVU528
  3153. 1703 013a 77E7 b .L121
  3154. 1704 .LVL228:
  3155. 1705 .L165:
  3156. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3157. 1706 .loc 1 332 73 discriminator 1 view .LVU529
  3158. 1707 013c 02F07F02 and r2, r2, #127
  3159. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3160. 1708 .loc 1 332 82 discriminator 1 view .LVU530
  3161. 1709 0140 02EB8202 add r2, r2, r2, lsl #2
  3162. 1710 0144 9100 lsls r1, r2, #2
  3163. 1711 .LVL229:
  3164. 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3165. 1712 .loc 1 332 82 discriminator 1 view .LVU531
  3166. 1713 0146 1031 adds r1, r1, #16
  3167. 1714 0148 2944 add r1, r1, r5
  3168. 1715 014a 0431 adds r1, r1, #4
  3169. 1716 014c E9E7 b .L142
  3170. 1717 .LVL230:
  3171. 1718 .L138:
  3172. 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3173. 1719 .loc 1 341 15 is_stmt 1 view .LVU532
  3174. 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3175. 1720 .loc 1 341 37 is_stmt 0 view .LVU533
  3176. 1721 014e 5BB2 sxtb r3, r3
  3177. 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3178. 1722 .loc 1 341 18 view .LVU534
  3179. 1723 0150 002B cmp r3, #0
  3180. 1724 0152 1FDB blt .L166
  3181. 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3182. 1725 .loc 1 351 17 is_stmt 1 view .LVU535
  3183. 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3184. 1726 .loc 1 351 42 is_stmt 0 view .LVU536
  3185. 1727 0154 02F00F00 and r0, r2, #15
  3186. 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3187. 1728 .loc 1 351 49 view .LVU537
  3188. 1729 0158 00EB8000 add r0, r0, r0, lsl #2
  3189. 1730 015c 05EB8000 add r0, r5, r0, lsl #2
  3190. 1731 0160 D0F85801 ldr r0, [r0, #344]
  3191. ARM GAS /tmp/ccdThgzO.s page 56
  3192. 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3193. 1732 .loc 1 351 20 view .LVU538
  3194. 1733 0164 20B3 cbz r0, .L167
  3195. 1734 .L144:
  3196. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3197. 1735 .loc 1 358 15 is_stmt 1 view .LVU539
  3198. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3199. 1736 .loc 1 358 82 is_stmt 0 view .LVU540
  3200. 1737 0166 002B cmp r3, #0
  3201. 1738 0168 27DB blt .L168
  3202. 359:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3203. 1739 .loc 1 359 43 discriminator 2 view .LVU541
  3204. 1740 016a 02F07F03 and r3, r2, #127
  3205. 1741 .LVL231:
  3206. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3207. 1742 .loc 1 358 82 discriminator 2 view .LVU542
  3208. 1743 016e 03EB8303 add r3, r3, r3, lsl #2
  3209. 1744 0172 9C00 lsls r4, r3, #2
  3210. 1745 0174 04F5A874 add r4, r4, #336
  3211. 1746 0178 2C44 add r4, r4, r5
  3212. 1747 017a 0434 adds r4, r4, #4
  3213. 1748 .L146:
  3214. 1749 .LVL232:
  3215. 361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3216. 1750 .loc 1 361 15 is_stmt 1 discriminator 4 view .LVU543
  3217. 361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3218. 1751 .loc 1 361 18 is_stmt 0 discriminator 4 view .LVU544
  3219. 1752 017c 0AB1 cbz r2, .L147
  3220. 361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3221. 1753 .loc 1 361 38 discriminator 1 view .LVU545
  3222. 1754 017e 802A cmp r2, #128
  3223. 1755 0180 24D1 bne .L148
  3224. 1756 .L147:
  3225. 363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3226. 1757 .loc 1 363 17 is_stmt 1 view .LVU546
  3227. 363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3228. 1758 .loc 1 363 29 is_stmt 0 view .LVU547
  3229. 1759 0182 0023 movs r3, #0
  3230. 1760 0184 2360 str r3, [r4]
  3231. 1761 .LVL233:
  3232. 1762 .L149:
  3233. 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  3234. 1763 .loc 1 374 15 is_stmt 1 view .LVU548
  3235. 1764 0186 0222 movs r2, #2
  3236. 1765 0188 2146 mov r1, r4
  3237. 1766 018a 2846 mov r0, r5
  3238. 1767 018c FFF7FEFF bl USBD_CtlSendData
  3239. 1768 .LVL234:
  3240. 375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3241. 1769 .loc 1 375 15 view .LVU549
  3242. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3243. 1770 .loc 1 394 10 is_stmt 0 view .LVU550
  3244. 1771 0190 3446 mov r4, r6
  3245. 1772 .LVL235:
  3246. 375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3247. 1773 .loc 1 375 15 view .LVU551
  3248. 1774 0192 4BE7 b .L121
  3249. ARM GAS /tmp/ccdThgzO.s page 57
  3250. 1775 .LVL236:
  3251. 1776 .L166:
  3252. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3253. 1777 .loc 1 343 17 is_stmt 1 view .LVU552
  3254. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3255. 1778 .loc 1 343 41 is_stmt 0 view .LVU553
  3256. 1779 0194 02F00F00 and r0, r2, #15
  3257. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3258. 1780 .loc 1 343 48 view .LVU554
  3259. 1781 0198 00EB8000 add r0, r0, r0, lsl #2
  3260. 1782 019c 05EB8000 add r0, r5, r0, lsl #2
  3261. 1783 01a0 8069 ldr r0, [r0, #24]
  3262. 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3263. 1784 .loc 1 343 20 view .LVU555
  3264. 1785 01a2 0028 cmp r0, #0
  3265. 1786 01a4 DFD1 bne .L144
  3266. 345:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  3267. 1787 .loc 1 345 19 is_stmt 1 view .LVU556
  3268. 1788 01a6 2846 mov r0, r5
  3269. 1789 01a8 FFF7FEFF bl USBD_CtlError
  3270. 1790 .LVL237:
  3271. 346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3272. 1791 .loc 1 346 19 view .LVU557
  3273. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3274. 1792 .loc 1 394 10 is_stmt 0 view .LVU558
  3275. 1793 01ac 3446 mov r4, r6
  3276. 346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3277. 1794 .loc 1 346 19 view .LVU559
  3278. 1795 01ae 3DE7 b .L121
  3279. 1796 .LVL238:
  3280. 1797 .L167:
  3281. 353:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
  3282. 1798 .loc 1 353 19 is_stmt 1 view .LVU560
  3283. 1799 01b0 2846 mov r0, r5
  3284. 1800 01b2 FFF7FEFF bl USBD_CtlError
  3285. 1801 .LVL239:
  3286. 354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3287. 1802 .loc 1 354 19 view .LVU561
  3288. 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3289. 1803 .loc 1 394 10 is_stmt 0 view .LVU562
  3290. 1804 01b6 3446 mov r4, r6
  3291. 354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3292. 1805 .loc 1 354 19 view .LVU563
  3293. 1806 01b8 38E7 b .L121
  3294. 1807 .LVL240:
  3295. 1808 .L168:
  3296. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3297. 1809 .loc 1 358 73 discriminator 1 view .LVU564
  3298. 1810 01ba 02F07F03 and r3, r2, #127
  3299. 1811 .LVL241:
  3300. 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
  3301. 1812 .loc 1 358 82 discriminator 1 view .LVU565
  3302. 1813 01be 03EB8303 add r3, r3, r3, lsl #2
  3303. 1814 01c2 9C00 lsls r4, r3, #2
  3304. 1815 01c4 1034 adds r4, r4, #16
  3305. 1816 01c6 2C44 add r4, r4, r5
  3306. 1817 01c8 0434 adds r4, r4, #4
  3307. ARM GAS /tmp/ccdThgzO.s page 58
  3308. 1818 01ca D7E7 b .L146
  3309. 1819 .LVL242:
  3310. 1820 .L148:
  3311. 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3312. 1821 .loc 1 365 20 is_stmt 1 view .LVU566
  3313. 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3314. 1822 .loc 1 365 24 is_stmt 0 view .LVU567
  3315. 1823 01cc 1146 mov r1, r2
  3316. 1824 .LVL243:
  3317. 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3318. 1825 .loc 1 365 24 view .LVU568
  3319. 1826 01ce 2846 mov r0, r5
  3320. 1827 01d0 FFF7FEFF bl USBD_LL_IsStallEP
  3321. 1828 .LVL244:
  3322. 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3323. 1829 .loc 1 365 23 view .LVU569
  3324. 1830 01d4 10B1 cbz r0, .L150
  3325. 367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3326. 1831 .loc 1 367 17 is_stmt 1 view .LVU570
  3327. 367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3328. 1832 .loc 1 367 29 is_stmt 0 view .LVU571
  3329. 1833 01d6 0123 movs r3, #1
  3330. 1834 01d8 2360 str r3, [r4]
  3331. 1835 01da D4E7 b .L149
  3332. 1836 .L150:
  3333. 371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3334. 1837 .loc 1 371 17 is_stmt 1 view .LVU572
  3335. 371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3336. 1838 .loc 1 371 29 is_stmt 0 view .LVU573
  3337. 1839 01dc 0023 movs r3, #0
  3338. 1840 01de 2360 str r3, [r4]
  3339. 1841 01e0 D1E7 b .L149
  3340. 1842 .cfi_endproc
  3341. 1843 .LFE657:
  3342. 1845 .section .text.USBD_GetString,"ax",%progbits
  3343. 1846 .align 1
  3344. 1847 .global USBD_GetString
  3345. 1848 .syntax unified
  3346. 1849 .thumb
  3347. 1850 .thumb_func
  3348. 1852 USBD_GetString:
  3349. 1853 .LVL245:
  3350. 1854 .LFB667:
  3351. 869:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t idx = 0U;
  3352. 1855 .loc 1 869 1 is_stmt 1 view -0
  3353. 1856 .cfi_startproc
  3354. 1857 @ args = 0, pretend = 0, frame = 0
  3355. 1858 @ frame_needed = 0, uses_anonymous_args = 0
  3356. 870:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3357. 1859 .loc 1 870 3 view .LVU575
  3358. 872:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3359. 1860 .loc 1 872 3 view .LVU576
  3360. 872:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3361. 1861 .loc 1 872 6 is_stmt 0 view .LVU577
  3362. 1862 0000 D0B1 cbz r0, .L174
  3363. 869:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t idx = 0U;
  3364. 1863 .loc 1 869 1 view .LVU578
  3365. ARM GAS /tmp/ccdThgzO.s page 59
  3366. 1864 0002 70B5 push {r4, r5, r6, lr}
  3367. 1865 .LCFI14:
  3368. 1866 .cfi_def_cfa_offset 16
  3369. 1867 .cfi_offset 4, -16
  3370. 1868 .cfi_offset 5, -12
  3371. 1869 .cfi_offset 6, -8
  3372. 1870 .cfi_offset 14, -4
  3373. 1871 0004 0D46 mov r5, r1
  3374. 1872 0006 1646 mov r6, r2
  3375. 1873 0008 0446 mov r4, r0
  3376. 874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
  3377. 1874 .loc 1 874 5 is_stmt 1 view .LVU579
  3378. 874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
  3379. 1875 .loc 1 874 22 is_stmt 0 view .LVU580
  3380. 1876 000a FFF7FEFF bl USBD_GetLen
  3381. 1877 .LVL246:
  3382. 874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
  3383. 1878 .loc 1 874 45 view .LVU581
  3384. 1879 000e 431C adds r3, r0, #1
  3385. 874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
  3386. 1880 .loc 1 874 10 view .LVU582
  3387. 1881 0010 5B00 lsls r3, r3, #1
  3388. 1882 0012 9BB2 uxth r3, r3
  3389. 1883 0014 3380 strh r3, [r6] @ movhi
  3390. 875:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = USB_DESC_TYPE_STRING;
  3391. 1884 .loc 1 875 5 is_stmt 1 view .LVU583
  3392. 1885 .LVL247:
  3393. 875:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = USB_DESC_TYPE_STRING;
  3394. 1886 .loc 1 875 20 is_stmt 0 view .LVU584
  3395. 1887 0016 2B70 strb r3, [r5]
  3396. 876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3397. 1888 .loc 1 876 5 is_stmt 1 view .LVU585
  3398. 1889 .LVL248:
  3399. 876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3400. 1890 .loc 1 876 20 is_stmt 0 view .LVU586
  3401. 1891 0018 0323 movs r3, #3
  3402. 1892 001a 6B70 strb r3, [r5, #1]
  3403. 878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3404. 1893 .loc 1 878 5 is_stmt 1 view .LVU587
  3405. 876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3406. 1894 .loc 1 876 16 is_stmt 0 view .LVU588
  3407. 1895 001c 0223 movs r3, #2
  3408. 878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3409. 1896 .loc 1 878 11 view .LVU589
  3410. 1897 001e 07E0 b .L171
  3411. 1898 .LVL249:
  3412. 1899 .L172:
  3413. 880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
  3414. 1900 .loc 1 880 7 is_stmt 1 view .LVU590
  3415. 880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
  3416. 1901 .loc 1 880 29 is_stmt 0 view .LVU591
  3417. 1902 0020 0134 adds r4, r4, #1
  3418. 1903 .LVL250:
  3419. 880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
  3420. 1904 .loc 1 880 18 view .LVU592
  3421. 1905 0022 5A1C adds r2, r3, #1
  3422. 1906 0024 D2B2 uxtb r2, r2
  3423. ARM GAS /tmp/ccdThgzO.s page 60
  3424. 1907 .LVL251:
  3425. 880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
  3426. 1908 .loc 1 880 22 view .LVU593
  3427. 1909 0026 E854 strb r0, [r5, r3]
  3428. 881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3429. 1910 .loc 1 881 7 is_stmt 1 view .LVU594
  3430. 881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3431. 1911 .loc 1 881 18 is_stmt 0 view .LVU595
  3432. 1912 0028 0233 adds r3, r3, #2
  3433. 1913 002a DBB2 uxtb r3, r3
  3434. 1914 .LVL252:
  3435. 881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
  3436. 1915 .loc 1 881 22 view .LVU596
  3437. 1916 002c 0021 movs r1, #0
  3438. 1917 002e A954 strb r1, [r5, r2]
  3439. 1918 .LVL253:
  3440. 1919 .L171:
  3441. 878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3442. 1920 .loc 1 878 11 is_stmt 1 view .LVU597
  3443. 878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3444. 1921 .loc 1 878 12 is_stmt 0 view .LVU598
  3445. 1922 0030 2078 ldrb r0, [r4] @ zero_extendqisi2
  3446. 878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
  3447. 1923 .loc 1 878 11 view .LVU599
  3448. 1924 0032 0028 cmp r0, #0
  3449. 1925 0034 F4D1 bne .L172
  3450. 884:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3451. 1926 .loc 1 884 1 view .LVU600
  3452. 1927 0036 70BD pop {r4, r5, r6, pc}
  3453. 1928 .LVL254:
  3454. 1929 .L174:
  3455. 1930 .LCFI15:
  3456. 1931 .cfi_def_cfa_offset 0
  3457. 1932 .cfi_restore 4
  3458. 1933 .cfi_restore 5
  3459. 1934 .cfi_restore 6
  3460. 1935 .cfi_restore 14
  3461. 884:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
  3462. 1936 .loc 1 884 1 view .LVU601
  3463. 1937 0038 7047 bx lr
  3464. 1938 .cfi_endproc
  3465. 1939 .LFE667:
  3466. 1941 .section .bss.cfgidx.0,"aw",%nobits
  3467. 1942 .set .LANCHOR0,. + 0
  3468. 1945 cfgidx.0:
  3469. 1946 0000 00 .space 1
  3470. 1947 .text
  3471. 1948 .Letext0:
  3472. 1949 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  3473. 1950 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  3474. 1951 .file 4 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h"
  3475. 1952 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h"
  3476. 1953 .file 6 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
  3477. 1954 .file 7 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
  3478. 1955 .file 8 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h"
  3479. ARM GAS /tmp/ccdThgzO.s page 61
  3480. DEFINED SYMBOLS
  3481. *ABS*:0000000000000000 usbd_ctlreq.c
  3482. /tmp/ccdThgzO.s:18 .text.USBD_GetLen:0000000000000000 $t
  3483. /tmp/ccdThgzO.s:23 .text.USBD_GetLen:0000000000000000 USBD_GetLen
  3484. /tmp/ccdThgzO.s:69 .text.USBD_SetFeature:0000000000000000 $t
  3485. /tmp/ccdThgzO.s:74 .text.USBD_SetFeature:0000000000000000 USBD_SetFeature
  3486. /tmp/ccdThgzO.s:111 .text.USBD_ParseSetupRequest:0000000000000000 $t
  3487. /tmp/ccdThgzO.s:117 .text.USBD_ParseSetupRequest:0000000000000000 USBD_ParseSetupRequest
  3488. /tmp/ccdThgzO.s:161 .text.USBD_CtlError:0000000000000000 $t
  3489. /tmp/ccdThgzO.s:167 .text.USBD_CtlError:0000000000000000 USBD_CtlError
  3490. /tmp/ccdThgzO.s:199 .text.USBD_GetDescriptor:0000000000000000 $t
  3491. /tmp/ccdThgzO.s:204 .text.USBD_GetDescriptor:0000000000000000 USBD_GetDescriptor
  3492. /tmp/ccdThgzO.s:242 .text.USBD_GetDescriptor:000000000000001e $d
  3493. /tmp/ccdThgzO.s:347 .text.USBD_GetDescriptor:0000000000000080 $d
  3494. /tmp/ccdThgzO.s:353 .text.USBD_GetDescriptor:0000000000000086 $t
  3495. /tmp/ccdThgzO.s:633 .text.USBD_SetAddress:0000000000000000 $t
  3496. /tmp/ccdThgzO.s:638 .text.USBD_SetAddress:0000000000000000 USBD_SetAddress
  3497. /tmp/ccdThgzO.s:729 .text.USBD_SetConfig:0000000000000000 $t
  3498. /tmp/ccdThgzO.s:734 .text.USBD_SetConfig:0000000000000000 USBD_SetConfig
  3499. /tmp/ccdThgzO.s:899 .text.USBD_SetConfig:00000000000000ac $d
  3500. /tmp/ccdThgzO.s:904 .text.USBD_GetConfig:0000000000000000 $t
  3501. /tmp/ccdThgzO.s:909 .text.USBD_GetConfig:0000000000000000 USBD_GetConfig
  3502. /tmp/ccdThgzO.s:984 .text.USBD_GetStatus:0000000000000000 $t
  3503. /tmp/ccdThgzO.s:989 .text.USBD_GetStatus:0000000000000000 USBD_GetStatus
  3504. /tmp/ccdThgzO.s:1059 .text.USBD_ClrFeature:0000000000000000 $t
  3505. /tmp/ccdThgzO.s:1064 .text.USBD_ClrFeature:0000000000000000 USBD_ClrFeature
  3506. /tmp/ccdThgzO.s:1117 .text.USBD_StdDevReq:0000000000000000 $t
  3507. /tmp/ccdThgzO.s:1123 .text.USBD_StdDevReq:0000000000000000 USBD_StdDevReq
  3508. /tmp/ccdThgzO.s:1178 .text.USBD_StdDevReq:000000000000002e $d
  3509. /tmp/ccdThgzO.s:1188 .text.USBD_StdDevReq:0000000000000038 $t
  3510. /tmp/ccdThgzO.s:1248 .text.USBD_StdItfReq:0000000000000000 $t
  3511. /tmp/ccdThgzO.s:1254 .text.USBD_StdItfReq:0000000000000000 USBD_StdItfReq
  3512. /tmp/ccdThgzO.s:1365 .text.USBD_StdEPReq:0000000000000000 $t
  3513. /tmp/ccdThgzO.s:1371 .text.USBD_StdEPReq:0000000000000000 USBD_StdEPReq
  3514. /tmp/ccdThgzO.s:1846 .text.USBD_GetString:0000000000000000 $t
  3515. /tmp/ccdThgzO.s:1852 .text.USBD_GetString:0000000000000000 USBD_GetString
  3516. /tmp/ccdThgzO.s:1945 .bss.cfgidx.0:0000000000000000 cfgidx.0
  3517. /tmp/ccdThgzO.s:1946 .bss.cfgidx.0:0000000000000000 $d
  3518. /tmp/ccdThgzO.s:249 .text.USBD_GetDescriptor:0000000000000025 $d
  3519. /tmp/ccdThgzO.s:249 .text.USBD_GetDescriptor:0000000000000026 $t
  3520. UNDEFINED SYMBOLS
  3521. USBD_CtlSendStatus
  3522. USBD_LL_StallEP
  3523. USBD_CtlSendData
  3524. USBD_LL_SetUSBAddress
  3525. USBD_ClrClassConfig
  3526. USBD_SetClassConfig
  3527. USBD_LL_ClearStallEP
  3528. USBD_LL_IsStallEP