stm32f1xx_ll_usb.lst 503 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257
  1. ARM GAS /tmp/ccGUz1hM.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 "stm32f1xx_ll_usb.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.USB_CoreInit,"ax",%progbits
  19. 18 .align 1
  20. 19 .global USB_CoreInit
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 USB_CoreInit:
  25. 25 .LVL0:
  26. 26 .LFB65:
  27. 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c"
  28. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  29. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
  30. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @file stm32f1xx_ll_usb.c
  31. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @author MCD Application Team
  32. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB Low Layer HAL module driver.
  33. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
  34. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This file provides firmware functions to manage the following
  35. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * functionalities of the USB Peripheral Controller:
  36. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + Initialization/de-initialization functions
  37. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + I/O operation functions
  38. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + Peripheral Control functions
  39. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + Peripheral State functions
  40. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
  41. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
  42. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @attention
  43. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
  44. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Copyright (c) 2016 STMicroelectronics.
  45. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * All rights reserved.
  46. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
  47. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This software is licensed under terms that can be found in the LICENSE file
  48. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * in the root directory of this software component.
  49. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  50. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
  51. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
  52. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @verbatim
  53. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ==============================================================================
  54. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ##### How to use this driver #####
  55. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ==============================================================================
  56. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** [..]
  57. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (#) Fill parameters of Init structure in USB_CfgTypeDef structure.
  58. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  59. ARM GAS /tmp/ccGUz1hM.s page 2
  60. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (#) Call USB_CoreInit() API to initialize the USB Core peripheral.
  61. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  62. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (#) The upper HAL HCD/PCD driver will call the right routines for its internal processes.
  63. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  64. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @endverbatim
  65. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  66. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
  67. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  68. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  69. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Includes ------------------------------------------------------------------*/
  70. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #include "stm32f1xx_hal.h"
  71. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  72. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /** @addtogroup STM32F1xx_LL_USB_DRIVER
  73. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @{
  74. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  75. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  76. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (HAL_PCD_MODULE_ENABLED) || defined (HAL_HCD_MODULE_ENABLED)
  77. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (USB) || defined (USB_OTG_FS)
  78. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private typedef -----------------------------------------------------------*/
  79. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private define ------------------------------------------------------------*/
  80. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private macro -------------------------------------------------------------*/
  81. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private variables ---------------------------------------------------------*/
  82. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private function prototypes -----------------------------------------------*/
  83. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private functions ---------------------------------------------------------*/
  84. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (USB_OTG_FS)
  85. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx);
  86. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  87. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Exported functions --------------------------------------------------------*/
  88. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /** @defgroup USB_LL_Exported_Functions USB Low Layer Exported Functions
  89. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @{
  90. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  91. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  92. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /** @defgroup USB_LL_Exported_Functions_Group1 Initialization/de-initialization functions
  93. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initialization and Configuration functions
  94. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
  95. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @verbatim
  96. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ===============================================================================
  97. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ##### Initialization/de-initialization functions #####
  98. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ===============================================================================
  99. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  100. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @endverbatim
  101. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @{
  102. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  103. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  104. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  105. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initializes the USB Core
  106. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB Instance
  107. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains
  108. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
  109. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  110. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  111. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_CoreInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
  112. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  113. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret;
  114. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  115. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Select FS Embedded PHY */
  116. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= USB_OTG_GUSBCFG_PHYSEL;
  117. ARM GAS /tmp/ccGUz1hM.s page 3
  118. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  119. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Reset after a PHY select */
  120. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = USB_CoreReset(USBx);
  121. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  122. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Activate the USB Transceiver */
  123. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG |= USB_OTG_GCCFG_PWRDWN;
  124. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  125. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  126. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  127. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  128. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  129. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  130. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Set the USB turnaround time
  131. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB Instance
  132. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hclk: AHB clock frequency
  133. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB turnaround time In PHY Clocks number
  134. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  135. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetTurnaroundTime(USB_OTG_GlobalTypeDef *USBx,
  136. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t hclk, uint8_t speed)
  137. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  138. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t UsbTrd;
  139. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  140. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* The USBTRD is configured according to the tables below, depending on AHB frequency
  141. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** used by application. In the low AHB frequency range it is used to stretch enough the USB response
  142. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** time to IN tokens, the USB turnaround time, so to compensate for the longer AHB read access
  143. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** latency to the Data FIFO */
  144. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (speed == USBD_FS_SPEED)
  145. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  146. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((hclk >= 14200000U) && (hclk < 15000000U))
  147. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  148. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 14.2-15 MHz */
  149. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xFU;
  150. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  151. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 15000000U) && (hclk < 16000000U))
  152. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  153. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 15-16 MHz */
  154. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xEU;
  155. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  156. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 16000000U) && (hclk < 17200000U))
  157. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  158. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 16-17.2 MHz */
  159. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xDU;
  160. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  161. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 17200000U) && (hclk < 18500000U))
  162. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  163. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 17.2-18.5 MHz */
  164. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xCU;
  165. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  166. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 18500000U) && (hclk < 20000000U))
  167. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  168. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 18.5-20 MHz */
  169. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xBU;
  170. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  171. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 20000000U) && (hclk < 21800000U))
  172. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  173. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 20-21.8 MHz */
  174. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xAU;
  175. ARM GAS /tmp/ccGUz1hM.s page 4
  176. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  177. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 21800000U) && (hclk < 24000000U))
  178. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  179. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 21.8-24 MHz */
  180. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x9U;
  181. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  182. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 24000000U) && (hclk < 27700000U))
  183. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  184. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 24-27.7 MHz */
  185. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x8U;
  186. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  187. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 27700000U) && (hclk < 32000000U))
  188. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  189. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 27.7-32 MHz */
  190. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x7U;
  191. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  192. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* if(hclk >= 32000000) */
  193. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  194. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 32-200 MHz */
  195. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x6U;
  196. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  197. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  198. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  199. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  200. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = USBD_DEFAULT_TRDT_VALUE;
  201. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  202. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  203. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG &= ~USB_OTG_GUSBCFG_TRDT;
  204. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= (uint32_t)((UsbTrd << 10) & USB_OTG_GUSBCFG_TRDT);
  205. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  206. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  207. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  208. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  209. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  210. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EnableGlobalInt
  211. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Enables the controller's Global Int in the AHB Config reg
  212. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  213. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  214. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  215. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EnableGlobalInt(USB_OTG_GlobalTypeDef *USBx)
  216. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  217. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GAHBCFG |= USB_OTG_GAHBCFG_GINT;
  218. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  219. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  220. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  221. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  222. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DisableGlobalInt
  223. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Disable the controller's Global Int in the AHB Config reg
  224. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  225. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  226. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  227. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DisableGlobalInt(USB_OTG_GlobalTypeDef *USBx)
  228. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  229. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GAHBCFG &= ~USB_OTG_GAHBCFG_GINT;
  230. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  231. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  232. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  233. ARM GAS /tmp/ccGUz1hM.s page 5
  234. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  235. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetCurrentMode Set functional mode
  236. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  237. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param mode current core mode
  238. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  239. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_DEVICE_MODE Peripheral mode
  240. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_HOST_MODE Host mode
  241. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  242. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  243. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetCurrentMode(USB_OTG_GlobalTypeDef *USBx, USB_ModeTypeDef mode)
  244. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  245. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t ms = 0U;
  246. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  247. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG &= ~(USB_OTG_GUSBCFG_FHMOD | USB_OTG_GUSBCFG_FDMOD);
  248. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  249. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (mode == USB_HOST_MODE)
  250. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  251. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= USB_OTG_GUSBCFG_FHMOD;
  252. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  253. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  254. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  255. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(1U);
  256. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ms++;
  257. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USB_GetMode(USBx) != (uint32_t)USB_HOST_MODE) && (ms < 50U));
  258. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  259. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if (mode == USB_DEVICE_MODE)
  260. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  261. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= USB_OTG_GUSBCFG_FDMOD;
  262. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  263. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  264. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  265. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(1U);
  266. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ms++;
  267. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USB_GetMode(USBx) != (uint32_t)USB_DEVICE_MODE) && (ms < 50U));
  268. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  269. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  270. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  271. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
  272. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  273. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  274. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ms == 50U)
  275. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  276. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
  277. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  278. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  279. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  280. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  281. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  282. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  283. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevInit Initializes the USB_OTG controller registers
  284. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * for device mode
  285. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  286. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains
  287. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
  288. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  289. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  290. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
  291. ARM GAS /tmp/ccGUz1hM.s page 6
  292. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  293. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
  294. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  295. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
  296. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  297. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < 15U; i++)
  298. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  299. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->DIEPTXF[i] = 0U;
  300. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  301. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  302. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable HW VBUS sensing */
  303. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG |= USB_OTG_GCCFG_VBUSBSEN;
  304. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  305. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Restart the Phy Clock */
  306. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL = 0U;
  307. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  308. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set Core speed to Full speed mode */
  309. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_SetDevSpeed(USBx, USB_OTG_SPEED_FULL);
  310. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  311. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush the FIFOs */
  312. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */
  313. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  314. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  315. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  316. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  317. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushRxFifo(USBx) != HAL_OK)
  318. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  319. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  320. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  321. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  322. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear all pending Device Interrupts */
  323. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPMSK = 0U;
  324. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DOEPMSK = 0U;
  325. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK = 0U;
  326. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  327. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < cfg.dev_endpoints; i++)
  328. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  329. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
  330. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  331. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (i == 0U)
  332. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  333. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK;
  334. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  335. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  336. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  337. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK;
  338. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  339. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  340. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  341. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  342. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPCTL = 0U;
  343. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  344. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  345. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPTSIZ = 0U;
  346. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPINT = 0xFB7FU;
  347. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  348. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  349. ARM GAS /tmp/ccGUz1hM.s page 7
  350. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < cfg.dev_endpoints; i++)
  351. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  352. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(i)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
  353. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  354. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (i == 0U)
  355. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  356. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPCTL = USB_OTG_DOEPCTL_SNAK;
  357. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  358. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  359. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  360. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPCTL = USB_OTG_DOEPCTL_EPDIS | USB_OTG_DOEPCTL_SNAK;
  361. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  362. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  363. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  364. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  365. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPCTL = 0U;
  366. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  367. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  368. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPTSIZ = 0U;
  369. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPINT = 0xFB7FU;
  370. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  371. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  372. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPMSK &= ~(USB_OTG_DIEPMSK_TXFURM);
  373. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  374. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Disable all interrupts. */
  375. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK = 0U;
  376. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  377. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear any pending interrupts */
  378. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS = 0xBFFFFFFFU;
  379. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  380. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the common interrupts */
  381. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_RXFLVLM;
  382. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  383. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable interrupts matching to the Device mode ONLY */
  384. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_USBSUSPM | USB_OTG_GINTMSK_USBRST |
  385. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_ENUMDNEM | USB_OTG_GINTMSK_IEPINT |
  386. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_OEPINT | USB_OTG_GINTMSK_IISOIXFRM |
  387. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_PXFRM_IISOOXFRM | USB_OTG_GINTMSK_WUIM;
  388. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  389. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (cfg.Sof_enable != 0U)
  390. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  391. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_SOFM;
  392. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  393. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  394. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (cfg.vbus_sensing_enable == 1U)
  395. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  396. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= (USB_OTG_GINTMSK_SRQIM | USB_OTG_GINTMSK_OTGINT);
  397. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  398. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  399. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  400. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  401. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  402. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  403. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushTxFifo Flush a Tx FIFO
  404. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  405. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param num FIFO number
  406. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
  407. ARM GAS /tmp/ccGUz1hM.s page 8
  408. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** 15 means Flush all Tx FIFOs
  409. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  410. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  411. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num)
  412. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  413. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
  414. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  415. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Wait for AHB master IDLE state. */
  416. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  417. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  418. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  419. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  420. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
  421. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  422. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
  423. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  424. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U);
  425. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  426. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush TX Fifo */
  427. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count = 0U;
  428. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRSTCTL = (USB_OTG_GRSTCTL_TXFFLSH | (num << 6));
  429. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  430. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  431. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  432. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  433. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  434. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
  435. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  436. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
  437. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  438. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_TXFFLSH) == USB_OTG_GRSTCTL_TXFFLSH);
  439. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  440. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  441. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  442. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  443. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  444. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushRxFifo Flush Rx FIFO
  445. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  446. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  447. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  448. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushRxFifo(USB_OTG_GlobalTypeDef *USBx)
  449. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  450. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
  451. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  452. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Wait for AHB master IDLE state. */
  453. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  454. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  455. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  456. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  457. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
  458. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  459. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
  460. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  461. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U);
  462. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  463. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush RX Fifo */
  464. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count = 0U;
  465. ARM GAS /tmp/ccGUz1hM.s page 9
  466. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRSTCTL = USB_OTG_GRSTCTL_RXFFLSH;
  467. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  468. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  469. 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  470. 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  471. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  472. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
  473. 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  474. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
  475. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  476. 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_RXFFLSH) == USB_OTG_GRSTCTL_RXFFLSH);
  477. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  478. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  479. 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  480. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  481. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  482. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetDevSpeed Initializes the DevSpd field of DCFG register
  483. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * depending the PHY type and the enumeration speed of the device.
  484. 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  485. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param speed device speed
  486. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  487. 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_OTG_SPEED_FULL: Full speed mode
  488. 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Hal status
  489. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  490. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetDevSpeed(USB_OTG_GlobalTypeDef *USBx, uint8_t speed)
  491. 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  492. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  493. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  494. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCFG |= speed;
  495. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  496. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  497. 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  498. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  499. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_GetDevSpeed Return the Dev Speed
  500. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  501. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval speed device speed
  502. 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  503. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USBD_FS_SPEED: Full speed mode
  504. 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  505. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t USB_GetDevSpeed(USB_OTG_GlobalTypeDef *USBx)
  506. 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  507. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  508. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t speed;
  509. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t DevEnumSpeed = USBx_DEVICE->DSTS & USB_OTG_DSTS_ENUMSPD;
  510. 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  511. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((DevEnumSpeed == DSTS_ENUMSPD_FS_PHY_30MHZ_OR_60MHZ) ||
  512. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (DevEnumSpeed == DSTS_ENUMSPD_FS_PHY_48MHZ))
  513. 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  514. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** speed = USBD_FS_SPEED;
  515. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  516. 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  517. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  518. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** speed = 0xFU;
  519. 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  520. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  521. 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return speed;
  522. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  523. ARM GAS /tmp/ccGUz1hM.s page 10
  524. 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  525. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  526. 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate and configure an endpoint
  527. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  528. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  529. 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  530. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  531. 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  532. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  533. 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  534. 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  535. 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  536. 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  537. 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  538. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK));
  539. 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  540. 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U)
  541. 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  542. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) |
  543. 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) | (epnum << 22) |
  544. 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
  545. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_USBAEP;
  546. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  547. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  548. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  549. 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  550. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK)) <<
  551. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  552. 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(epnum)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0U)
  553. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  554. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) |
  555. 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) |
  556. 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
  557. 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_USBAEP;
  558. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  559. 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  560. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  561. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  562. 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  563. 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  564. 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate and configure a dedicated endpoint
  565. 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  566. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  567. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  568. 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  569. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  570. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  571. 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  572. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  573. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  574. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Read DEPCTLn register */
  575. 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  576. 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  577. 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U)
  578. 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  579. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) |
  580. 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) | (epnum << 22) |
  581. ARM GAS /tmp/ccGUz1hM.s page 11
  582. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
  583. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_USBAEP;
  584. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  585. 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  586. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DEACHMSK |= USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK));
  587. 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  588. 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  589. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  590. 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(epnum)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0U)
  591. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  592. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) |
  593. 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) | (epnum << 22) |
  594. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_USBAEP;
  595. 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  596. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  597. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DEACHMSK |= USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK)) <<
  598. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  599. 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  600. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  601. 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  602. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  603. 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  604. 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief De-activate and de-initialize an endpoint
  605. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  606. 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  607. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  608. 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  609. 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeactivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  610. 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  611. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  612. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  613. 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  614. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Read DEPCTLn register */
  615. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  616. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  617. 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
  618. 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  619. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK;
  620. 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS;
  621. 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  622. 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  623. 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DEACHMSK &= ~(USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK)));
  624. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK &= ~(USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK)));
  625. 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_USBAEP |
  626. 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_MPSIZ |
  627. 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_TXFNUM |
  628. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
  629. 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_EPTYP);
  630. 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  631. 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  632. 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  633. 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
  634. 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  635. 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK;
  636. 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_EPDIS;
  637. 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  638. 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  639. ARM GAS /tmp/ccGUz1hM.s page 12
  640. 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DEACHMSK &= ~(USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK))
  641. 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK &= ~(USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK))
  642. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~(USB_OTG_DOEPCTL_USBAEP |
  643. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_MPSIZ |
  644. 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_SD0PID_SEVNFRM |
  645. 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_EPTYP);
  646. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  647. 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  648. 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  649. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  650. 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  651. 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  652. 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief De-activate and de-initialize a dedicated endpoint
  653. 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  654. 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  655. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  656. 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  657. 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeactivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *e
  658. 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  659. 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  660. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  661. 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  662. 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Read DEPCTLn register */
  663. 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  664. 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  665. 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
  666. 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  667. 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK;
  668. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS;
  669. 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  670. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  671. 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~ USB_OTG_DIEPCTL_USBAEP;
  672. 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK &= ~(USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK)));
  673. 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  674. 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  675. 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  676. 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
  677. 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  678. 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK;
  679. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_EPDIS;
  680. 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  681. 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  682. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~USB_OTG_DOEPCTL_USBAEP;
  683. 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK &= ~(USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK))
  684. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  685. 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  686. 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  687. 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  688. 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  689. 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  690. 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStartXfer : setup and starts a transfer over an EP
  691. 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  692. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  693. 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  694. 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  695. 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  696. 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  697. ARM GAS /tmp/ccGUz1hM.s page 13
  698. 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  699. 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  700. 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t pktcnt;
  701. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  702. 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
  703. 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  704. 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  705. 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Zero Length Packet? */
  706. 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len == 0U)
  707. 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  708. 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT);
  709. 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19));
  710. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ);
  711. 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  712. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  713. 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  714. 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Program the transfer size and packet count
  715. 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * as follows: xfersize = N * maxpacket +
  716. 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * short_packet pktcnt = N + (short_packet
  717. 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * exist ? 1 : 0)
  718. 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  719. 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ);
  720. 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT);
  721. 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  722. 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (epnum == 0U)
  723. 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  724. 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
  725. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  726. 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = ep->maxpacket;
  727. 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  728. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  729. 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19));
  730. 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  731. 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  732. 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  733. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT &
  734. 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket) << 19
  735. 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  736. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  737. 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len);
  738. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  739. 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_ISOC)
  740. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  741. 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_MULCNT);
  742. 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_MULCNT & (1U << 29));
  743. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  744. 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  745. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* EP enable, IN data in FIFO */
  746. 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= (USB_OTG_DIEPCTL_CNAK | USB_OTG_DIEPCTL_EPENA);
  747. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  748. 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
  749. 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  750. 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the Tx FIFO Empty Interrupt for this EP */
  751. 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > 0U)
  752. 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  753. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPEMPMSK |= 1UL << (ep->num & EP_ADDR_MSK);
  754. 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  755. ARM GAS /tmp/ccGUz1hM.s page 14
  756. 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  757. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  758. 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  759. 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U)
  760. 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  761. 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SODDFRM;
  762. 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  763. 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  764. 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  765. 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM;
  766. 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  767. 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  768. 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_WritePacket(USBx, ep->xfer_buff, ep->num, (uint16_t)ep->xfer_len);
  769. 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  770. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  771. 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
  772. 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  773. 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Program the transfer size and packet count as follows:
  774. 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * pktcnt = N
  775. 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * xfersize = N * maxpacket
  776. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  777. 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_XFRSIZ);
  778. 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_PKTCNT);
  779. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  780. 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (epnum == 0U)
  781. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  782. 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > 0U)
  783. 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  784. 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = ep->maxpacket;
  785. 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  786. 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  787. 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Store transfer size, for EP0 this is equal to endpoint max packet size */
  788. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_size = ep->maxpacket;
  789. 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  790. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size);
  791. 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19));
  792. 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  793. 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  794. 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  795. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len == 0U)
  796. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  797. 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket);
  798. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19));
  799. 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  800. 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  801. 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  802. 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket);
  803. 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_size = ep->maxpacket * pktcnt;
  804. 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  805. 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_PKTCNT & ((uint32_t)pktcnt << 19);
  806. 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size;
  807. 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  808. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  809. 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  810. 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_ISOC)
  811. 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  812. 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U)
  813. ARM GAS /tmp/ccGUz1hM.s page 15
  814. 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  815. 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SODDFRM;
  816. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  817. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  818. 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  819. 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SD0PID_SEVNFRM;
  820. 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  821. 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  822. 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* EP enable */
  823. 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= (USB_OTG_DOEPCTL_CNAK | USB_OTG_DOEPCTL_EPENA);
  824. 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  825. 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  826. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  827. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  828. 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  829. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  830. 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  831. 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStoptXfer Stop transfer on an EP
  832. 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx usb device instance
  833. 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  834. 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  835. 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  836. 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStopXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  837. 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  838. 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
  839. 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
  840. 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  841. 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  842. 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
  843. 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  844. 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  845. 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* EP enable, IN data in FIFO */
  846. 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
  847. 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  848. 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_SNAK);
  849. 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_EPDIS);
  850. 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  851. 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  852. 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  853. 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  854. 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  855. 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 10000U)
  856. 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  857. 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  858. 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  859. 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  860. 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA);
  861. 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  862. 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  863. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
  864. 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  865. 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
  866. 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  867. 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_SNAK);
  868. 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_EPDIS);
  869. 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  870. 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  871. ARM GAS /tmp/ccGUz1hM.s page 16
  872. 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  873. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  874. 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  875. 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 10000U)
  876. 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  877. 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  878. 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  879. 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  880. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA);
  881. 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  882. 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  883. 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  884. 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  885. 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  886. 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  887. 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  888. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  889. 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_WritePacket : Writes a packet into the Tx FIFO associated
  890. 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * with the EP/channel
  891. 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  892. 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param src pointer to source buffer
  893. 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ch_ep_num endpoint or host channel number
  894. 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param len Number of bytes to write
  895. 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  896. 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  897. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_WritePacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *src,
  898. 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t ch_ep_num, uint16_t len)
  899. 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  900. 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  901. 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pSrc = src;
  902. 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count32b;
  903. 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
  904. 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  905. 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count32b = ((uint32_t)len + 3U) / 4U;
  906. 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < count32b; i++)
  907. 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  908. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DFIFO((uint32_t)ch_ep_num) = __UNALIGNED_UINT32_READ(pSrc);
  909. 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
  910. 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
  911. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
  912. 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
  913. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  914. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  915. 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  916. 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  917. 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  918. 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  919. 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadPacket : read a packet from the RX FIFO
  920. 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  921. 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param dest source pointer
  922. 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param len Number of bytes to read
  923. 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval pointer to destination buffer
  924. 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  925. 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len)
  926. 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  927. 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  928. 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pDest = dest;
  929. ARM GAS /tmp/ccGUz1hM.s page 17
  930. 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t pData;
  931. 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
  932. 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count32b = (uint32_t)len >> 2U;
  933. 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t remaining_bytes = len % 4U;
  934. 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  935. 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < count32b; i++)
  936. 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  937. 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __UNALIGNED_UINT32_WRITE(pDest, USBx_DFIFO(0U));
  938. 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
  939. 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
  940. 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
  941. 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
  942. 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  943. 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  944. 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* When Number of data is not word aligned, read the remaining byte */
  945. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (remaining_bytes != 0U)
  946. 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  947. 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** i = 0U;
  948. 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __UNALIGNED_UINT32_WRITE(&pData, USBx_DFIFO(0U));
  949. 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  950. 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  951. 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  952. 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *(uint8_t *)pDest = (uint8_t)(pData >> (8U * (uint8_t)(i)));
  953. 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** i++;
  954. 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
  955. 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** remaining_bytes--;
  956. 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while (remaining_bytes != 0U);
  957. 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  958. 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  959. 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((void *)pDest);
  960. 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  961. 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  962. 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  963. 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPSetStall : set a stall condition over an EP
  964. 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  965. 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  966. 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  967. 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  968. 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPSetStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  969. 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  970. 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  971. 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  972. 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  973. 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  974. 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  975. 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == 0U) && (epnum != 0U))
  976. 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  977. 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_EPDIS);
  978. 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  979. 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_STALL;
  980. 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  981. 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  982. 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  983. 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == 0U) && (epnum != 0U))
  984. 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  985. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~(USB_OTG_DOEPCTL_EPDIS);
  986. 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  987. ARM GAS /tmp/ccGUz1hM.s page 18
  988. 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_STALL;
  989. 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  990. 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  991. 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  992. 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  993. 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  994. 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  995. 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPClearStall : Clear a stall condition over an EP
  996. 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  997. 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  998. 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  999. 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1000. 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPClearStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
  1001. 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1002. 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1003. 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
  1004. 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1005. 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  1006. 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1007. 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL;
  1008. 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_BULK))
  1009. 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1010. 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM; /* DATA0 */
  1011. 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1012. 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1013. 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1014. 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1015. 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL;
  1016. 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_BULK))
  1017. 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1018. 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SD0PID_SEVNFRM; /* DATA0 */
  1019. 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1020. 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1021. 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1022. 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1023. 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1024. 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1025. 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_StopDevice : Stop the usb device mode
  1026. 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1027. 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1028. 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1029. 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_StopDevice(USB_OTG_GlobalTypeDef *USBx)
  1030. 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1031. 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret;
  1032. 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1033. 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
  1034. 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1035. 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear Pending interrupt */
  1036. 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < 15U; i++)
  1037. 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1038. 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPINT = 0xFB7FU;
  1039. 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPINT = 0xFB7FU;
  1040. 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1041. 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1042. 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear interrupt masks */
  1043. 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPMSK = 0U;
  1044. 1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DOEPMSK = 0U;
  1045. ARM GAS /tmp/ccGUz1hM.s page 19
  1046. 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK = 0U;
  1047. 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1048. 1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush the FIFO */
  1049. 1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = USB_FlushRxFifo(USBx);
  1050. 1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ret != HAL_OK)
  1051. 1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1052. 1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  1053. 1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1054. 1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1055. 1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = USB_FlushTxFifo(USBx, 0x10U);
  1056. 1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ret != HAL_OK)
  1057. 1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1058. 1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  1059. 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1060. 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1061. 1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  1062. 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1063. 1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1064. 1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1065. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetDevAddress : Stop the usb device mode
  1066. 1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1067. 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param address new device address to be assigned
  1068. 1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 255
  1069. 1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1070. 1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1071. 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t address)
  1072. 1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1073. 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1074. 1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1075. 1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCFG &= ~(USB_OTG_DCFG_DAD);
  1076. 1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCFG |= ((uint32_t)address << 4) & USB_OTG_DCFG_DAD;
  1077. 1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1078. 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1079. 1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1080. 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1081. 1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1082. 1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevConnect : Connect the USB device by enabling Rpu
  1083. 1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1084. 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1085. 1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1086. 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevConnect(USB_OTG_GlobalTypeDef *USBx)
  1087. 1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1088. 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1089. 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1090. 1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* In case phy is stopped, ensure to ungate and restore the phy CLK */
  1091. 1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL &= ~(USB_OTG_PCGCCTL_STOPCLK | USB_OTG_PCGCCTL_GATECLK);
  1092. 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1093. 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_SDIS;
  1094. 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1095. 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1096. 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1097. 1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1098. 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1099. 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevDisconnect : Disconnect the USB device by disabling Rpu
  1100. 1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1101. 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1102. 1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1103. ARM GAS /tmp/ccGUz1hM.s page 20
  1104. 1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevDisconnect(USB_OTG_GlobalTypeDef *USBx)
  1105. 1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1106. 1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1107. 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1108. 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* In case phy is stopped, ensure to ungate and restore the phy CLK */
  1109. 1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL &= ~(USB_OTG_PCGCCTL_STOPCLK | USB_OTG_PCGCCTL_GATECLK);
  1110. 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1111. 1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL |= USB_OTG_DCTL_SDIS;
  1112. 1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1113. 1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1114. 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1115. 1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1116. 1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1117. 1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadInterrupts: return the global USB interrupt status
  1118. 1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1119. 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Global Interrupt status
  1120. 1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1121. 1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef const *USBx)
  1122. 1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1123. 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1124. 1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1125. 1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx->GINTSTS;
  1126. 1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx->GINTMSK;
  1127. 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1128. 1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
  1129. 1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1130. 1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1131. 1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1132. 1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadChInterrupts: return USB channel interrupt status
  1133. 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1134. 1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param chnum Channel number
  1135. 1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Channel Interrupt status
  1136. 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1137. 1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadChInterrupts(USB_OTG_GlobalTypeDef *USBx, uint8_t chnum)
  1138. 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1139. 1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1140. 1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1141. 1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1142. 1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_HC(chnum)->HCINT;
  1143. 1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_HC(chnum)->HCINTMSK;
  1144. 1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1145. 1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
  1146. 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1147. 1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1148. 1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1149. 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllOutEpInterrupt: return the USB device OUT endpoints interrupt status
  1150. 1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1151. 1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Device OUT EP interrupt status
  1152. 1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1153. 1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllOutEpInterrupt(USB_OTG_GlobalTypeDef *USBx)
  1154. 1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1155. 1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1156. 1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1157. 1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1158. 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_DEVICE->DAINT;
  1159. 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_DEVICE->DAINTMSK;
  1160. 1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1161. ARM GAS /tmp/ccGUz1hM.s page 21
  1162. 1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((tmpreg & 0xffff0000U) >> 16);
  1163. 1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1164. 1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1165. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1166. 1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllInEpInterrupt: return the USB device IN endpoints interrupt status
  1167. 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1168. 1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Device IN EP interrupt status
  1169. 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1170. 1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllInEpInterrupt(USB_OTG_GlobalTypeDef *USBx)
  1171. 1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1172. 1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1173. 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1174. 1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1175. 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_DEVICE->DAINT;
  1176. 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_DEVICE->DAINTMSK;
  1177. 1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1178. 1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((tmpreg & 0xFFFFU));
  1179. 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1180. 1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1181. 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1182. 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device OUT EP Interrupt register
  1183. 1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1184. 1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
  1185. 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
  1186. 1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device OUT EP Interrupt register
  1187. 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1188. 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevOutEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum)
  1189. 1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1190. 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1191. 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1192. 1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1193. 1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_OUTEP((uint32_t)epnum)->DOEPINT;
  1194. 1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_DEVICE->DOEPMSK;
  1195. 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1196. 1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
  1197. 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1198. 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1199. 1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1200. 1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device IN EP Interrupt register
  1201. 1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1202. 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
  1203. 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
  1204. 1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device IN EP Interrupt register
  1205. 1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1206. 1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevInEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum)
  1207. 1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1208. 1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1209. 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1210. 1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t msk;
  1211. 1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t emp;
  1212. 1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1213. 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** msk = USBx_DEVICE->DIEPMSK;
  1214. 1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** emp = USBx_DEVICE->DIEPEMPMSK;
  1215. 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** msk |= ((emp >> (epnum & EP_ADDR_MSK)) & 0x1U) << 7;
  1216. 1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_INEP((uint32_t)epnum)->DIEPINT & msk;
  1217. 1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1218. 1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
  1219. ARM GAS /tmp/ccGUz1hM.s page 22
  1220. 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1221. 1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1222. 1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1223. 1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ClearInterrupts: clear a USB interrupt
  1224. 1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1225. 1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param interrupt flag
  1226. 1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
  1227. 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1228. 1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void USB_ClearInterrupts(USB_OTG_GlobalTypeDef *USBx, uint32_t interrupt)
  1229. 1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1230. 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS &= interrupt;
  1231. 1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1232. 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1233. 1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1234. 1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns USB core mode
  1235. 1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1236. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval return core mode : Host or Device
  1237. 1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  1238. 1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 0 : Host
  1239. 1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 1 : Device
  1240. 1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1241. 1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_GetMode(USB_OTG_GlobalTypeDef *USBx)
  1242. 1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1243. 1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((USBx->GINTSTS) & 0x1U);
  1244. 1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1245. 1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1246. 1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1247. 1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate EP0 for Setup transactions
  1248. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1249. 1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1250. 1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1251. 1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateSetup(USB_OTG_GlobalTypeDef *USBx)
  1252. 1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1253. 1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1254. 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1255. 1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the MPS of the IN EP0 to 64 bytes */
  1256. 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(0U)->DIEPCTL &= ~USB_OTG_DIEPCTL_MPSIZ;
  1257. 1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1258. 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL |= USB_OTG_DCTL_CGINAK;
  1259. 1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1260. 1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1261. 1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1262. 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1263. 1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1264. 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Prepare the EP0 to start the first control setup
  1265. 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1266. 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param psetup pointer to setup packet
  1267. 1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1268. 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1269. 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EP0_OutStart(USB_OTG_GlobalTypeDef *USBx, uint8_t *psetup)
  1270. 1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1271. 1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1272. 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t gSNPSiD = *(__IO uint32_t *)(&USBx->CID + 0x1U);
  1273. 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(psetup);
  1274. 1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1275. 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (gSNPSiD > USB_OTG_CORE_ID_300A)
  1276. 1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1277. ARM GAS /tmp/ccGUz1hM.s page 23
  1278. 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(0U)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
  1279. 1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1280. 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1281. 1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1282. 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1283. 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1284. 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ = 0U;
  1285. 1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19));
  1286. 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ |= (3U * 8U);
  1287. 1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_STUPCNT;
  1288. 1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1289. 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1290. 1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1291. 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1292. 1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1293. 1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Reset the USB Core (needed after USB clock settings change)
  1294. 1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1295. 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1296. 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1297. 1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx)
  1298. 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1299. 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
  1300. 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1301. 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Wait for AHB master IDLE state. */
  1302. 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  1303. 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1304. 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  1305. 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1306. 1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
  1307. 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1308. 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
  1309. 1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1310. 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U);
  1311. 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1312. 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Core Soft Reset */
  1313. 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count = 0U;
  1314. 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST;
  1315. 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1316. 1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  1317. 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1318. 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  1319. 1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1320. 1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
  1321. 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1322. 1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
  1323. 1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1324. 1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST);
  1325. 1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1326. 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1327. 1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1328. 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1329. 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1330. 1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_HostInit : Initializes the USB OTG controller registers
  1331. 1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * for Host mode
  1332. 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1333. 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains
  1334. 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
  1335. ARM GAS /tmp/ccGUz1hM.s page 24
  1336. 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1337. 1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1338. 1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
  1339. 1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1340. 1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
  1341. 1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1342. 1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
  1343. 1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1344. 1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Restart the Phy Clock */
  1345. 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL = 0U;
  1346. 1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1347. 1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Disable VBUS sensing */
  1348. 1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_VBUSASEN);
  1349. 1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_VBUSBSEN);
  1350. 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set default Max speed support */
  1351. 1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HCFG &= ~(USB_OTG_HCFG_FSLSS);
  1352. 1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1353. 1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Make sure the FIFOs are flushed. */
  1354. 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */
  1355. 1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1356. 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  1357. 1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1358. 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1359. 1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushRxFifo(USBx) != HAL_OK)
  1360. 1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1361. 1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  1362. 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1363. 1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1364. 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear all pending HC Interrupts */
  1365. 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < cfg.Host_channels; i++)
  1366. 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1367. 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCINT = CLEAR_INTERRUPT_MASK;
  1368. 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCINTMSK = 0U;
  1369. 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1370. 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1371. 1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Disable all interrupts. */
  1372. 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK = 0U;
  1373. 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1374. 1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear any pending interrupts */
  1375. 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS = CLEAR_INTERRUPT_MASK;
  1376. 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1377. 1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* set Rx FIFO size */
  1378. 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRXFSIZ = 0x80U;
  1379. 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->DIEPTXF0_HNPTXFSIZ = (uint32_t)(((0x60U << 16) & USB_OTG_NPTXFD) | 0x80U);
  1380. 1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->HPTXFSIZ = (uint32_t)(((0x40U << 16)& USB_OTG_HPTXFSIZ_PTXFD) | 0xE0U);
  1381. 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the common interrupts */
  1382. 1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_RXFLVLM;
  1383. 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1384. 1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable interrupts matching to the Host mode ONLY */
  1385. 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= (USB_OTG_GINTMSK_PRTIM | USB_OTG_GINTMSK_HCIM | \
  1386. 1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_SOFM | USB_OTG_GINTSTS_DISCINT | \
  1387. 1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_PXFRM_IISOOXFRM | USB_OTG_GINTMSK_WUIM);
  1388. 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1389. 1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  1390. 1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1391. 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1392. 1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1393. ARM GAS /tmp/ccGUz1hM.s page 25
  1394. 1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_InitFSLSPClkSel : Initializes the FSLSPClkSel field of the
  1395. 1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * HCFG register on the PHY type and set the right frame interval
  1396. 1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1397. 1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param freq clock frequency
  1398. 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  1399. 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * HCFG_48_MHZ : Full Speed 48 MHz Clock
  1400. 1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * HCFG_6_MHZ : Low Speed 6 MHz Clock
  1401. 1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1402. 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1403. 1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_InitFSLSPClkSel(USB_OTG_GlobalTypeDef *USBx, uint8_t freq)
  1404. 1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1405. 1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1406. 1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1407. 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HCFG &= ~(USB_OTG_HCFG_FSLSPCS);
  1408. 1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HCFG |= (uint32_t)freq & USB_OTG_HCFG_FSLSPCS;
  1409. 1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1410. 1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (freq == HCFG_48_MHZ)
  1411. 1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1412. 1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HFIR = HFIR_48_MHZ;
  1413. 1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1414. 1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if (freq == HCFG_6_MHZ)
  1415. 1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1416. 1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HFIR = HFIR_6_MHZ;
  1417. 1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1418. 1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1419. 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1420. 1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
  1421. 1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1422. 1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1423. 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1424. 1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1425. 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1426. 1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1427. 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_OTG_ResetPort : Reset Host Port
  1428. 1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1429. 1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1430. 1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @note (1)The application must wait at least 10 ms
  1431. 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * before clearing the reset bit.
  1432. 1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1433. 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ResetPort(USB_OTG_GlobalTypeDef *USBx)
  1434. 1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1435. 1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1436. 1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1437. 1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t hprt0 = 0U;
  1438. 1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1439. 1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 = USBx_HPRT0;
  1440. 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1441. 1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET |
  1442. 1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HPRT_PENCHNG | USB_OTG_HPRT_POCCHNG);
  1443. 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1444. 1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0);
  1445. 1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(100U); /* See Note #1 */
  1446. 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0);
  1447. 1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(10U);
  1448. 1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1449. 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1450. 1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1451. ARM GAS /tmp/ccGUz1hM.s page 26
  1452. 1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1453. 1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1454. 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DriveVbus : activate or de-activate vbus
  1455. 1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param state VBUS state
  1456. 1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  1457. 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 0 : Deactivate VBUS
  1458. 1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 1 : Activate VBUS
  1459. 1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1460. 1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1461. 1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DriveVbus(USB_OTG_GlobalTypeDef *USBx, uint8_t state)
  1462. 1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1463. 1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1464. 1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t hprt0 = 0U;
  1465. 1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1466. 1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 = USBx_HPRT0;
  1467. 1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1468. 1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET |
  1469. 1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HPRT_PENCHNG | USB_OTG_HPRT_POCCHNG);
  1470. 1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1471. 1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U))
  1472. 1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1473. 1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0);
  1474. 1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1475. 1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((hprt0 & USB_OTG_HPRT_PPWR) == USB_OTG_HPRT_PPWR) && (state == 0U))
  1476. 1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1477. 1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = ((~USB_OTG_HPRT_PPWR) & hprt0);
  1478. 1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1479. 1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1480. 1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1481. 1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1482. 1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1483. 1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Return Host Core speed
  1484. 1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1485. 1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval speed : Host speed
  1486. 1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  1487. 1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg HCD_SPEED_FULL: Full speed mode
  1488. 1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg HCD_SPEED_LOW: Low speed mode
  1489. 1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1490. 1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef const *USBx)
  1491. 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1492. 1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1493. 1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t hprt0 = 0U;
  1494. 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1495. 1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 = USBx_HPRT0;
  1496. 1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((hprt0 & USB_OTG_HPRT_PSPD) >> 17);
  1497. 1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1498. 1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1499. 1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1500. 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Return Host Current Frame number
  1501. 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1502. 1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval current frame number
  1503. 1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1504. 1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef const *USBx)
  1505. 1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1506. 1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1507. 1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1508. 1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (USBx_HOST->HFNUM & USB_OTG_HFNUM_FRNUM);
  1509. ARM GAS /tmp/ccGUz1hM.s page 27
  1510. 1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1511. 1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1512. 1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1513. 1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initialize a host channel
  1514. 1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1515. 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ch_num Channel number
  1516. 1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
  1517. 1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum Endpoint number
  1518. 1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
  1519. 1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param dev_address Current device address
  1520. 1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 255
  1521. 1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param speed Current device speed
  1522. 1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  1523. 1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_OTG_SPEED_FULL: Full speed mode
  1524. 1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_OTG_SPEED_LOW: Low speed mode
  1525. 1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep_type Endpoint Type
  1526. 1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
  1527. 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_CTRL: Control type
  1528. 1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_ISOC: Isochronous type
  1529. 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_BULK: Bulk type
  1530. 1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_INTR: Interrupt type
  1531. 1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param mps Max Packet Size
  1532. 1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 32K
  1533. 1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
  1534. 1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1535. 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num,
  1536. 1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t epnum, uint8_t dev_address, uint8_t speed,
  1537. 1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t ep_type, uint16_t mps)
  1538. 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1539. 1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
  1540. 1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1541. 1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HCcharEpDir;
  1542. 1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HCcharLowSpeed;
  1543. 1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HostCoreSpeed;
  1544. 1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1545. 1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear old interrupt conditions for this host channel. */
  1546. 1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINT = CLEAR_INTERRUPT_MASK;
  1547. 1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1548. 1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable channel interrupts required for this transfer. */
  1549. 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** switch (ep_type)
  1550. 1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1551. 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_CTRL:
  1552. 1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_BULK:
  1553. 1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK = USB_OTG_HCINTMSK_XFRCM |
  1554. 1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_STALLM |
  1555. 1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_TXERRM |
  1556. 1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_DTERRM |
  1557. 1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_AHBERR |
  1558. 1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_NAKM;
  1559. 1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1560. 1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
  1561. 1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1562. 1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_BBERRM;
  1563. 1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1564. 1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1565. 1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1566. 1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_INTR:
  1567. ARM GAS /tmp/ccGUz1hM.s page 28
  1568. 1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK = USB_OTG_HCINTMSK_XFRCM |
  1569. 1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_STALLM |
  1570. 1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_TXERRM |
  1571. 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_DTERRM |
  1572. 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_NAKM |
  1573. 1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_AHBERR |
  1574. 1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_FRMORM;
  1575. 1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1576. 1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
  1577. 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1578. 1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_BBERRM;
  1579. 1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1580. 1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1581. 1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1582. 1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1583. 1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_ISOC:
  1584. 1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK = USB_OTG_HCINTMSK_XFRCM |
  1585. 1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_ACKM |
  1586. 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_AHBERR |
  1587. 1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_FRMORM;
  1588. 1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1589. 1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
  1590. 1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1591. 1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= (USB_OTG_HCINTMSK_TXERRM | USB_OTG_HCINTMSK_BBERRM);
  1592. 1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1593. 1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1594. 1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1595. 1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** default:
  1596. 1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  1597. 1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1598. 1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1599. 1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1600. 1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable host channel Halt interrupt */
  1601. 1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_CHHM;
  1602. 1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1603. 1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the top level host channel interrupt. */
  1604. 1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HAINTMSK |= 1UL << (ch_num & 0xFU);
  1605. 1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1606. 1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Make sure host channel interrupts are enabled. */
  1607. 1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_HCIM;
  1608. 1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1609. 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Program the HCCHAR register */
  1610. 1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
  1611. 1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1612. 1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharEpDir = (0x1U << 15) & USB_OTG_HCCHAR_EPDIR;
  1613. 1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1614. 1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1615. 1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1616. 1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharEpDir = 0U;
  1617. 1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1618. 1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1619. 1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HostCoreSpeed = USB_GetHostSpeed(USBx);
  1620. 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1621. 1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* LS device plugged to HUB */
  1622. 1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((speed == HPRT0_PRTSPD_LOW_SPEED) && (HostCoreSpeed != HPRT0_PRTSPD_LOW_SPEED))
  1623. 1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1624. 1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharLowSpeed = (0x1U << 17) & USB_OTG_HCCHAR_LSDEV;
  1625. ARM GAS /tmp/ccGUz1hM.s page 29
  1626. 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1627. 1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1628. 1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1629. 1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharLowSpeed = 0U;
  1630. 1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1631. 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1632. 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCCHAR = (((uint32_t)dev_address << 22) & USB_OTG_HCCHAR_DAD) |
  1633. 1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((((uint32_t)epnum & 0x7FU) << 11) & USB_OTG_HCCHAR_EPNUM) |
  1634. 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((uint32_t)ep_type << 18) & USB_OTG_HCCHAR_EPTYP) |
  1635. 1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)mps & USB_OTG_HCCHAR_MPSIZ) |
  1636. 1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCCHAR_MC_0 | HCcharEpDir | HCcharLowSpeed;
  1637. 1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1638. 1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((ep_type == EP_TYPE_INTR) || (ep_type == EP_TYPE_ISOC))
  1639. 1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1640. 1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCCHAR |= USB_OTG_HCCHAR_ODDFRM;
  1641. 1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1642. 1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1643. 1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  1644. 1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1645. 1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1646. 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1647. 1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Start a transfer over a host channel
  1648. 1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1649. 1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hc pointer to host channel structure
  1650. 1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
  1651. 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1652. 1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HC_StartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_HCTypeDef *hc)
  1653. 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1654. 1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1655. 1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t ch_num = (uint32_t)hc->ch_num;
  1656. 1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t tmpreg;
  1657. 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t is_oddframe;
  1658. 1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t len_words;
  1659. 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t num_packets;
  1660. 1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t max_hc_pkt_count = HC_MAX_PKT_CNT;
  1661. 1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1662. 1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Compute the expected number of packets associated to the transfer */
  1663. 1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (hc->xfer_len > 0U)
  1664. 1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1665. 1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** num_packets = (uint16_t)((hc->xfer_len + hc->max_packet - 1U) / hc->max_packet);
  1666. 1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1667. 1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (num_packets > max_hc_pkt_count)
  1668. 1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1669. 1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** num_packets = max_hc_pkt_count;
  1670. 1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hc->XferSize = (uint32_t)num_packets * hc->max_packet;
  1671. 1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1672. 1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1673. 1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1674. 1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1675. 1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** num_packets = 1U;
  1676. 1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1677. 1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1678. 1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*
  1679. 1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * For IN channel HCTSIZ.XferSize is expected to be an integer multiple of
  1680. 1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * max_packet size.
  1681. 1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1682. 1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (hc->ep_is_in != 0U)
  1683. ARM GAS /tmp/ccGUz1hM.s page 30
  1684. 1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1685. 1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hc->XferSize = (uint32_t)num_packets * hc->max_packet;
  1686. 1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1687. 1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1688. 1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1689. 1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hc->XferSize = hc->xfer_len;
  1690. 1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1691. 1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1692. 1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Initialize the HCTSIZn register */
  1693. 1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCTSIZ = (hc->XferSize & USB_OTG_HCTSIZ_XFRSIZ) |
  1694. 1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((uint32_t)num_packets << 19) & USB_OTG_HCTSIZ_PKTCNT) |
  1695. 1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((uint32_t)hc->data_pid << 29) & USB_OTG_HCTSIZ_DPID);
  1696. 1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1697. 1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** is_oddframe = (((uint32_t)USBx_HOST->HFNUM & 0x01U) != 0U) ? 0U : 1U;
  1698. 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCCHAR &= ~USB_OTG_HCCHAR_ODDFRM;
  1699. 1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCCHAR |= (uint32_t)is_oddframe << 29;
  1700. 1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1701. 1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set host channel enable */
  1702. 1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_HC(ch_num)->HCCHAR;
  1703. 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
  1704. 1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1705. 1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* make sure to set the correct ep direction */
  1706. 1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (hc->ep_is_in != 0U)
  1707. 1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1708. 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg |= USB_OTG_HCCHAR_EPDIR;
  1709. 1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1710. 1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1711. 1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1712. 1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= ~USB_OTG_HCCHAR_EPDIR;
  1713. 1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1714. 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg |= USB_OTG_HCCHAR_CHENA;
  1715. 1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCCHAR = tmpreg;
  1716. 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1717. 1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((hc->ep_is_in == 0U) && (hc->xfer_len > 0U))
  1718. 1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1719. 1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** switch (hc->ep_type)
  1720. 1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1721. 1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Non periodic transfer */
  1722. 1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_CTRL:
  1723. 1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_BULK:
  1724. 1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1725. 1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len_words = (uint16_t)((hc->xfer_len + 3U) / 4U);
  1726. 1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1727. 1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* check if there is enough space in FIFO space */
  1728. 1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (len_words > (USBx->HNPTXSTS & 0xFFFFU))
  1729. 1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1730. 1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* need to process data in nptxfempty interrupt */
  1731. 1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_NPTXFEM;
  1732. 1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1733. 1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1734. 1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1735. 1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Periodic transfer */
  1736. 1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_INTR:
  1737. 1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_ISOC:
  1738. 1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len_words = (uint16_t)((hc->xfer_len + 3U) / 4U);
  1739. 1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* check if there is enough space in FIFO space */
  1740. 1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (len_words > (USBx_HOST->HPTXSTS & 0xFFFFU)) /* split the transfer */
  1741. ARM GAS /tmp/ccGUz1hM.s page 31
  1742. 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1743. 1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* need to process data in ptxfempty interrupt */
  1744. 1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_PTXFEM;
  1745. 1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1746. 1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1747. 1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1748. 1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** default:
  1749. 1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1750. 1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1751. 1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1752. 1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write packet into the Tx FIFO. */
  1753. 1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_WritePacket(USBx, hc->xfer_buff, hc->ch_num, (uint16_t)hc->xfer_len);
  1754. 1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1755. 1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1756. 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1757. 1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1758. 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1759. 1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1760. 1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Read all host channel interrupts status
  1761. 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1762. 1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
  1763. 1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1764. 1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_HC_ReadInterrupt(USB_OTG_GlobalTypeDef *USBx)
  1765. 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1766. 1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1767. 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1768. 1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((USBx_HOST->HAINT) & 0xFFFFU);
  1769. 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1770. 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1771. 1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1772. 1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Halt a host channel
  1773. 1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1774. 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hc_num Host Channel number
  1775. 1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
  1776. 1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
  1777. 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1778. 1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HC_Halt(USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num)
  1779. 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1780. 1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1781. 1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t hcnum = (uint32_t)hc_num;
  1782. 1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
  1783. 1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HcEpType = (USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_EPTYP) >> 18;
  1784. 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t ChannelEna = (USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) >> 31;
  1785. 1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t SplitEna = (USBx_HC(hcnum)->HCSPLT & USB_OTG_HCSPLT_SPLITEN) >> 31;
  1786. 1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1787. 1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* In buffer DMA, Channel disable must not be programmed for non-split periodic channels.
  1788. 1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** At the end of the next uframe/frame (in the worst case), the core generates a channel halted
  1789. 1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** and disables the channel automatically. */
  1790. 1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1791. 1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((((USBx->GAHBCFG & USB_OTG_GAHBCFG_DMAEN) == USB_OTG_GAHBCFG_DMAEN) && (SplitEna == 0U)) &&
  1792. 1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((ChannelEna == 0U) || (((HcEpType == HCCHAR_ISOC) || (HcEpType == HCCHAR_INTR)))))
  1793. 1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1794. 1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1795. 1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1796. 1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1797. 1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Check for space in the request queue to issue the halt. */
  1798. 1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((HcEpType == HCCHAR_CTRL) || (HcEpType == HCCHAR_BULK))
  1799. ARM GAS /tmp/ccGUz1hM.s page 32
  1800. 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1801. 1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHDIS;
  1802. 1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1803. 1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx->GAHBCFG & USB_OTG_GAHBCFG_DMAEN) == 0U)
  1804. 1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1805. 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx->HNPTXSTS & (0xFFU << 16)) == 0U)
  1806. 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1807. 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_CHENA;
  1808. 1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
  1809. 1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  1810. 1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1811. 1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  1812. 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1813. 1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 1000U)
  1814. 1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1815. 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1816. 1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1817. 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) == USB_OTG_HCCHAR_CHENA);
  1818. 1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1819. 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1820. 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1821. 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
  1822. 1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1823. 1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1824. 1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1825. 1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1826. 1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
  1827. 1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1828. 1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1829. 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1830. 1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1831. 1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHDIS;
  1832. 1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1833. 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_HOST->HPTXSTS & (0xFFU << 16)) == 0U)
  1834. 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1835. 1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_CHENA;
  1836. 1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
  1837. 1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  1838. 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1839. 1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  1840. 1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1841. 1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 1000U)
  1842. 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1843. 1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1844. 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1845. 1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) == USB_OTG_HCCHAR_CHENA);
  1846. 1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1847. 1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  1848. 1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1849. 1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
  1850. 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1851. 1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1852. 1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1853. 1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1854. 1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1855. 1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1856. 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1857. ARM GAS /tmp/ccGUz1hM.s page 33
  1858. 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initiate Do Ping protocol
  1859. 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1860. 1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hc_num Host Channel number
  1861. 1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
  1862. 1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
  1863. 1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1864. 1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DoPing(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num)
  1865. 1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1866. 1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1867. 1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t chnum = (uint32_t)ch_num;
  1868. 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t num_packets = 1U;
  1869. 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  1870. 1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1871. 1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(chnum)->HCTSIZ = ((num_packets << 19) & USB_OTG_HCTSIZ_PKTCNT) |
  1872. 1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCTSIZ_DOPING;
  1873. 1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1874. 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set host channel enable */
  1875. 1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_HC(chnum)->HCCHAR;
  1876. 1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
  1877. 1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg |= USB_OTG_HCCHAR_CHENA;
  1878. 1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(chnum)->HCCHAR = tmpreg;
  1879. 1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1880. 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1881. 1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1882. 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1883. 1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1884. 1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Stop Host Core
  1885. 1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1886. 1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
  1887. 1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1888. 1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_StopHost(USB_OTG_GlobalTypeDef *USBx)
  1889. 1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1890. 1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
  1891. 1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1892. 1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
  1893. 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t value;
  1894. 1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
  1895. 1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1896. 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_DisableGlobalInt(USBx);
  1897. 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1898. 1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush USB FIFO */
  1899. 1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */
  1900. 1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1901. 1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  1902. 1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1903. 1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1904. 1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushRxFifo(USBx) != HAL_OK)
  1905. 1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1906. 1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  1907. 1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1908. 1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1909. 1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush out any leftover queued requests. */
  1910. 1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i <= 15U; i++)
  1911. 1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1912. 1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value = USBx_HC(i)->HCCHAR;
  1913. 1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value |= USB_OTG_HCCHAR_CHDIS;
  1914. 1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value &= ~USB_OTG_HCCHAR_CHENA;
  1915. ARM GAS /tmp/ccGUz1hM.s page 34
  1916. 1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value &= ~USB_OTG_HCCHAR_EPDIR;
  1917. 1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCCHAR = value;
  1918. 1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1919. 1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1920. 1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Halt all channels to put them into a known state. */
  1921. 1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i <= 15U; i++)
  1922. 1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1923. 1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value = USBx_HC(i)->HCCHAR;
  1924. 1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value |= USB_OTG_HCCHAR_CHDIS;
  1925. 1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value |= USB_OTG_HCCHAR_CHENA;
  1926. 1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value &= ~USB_OTG_HCCHAR_EPDIR;
  1927. 1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCCHAR = value;
  1928. 1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1929. 1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
  1930. 1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1931. 1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
  1932. 1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1933. 1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 1000U)
  1934. 1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1935. 1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  1936. 1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1937. 1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx_HC(i)->HCCHAR & USB_OTG_HCCHAR_CHENA) == USB_OTG_HCCHAR_CHENA);
  1938. 1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1939. 1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1940. 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear any pending Host interrupts */
  1941. 1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HAINT = CLEAR_INTERRUPT_MASK;
  1942. 1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS = CLEAR_INTERRUPT_MASK;
  1943. 1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1944. 1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_EnableGlobalInt(USBx);
  1945. 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1946. 1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  1947. 1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1948. 1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1949. 1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1950. 1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ActivateRemoteWakeup active remote wakeup signalling
  1951. 1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1952. 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1953. 1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1954. 1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateRemoteWakeup(USB_OTG_GlobalTypeDef *USBx)
  1955. 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1956. 1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1957. 1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1958. 1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_DEVICE->DSTS & USB_OTG_DSTS_SUSPSTS) == USB_OTG_DSTS_SUSPSTS)
  1959. 1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1960. 1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* active Remote wakeup signalling */
  1961. 1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL |= USB_OTG_DCTL_RWUSIG;
  1962. 1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1963. 1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1964. 1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1965. 1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1966. 1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1967. 1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1968. 1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DeActivateRemoteWakeup de-active remote wakeup signalling
  1969. 1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  1970. 1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1971. 1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1972. 1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeActivateRemoteWakeup(USB_OTG_GlobalTypeDef *USBx)
  1973. ARM GAS /tmp/ccGUz1hM.s page 35
  1974. 1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1975. 1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
  1976. 1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1977. 1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* active Remote wakeup signalling */
  1978. 1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL &= ~(USB_OTG_DCTL_RWUSIG);
  1979. 1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1980. 1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  1981. 1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  1982. 1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* defined (USB_OTG_FS) */
  1983. 1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  1984. 1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (USB)
  1985. 1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  1986. 1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initializes the USB Core
  1987. 1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB Instance
  1988. 1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_CfgTypeDef structure that contains
  1989. 1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
  1990. 1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  1991. 1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  1992. 1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_CoreInit(USB_TypeDef *USBx, USB_CfgTypeDef cfg)
  1993. 1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  1994. 28 .loc 1 1932 1 view -0
  1995. 29 .cfi_startproc
  1996. 30 @ args = 36, pretend = 16, frame = 0
  1997. 31 @ frame_needed = 0, uses_anonymous_args = 0
  1998. 32 @ link register save eliminated.
  1999. 33 .loc 1 1932 1 is_stmt 0 view .LVU1
  2000. 34 0000 84B0 sub sp, sp, #16
  2001. 35 .LCFI0:
  2002. 36 .cfi_def_cfa_offset 16
  2003. 37 0002 01A8 add r0, sp, #4
  2004. 38 0004 80E80E00 stm r0, {r1, r2, r3}
  2005. 1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  2006. 1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  2007. 39 .loc 1 1934 3 is_stmt 1 view .LVU2
  2008. 1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(cfg);
  2009. 40 .loc 1 1935 3 view .LVU3
  2010. 1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2011. 1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  2012. 1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  2013. 1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  2014. 1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2015. 1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2016. 1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2017. 41 .loc 1 1942 3 view .LVU4
  2018. 1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2019. 42 .loc 1 1943 1 is_stmt 0 view .LVU5
  2020. 43 0008 0020 movs r0, #0
  2021. 44 .LVL1:
  2022. 45 .loc 1 1943 1 view .LVU6
  2023. 46 000a 04B0 add sp, sp, #16
  2024. 47 .LCFI1:
  2025. 48 .cfi_def_cfa_offset 0
  2026. 49 000c 7047 bx lr
  2027. 50 .cfi_endproc
  2028. 51 .LFE65:
  2029. 53 .section .text.USB_EnableGlobalInt,"ax",%progbits
  2030. 54 .align 1
  2031. ARM GAS /tmp/ccGUz1hM.s page 36
  2032. 55 .global USB_EnableGlobalInt
  2033. 56 .syntax unified
  2034. 57 .thumb
  2035. 58 .thumb_func
  2036. 60 USB_EnableGlobalInt:
  2037. 61 .LVL2:
  2038. 62 .LFB66:
  2039. 1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2040. 1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2041. 1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EnableGlobalInt
  2042. 1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Enables the controller's Global Int in the AHB Config reg
  2043. 1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  2044. 1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2045. 1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2046. 1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EnableGlobalInt(USB_TypeDef *USBx)
  2047. 1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2048. 63 .loc 1 1952 1 is_stmt 1 view -0
  2049. 64 .cfi_startproc
  2050. 65 @ args = 0, pretend = 0, frame = 0
  2051. 66 @ frame_needed = 0, uses_anonymous_args = 0
  2052. 67 @ link register save eliminated.
  2053. 68 .loc 1 1952 1 is_stmt 0 view .LVU8
  2054. 69 0000 0346 mov r3, r0
  2055. 1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t winterruptmask;
  2056. 70 .loc 1 1953 3 is_stmt 1 view .LVU9
  2057. 1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2058. 1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear pending interrupts */
  2059. 1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->ISTR = 0U;
  2060. 71 .loc 1 1956 3 view .LVU10
  2061. 72 .loc 1 1956 14 is_stmt 0 view .LVU11
  2062. 73 0002 0020 movs r0, #0
  2063. 74 .LVL3:
  2064. 75 .loc 1 1956 14 view .LVU12
  2065. 76 0004 A3F84400 strh r0, [r3, #68] @ movhi
  2066. 1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2067. 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set winterruptmask variable */
  2068. 1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** winterruptmask = USB_CNTR_CTRM | USB_CNTR_WKUPM |
  2069. 77 .loc 1 1959 3 is_stmt 1 view .LVU13
  2070. 78 .LVL4:
  2071. 1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SUSPM | USB_CNTR_ERRM |
  2072. 1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SOFM | USB_CNTR_ESOFM |
  2073. 1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_RESETM;
  2074. 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2075. 1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set interrupt mask */
  2076. 1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)winterruptmask;
  2077. 79 .loc 1 1965 3 view .LVU14
  2078. 80 .loc 1 1965 14 is_stmt 0 view .LVU15
  2079. 81 0008 4FF43F42 mov r2, #48896
  2080. 82 000c A3F84020 strh r2, [r3, #64] @ movhi
  2081. 1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2082. 1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2083. 83 .loc 1 1967 3 is_stmt 1 view .LVU16
  2084. 1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2085. 84 .loc 1 1968 1 is_stmt 0 view .LVU17
  2086. 85 0010 7047 bx lr
  2087. 86 .cfi_endproc
  2088. 87 .LFE66:
  2089. ARM GAS /tmp/ccGUz1hM.s page 37
  2090. 89 .section .text.USB_DisableGlobalInt,"ax",%progbits
  2091. 90 .align 1
  2092. 91 .global USB_DisableGlobalInt
  2093. 92 .syntax unified
  2094. 93 .thumb
  2095. 94 .thumb_func
  2096. 96 USB_DisableGlobalInt:
  2097. 97 .LVL5:
  2098. 98 .LFB67:
  2099. 1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2100. 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2101. 1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DisableGlobalInt
  2102. 1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Disable the controller's Global Int in the AHB Config reg
  2103. 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  2104. 1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2105. 1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2106. 1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DisableGlobalInt(USB_TypeDef *USBx)
  2107. 1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2108. 99 .loc 1 1977 1 is_stmt 1 view -0
  2109. 100 .cfi_startproc
  2110. 101 @ args = 0, pretend = 0, frame = 0
  2111. 102 @ frame_needed = 0, uses_anonymous_args = 0
  2112. 103 @ link register save eliminated.
  2113. 1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t winterruptmask;
  2114. 104 .loc 1 1978 3 view .LVU19
  2115. 1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2116. 1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set winterruptmask variable */
  2117. 1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** winterruptmask = USB_CNTR_CTRM | USB_CNTR_WKUPM |
  2118. 105 .loc 1 1981 3 view .LVU20
  2119. 1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SUSPM | USB_CNTR_ERRM |
  2120. 1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SOFM | USB_CNTR_ESOFM |
  2121. 1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_RESETM;
  2122. 1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2123. 1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear interrupt mask */
  2124. 1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR &= (uint16_t)(~winterruptmask);
  2125. 106 .loc 1 1987 3 view .LVU21
  2126. 107 .loc 1 1987 14 is_stmt 0 view .LVU22
  2127. 108 0000 B0F84030 ldrh r3, [r0, #64]
  2128. 109 0004 23F47C53 bic r3, r3, #16128
  2129. 110 0008 5B04 lsls r3, r3, #17
  2130. 111 000a 5B0C lsrs r3, r3, #17
  2131. 112 000c A0F84030 strh r3, [r0, #64] @ movhi
  2132. 1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2133. 1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2134. 113 .loc 1 1989 3 is_stmt 1 view .LVU23
  2135. 1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2136. 114 .loc 1 1990 1 is_stmt 0 view .LVU24
  2137. 115 0010 0020 movs r0, #0
  2138. 116 .LVL6:
  2139. 117 .loc 1 1990 1 view .LVU25
  2140. 118 0012 7047 bx lr
  2141. 119 .cfi_endproc
  2142. 120 .LFE67:
  2143. 122 .section .text.USB_SetCurrentMode,"ax",%progbits
  2144. 123 .align 1
  2145. 124 .global USB_SetCurrentMode
  2146. 125 .syntax unified
  2147. ARM GAS /tmp/ccGUz1hM.s page 38
  2148. 126 .thumb
  2149. 127 .thumb_func
  2150. 129 USB_SetCurrentMode:
  2151. 130 .LVL7:
  2152. 131 .LFB68:
  2153. 1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2154. 1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2155. 1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetCurrentMode Set functional mode
  2156. 1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  2157. 1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param mode current core mode
  2158. 1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of the these values:
  2159. 1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_DEVICE_MODE Peripheral mode
  2160. 1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2161. 1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2162. 2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetCurrentMode(USB_TypeDef *USBx, USB_ModeTypeDef mode)
  2163. 2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2164. 132 .loc 1 2001 1 is_stmt 1 view -0
  2165. 133 .cfi_startproc
  2166. 134 @ args = 0, pretend = 0, frame = 0
  2167. 135 @ frame_needed = 0, uses_anonymous_args = 0
  2168. 136 @ link register save eliminated.
  2169. 2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  2170. 2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  2171. 137 .loc 1 2003 3 view .LVU27
  2172. 2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(mode);
  2173. 138 .loc 1 2004 3 view .LVU28
  2174. 2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2175. 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  2176. 2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  2177. 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  2178. 2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2179. 2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2180. 139 .loc 1 2010 3 view .LVU29
  2181. 2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2182. 140 .loc 1 2011 1 is_stmt 0 view .LVU30
  2183. 141 0000 0020 movs r0, #0
  2184. 142 .LVL8:
  2185. 143 .loc 1 2011 1 view .LVU31
  2186. 144 0002 7047 bx lr
  2187. 145 .cfi_endproc
  2188. 146 .LFE68:
  2189. 148 .section .text.USB_DevInit,"ax",%progbits
  2190. 149 .align 1
  2191. 150 .global USB_DevInit
  2192. 151 .syntax unified
  2193. 152 .thumb
  2194. 153 .thumb_func
  2195. 155 USB_DevInit:
  2196. 156 .LVL9:
  2197. 157 .LFB69:
  2198. 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2199. 2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2200. 2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevInit Initializes the USB controller registers
  2201. 2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * for device mode
  2202. 2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  2203. 2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_CfgTypeDef structure that contains
  2204. 2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
  2205. ARM GAS /tmp/ccGUz1hM.s page 39
  2206. 2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2207. 2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2208. 2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevInit(USB_TypeDef *USBx, USB_CfgTypeDef cfg)
  2209. 2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2210. 158 .loc 1 2022 1 is_stmt 1 view -0
  2211. 159 .cfi_startproc
  2212. 160 @ args = 36, pretend = 16, frame = 0
  2213. 161 @ frame_needed = 0, uses_anonymous_args = 0
  2214. 162 @ link register save eliminated.
  2215. 163 .loc 1 2022 1 is_stmt 0 view .LVU33
  2216. 164 0000 84B0 sub sp, sp, #16
  2217. 165 .LCFI2:
  2218. 166 .cfi_def_cfa_offset 16
  2219. 167 0002 8446 mov ip, r0
  2220. 168 0004 01A8 add r0, sp, #4
  2221. 169 0006 80E80E00 stm r0, {r1, r2, r3}
  2222. 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  2223. 2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(cfg);
  2224. 170 .loc 1 2024 3 is_stmt 1 view .LVU34
  2225. 2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2226. 2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Init Device */
  2227. 2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* CNTR_FRES = 1 */
  2228. 2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)USB_CNTR_FRES;
  2229. 171 .loc 1 2028 3 view .LVU35
  2230. 172 .loc 1 2028 14 is_stmt 0 view .LVU36
  2231. 173 000a 0123 movs r3, #1
  2232. 174 000c ACF84030 strh r3, [ip, #64] @ movhi
  2233. 2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2234. 2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* CNTR_FRES = 0 */
  2235. 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = 0U;
  2236. 175 .loc 1 2031 3 is_stmt 1 view .LVU37
  2237. 176 .loc 1 2031 14 is_stmt 0 view .LVU38
  2238. 177 0010 0020 movs r0, #0
  2239. 178 .LVL10:
  2240. 179 .loc 1 2031 14 view .LVU39
  2241. 180 0012 ACF84000 strh r0, [ip, #64] @ movhi
  2242. 2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2243. 2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear pending interrupts */
  2244. 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->ISTR = 0U;
  2245. 181 .loc 1 2034 3 is_stmt 1 view .LVU40
  2246. 182 .loc 1 2034 14 is_stmt 0 view .LVU41
  2247. 183 0016 ACF84400 strh r0, [ip, #68] @ movhi
  2248. 2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2249. 2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Set Btable Address*/
  2250. 2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->BTABLE = BTABLE_ADDRESS;
  2251. 184 .loc 1 2037 3 is_stmt 1 view .LVU42
  2252. 185 .loc 1 2037 16 is_stmt 0 view .LVU43
  2253. 186 001a ACF85000 strh r0, [ip, #80] @ movhi
  2254. 2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2255. 2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2256. 187 .loc 1 2039 3 is_stmt 1 view .LVU44
  2257. 2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2258. 188 .loc 1 2040 1 is_stmt 0 view .LVU45
  2259. 189 001e 04B0 add sp, sp, #16
  2260. 190 .LCFI3:
  2261. 191 .cfi_def_cfa_offset 0
  2262. 192 0020 7047 bx lr
  2263. ARM GAS /tmp/ccGUz1hM.s page 40
  2264. 193 .cfi_endproc
  2265. 194 .LFE69:
  2266. 196 .section .text.USB_FlushTxFifo,"ax",%progbits
  2267. 197 .align 1
  2268. 198 .global USB_FlushTxFifo
  2269. 199 .syntax unified
  2270. 200 .thumb
  2271. 201 .thumb_func
  2272. 203 USB_FlushTxFifo:
  2273. 204 .LVL11:
  2274. 205 .LFB70:
  2275. 2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2276. 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2277. 2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushTxFifo : Flush a Tx FIFO
  2278. 2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx : Selected device
  2279. 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param num : FIFO number
  2280. 2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
  2281. 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** 15 means Flush all Tx FIFOs
  2282. 2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2283. 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2284. 2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef const *USBx, uint32_t num)
  2285. 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2286. 206 .loc 1 2051 1 is_stmt 1 view -0
  2287. 207 .cfi_startproc
  2288. 208 @ args = 0, pretend = 0, frame = 0
  2289. 209 @ frame_needed = 0, uses_anonymous_args = 0
  2290. 210 @ link register save eliminated.
  2291. 2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  2292. 2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  2293. 211 .loc 1 2053 3 view .LVU47
  2294. 2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(num);
  2295. 212 .loc 1 2054 3 view .LVU48
  2296. 2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2297. 2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  2298. 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  2299. 2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  2300. 2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2301. 2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2302. 2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2303. 213 .loc 1 2061 3 view .LVU49
  2304. 2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2305. 214 .loc 1 2062 1 is_stmt 0 view .LVU50
  2306. 215 0000 0020 movs r0, #0
  2307. 216 .LVL12:
  2308. 217 .loc 1 2062 1 view .LVU51
  2309. 218 0002 7047 bx lr
  2310. 219 .cfi_endproc
  2311. 220 .LFE70:
  2312. 222 .section .text.USB_FlushRxFifo,"ax",%progbits
  2313. 223 .align 1
  2314. 224 .global USB_FlushRxFifo
  2315. 225 .syntax unified
  2316. 226 .thumb
  2317. 227 .thumb_func
  2318. 229 USB_FlushRxFifo:
  2319. 230 .LVL13:
  2320. 231 .LFB71:
  2321. ARM GAS /tmp/ccGUz1hM.s page 41
  2322. 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2323. 2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2324. 2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushRxFifo : Flush Rx FIFO
  2325. 2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx : Selected device
  2326. 2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2327. 2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2328. 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef const *USBx)
  2329. 2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2330. 232 .loc 1 2070 1 is_stmt 1 view -0
  2331. 233 .cfi_startproc
  2332. 234 @ args = 0, pretend = 0, frame = 0
  2333. 235 @ frame_needed = 0, uses_anonymous_args = 0
  2334. 236 @ link register save eliminated.
  2335. 2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  2336. 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  2337. 237 .loc 1 2072 3 view .LVU53
  2338. 2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2339. 2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  2340. 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  2341. 2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  2342. 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2343. 2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2344. 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  2345. 238 .loc 1 2079 3 view .LVU54
  2346. 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2347. 239 .loc 1 2080 1 is_stmt 0 view .LVU55
  2348. 240 0000 0020 movs r0, #0
  2349. 241 .LVL14:
  2350. 242 .loc 1 2080 1 view .LVU56
  2351. 243 0002 7047 bx lr
  2352. 244 .cfi_endproc
  2353. 245 .LFE71:
  2354. 247 .section .text.USB_ActivateEndpoint,"ax",%progbits
  2355. 248 .align 1
  2356. 249 .global USB_ActivateEndpoint
  2357. 250 .syntax unified
  2358. 251 .thumb
  2359. 252 .thumb_func
  2360. 254 USB_ActivateEndpoint:
  2361. 255 .LVL15:
  2362. 256 .LFB72:
  2363. 2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2364. 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2365. 2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (HAL_PCD_MODULE_ENABLED)
  2366. 2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  2367. 2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate and configure an endpoint
  2368. 2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  2369. 2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  2370. 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  2371. 2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  2372. 2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep)
  2373. 2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2374. 257 .loc 1 2091 1 is_stmt 1 view -0
  2375. 258 .cfi_startproc
  2376. 259 @ args = 0, pretend = 0, frame = 0
  2377. 260 @ frame_needed = 0, uses_anonymous_args = 0
  2378. 261 .loc 1 2091 1 is_stmt 0 view .LVU58
  2379. ARM GAS /tmp/ccGUz1hM.s page 42
  2380. 262 0000 10B5 push {r4, lr}
  2381. 263 .LCFI4:
  2382. 264 .cfi_def_cfa_offset 8
  2383. 265 .cfi_offset 4, -8
  2384. 266 .cfi_offset 14, -4
  2385. 267 0002 0346 mov r3, r0
  2386. 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
  2387. 268 .loc 1 2092 3 is_stmt 1 view .LVU59
  2388. 269 .LVL16:
  2389. 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEpRegVal;
  2390. 270 .loc 1 2093 3 view .LVU60
  2391. 2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2392. 2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal = PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_T_MASK;
  2393. 271 .loc 1 2095 3 view .LVU61
  2394. 272 .loc 1 2095 15 is_stmt 0 view .LVU62
  2395. 273 0004 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
  2396. 274 0008 30F82C20 ldrh r2, [r0, ip, lsl #2]
  2397. 275 000c 92B2 uxth r2, r2
  2398. 276 .loc 1 2095 13 view .LVU63
  2399. 277 000e 22F4EC42 bic r2, r2, #30208
  2400. 278 0012 22F07002 bic r2, r2, #112
  2401. 279 0016 92B2 uxth r2, r2
  2402. 280 .LVL17:
  2403. 2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2404. 2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* initialize Endpoint */
  2405. 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** switch (ep->type)
  2406. 281 .loc 1 2098 3 is_stmt 1 view .LVU64
  2407. 282 .loc 1 2098 13 is_stmt 0 view .LVU65
  2408. 283 0018 C878 ldrb r0, [r1, #3] @ zero_extendqisi2
  2409. 284 .LVL18:
  2410. 285 .loc 1 2098 3 view .LVU66
  2411. 286 001a 0328 cmp r0, #3
  2412. 287 001c 61D8 bhi .L38
  2413. 288 001e DFE800F0 tbb [pc, r0]
  2414. 289 .L13:
  2415. 290 0022 55 .byte (.L16-.L13)/2
  2416. 291 0023 5C .byte (.L15-.L13)/2
  2417. 292 0024 02 .byte (.L14-.L13)/2
  2418. 293 0025 58 .byte (.L12-.L13)/2
  2419. 294 .p2align 1
  2420. 295 .L14:
  2421. 296 0026 0020 movs r0, #0
  2422. 297 .L11:
  2423. 298 .LVL19:
  2424. 2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2425. 2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_CTRL:
  2426. 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_CONTROL;
  2427. 2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2428. 2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2429. 2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_BULK:
  2430. 2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_BULK;
  2431. 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2432. 2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2433. 2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_INTR:
  2434. 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_INTERRUPT;
  2435. 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2436. 2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2437. ARM GAS /tmp/ccGUz1hM.s page 43
  2438. 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_ISOC:
  2439. 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_ISOCHRONOUS;
  2440. 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2441. 2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2442. 2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** default:
  2443. 2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
  2444. 2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2445. 2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2446. 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2447. 2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_ENDPOINT(USBx, ep->num, (wEpRegVal | USB_EP_CTR_RX | USB_EP_CTR_TX));
  2448. 299 .loc 1 2121 3 is_stmt 1 view .LVU67
  2449. 300 0028 48F2800E movw lr, #32896
  2450. 301 002c 42EA0E02 orr r2, r2, lr
  2451. 302 .LVL20:
  2452. 303 .loc 1 2121 3 is_stmt 0 view .LVU68
  2453. 304 0030 23F82C20 strh r2, [r3, ip, lsl #2] @ movhi
  2454. 2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2455. 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_ADDRESS(USBx, ep->num, ep->num);
  2456. 305 .loc 1 2123 3 is_stmt 1 view .LVU69
  2457. 306 .LBB2:
  2458. 307 .loc 1 2123 3 view .LVU70
  2459. 308 .loc 1 2123 3 view .LVU71
  2460. 309 0034 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
  2461. 310 0038 33F82C20 ldrh r2, [r3, ip, lsl #2]
  2462. 311 003c 92B2 uxth r2, r2
  2463. 312 003e 22F4E042 bic r2, r2, #28672
  2464. 313 0042 22F07002 bic r2, r2, #112
  2465. 314 0046 4CEA0202 orr r2, ip, r2
  2466. 315 .LVL21:
  2467. 316 .loc 1 2123 3 view .LVU72
  2468. 317 004a 42EA0E02 orr r2, r2, lr
  2469. 318 .LVL22:
  2470. 319 .loc 1 2123 3 is_stmt 0 view .LVU73
  2471. 320 004e 23F82C20 strh r2, [r3, ip, lsl #2] @ movhi
  2472. 321 .LBE2:
  2473. 322 .loc 1 2123 3 is_stmt 1 view .LVU74
  2474. 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2475. 2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  2476. 323 .loc 1 2125 3 view .LVU75
  2477. 324 .loc 1 2125 9 is_stmt 0 view .LVU76
  2478. 325 0052 0A7B ldrb r2, [r1, #12] @ zero_extendqisi2
  2479. 326 .loc 1 2125 6 view .LVU77
  2480. 327 0054 002A cmp r2, #0
  2481. 328 0056 40F0DC80 bne .L17
  2482. 2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2483. 2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
  2484. 329 .loc 1 2127 5 is_stmt 1 view .LVU78
  2485. 330 .loc 1 2127 11 is_stmt 0 view .LVU79
  2486. 331 005a 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
  2487. 332 .loc 1 2127 8 view .LVU80
  2488. 333 005c 002A cmp r2, #0
  2489. 334 005e 51D0 beq .L18
  2490. 2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2491. 2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Set the endpoint Transmit buffer address */
  2492. 2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_ADDRESS(USBx, ep->num, ep->pmaadress);
  2493. 335 .loc 1 2130 7 is_stmt 1 view .LVU81
  2494. 336 .LBB3:
  2495. ARM GAS /tmp/ccGUz1hM.s page 44
  2496. 337 .loc 1 2130 7 view .LVU82
  2497. 338 .loc 1 2130 7 view .LVU83
  2498. 339 .LVL23:
  2499. 340 .loc 1 2130 7 view .LVU84
  2500. 341 0060 B3F85020 ldrh r2, [r3, #80]
  2501. 342 0064 92B2 uxth r2, r2
  2502. 343 0066 1A44 add r2, r2, r3
  2503. 344 .LVL24:
  2504. 345 .loc 1 2130 7 view .LVU85
  2505. 346 0068 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2506. 347 006a 02EB0412 add r2, r2, r4, lsl #4
  2507. 348 .LVL25:
  2508. 349 .loc 1 2130 7 view .LVU86
  2509. 350 006e B1F806C0 ldrh ip, [r1, #6]
  2510. 351 .loc 1 2130 7 is_stmt 0 view .LVU87
  2511. 352 0072 4FEA5C0C lsr ip, ip, #1
  2512. 353 0076 4FEA4C0C lsl ip, ip, #1
  2513. 354 007a A2F800C4 strh ip, [r2, #1024] @ movhi
  2514. 355 .LBE3:
  2515. 356 .loc 1 2130 7 is_stmt 1 view .LVU88
  2516. 2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  2517. 357 .loc 1 2131 7 view .LVU89
  2518. 358 .LBB4:
  2519. 359 .loc 1 2131 7 view .LVU90
  2520. 360 .loc 1 2131 7 view .LVU91
  2521. 361 007e 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2522. 362 0080 33F82420 ldrh r2, [r3, r4, lsl #2]
  2523. 363 .LVL26:
  2524. 364 .loc 1 2131 7 view .LVU92
  2525. 365 0084 12F0400F tst r2, #64
  2526. 366 0088 0CD0 beq .L19
  2527. 367 .loc 1 2131 7 discriminator 1 view .LVU93
  2528. 368 .LBB5:
  2529. 369 .loc 1 2131 7 discriminator 1 view .LVU94
  2530. 370 .loc 1 2131 7 discriminator 1 view .LVU95
  2531. 371 008a 33F82420 ldrh r2, [r3, r4, lsl #2]
  2532. 372 .LVL27:
  2533. 373 .loc 1 2131 7 is_stmt 0 discriminator 1 view .LVU96
  2534. 374 008e 92B2 uxth r2, r2
  2535. 375 0090 22F4E042 bic r2, r2, #28672
  2536. 376 0094 22F07002 bic r2, r2, #112
  2537. 377 .LVL28:
  2538. 378 .loc 1 2131 7 is_stmt 1 discriminator 1 view .LVU97
  2539. 379 0098 42F40042 orr r2, r2, #32768
  2540. 380 .LVL29:
  2541. 381 .loc 1 2131 7 is_stmt 0 discriminator 1 view .LVU98
  2542. 382 009c 42F0C002 orr r2, r2, #192
  2543. 383 00a0 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  2544. 384 .L19:
  2545. 385 .loc 1 2131 7 discriminator 1 view .LVU99
  2546. 386 .LBE5:
  2547. 387 .loc 1 2131 7 is_stmt 1 discriminator 3 view .LVU100
  2548. 388 .LBE4:
  2549. 389 .loc 1 2131 7 discriminator 3 view .LVU101
  2550. 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2551. 2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
  2552. 390 .loc 1 2133 7 discriminator 3 view .LVU102
  2553. ARM GAS /tmp/ccGUz1hM.s page 45
  2554. 391 .loc 1 2133 13 is_stmt 0 discriminator 3 view .LVU103
  2555. 392 00a4 CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
  2556. 393 .loc 1 2133 10 discriminator 3 view .LVU104
  2557. 394 00a6 012A cmp r2, #1
  2558. 395 00a8 1DD0 beq .L20
  2559. 2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2560. 2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
  2561. 2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
  2562. 396 .loc 1 2136 9 is_stmt 1 view .LVU105
  2563. 397 .LBB6:
  2564. 398 .loc 1 2136 9 view .LVU106
  2565. 399 .loc 1 2136 9 view .LVU107
  2566. 400 00aa 0978 ldrb r1, [r1] @ zero_extendqisi2
  2567. 401 .LVL30:
  2568. 402 .loc 1 2136 9 is_stmt 0 view .LVU108
  2569. 403 00ac 33F82120 ldrh r2, [r3, r1, lsl #2]
  2570. 404 00b0 92B2 uxth r2, r2
  2571. 405 00b2 22F4E042 bic r2, r2, #28672
  2572. 406 00b6 22F04002 bic r2, r2, #64
  2573. 407 .LVL31:
  2574. 408 .loc 1 2136 9 is_stmt 1 view .LVU109
  2575. 409 .loc 1 2136 9 view .LVU110
  2576. 410 .loc 1 2136 9 view .LVU111
  2577. 411 00ba 82F02002 eor r2, r2, #32
  2578. 412 .LVL32:
  2579. 413 .loc 1 2136 9 view .LVU112
  2580. 414 00be 42F40042 orr r2, r2, #32768
  2581. 415 .LVL33:
  2582. 416 .loc 1 2136 9 is_stmt 0 view .LVU113
  2583. 417 00c2 42F08002 orr r2, r2, #128
  2584. 418 00c6 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
  2585. 419 .LBE6:
  2586. 420 .loc 1 2136 9 is_stmt 1 view .LVU114
  2587. 421 00ca 17E1 b .L21
  2588. 422 .LVL34:
  2589. 423 .L16:
  2590. 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2591. 424 .loc 1 2101 7 view .LVU115
  2592. 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2593. 425 .loc 1 2101 17 is_stmt 0 view .LVU116
  2594. 426 00cc 42F40072 orr r2, r2, #512
  2595. 427 .LVL35:
  2596. 2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2597. 428 .loc 1 2102 7 is_stmt 1 view .LVU117
  2598. 429 00d0 AAE7 b .L11
  2599. 430 .L12:
  2600. 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2601. 431 .loc 1 2109 7 view .LVU118
  2602. 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2603. 432 .loc 1 2109 17 is_stmt 0 view .LVU119
  2604. 433 00d2 42F4C062 orr r2, r2, #1536
  2605. 434 .LVL36:
  2606. 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2607. 435 .loc 1 2110 7 is_stmt 1 view .LVU120
  2608. 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEpRegVal;
  2609. 436 .loc 1 2092 21 is_stmt 0 view .LVU121
  2610. 437 00d6 0020 movs r0, #0
  2611. ARM GAS /tmp/ccGUz1hM.s page 46
  2612. 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2613. 438 .loc 1 2110 7 view .LVU122
  2614. 439 00d8 A6E7 b .L11
  2615. 440 .L15:
  2616. 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2617. 441 .loc 1 2113 7 is_stmt 1 view .LVU123
  2618. 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2619. 442 .loc 1 2113 17 is_stmt 0 view .LVU124
  2620. 443 00da 42F48062 orr r2, r2, #1024
  2621. 444 .LVL37:
  2622. 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2623. 445 .loc 1 2114 7 is_stmt 1 view .LVU125
  2624. 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEpRegVal;
  2625. 446 .loc 1 2092 21 is_stmt 0 view .LVU126
  2626. 447 00de 0020 movs r0, #0
  2627. 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2628. 448 .loc 1 2114 7 view .LVU127
  2629. 449 00e0 A2E7 b .L11
  2630. 450 .L38:
  2631. 2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
  2632. 451 .loc 1 2117 11 view .LVU128
  2633. 452 00e2 0120 movs r0, #1
  2634. 453 00e4 A0E7 b .L11
  2635. 454 .LVL38:
  2636. 455 .L20:
  2637. 2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2638. 2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  2639. 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2640. 2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure TX Endpoint to disabled state */
  2641. 2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  2642. 456 .loc 1 2141 9 is_stmt 1 view .LVU129
  2643. 457 .LBB7:
  2644. 458 .loc 1 2141 9 view .LVU130
  2645. 459 .loc 1 2141 9 view .LVU131
  2646. 460 00e6 0978 ldrb r1, [r1] @ zero_extendqisi2
  2647. 461 .LVL39:
  2648. 462 .loc 1 2141 9 is_stmt 0 view .LVU132
  2649. 463 00e8 33F82120 ldrh r2, [r3, r1, lsl #2]
  2650. 464 00ec 92B2 uxth r2, r2
  2651. 465 00ee 22F4E042 bic r2, r2, #28672
  2652. 466 00f2 22F04002 bic r2, r2, #64
  2653. 467 .LVL40:
  2654. 468 .loc 1 2141 9 is_stmt 1 view .LVU133
  2655. 469 .loc 1 2141 9 view .LVU134
  2656. 470 .loc 1 2141 9 view .LVU135
  2657. 471 00f6 42F40042 orr r2, r2, #32768
  2658. 472 .LVL41:
  2659. 473 .loc 1 2141 9 is_stmt 0 view .LVU136
  2660. 474 00fa 42F08002 orr r2, r2, #128
  2661. 475 00fe 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
  2662. 476 0102 FBE0 b .L21
  2663. 477 .LVL42:
  2664. 478 .L18:
  2665. 479 .loc 1 2141 9 view .LVU137
  2666. 480 .LBE7:
  2667. 2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2668. 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2669. ARM GAS /tmp/ccGUz1hM.s page 47
  2670. 2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  2671. 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2672. 2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the endpoint Receive buffer address */
  2673. 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_ADDRESS(USBx, ep->num, ep->pmaadress);
  2674. 481 .loc 1 2147 7 is_stmt 1 view .LVU138
  2675. 482 .LBB8:
  2676. 483 .loc 1 2147 7 view .LVU139
  2677. 484 .loc 1 2147 7 view .LVU140
  2678. 485 .loc 1 2147 7 view .LVU141
  2679. 486 0104 B3F85020 ldrh r2, [r3, #80]
  2680. 487 0108 92B2 uxth r2, r2
  2681. 488 010a 1A44 add r2, r2, r3
  2682. 489 .LVL43:
  2683. 490 .loc 1 2147 7 view .LVU142
  2684. 491 010c 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2685. 492 010e 02EB0412 add r2, r2, r4, lsl #4
  2686. 493 .LVL44:
  2687. 494 .loc 1 2147 7 view .LVU143
  2688. 495 0112 B1F806C0 ldrh ip, [r1, #6]
  2689. 496 .loc 1 2147 7 is_stmt 0 view .LVU144
  2690. 497 0116 4FEA5C0C lsr ip, ip, #1
  2691. 498 011a 4FEA4C0C lsl ip, ip, #1
  2692. 499 011e A2F808C4 strh ip, [r2, #1032] @ movhi
  2693. 500 .LBE8:
  2694. 501 .loc 1 2147 7 is_stmt 1 view .LVU145
  2695. 2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2696. 2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the endpoint Receive buffer counter */
  2697. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_CNT(USBx, ep->num, ep->maxpacket);
  2698. 502 .loc 1 2150 7 view .LVU146
  2699. 503 .LBB9:
  2700. 504 .loc 1 2150 7 view .LVU147
  2701. 505 .LVL45:
  2702. 506 .loc 1 2150 7 view .LVU148
  2703. 507 .loc 1 2150 7 view .LVU149
  2704. 508 0122 B3F85020 ldrh r2, [r3, #80]
  2705. 509 .LVL46:
  2706. 510 .loc 1 2150 7 is_stmt 0 view .LVU150
  2707. 511 0126 92B2 uxth r2, r2
  2708. 512 0128 1A44 add r2, r2, r3
  2709. 513 .LVL47:
  2710. 514 .loc 1 2150 7 is_stmt 1 view .LVU151
  2711. 515 012a 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2712. 516 .loc 1 2150 7 is_stmt 0 view .LVU152
  2713. 517 012c 02EB0412 add r2, r2, r4, lsl #4
  2714. 518 .LVL48:
  2715. 519 .loc 1 2150 7 is_stmt 1 view .LVU153
  2716. 520 .LBB10:
  2717. 521 .loc 1 2150 7 view .LVU154
  2718. 522 .loc 1 2150 7 view .LVU155
  2719. 523 0130 B2F80CC4 ldrh ip, [r2, #1036]
  2720. 524 0134 CCF3090C ubfx ip, ip, #0, #10
  2721. 525 0138 A2F80CC4 strh ip, [r2, #1036] @ movhi
  2722. 526 .loc 1 2150 7 view .LVU156
  2723. 527 013c 0C69 ldr r4, [r1, #16]
  2724. 528 013e 3E2C cmp r4, #62
  2725. 529 0140 39D9 bls .L22
  2726. 530 .loc 1 2150 7 discriminator 1 view .LVU157
  2727. ARM GAS /tmp/ccGUz1hM.s page 48
  2728. 531 .loc 1 2150 7 discriminator 1 view .LVU158
  2729. 532 0142 4FEA541E lsr lr, r4, #5
  2730. 533 .LVL49:
  2731. 534 .loc 1 2150 7 discriminator 1 view .LVU159
  2732. 535 0146 14F01F0F tst r4, #31
  2733. 536 014a 01D1 bne .L23
  2734. 537 .loc 1 2150 7 discriminator 3 view .LVU160
  2735. 538 014c 0EF1FF3E add lr, lr, #-1
  2736. 539 .LVL50:
  2737. 540 .L23:
  2738. 541 .loc 1 2150 7 discriminator 5 view .LVU161
  2739. 542 0150 B2F80CC4 ldrh ip, [r2, #1036]
  2740. 543 0154 1FFA8CFC uxth ip, ip
  2741. 544 0158 4FEA8E2E lsl lr, lr, #10
  2742. 545 .LVL51:
  2743. 546 .loc 1 2150 7 is_stmt 0 discriminator 5 view .LVU162
  2744. 547 015c 1FFA8EFE uxth lr, lr
  2745. 548 0160 4CEA0E0C orr ip, ip, lr
  2746. 549 0164 4CF4004C orr ip, ip, #32768
  2747. 550 0168 A2F80CC4 strh ip, [r2, #1036] @ movhi
  2748. 551 .loc 1 2150 7 is_stmt 1 discriminator 5 view .LVU163
  2749. 552 .L24:
  2750. 553 .loc 1 2150 7 discriminator 13 view .LVU164
  2751. 554 .LBE10:
  2752. 555 .loc 1 2150 7 discriminator 13 view .LVU165
  2753. 556 .LBE9:
  2754. 557 .loc 1 2150 7 discriminator 13 view .LVU166
  2755. 2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2756. 558 .loc 1 2151 7 discriminator 13 view .LVU167
  2757. 559 .LBB12:
  2758. 560 .loc 1 2151 7 discriminator 13 view .LVU168
  2759. 561 .loc 1 2151 7 discriminator 13 view .LVU169
  2760. 562 016c 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2761. 563 016e 33F82420 ldrh r2, [r3, r4, lsl #2]
  2762. 564 .LVL52:
  2763. 565 .loc 1 2151 7 discriminator 13 view .LVU170
  2764. 566 0172 12F4804F tst r2, #16384
  2765. 567 0176 0CD0 beq .L27
  2766. 568 .loc 1 2151 7 discriminator 1 view .LVU171
  2767. 569 .LBB13:
  2768. 570 .loc 1 2151 7 discriminator 1 view .LVU172
  2769. 571 .loc 1 2151 7 discriminator 1 view .LVU173
  2770. 572 0178 33F82420 ldrh r2, [r3, r4, lsl #2]
  2771. 573 .LVL53:
  2772. 574 .loc 1 2151 7 is_stmt 0 discriminator 1 view .LVU174
  2773. 575 017c 92B2 uxth r2, r2
  2774. 576 017e 22F4E042 bic r2, r2, #28672
  2775. 577 0182 22F07002 bic r2, r2, #112
  2776. 578 .LVL54:
  2777. 579 .loc 1 2151 7 is_stmt 1 discriminator 1 view .LVU175
  2778. 580 0186 42F44042 orr r2, r2, #49152
  2779. 581 .LVL55:
  2780. 582 .loc 1 2151 7 is_stmt 0 discriminator 1 view .LVU176
  2781. 583 018a 42F08002 orr r2, r2, #128
  2782. 584 018e 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  2783. 585 .L27:
  2784. 586 .loc 1 2151 7 discriminator 1 view .LVU177
  2785. ARM GAS /tmp/ccGUz1hM.s page 49
  2786. 587 .LBE13:
  2787. 588 .loc 1 2151 7 is_stmt 1 discriminator 3 view .LVU178
  2788. 589 .LBE12:
  2789. 590 .loc 1 2151 7 discriminator 3 view .LVU179
  2790. 2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2791. 2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->num == 0U)
  2792. 591 .loc 1 2153 7 discriminator 3 view .LVU180
  2793. 592 .loc 1 2153 13 is_stmt 0 discriminator 3 view .LVU181
  2794. 593 0192 0978 ldrb r1, [r1] @ zero_extendqisi2
  2795. 594 .LVL56:
  2796. 595 .loc 1 2153 10 discriminator 3 view .LVU182
  2797. 596 0194 69BB cbnz r1, .L28
  2798. 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2799. 2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure VALID status for EP0 */
  2800. 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
  2801. 597 .loc 1 2156 9 is_stmt 1 view .LVU183
  2802. 598 .LBB14:
  2803. 599 .loc 1 2156 9 view .LVU184
  2804. 600 .loc 1 2156 9 view .LVU185
  2805. 601 0196 33F82120 ldrh r2, [r3, r1, lsl #2]
  2806. 602 019a 92B2 uxth r2, r2
  2807. 603 019c 22F48042 bic r2, r2, #16384
  2808. 604 01a0 22F07002 bic r2, r2, #112
  2809. 605 .LVL57:
  2810. 606 .loc 1 2156 9 view .LVU186
  2811. 607 .loc 1 2156 9 view .LVU187
  2812. 608 .loc 1 2156 9 view .LVU188
  2813. 609 .loc 1 2156 9 view .LVU189
  2814. 610 01a4 82F44052 eor r2, r2, #12288
  2815. 611 .LVL58:
  2816. 612 .loc 1 2156 9 view .LVU190
  2817. 613 01a8 42F40042 orr r2, r2, #32768
  2818. 614 .LVL59:
  2819. 615 .loc 1 2156 9 is_stmt 0 view .LVU191
  2820. 616 01ac 42F08002 orr r2, r2, #128
  2821. 617 01b0 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
  2822. 618 .LBE14:
  2823. 619 .loc 1 2156 9 is_stmt 1 view .LVU192
  2824. 620 01b4 A2E0 b .L21
  2825. 621 .LVL60:
  2826. 622 .L22:
  2827. 623 .LBB15:
  2828. 624 .LBB11:
  2829. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2830. 625 .loc 1 2150 7 discriminator 2 view .LVU193
  2831. 626 01b6 4CB9 cbnz r4, .L25
  2832. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2833. 627 .loc 1 2150 7 discriminator 7 view .LVU194
  2834. 628 01b8 B2F80C44 ldrh r4, [r2, #1036]
  2835. 629 01bc 6FEA4444 mvn r4, r4, lsl #17
  2836. 630 01c0 6FEA5444 mvn r4, r4, lsr #17
  2837. 631 01c4 A4B2 uxth r4, r4
  2838. 632 01c6 A2F80C44 strh r4, [r2, #1036] @ movhi
  2839. 633 01ca CFE7 b .L24
  2840. 634 .L25:
  2841. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2842. 635 .loc 1 2150 7 discriminator 8 view .LVU195
  2843. ARM GAS /tmp/ccGUz1hM.s page 50
  2844. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2845. 636 .loc 1 2150 7 discriminator 8 view .LVU196
  2846. 637 01cc 4FEA540C lsr ip, r4, #1
  2847. 638 .LVL61:
  2848. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2849. 639 .loc 1 2150 7 discriminator 8 view .LVU197
  2850. 640 01d0 14F0010F tst r4, #1
  2851. 641 01d4 01D0 beq .L26
  2852. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2853. 642 .loc 1 2150 7 discriminator 10 view .LVU198
  2854. 643 01d6 0CF1010C add ip, ip, #1
  2855. 644 .LVL62:
  2856. 645 .L26:
  2857. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2858. 646 .loc 1 2150 7 discriminator 12 view .LVU199
  2859. 647 01da B2F80C44 ldrh r4, [r2, #1036]
  2860. 648 01de A4B2 uxth r4, r4
  2861. 649 01e0 4FEA8C2C lsl ip, ip, #10
  2862. 650 .LVL63:
  2863. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2864. 651 .loc 1 2150 7 is_stmt 0 discriminator 12 view .LVU200
  2865. 652 01e4 1FFA8CFC uxth ip, ip
  2866. 653 01e8 44EA0C0C orr ip, r4, ip
  2867. 654 01ec A2F80CC4 strh ip, [r2, #1036] @ movhi
  2868. 655 01f0 BCE7 b .L24
  2869. 656 .LVL64:
  2870. 657 .L28:
  2871. 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  2872. 658 .loc 1 2150 7 discriminator 12 view .LVU201
  2873. 659 .LBE11:
  2874. 660 .LBE15:
  2875. 2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2876. 2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  2877. 2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2878. 2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for OUT Endpoint */
  2879. 2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_NAK);
  2880. 661 .loc 1 2161 9 is_stmt 1 view .LVU202
  2881. 662 .LBB16:
  2882. 663 .loc 1 2161 9 view .LVU203
  2883. 664 .loc 1 2161 9 view .LVU204
  2884. 665 01f2 33F82120 ldrh r2, [r3, r1, lsl #2]
  2885. 666 01f6 92B2 uxth r2, r2
  2886. 667 01f8 22F48042 bic r2, r2, #16384
  2887. 668 01fc 22F07002 bic r2, r2, #112
  2888. 669 .LVL65:
  2889. 670 .loc 1 2161 9 view .LVU205
  2890. 671 .loc 1 2161 9 view .LVU206
  2891. 672 .loc 1 2161 9 view .LVU207
  2892. 673 0200 82F40052 eor r2, r2, #8192
  2893. 674 .LVL66:
  2894. 675 .loc 1 2161 9 view .LVU208
  2895. 676 0204 42F40042 orr r2, r2, #32768
  2896. 677 .LVL67:
  2897. 678 .loc 1 2161 9 is_stmt 0 view .LVU209
  2898. 679 0208 42F08002 orr r2, r2, #128
  2899. 680 020c 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
  2900. 681 0210 74E0 b .L21
  2901. ARM GAS /tmp/ccGUz1hM.s page 51
  2902. 682 .LVL68:
  2903. 683 .L17:
  2904. 684 .loc 1 2161 9 view .LVU210
  2905. 685 .LBE16:
  2906. 2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2907. 2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2908. 2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2909. 2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
  2910. 2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Double Buffer */
  2911. 2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  2912. 2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2913. 2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_BULK)
  2914. 686 .loc 1 2169 5 is_stmt 1 view .LVU211
  2915. 687 .loc 1 2169 11 is_stmt 0 view .LVU212
  2916. 688 0212 CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
  2917. 689 .loc 1 2169 8 view .LVU213
  2918. 690 0214 022A cmp r2, #2
  2919. 691 0216 72D0 beq .L40
  2920. 2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2921. 2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set bulk endpoint as double buffered */
  2922. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_BULK_EP_DBUF(USBx, ep->num);
  2923. 2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2924. 2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  2925. 2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  2926. 2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the ISOC endpoint in double buffer mode */
  2927. 2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_EP_KIND(USBx, ep->num);
  2928. 692 .loc 1 2177 7 is_stmt 1 view .LVU214
  2929. 693 .LBB17:
  2930. 694 .loc 1 2177 7 view .LVU215
  2931. 695 .loc 1 2177 7 view .LVU216
  2932. 696 0218 0C78 ldrb r4, [r1] @ zero_extendqisi2
  2933. 697 021a 33F82420 ldrh r2, [r3, r4, lsl #2]
  2934. 698 021e 92B2 uxth r2, r2
  2935. 699 0220 22F4E242 bic r2, r2, #28928
  2936. 700 0224 22F07002 bic r2, r2, #112
  2937. 701 .LVL69:
  2938. 702 .loc 1 2177 7 view .LVU217
  2939. 703 0228 42F40042 orr r2, r2, #32768
  2940. 704 .LVL70:
  2941. 705 .loc 1 2177 7 is_stmt 0 view .LVU218
  2942. 706 022c 42F08002 orr r2, r2, #128
  2943. 707 0230 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  2944. 708 .L30:
  2945. 709 .loc 1 2177 7 view .LVU219
  2946. 710 .LBE17:
  2947. 711 .loc 1 2177 7 is_stmt 1 discriminator 1 view .LVU220
  2948. 2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  2949. 2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  2950. 2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set buffer address for double buffered mode */
  2951. 2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF_ADDR(USBx, ep->num, ep->pmaaddr0, ep->pmaaddr1);
  2952. 712 .loc 1 2181 5 discriminator 1 view .LVU221
  2953. 713 .loc 1 2181 5 discriminator 1 view .LVU222
  2954. 714 .loc 1 2181 5 discriminator 1 view .LVU223
  2955. 715 .LBB18:
  2956. 716 .loc 1 2181 5 discriminator 1 view .LVU224
  2957. 717 .loc 1 2181 5 discriminator 1 view .LVU225
  2958. 718 .LVL71:
  2959. ARM GAS /tmp/ccGUz1hM.s page 52
  2960. 719 .loc 1 2181 5 discriminator 1 view .LVU226
  2961. 720 0234 B3F85020 ldrh r2, [r3, #80]
  2962. 721 0238 92B2 uxth r2, r2
  2963. 722 023a 1A44 add r2, r2, r3
  2964. 723 .LVL72:
  2965. 724 .loc 1 2181 5 discriminator 1 view .LVU227
  2966. 725 023c 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
  2967. 726 .loc 1 2181 5 is_stmt 0 discriminator 1 view .LVU228
  2968. 727 0240 02EB0C12 add r2, r2, ip, lsl #4
  2969. 728 .LVL73:
  2970. 729 .loc 1 2181 5 is_stmt 1 discriminator 1 view .LVU229
  2971. 730 0244 B1F808C0 ldrh ip, [r1, #8]
  2972. 731 0248 4FEA5C0C lsr ip, ip, #1
  2973. 732 024c 4FEA4C0C lsl ip, ip, #1
  2974. 733 0250 A2F800C4 strh ip, [r2, #1024] @ movhi
  2975. 734 .LBE18:
  2976. 735 .loc 1 2181 5 discriminator 1 view .LVU230
  2977. 736 .loc 1 2181 5 discriminator 1 view .LVU231
  2978. 737 .loc 1 2181 5 discriminator 1 view .LVU232
  2979. 738 .loc 1 2181 5 discriminator 1 view .LVU233
  2980. 739 .LBB19:
  2981. 740 .loc 1 2181 5 discriminator 1 view .LVU234
  2982. 741 .loc 1 2181 5 discriminator 1 view .LVU235
  2983. 742 .LVL74:
  2984. 743 .loc 1 2181 5 discriminator 1 view .LVU236
  2985. 744 0254 B3F85020 ldrh r2, [r3, #80]
  2986. 745 .LVL75:
  2987. 746 .loc 1 2181 5 is_stmt 0 discriminator 1 view .LVU237
  2988. 747 0258 92B2 uxth r2, r2
  2989. 748 025a 1A44 add r2, r2, r3
  2990. 749 .LVL76:
  2991. 750 .loc 1 2181 5 is_stmt 1 discriminator 1 view .LVU238
  2992. 751 025c 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
  2993. 752 0260 02EB0C12 add r2, r2, ip, lsl #4
  2994. 753 .LVL77:
  2995. 754 .loc 1 2181 5 discriminator 1 view .LVU239
  2996. 755 0264 B1F80AC0 ldrh ip, [r1, #10]
  2997. 756 0268 4FEA5C0C lsr ip, ip, #1
  2998. 757 026c 4FEA4C0C lsl ip, ip, #1
  2999. 758 0270 A2F808C4 strh ip, [r2, #1032] @ movhi
  3000. 759 .LBE19:
  3001. 760 .loc 1 2181 5 discriminator 1 view .LVU240
  3002. 761 .loc 1 2181 5 discriminator 1 view .LVU241
  3003. 762 .loc 1 2181 5 discriminator 1 view .LVU242
  3004. 2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3005. 2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 0U)
  3006. 763 .loc 1 2183 5 discriminator 1 view .LVU243
  3007. 764 .loc 1 2183 11 is_stmt 0 discriminator 1 view .LVU244
  3008. 765 0274 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
  3009. 766 .LVL78:
  3010. 767 .loc 1 2183 8 discriminator 1 view .LVU245
  3011. 768 0276 002A cmp r2, #0
  3012. 769 0278 50D1 bne .L31
  3013. 2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3014. 2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT */
  3015. 2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  3016. 770 .loc 1 2186 7 is_stmt 1 view .LVU246
  3017. ARM GAS /tmp/ccGUz1hM.s page 53
  3018. 771 .LBB20:
  3019. 772 .loc 1 2186 7 view .LVU247
  3020. 773 .loc 1 2186 7 view .LVU248
  3021. 774 027a 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3022. 775 027c 33F82420 ldrh r2, [r3, r4, lsl #2]
  3023. 776 .LVL79:
  3024. 777 .loc 1 2186 7 view .LVU249
  3025. 778 0280 12F4804F tst r2, #16384
  3026. 779 0284 0CD0 beq .L32
  3027. 780 .loc 1 2186 7 discriminator 1 view .LVU250
  3028. 781 .LBB21:
  3029. 782 .loc 1 2186 7 discriminator 1 view .LVU251
  3030. 783 .loc 1 2186 7 discriminator 1 view .LVU252
  3031. 784 0286 33F82420 ldrh r2, [r3, r4, lsl #2]
  3032. 785 .LVL80:
  3033. 786 .loc 1 2186 7 is_stmt 0 discriminator 1 view .LVU253
  3034. 787 028a 92B2 uxth r2, r2
  3035. 788 028c 22F4E042 bic r2, r2, #28672
  3036. 789 0290 22F07002 bic r2, r2, #112
  3037. 790 .LVL81:
  3038. 791 .loc 1 2186 7 is_stmt 1 discriminator 1 view .LVU254
  3039. 792 0294 42F44042 orr r2, r2, #49152
  3040. 793 .LVL82:
  3041. 794 .loc 1 2186 7 is_stmt 0 discriminator 1 view .LVU255
  3042. 795 0298 42F08002 orr r2, r2, #128
  3043. 796 029c 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3044. 797 .L32:
  3045. 798 .loc 1 2186 7 discriminator 1 view .LVU256
  3046. 799 .LBE21:
  3047. 800 .loc 1 2186 7 is_stmt 1 discriminator 3 view .LVU257
  3048. 801 .LBE20:
  3049. 802 .loc 1 2186 7 discriminator 3 view .LVU258
  3050. 2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3051. 803 .loc 1 2187 7 discriminator 3 view .LVU259
  3052. 804 .LBB22:
  3053. 805 .loc 1 2187 7 discriminator 3 view .LVU260
  3054. 806 .loc 1 2187 7 discriminator 3 view .LVU261
  3055. 807 02a0 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3056. 808 02a2 33F82420 ldrh r2, [r3, r4, lsl #2]
  3057. 809 .LVL83:
  3058. 810 .loc 1 2187 7 discriminator 3 view .LVU262
  3059. 811 02a6 12F0400F tst r2, #64
  3060. 812 02aa 0CD0 beq .L33
  3061. 813 .loc 1 2187 7 discriminator 1 view .LVU263
  3062. 814 .LBB23:
  3063. 815 .loc 1 2187 7 discriminator 1 view .LVU264
  3064. 816 .loc 1 2187 7 discriminator 1 view .LVU265
  3065. 817 02ac 33F82420 ldrh r2, [r3, r4, lsl #2]
  3066. 818 .LVL84:
  3067. 819 .loc 1 2187 7 is_stmt 0 discriminator 1 view .LVU266
  3068. 820 02b0 92B2 uxth r2, r2
  3069. 821 02b2 22F4E042 bic r2, r2, #28672
  3070. 822 02b6 22F07002 bic r2, r2, #112
  3071. 823 .LVL85:
  3072. 824 .loc 1 2187 7 is_stmt 1 discriminator 1 view .LVU267
  3073. 825 02ba 42F40042 orr r2, r2, #32768
  3074. 826 .LVL86:
  3075. ARM GAS /tmp/ccGUz1hM.s page 54
  3076. 827 .loc 1 2187 7 is_stmt 0 discriminator 1 view .LVU268
  3077. 828 02be 42F0C002 orr r2, r2, #192
  3078. 829 02c2 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3079. 830 .L33:
  3080. 831 .loc 1 2187 7 discriminator 1 view .LVU269
  3081. 832 .LBE23:
  3082. 833 .loc 1 2187 7 is_stmt 1 discriminator 3 view .LVU270
  3083. 834 .LBE22:
  3084. 835 .loc 1 2187 7 discriminator 3 view .LVU271
  3085. 2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3086. 2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
  3087. 836 .loc 1 2189 7 discriminator 3 view .LVU272
  3088. 837 .LBB24:
  3089. 838 .loc 1 2189 7 discriminator 3 view .LVU273
  3090. 839 .loc 1 2189 7 discriminator 3 view .LVU274
  3091. 840 02c6 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
  3092. 841 02ca 33F82C20 ldrh r2, [r3, ip, lsl #2]
  3093. 842 02ce 92B2 uxth r2, r2
  3094. 843 02d0 22F48042 bic r2, r2, #16384
  3095. 844 02d4 22F07002 bic r2, r2, #112
  3096. 845 .LVL87:
  3097. 846 .loc 1 2189 7 discriminator 3 view .LVU275
  3098. 847 .loc 1 2189 7 discriminator 3 view .LVU276
  3099. 848 .loc 1 2189 7 discriminator 3 view .LVU277
  3100. 849 .loc 1 2189 7 discriminator 3 view .LVU278
  3101. 850 02d8 82F44052 eor r2, r2, #12288
  3102. 851 .LVL88:
  3103. 852 .loc 1 2189 7 discriminator 3 view .LVU279
  3104. 853 02dc 48F28004 movw r4, #32896
  3105. 854 02e0 2243 orrs r2, r2, r4
  3106. 855 .LVL89:
  3107. 856 .loc 1 2189 7 is_stmt 0 discriminator 3 view .LVU280
  3108. 857 02e2 23F82C20 strh r2, [r3, ip, lsl #2] @ movhi
  3109. 858 .LBE24:
  3110. 859 .loc 1 2189 7 is_stmt 1 discriminator 3 view .LVU281
  3111. 2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3112. 860 .loc 1 2190 7 discriminator 3 view .LVU282
  3113. 861 .LBB25:
  3114. 862 .loc 1 2190 7 discriminator 3 view .LVU283
  3115. 863 .loc 1 2190 7 discriminator 3 view .LVU284
  3116. 864 02e6 0978 ldrb r1, [r1] @ zero_extendqisi2
  3117. 865 .LVL90:
  3118. 866 .loc 1 2190 7 is_stmt 0 discriminator 3 view .LVU285
  3119. 867 02e8 33F82120 ldrh r2, [r3, r1, lsl #2]
  3120. 868 02ec 92B2 uxth r2, r2
  3121. 869 02ee 22F4E042 bic r2, r2, #28672
  3122. 870 02f2 22F04002 bic r2, r2, #64
  3123. 871 .LVL91:
  3124. 872 .loc 1 2190 7 is_stmt 1 discriminator 3 view .LVU286
  3125. 873 .loc 1 2190 7 discriminator 3 view .LVU287
  3126. 874 .loc 1 2190 7 discriminator 3 view .LVU288
  3127. 875 02f6 2243 orrs r2, r2, r4
  3128. 876 .LVL92:
  3129. 877 .loc 1 2190 7 is_stmt 0 discriminator 3 view .LVU289
  3130. 878 02f8 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
  3131. 879 .LBE25:
  3132. 880 .loc 1 2190 7 is_stmt 1 discriminator 3 view .LVU290
  3133. ARM GAS /tmp/ccGUz1hM.s page 55
  3134. 881 .L21:
  3135. 2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3136. 2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  3137. 2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3138. 2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT */
  3139. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  3140. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3141. 2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3142. 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
  3143. 2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3144. 2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
  3145. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
  3146. 2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3147. 2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  3148. 2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3149. 2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure TX Endpoint to disabled state */
  3150. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3151. 2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3152. 2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3153. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3154. 882 .loc 1 2209 7 discriminator 7 view .LVU291
  3155. 2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3156. 2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3157. 2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
  3158. 2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3159. 2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
  3160. 883 .loc 1 2214 3 discriminator 7 view .LVU292
  3161. 2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3162. 884 .loc 1 2215 1 is_stmt 0 discriminator 7 view .LVU293
  3163. 885 02fc 10BD pop {r4, pc}
  3164. 886 .LVL93:
  3165. 887 .L40:
  3166. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3167. 888 .loc 1 2172 7 is_stmt 1 view .LVU294
  3168. 889 .LBB26:
  3169. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3170. 890 .loc 1 2172 7 view .LVU295
  3171. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3172. 891 .loc 1 2172 7 view .LVU296
  3173. 892 02fe 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3174. 893 0300 33F82420 ldrh r2, [r3, r4, lsl #2]
  3175. 894 0304 92B2 uxth r2, r2
  3176. 895 0306 22F4E042 bic r2, r2, #28672
  3177. 896 030a 22F07002 bic r2, r2, #112
  3178. 897 .LVL94:
  3179. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3180. 898 .loc 1 2172 7 view .LVU297
  3181. 899 030e 42F40142 orr r2, r2, #33024
  3182. 900 .LVL95:
  3183. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3184. 901 .loc 1 2172 7 is_stmt 0 view .LVU298
  3185. 902 0312 42F08002 orr r2, r2, #128
  3186. 903 0316 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3187. 904 .LBE26:
  3188. 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3189. 905 .loc 1 2172 7 is_stmt 1 view .LVU299
  3190. 906 031a 8BE7 b .L30
  3191. ARM GAS /tmp/ccGUz1hM.s page 56
  3192. 907 .L31:
  3193. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3194. 908 .loc 1 2195 7 view .LVU300
  3195. 909 .LBB27:
  3196. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3197. 910 .loc 1 2195 7 view .LVU301
  3198. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3199. 911 .loc 1 2195 7 view .LVU302
  3200. 912 031c 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3201. 913 031e 33F82420 ldrh r2, [r3, r4, lsl #2]
  3202. 914 .LVL96:
  3203. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3204. 915 .loc 1 2195 7 view .LVU303
  3205. 916 0322 12F4804F tst r2, #16384
  3206. 917 0326 0CD0 beq .L34
  3207. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3208. 918 .loc 1 2195 7 discriminator 1 view .LVU304
  3209. 919 .LBB28:
  3210. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3211. 920 .loc 1 2195 7 discriminator 1 view .LVU305
  3212. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3213. 921 .loc 1 2195 7 discriminator 1 view .LVU306
  3214. 922 0328 33F82420 ldrh r2, [r3, r4, lsl #2]
  3215. 923 .LVL97:
  3216. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3217. 924 .loc 1 2195 7 is_stmt 0 discriminator 1 view .LVU307
  3218. 925 032c 92B2 uxth r2, r2
  3219. 926 032e 22F4E042 bic r2, r2, #28672
  3220. 927 0332 22F07002 bic r2, r2, #112
  3221. 928 .LVL98:
  3222. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3223. 929 .loc 1 2195 7 is_stmt 1 discriminator 1 view .LVU308
  3224. 930 0336 42F44042 orr r2, r2, #49152
  3225. 931 .LVL99:
  3226. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3227. 932 .loc 1 2195 7 is_stmt 0 discriminator 1 view .LVU309
  3228. 933 033a 42F08002 orr r2, r2, #128
  3229. 934 033e 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3230. 935 .L34:
  3231. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3232. 936 .loc 1 2195 7 discriminator 1 view .LVU310
  3233. 937 .LBE28:
  3234. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3235. 938 .loc 1 2195 7 is_stmt 1 discriminator 3 view .LVU311
  3236. 939 .LBE27:
  3237. 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3238. 940 .loc 1 2195 7 discriminator 3 view .LVU312
  3239. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3240. 941 .loc 1 2196 7 discriminator 3 view .LVU313
  3241. 942 .LBB29:
  3242. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3243. 943 .loc 1 2196 7 discriminator 3 view .LVU314
  3244. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3245. 944 .loc 1 2196 7 discriminator 3 view .LVU315
  3246. 945 0342 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3247. 946 0344 33F82420 ldrh r2, [r3, r4, lsl #2]
  3248. 947 .LVL100:
  3249. ARM GAS /tmp/ccGUz1hM.s page 57
  3250. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3251. 948 .loc 1 2196 7 discriminator 3 view .LVU316
  3252. 949 0348 12F0400F tst r2, #64
  3253. 950 034c 0CD0 beq .L35
  3254. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3255. 951 .loc 1 2196 7 discriminator 1 view .LVU317
  3256. 952 .LBB30:
  3257. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3258. 953 .loc 1 2196 7 discriminator 1 view .LVU318
  3259. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3260. 954 .loc 1 2196 7 discriminator 1 view .LVU319
  3261. 955 034e 33F82420 ldrh r2, [r3, r4, lsl #2]
  3262. 956 .LVL101:
  3263. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3264. 957 .loc 1 2196 7 is_stmt 0 discriminator 1 view .LVU320
  3265. 958 0352 92B2 uxth r2, r2
  3266. 959 0354 22F4E042 bic r2, r2, #28672
  3267. 960 0358 22F07002 bic r2, r2, #112
  3268. 961 .LVL102:
  3269. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3270. 962 .loc 1 2196 7 is_stmt 1 discriminator 1 view .LVU321
  3271. 963 035c 42F40042 orr r2, r2, #32768
  3272. 964 .LVL103:
  3273. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3274. 965 .loc 1 2196 7 is_stmt 0 discriminator 1 view .LVU322
  3275. 966 0360 42F0C002 orr r2, r2, #192
  3276. 967 0364 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3277. 968 .L35:
  3278. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3279. 969 .loc 1 2196 7 discriminator 1 view .LVU323
  3280. 970 .LBE30:
  3281. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3282. 971 .loc 1 2196 7 is_stmt 1 discriminator 3 view .LVU324
  3283. 972 .LBE29:
  3284. 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3285. 973 .loc 1 2196 7 discriminator 3 view .LVU325
  3286. 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3287. 974 .loc 1 2198 7 discriminator 3 view .LVU326
  3288. 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3289. 975 .loc 1 2198 13 is_stmt 0 discriminator 3 view .LVU327
  3290. 976 0368 CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
  3291. 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3292. 977 .loc 1 2198 10 discriminator 3 view .LVU328
  3293. 978 036a 012A cmp r2, #1
  3294. 979 036c 1ED0 beq .L36
  3295. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3296. 980 .loc 1 2201 9 is_stmt 1 view .LVU329
  3297. 981 .LBB31:
  3298. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3299. 982 .loc 1 2201 9 view .LVU330
  3300. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3301. 983 .loc 1 2201 9 view .LVU331
  3302. 984 036e 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3303. 985 0370 33F82420 ldrh r2, [r3, r4, lsl #2]
  3304. 986 0374 92B2 uxth r2, r2
  3305. 987 0376 22F4E042 bic r2, r2, #28672
  3306. 988 037a 22F04002 bic r2, r2, #64
  3307. ARM GAS /tmp/ccGUz1hM.s page 58
  3308. 989 .LVL104:
  3309. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3310. 990 .loc 1 2201 9 view .LVU332
  3311. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3312. 991 .loc 1 2201 9 view .LVU333
  3313. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3314. 992 .loc 1 2201 9 view .LVU334
  3315. 993 037e 82F02002 eor r2, r2, #32
  3316. 994 .LVL105:
  3317. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3318. 995 .loc 1 2201 9 view .LVU335
  3319. 996 0382 42F40042 orr r2, r2, #32768
  3320. 997 .LVL106:
  3321. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3322. 998 .loc 1 2201 9 is_stmt 0 view .LVU336
  3323. 999 0386 42F08002 orr r2, r2, #128
  3324. 1000 038a 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3325. 1001 .LBE31:
  3326. 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3327. 1002 .loc 1 2201 9 is_stmt 1 view .LVU337
  3328. 1003 .L37:
  3329. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3330. 1004 .loc 1 2206 9 discriminator 7 view .LVU338
  3331. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3332. 1005 .loc 1 2209 7 discriminator 7 view .LVU339
  3333. 1006 .LBB32:
  3334. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3335. 1007 .loc 1 2209 7 discriminator 7 view .LVU340
  3336. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3337. 1008 .loc 1 2209 7 discriminator 7 view .LVU341
  3338. 1009 038e 0978 ldrb r1, [r1] @ zero_extendqisi2
  3339. 1010 .LVL107:
  3340. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3341. 1011 .loc 1 2209 7 is_stmt 0 discriminator 7 view .LVU342
  3342. 1012 0390 33F82120 ldrh r2, [r3, r1, lsl #2]
  3343. 1013 0394 92B2 uxth r2, r2
  3344. 1014 0396 22F48042 bic r2, r2, #16384
  3345. 1015 039a 22F07002 bic r2, r2, #112
  3346. 1016 .LVL108:
  3347. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3348. 1017 .loc 1 2209 7 is_stmt 1 discriminator 7 view .LVU343
  3349. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3350. 1018 .loc 1 2209 7 discriminator 7 view .LVU344
  3351. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3352. 1019 .loc 1 2209 7 discriminator 7 view .LVU345
  3353. 1020 039e 42F40042 orr r2, r2, #32768
  3354. 1021 .LVL109:
  3355. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3356. 1022 .loc 1 2209 7 is_stmt 0 discriminator 7 view .LVU346
  3357. 1023 03a2 42F08002 orr r2, r2, #128
  3358. 1024 03a6 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
  3359. 1025 03aa A7E7 b .L21
  3360. 1026 .LVL110:
  3361. 1027 .L36:
  3362. 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3363. 1028 .loc 1 2209 7 discriminator 7 view .LVU347
  3364. 1029 .LBE32:
  3365. ARM GAS /tmp/ccGUz1hM.s page 59
  3366. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3367. 1030 .loc 1 2206 9 is_stmt 1 view .LVU348
  3368. 1031 .LBB33:
  3369. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3370. 1032 .loc 1 2206 9 view .LVU349
  3371. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3372. 1033 .loc 1 2206 9 view .LVU350
  3373. 1034 03ac 0C78 ldrb r4, [r1] @ zero_extendqisi2
  3374. 1035 03ae 33F82420 ldrh r2, [r3, r4, lsl #2]
  3375. 1036 03b2 92B2 uxth r2, r2
  3376. 1037 03b4 22F4E042 bic r2, r2, #28672
  3377. 1038 03b8 22F04002 bic r2, r2, #64
  3378. 1039 .LVL111:
  3379. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3380. 1040 .loc 1 2206 9 view .LVU351
  3381. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3382. 1041 .loc 1 2206 9 view .LVU352
  3383. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3384. 1042 .loc 1 2206 9 view .LVU353
  3385. 1043 03bc 42F40042 orr r2, r2, #32768
  3386. 1044 .LVL112:
  3387. 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3388. 1045 .loc 1 2206 9 is_stmt 0 view .LVU354
  3389. 1046 03c0 42F08002 orr r2, r2, #128
  3390. 1047 03c4 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
  3391. 1048 03c8 E1E7 b .L37
  3392. 1049 .LBE33:
  3393. 1050 .cfi_endproc
  3394. 1051 .LFE72:
  3395. 1053 .section .text.USB_DeactivateEndpoint,"ax",%progbits
  3396. 1054 .align 1
  3397. 1055 .global USB_DeactivateEndpoint
  3398. 1056 .syntax unified
  3399. 1057 .thumb
  3400. 1058 .thumb_func
  3401. 1060 USB_DeactivateEndpoint:
  3402. 1061 .LVL113:
  3403. 1062 .LFB73:
  3404. 2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3405. 2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  3406. 2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief De-activate and de-initialize an endpoint
  3407. 2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  3408. 2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  3409. 2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  3410. 2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  3411. 2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep)
  3412. 2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3413. 1063 .loc 1 2224 1 is_stmt 1 view -0
  3414. 1064 .cfi_startproc
  3415. 1065 @ args = 0, pretend = 0, frame = 0
  3416. 1066 @ frame_needed = 0, uses_anonymous_args = 0
  3417. 1067 @ link register save eliminated.
  3418. 2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  3419. 1068 .loc 1 2225 3 view .LVU356
  3420. 1069 .loc 1 2225 9 is_stmt 0 view .LVU357
  3421. 1070 0000 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
  3422. 1071 .loc 1 2225 6 view .LVU358
  3423. ARM GAS /tmp/ccGUz1hM.s page 60
  3424. 1072 0002 002B cmp r3, #0
  3425. 1073 0004 46D1 bne .L42
  3426. 2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3427. 2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
  3428. 1074 .loc 1 2227 5 is_stmt 1 view .LVU359
  3429. 1075 .loc 1 2227 11 is_stmt 0 view .LVU360
  3430. 1076 0006 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  3431. 1077 .loc 1 2227 8 view .LVU361
  3432. 1078 0008 13B3 cbz r3, .L43
  3433. 2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3434. 2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3435. 1079 .loc 1 2229 7 is_stmt 1 view .LVU362
  3436. 1080 .LBB34:
  3437. 1081 .loc 1 2229 7 view .LVU363
  3438. 1082 .loc 1 2229 7 view .LVU364
  3439. 1083 000a 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3440. 1084 000c 30F82230 ldrh r3, [r0, r2, lsl #2]
  3441. 1085 .LVL114:
  3442. 1086 .loc 1 2229 7 view .LVU365
  3443. 1087 0010 13F0400F tst r3, #64
  3444. 1088 0014 0CD0 beq .L44
  3445. 1089 .loc 1 2229 7 discriminator 1 view .LVU366
  3446. 1090 .LBB35:
  3447. 1091 .loc 1 2229 7 discriminator 1 view .LVU367
  3448. 1092 .loc 1 2229 7 discriminator 1 view .LVU368
  3449. 1093 0016 30F82230 ldrh r3, [r0, r2, lsl #2]
  3450. 1094 .LVL115:
  3451. 1095 .loc 1 2229 7 is_stmt 0 discriminator 1 view .LVU369
  3452. 1096 001a 9BB2 uxth r3, r3
  3453. 1097 001c 23F4E043 bic r3, r3, #28672
  3454. 1098 0020 23F07003 bic r3, r3, #112
  3455. 1099 .LVL116:
  3456. 1100 .loc 1 2229 7 is_stmt 1 discriminator 1 view .LVU370
  3457. 1101 0024 43F40043 orr r3, r3, #32768
  3458. 1102 .LVL117:
  3459. 1103 .loc 1 2229 7 is_stmt 0 discriminator 1 view .LVU371
  3460. 1104 0028 43F0C003 orr r3, r3, #192
  3461. 1105 002c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3462. 1106 .L44:
  3463. 1107 .loc 1 2229 7 discriminator 1 view .LVU372
  3464. 1108 .LBE35:
  3465. 1109 .loc 1 2229 7 is_stmt 1 discriminator 3 view .LVU373
  3466. 1110 .LBE34:
  3467. 1111 .loc 1 2229 7 discriminator 3 view .LVU374
  3468. 2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3469. 2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure DISABLE status for the Endpoint */
  3470. 2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3471. 1112 .loc 1 2232 7 discriminator 3 view .LVU375
  3472. 1113 .LBB36:
  3473. 1114 .loc 1 2232 7 discriminator 3 view .LVU376
  3474. 1115 .loc 1 2232 7 discriminator 3 view .LVU377
  3475. 1116 0030 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3476. 1117 0032 30F82230 ldrh r3, [r0, r2, lsl #2]
  3477. 1118 0036 9BB2 uxth r3, r3
  3478. 1119 0038 23F4E043 bic r3, r3, #28672
  3479. 1120 003c 23F04003 bic r3, r3, #64
  3480. 1121 .LVL118:
  3481. ARM GAS /tmp/ccGUz1hM.s page 61
  3482. 1122 .loc 1 2232 7 discriminator 3 view .LVU378
  3483. 1123 .loc 1 2232 7 discriminator 3 view .LVU379
  3484. 1124 .loc 1 2232 7 discriminator 3 view .LVU380
  3485. 1125 0040 43F40043 orr r3, r3, #32768
  3486. 1126 .LVL119:
  3487. 1127 .loc 1 2232 7 is_stmt 0 discriminator 3 view .LVU381
  3488. 1128 0044 43F08003 orr r3, r3, #128
  3489. 1129 0048 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3490. 1130 .LBE36:
  3491. 1131 .loc 1 2232 7 is_stmt 1 discriminator 3 view .LVU382
  3492. 1132 .L45:
  3493. 2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3494. 2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3495. 2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  3496. 2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3497. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  3498. 2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3499. 2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure DISABLE status for the Endpoint */
  3500. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3501. 2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3502. 2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3503. 2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
  3504. 2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Double Buffer */
  3505. 2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  3506. 2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3507. 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 0U)
  3508. 2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3509. 2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT*/
  3510. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  3511. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3512. 2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3513. 2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Reset value of the data toggle bits for the endpoint out*/
  3514. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_TX_DTOG(USBx, ep->num);
  3515. 2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3516. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3517. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3518. 2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3519. 2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  3520. 2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3521. 2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT*/
  3522. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  3523. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3524. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3525. 2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3526. 2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure DISABLE status for the Endpoint*/
  3527. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3528. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3529. 1133 .loc 1 2268 7 discriminator 7 view .LVU383
  3530. 2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3531. 2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3532. 2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
  3533. 2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3534. 2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  3535. 1134 .loc 1 2273 3 discriminator 7 view .LVU384
  3536. 2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3537. 1135 .loc 1 2274 1 is_stmt 0 discriminator 7 view .LVU385
  3538. 1136 004c 0020 movs r0, #0
  3539. ARM GAS /tmp/ccGUz1hM.s page 62
  3540. 1137 .LVL120:
  3541. 1138 .loc 1 2274 1 discriminator 7 view .LVU386
  3542. 1139 004e 7047 bx lr
  3543. 1140 .LVL121:
  3544. 1141 .L43:
  3545. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3546. 1142 .loc 1 2237 7 is_stmt 1 view .LVU387
  3547. 1143 .LBB37:
  3548. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3549. 1144 .loc 1 2237 7 view .LVU388
  3550. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3551. 1145 .loc 1 2237 7 view .LVU389
  3552. 1146 0050 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3553. 1147 0052 30F82230 ldrh r3, [r0, r2, lsl #2]
  3554. 1148 .LVL122:
  3555. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3556. 1149 .loc 1 2237 7 view .LVU390
  3557. 1150 0056 13F4804F tst r3, #16384
  3558. 1151 005a 0CD0 beq .L46
  3559. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3560. 1152 .loc 1 2237 7 discriminator 1 view .LVU391
  3561. 1153 .LBB38:
  3562. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3563. 1154 .loc 1 2237 7 discriminator 1 view .LVU392
  3564. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3565. 1155 .loc 1 2237 7 discriminator 1 view .LVU393
  3566. 1156 005c 30F82230 ldrh r3, [r0, r2, lsl #2]
  3567. 1157 .LVL123:
  3568. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3569. 1158 .loc 1 2237 7 is_stmt 0 discriminator 1 view .LVU394
  3570. 1159 0060 9BB2 uxth r3, r3
  3571. 1160 0062 23F4E043 bic r3, r3, #28672
  3572. 1161 0066 23F07003 bic r3, r3, #112
  3573. 1162 .LVL124:
  3574. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3575. 1163 .loc 1 2237 7 is_stmt 1 discriminator 1 view .LVU395
  3576. 1164 006a 43F44043 orr r3, r3, #49152
  3577. 1165 .LVL125:
  3578. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3579. 1166 .loc 1 2237 7 is_stmt 0 discriminator 1 view .LVU396
  3580. 1167 006e 43F08003 orr r3, r3, #128
  3581. 1168 0072 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3582. 1169 .L46:
  3583. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3584. 1170 .loc 1 2237 7 discriminator 1 view .LVU397
  3585. 1171 .LBE38:
  3586. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3587. 1172 .loc 1 2237 7 is_stmt 1 discriminator 3 view .LVU398
  3588. 1173 .LBE37:
  3589. 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3590. 1174 .loc 1 2237 7 discriminator 3 view .LVU399
  3591. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3592. 1175 .loc 1 2240 7 discriminator 3 view .LVU400
  3593. 1176 .LBB39:
  3594. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3595. 1177 .loc 1 2240 7 discriminator 3 view .LVU401
  3596. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3597. ARM GAS /tmp/ccGUz1hM.s page 63
  3598. 1178 .loc 1 2240 7 discriminator 3 view .LVU402
  3599. 1179 0076 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3600. 1180 0078 30F82230 ldrh r3, [r0, r2, lsl #2]
  3601. 1181 007c 9BB2 uxth r3, r3
  3602. 1182 007e 23F48043 bic r3, r3, #16384
  3603. 1183 0082 23F07003 bic r3, r3, #112
  3604. 1184 .LVL126:
  3605. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3606. 1185 .loc 1 2240 7 discriminator 3 view .LVU403
  3607. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3608. 1186 .loc 1 2240 7 discriminator 3 view .LVU404
  3609. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3610. 1187 .loc 1 2240 7 discriminator 3 view .LVU405
  3611. 1188 0086 43F40043 orr r3, r3, #32768
  3612. 1189 .LVL127:
  3613. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3614. 1190 .loc 1 2240 7 is_stmt 0 discriminator 3 view .LVU406
  3615. 1191 008a 43F08003 orr r3, r3, #128
  3616. 1192 008e 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3617. 1193 0092 DBE7 b .L45
  3618. 1194 .L42:
  3619. 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3620. 1195 .loc 1 2240 7 discriminator 3 view .LVU407
  3621. 1196 .LBE39:
  3622. 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3623. 1197 .loc 1 2247 5 is_stmt 1 view .LVU408
  3624. 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3625. 1198 .loc 1 2247 11 is_stmt 0 view .LVU409
  3626. 1199 0094 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  3627. 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  3628. 1200 .loc 1 2247 8 view .LVU410
  3629. 1201 0096 002B cmp r3, #0
  3630. 1202 0098 4ED1 bne .L47
  3631. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3632. 1203 .loc 1 2250 7 is_stmt 1 view .LVU411
  3633. 1204 .LBB40:
  3634. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3635. 1205 .loc 1 2250 7 view .LVU412
  3636. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3637. 1206 .loc 1 2250 7 view .LVU413
  3638. 1207 009a 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3639. 1208 009c 30F82230 ldrh r3, [r0, r2, lsl #2]
  3640. 1209 .LVL128:
  3641. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3642. 1210 .loc 1 2250 7 view .LVU414
  3643. 1211 00a0 13F4804F tst r3, #16384
  3644. 1212 00a4 0CD0 beq .L48
  3645. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3646. 1213 .loc 1 2250 7 discriminator 1 view .LVU415
  3647. 1214 .LBB41:
  3648. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3649. 1215 .loc 1 2250 7 discriminator 1 view .LVU416
  3650. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3651. 1216 .loc 1 2250 7 discriminator 1 view .LVU417
  3652. 1217 00a6 30F82230 ldrh r3, [r0, r2, lsl #2]
  3653. 1218 .LVL129:
  3654. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3655. ARM GAS /tmp/ccGUz1hM.s page 64
  3656. 1219 .loc 1 2250 7 is_stmt 0 discriminator 1 view .LVU418
  3657. 1220 00aa 9BB2 uxth r3, r3
  3658. 1221 00ac 23F4E043 bic r3, r3, #28672
  3659. 1222 00b0 23F07003 bic r3, r3, #112
  3660. 1223 .LVL130:
  3661. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3662. 1224 .loc 1 2250 7 is_stmt 1 discriminator 1 view .LVU419
  3663. 1225 00b4 43F44043 orr r3, r3, #49152
  3664. 1226 .LVL131:
  3665. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3666. 1227 .loc 1 2250 7 is_stmt 0 discriminator 1 view .LVU420
  3667. 1228 00b8 43F08003 orr r3, r3, #128
  3668. 1229 00bc 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3669. 1230 .L48:
  3670. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3671. 1231 .loc 1 2250 7 discriminator 1 view .LVU421
  3672. 1232 .LBE41:
  3673. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3674. 1233 .loc 1 2250 7 is_stmt 1 discriminator 3 view .LVU422
  3675. 1234 .LBE40:
  3676. 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3677. 1235 .loc 1 2250 7 discriminator 3 view .LVU423
  3678. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3679. 1236 .loc 1 2251 7 discriminator 3 view .LVU424
  3680. 1237 .LBB42:
  3681. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3682. 1238 .loc 1 2251 7 discriminator 3 view .LVU425
  3683. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3684. 1239 .loc 1 2251 7 discriminator 3 view .LVU426
  3685. 1240 00c0 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3686. 1241 00c2 30F82230 ldrh r3, [r0, r2, lsl #2]
  3687. 1242 .LVL132:
  3688. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3689. 1243 .loc 1 2251 7 discriminator 3 view .LVU427
  3690. 1244 00c6 13F0400F tst r3, #64
  3691. 1245 00ca 0CD0 beq .L49
  3692. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3693. 1246 .loc 1 2251 7 discriminator 1 view .LVU428
  3694. 1247 .LBB43:
  3695. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3696. 1248 .loc 1 2251 7 discriminator 1 view .LVU429
  3697. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3698. 1249 .loc 1 2251 7 discriminator 1 view .LVU430
  3699. 1250 00cc 30F82230 ldrh r3, [r0, r2, lsl #2]
  3700. 1251 .LVL133:
  3701. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3702. 1252 .loc 1 2251 7 is_stmt 0 discriminator 1 view .LVU431
  3703. 1253 00d0 9BB2 uxth r3, r3
  3704. 1254 00d2 23F4E043 bic r3, r3, #28672
  3705. 1255 00d6 23F07003 bic r3, r3, #112
  3706. 1256 .LVL134:
  3707. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3708. 1257 .loc 1 2251 7 is_stmt 1 discriminator 1 view .LVU432
  3709. 1258 00da 43F40043 orr r3, r3, #32768
  3710. 1259 .LVL135:
  3711. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3712. 1260 .loc 1 2251 7 is_stmt 0 discriminator 1 view .LVU433
  3713. ARM GAS /tmp/ccGUz1hM.s page 65
  3714. 1261 00de 43F0C003 orr r3, r3, #192
  3715. 1262 00e2 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3716. 1263 .L49:
  3717. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3718. 1264 .loc 1 2251 7 discriminator 1 view .LVU434
  3719. 1265 .LBE43:
  3720. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3721. 1266 .loc 1 2251 7 is_stmt 1 discriminator 3 view .LVU435
  3722. 1267 .LBE42:
  3723. 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3724. 1268 .loc 1 2251 7 discriminator 3 view .LVU436
  3725. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3726. 1269 .loc 1 2254 7 discriminator 3 view .LVU437
  3727. 1270 .LBB44:
  3728. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3729. 1271 .loc 1 2254 7 discriminator 3 view .LVU438
  3730. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3731. 1272 .loc 1 2254 7 discriminator 3 view .LVU439
  3732. 1273 00e6 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3733. 1274 00e8 30F82230 ldrh r3, [r0, r2, lsl #2]
  3734. 1275 00ec 9BB2 uxth r3, r3
  3735. 1276 00ee 23F4E043 bic r3, r3, #28672
  3736. 1277 00f2 23F07003 bic r3, r3, #112
  3737. 1278 .LVL136:
  3738. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3739. 1279 .loc 1 2254 7 discriminator 3 view .LVU440
  3740. 1280 00f6 43F40043 orr r3, r3, #32768
  3741. 1281 .LVL137:
  3742. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3743. 1282 .loc 1 2254 7 is_stmt 0 discriminator 3 view .LVU441
  3744. 1283 00fa 43F0C003 orr r3, r3, #192
  3745. 1284 00fe 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3746. 1285 .LBE44:
  3747. 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3748. 1286 .loc 1 2254 7 is_stmt 1 discriminator 3 view .LVU442
  3749. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3750. 1287 .loc 1 2256 7 discriminator 3 view .LVU443
  3751. 1288 .LBB45:
  3752. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3753. 1289 .loc 1 2256 7 discriminator 3 view .LVU444
  3754. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3755. 1290 .loc 1 2256 7 discriminator 3 view .LVU445
  3756. 1291 0102 0B78 ldrb r3, [r1] @ zero_extendqisi2
  3757. 1292 0104 30F82320 ldrh r2, [r0, r3, lsl #2]
  3758. 1293 0108 92B2 uxth r2, r2
  3759. 1294 010a 22F48042 bic r2, r2, #16384
  3760. 1295 010e 22F07002 bic r2, r2, #112
  3761. 1296 .LVL138:
  3762. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3763. 1297 .loc 1 2256 7 discriminator 3 view .LVU446
  3764. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3765. 1298 .loc 1 2256 7 discriminator 3 view .LVU447
  3766. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3767. 1299 .loc 1 2256 7 discriminator 3 view .LVU448
  3768. 1300 0112 48F2800C movw ip, #32896
  3769. 1301 0116 42EA0C02 orr r2, r2, ip
  3770. 1302 .LVL139:
  3771. ARM GAS /tmp/ccGUz1hM.s page 66
  3772. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3773. 1303 .loc 1 2256 7 is_stmt 0 discriminator 3 view .LVU449
  3774. 1304 011a 20F82320 strh r2, [r0, r3, lsl #2] @ movhi
  3775. 1305 .LBE45:
  3776. 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  3777. 1306 .loc 1 2256 7 is_stmt 1 discriminator 3 view .LVU450
  3778. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3779. 1307 .loc 1 2257 7 discriminator 3 view .LVU451
  3780. 1308 .LBB46:
  3781. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3782. 1309 .loc 1 2257 7 discriminator 3 view .LVU452
  3783. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3784. 1310 .loc 1 2257 7 discriminator 3 view .LVU453
  3785. 1311 011e 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3786. 1312 0120 30F82230 ldrh r3, [r0, r2, lsl #2]
  3787. 1313 0124 9BB2 uxth r3, r3
  3788. 1314 0126 23F4E043 bic r3, r3, #28672
  3789. 1315 012a 23F04003 bic r3, r3, #64
  3790. 1316 .LVL140:
  3791. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3792. 1317 .loc 1 2257 7 discriminator 3 view .LVU454
  3793. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3794. 1318 .loc 1 2257 7 discriminator 3 view .LVU455
  3795. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3796. 1319 .loc 1 2257 7 discriminator 3 view .LVU456
  3797. 1320 012e 43EA0C03 orr r3, r3, ip
  3798. 1321 .LVL141:
  3799. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3800. 1322 .loc 1 2257 7 is_stmt 0 discriminator 3 view .LVU457
  3801. 1323 0132 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3802. 1324 .LBE46:
  3803. 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3804. 1325 .loc 1 2257 7 is_stmt 1 discriminator 3 view .LVU458
  3805. 1326 0136 89E7 b .L45
  3806. 1327 .L47:
  3807. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3808. 1328 .loc 1 2262 7 view .LVU459
  3809. 1329 .LBB47:
  3810. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3811. 1330 .loc 1 2262 7 view .LVU460
  3812. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3813. 1331 .loc 1 2262 7 view .LVU461
  3814. 1332 0138 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3815. 1333 013a 30F82230 ldrh r3, [r0, r2, lsl #2]
  3816. 1334 .LVL142:
  3817. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3818. 1335 .loc 1 2262 7 view .LVU462
  3819. 1336 013e 13F4804F tst r3, #16384
  3820. 1337 0142 0CD0 beq .L50
  3821. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3822. 1338 .loc 1 2262 7 discriminator 1 view .LVU463
  3823. 1339 .LBB48:
  3824. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3825. 1340 .loc 1 2262 7 discriminator 1 view .LVU464
  3826. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3827. 1341 .loc 1 2262 7 discriminator 1 view .LVU465
  3828. 1342 0144 30F82230 ldrh r3, [r0, r2, lsl #2]
  3829. ARM GAS /tmp/ccGUz1hM.s page 67
  3830. 1343 .LVL143:
  3831. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3832. 1344 .loc 1 2262 7 is_stmt 0 discriminator 1 view .LVU466
  3833. 1345 0148 9BB2 uxth r3, r3
  3834. 1346 014a 23F4E043 bic r3, r3, #28672
  3835. 1347 014e 23F07003 bic r3, r3, #112
  3836. 1348 .LVL144:
  3837. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3838. 1349 .loc 1 2262 7 is_stmt 1 discriminator 1 view .LVU467
  3839. 1350 0152 43F44043 orr r3, r3, #49152
  3840. 1351 .LVL145:
  3841. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3842. 1352 .loc 1 2262 7 is_stmt 0 discriminator 1 view .LVU468
  3843. 1353 0156 43F08003 orr r3, r3, #128
  3844. 1354 015a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3845. 1355 .L50:
  3846. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3847. 1356 .loc 1 2262 7 discriminator 1 view .LVU469
  3848. 1357 .LBE48:
  3849. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3850. 1358 .loc 1 2262 7 is_stmt 1 discriminator 3 view .LVU470
  3851. 1359 .LBE47:
  3852. 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  3853. 1360 .loc 1 2262 7 discriminator 3 view .LVU471
  3854. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3855. 1361 .loc 1 2263 7 discriminator 3 view .LVU472
  3856. 1362 .LBB49:
  3857. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3858. 1363 .loc 1 2263 7 discriminator 3 view .LVU473
  3859. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3860. 1364 .loc 1 2263 7 discriminator 3 view .LVU474
  3861. 1365 015e 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3862. 1366 0160 30F82230 ldrh r3, [r0, r2, lsl #2]
  3863. 1367 .LVL146:
  3864. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3865. 1368 .loc 1 2263 7 discriminator 3 view .LVU475
  3866. 1369 0164 13F0400F tst r3, #64
  3867. 1370 0168 0CD0 beq .L51
  3868. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3869. 1371 .loc 1 2263 7 discriminator 1 view .LVU476
  3870. 1372 .LBB50:
  3871. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3872. 1373 .loc 1 2263 7 discriminator 1 view .LVU477
  3873. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3874. 1374 .loc 1 2263 7 discriminator 1 view .LVU478
  3875. 1375 016a 30F82230 ldrh r3, [r0, r2, lsl #2]
  3876. 1376 .LVL147:
  3877. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3878. 1377 .loc 1 2263 7 is_stmt 0 discriminator 1 view .LVU479
  3879. 1378 016e 9BB2 uxth r3, r3
  3880. 1379 0170 23F4E043 bic r3, r3, #28672
  3881. 1380 0174 23F07003 bic r3, r3, #112
  3882. 1381 .LVL148:
  3883. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3884. 1382 .loc 1 2263 7 is_stmt 1 discriminator 1 view .LVU480
  3885. 1383 0178 43F40043 orr r3, r3, #32768
  3886. 1384 .LVL149:
  3887. ARM GAS /tmp/ccGUz1hM.s page 68
  3888. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3889. 1385 .loc 1 2263 7 is_stmt 0 discriminator 1 view .LVU481
  3890. 1386 017c 43F0C003 orr r3, r3, #192
  3891. 1387 0180 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3892. 1388 .L51:
  3893. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3894. 1389 .loc 1 2263 7 discriminator 1 view .LVU482
  3895. 1390 .LBE50:
  3896. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3897. 1391 .loc 1 2263 7 is_stmt 1 discriminator 3 view .LVU483
  3898. 1392 .LBE49:
  3899. 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
  3900. 1393 .loc 1 2263 7 discriminator 3 view .LVU484
  3901. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3902. 1394 .loc 1 2264 7 discriminator 3 view .LVU485
  3903. 1395 .LBB51:
  3904. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3905. 1396 .loc 1 2264 7 discriminator 3 view .LVU486
  3906. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3907. 1397 .loc 1 2264 7 discriminator 3 view .LVU487
  3908. 1398 0184 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3909. 1399 0186 30F82230 ldrh r3, [r0, r2, lsl #2]
  3910. 1400 018a 9BB2 uxth r3, r3
  3911. 1401 018c 23F4E043 bic r3, r3, #28672
  3912. 1402 0190 23F07003 bic r3, r3, #112
  3913. 1403 .LVL150:
  3914. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3915. 1404 .loc 1 2264 7 discriminator 3 view .LVU488
  3916. 1405 0194 43F44043 orr r3, r3, #49152
  3917. 1406 .LVL151:
  3918. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3919. 1407 .loc 1 2264 7 is_stmt 0 discriminator 3 view .LVU489
  3920. 1408 0198 43F08003 orr r3, r3, #128
  3921. 1409 019c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3922. 1410 .LBE51:
  3923. 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3924. 1411 .loc 1 2264 7 is_stmt 1 discriminator 3 view .LVU490
  3925. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3926. 1412 .loc 1 2267 7 discriminator 3 view .LVU491
  3927. 1413 .LBB52:
  3928. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3929. 1414 .loc 1 2267 7 discriminator 3 view .LVU492
  3930. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3931. 1415 .loc 1 2267 7 discriminator 3 view .LVU493
  3932. 1416 01a0 0B78 ldrb r3, [r1] @ zero_extendqisi2
  3933. 1417 01a2 30F82320 ldrh r2, [r0, r3, lsl #2]
  3934. 1418 01a6 92B2 uxth r2, r2
  3935. 1419 01a8 22F4E042 bic r2, r2, #28672
  3936. 1420 01ac 22F04002 bic r2, r2, #64
  3937. 1421 .LVL152:
  3938. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3939. 1422 .loc 1 2267 7 discriminator 3 view .LVU494
  3940. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3941. 1423 .loc 1 2267 7 discriminator 3 view .LVU495
  3942. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3943. 1424 .loc 1 2267 7 discriminator 3 view .LVU496
  3944. 1425 01b0 48F2800C movw ip, #32896
  3945. ARM GAS /tmp/ccGUz1hM.s page 69
  3946. 1426 01b4 42EA0C02 orr r2, r2, ip
  3947. 1427 .LVL153:
  3948. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3949. 1428 .loc 1 2267 7 is_stmt 0 discriminator 3 view .LVU497
  3950. 1429 01b8 20F82320 strh r2, [r0, r3, lsl #2] @ movhi
  3951. 1430 .LBE52:
  3952. 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  3953. 1431 .loc 1 2267 7 is_stmt 1 discriminator 3 view .LVU498
  3954. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3955. 1432 .loc 1 2268 7 discriminator 3 view .LVU499
  3956. 1433 .LBB53:
  3957. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3958. 1434 .loc 1 2268 7 discriminator 3 view .LVU500
  3959. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3960. 1435 .loc 1 2268 7 discriminator 3 view .LVU501
  3961. 1436 01bc 0A78 ldrb r2, [r1] @ zero_extendqisi2
  3962. 1437 01be 30F82230 ldrh r3, [r0, r2, lsl #2]
  3963. 1438 01c2 9BB2 uxth r3, r3
  3964. 1439 01c4 23F48043 bic r3, r3, #16384
  3965. 1440 01c8 23F07003 bic r3, r3, #112
  3966. 1441 .LVL154:
  3967. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3968. 1442 .loc 1 2268 7 discriminator 3 view .LVU502
  3969. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3970. 1443 .loc 1 2268 7 discriminator 3 view .LVU503
  3971. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3972. 1444 .loc 1 2268 7 discriminator 3 view .LVU504
  3973. 1445 01cc 43EA0C03 orr r3, r3, ip
  3974. 1446 .LVL155:
  3975. 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  3976. 1447 .loc 1 2268 7 is_stmt 0 discriminator 3 view .LVU505
  3977. 1448 01d0 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  3978. 1449 01d4 3AE7 b .L45
  3979. 1450 .LBE53:
  3980. 1451 .cfi_endproc
  3981. 1452 .LFE73:
  3982. 1454 .section .text.USB_EPSetStall,"ax",%progbits
  3983. 1455 .align 1
  3984. 1456 .global USB_EPSetStall
  3985. 1457 .syntax unified
  3986. 1458 .thumb
  3987. 1459 .thumb_func
  3988. 1461 USB_EPSetStall:
  3989. 1462 .LVL156:
  3990. 1463 .LFB75:
  3991. 2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  3992. 2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  3993. 2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStartXfer setup and starts a transfer over an EP
  3994. 2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  3995. 2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  3996. 2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  3997. 2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  3998. 2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep)
  3999. 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4000. 2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t len;
  4001. 2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
  4002. 2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t pmabuffer;
  4003. ARM GAS /tmp/ccGUz1hM.s page 70
  4004. 2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEPVal;
  4005. 2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
  4006. 2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4007. 2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
  4008. 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  4009. 2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4010. 2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Multi packet transfer*/
  4011. 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
  4012. 2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4013. 2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->maxpacket;
  4014. 2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4015. 2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4016. 2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4017. 2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len;
  4018. 2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4019. 2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4020. 2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* configure and validate Tx endpoint */
  4021. 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  4022. 2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4023. 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, ep->pmaadress, (uint16_t)len);
  4024. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
  4025. 2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4026. 2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
  4027. 2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4028. 2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4029. 2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* double buffer bulk management */
  4030. 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_BULK)
  4031. 2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4032. 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len_db > ep->maxpacket)
  4033. 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4034. 2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* enable double buffer */
  4035. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_BULK_EP_DBUF(USBx, ep->num);
  4036. 2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4037. 2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* each Time to write in PMA xfer_len_db will */
  4038. 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
  4039. 2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4040. 2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Fill the two first buffer in the Buffer0 & Buffer1 */
  4041. 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_DTOG_TX) != 0U)
  4042. 2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4043. 2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer1 */
  4044. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len);
  4045. 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  4046. 2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4047. 2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4048. 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4049. 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
  4050. 2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4051. 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len_db > ep->maxpacket)
  4052. 2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4053. 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
  4054. 2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4055. 2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4056. 2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4057. 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len_db;
  4058. 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
  4059. 2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4060. 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4061. ARM GAS /tmp/ccGUz1hM.s page 71
  4062. 2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer0 */
  4063. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len);
  4064. 2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  4065. 2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4066. 2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4067. 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4068. 2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4069. 2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4070. 2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4071. 2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer0 */
  4072. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len);
  4073. 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  4074. 2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4075. 2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4076. 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4077. 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
  4078. 2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4079. 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len_db > ep->maxpacket)
  4080. 2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4081. 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
  4082. 2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4083. 2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4084. 2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4085. 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len_db;
  4086. 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
  4087. 2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4088. 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4089. 2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer1 */
  4090. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len);
  4091. 2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  4092. 2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4093. 2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4094. 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4095. 2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4096. 2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4097. 2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* auto Switch to single buffer mode when transfer <Mps no need to manage in double buffer
  4098. 2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4099. 2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4100. 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len_db;
  4101. 2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4102. 2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* disable double buffer mode for Bulk endpoint */
  4103. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_BULK_EP_DBUF(USBx, ep->num);
  4104. 2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4105. 2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set Tx count with nbre of byte to be transmitted */
  4106. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
  4107. 2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  4108. 2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4109. 2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4110. 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4111. 2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4112. 2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4113. 2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* manage isochronous double buffer IN mode */
  4114. 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4115. 2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* each Time to write in PMA xfer_len_db will */
  4116. 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
  4117. 2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4118. 2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Fill the data buffer */
  4119. ARM GAS /tmp/ccGUz1hM.s page 72
  4120. 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_DTOG_TX) != 0U)
  4121. 2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4122. 2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer1 */
  4123. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len);
  4124. 2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  4125. 2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4126. 2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4127. 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4128. 2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4129. 2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4130. 2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4131. 2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer0 */
  4132. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len);
  4133. 2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  4134. 2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4135. 2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
  4136. 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
  4137. 2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4138. 2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4139. 2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4140. 2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
  4141. 2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4142. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_VALID);
  4143. 2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4144. 2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
  4145. 2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4146. 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  4147. 2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4148. 2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Multi packet transfer */
  4149. 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
  4150. 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4151. 2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->maxpacket;
  4152. 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
  4153. 2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4154. 2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4155. 2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4156. 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len;
  4157. 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
  4158. 2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4159. 2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* configure and validate Rx endpoint */
  4160. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_CNT(USBx, ep->num, len);
  4161. 2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4162. 2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
  4163. 2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4164. 2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4165. 2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* First Transfer Coming From HAL_PCD_EP_Receive & From ISR */
  4166. 2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter */
  4167. 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_BULK)
  4168. 2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4169. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF_CNT(USBx, ep->num, ep->is_in, ep->maxpacket);
  4170. 2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4171. 2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Coming from ISR */
  4172. 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_count != 0U)
  4173. 2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4174. 2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* update last value to check if there is blocking state */
  4175. 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEPVal = PCD_GET_ENDPOINT(USBx, ep->num);
  4176. 2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4177. ARM GAS /tmp/ccGUz1hM.s page 73
  4178. 2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Blocking State */
  4179. 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((((wEPVal & USB_EP_DTOG_RX) != 0U) && ((wEPVal & USB_EP_DTOG_TX) != 0U)) ||
  4180. 2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
  4181. 2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4182. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_FREE_USER_BUFFER(USBx, ep->num, 0U);
  4183. 2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4184. 2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4185. 2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4186. 2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* iso out double */
  4187. 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if (ep->type == EP_TYPE_ISOC)
  4188. 2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4189. 2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Multi packet transfer */
  4190. 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
  4191. 2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4192. 2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->maxpacket;
  4193. 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
  4194. 2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4195. 2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4196. 2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4197. 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len;
  4198. 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
  4199. 2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4200. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF_CNT(USBx, ep->num, ep->is_in, len);
  4201. 2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4202. 2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4203. 2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4204. 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
  4205. 2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4206. 2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4207. 2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
  4208. 2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4209. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
  4210. 2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4211. 2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4212. 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4213. 2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4214. 2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4215. 2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4216. 2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4217. 2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPSetStall set a stall condition over an EP
  4218. 2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4219. 2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  4220. 2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4221. 2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4222. 2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPSetStall(USB_TypeDef *USBx, USB_EPTypeDef *ep)
  4223. 2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4224. 1464 .loc 1 2503 1 is_stmt 1 view -0
  4225. 1465 .cfi_startproc
  4226. 1466 @ args = 0, pretend = 0, frame = 0
  4227. 1467 @ frame_needed = 0, uses_anonymous_args = 0
  4228. 1468 @ link register save eliminated.
  4229. 2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
  4230. 1469 .loc 1 2504 3 view .LVU507
  4231. 1470 .loc 1 2504 9 is_stmt 0 view .LVU508
  4232. 1471 0000 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  4233. 1472 .loc 1 2504 6 view .LVU509
  4234. 1473 0002 8BB1 cbz r3, .L53
  4235. ARM GAS /tmp/ccGUz1hM.s page 74
  4236. 2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4237. 2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_STALL);
  4238. 1474 .loc 1 2506 5 is_stmt 1 view .LVU510
  4239. 1475 .LBB54:
  4240. 1476 .loc 1 2506 5 view .LVU511
  4241. 1477 .loc 1 2506 5 view .LVU512
  4242. 1478 0004 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4243. 1479 0006 30F82230 ldrh r3, [r0, r2, lsl #2]
  4244. 1480 000a 9BB2 uxth r3, r3
  4245. 1481 000c 23F4E043 bic r3, r3, #28672
  4246. 1482 0010 23F04003 bic r3, r3, #64
  4247. 1483 .LVL157:
  4248. 1484 .loc 1 2506 5 view .LVU513
  4249. 1485 .loc 1 2506 5 view .LVU514
  4250. 1486 0014 83F01003 eor r3, r3, #16
  4251. 1487 .LVL158:
  4252. 1488 .loc 1 2506 5 view .LVU515
  4253. 1489 .loc 1 2506 5 view .LVU516
  4254. 1490 0018 43F40043 orr r3, r3, #32768
  4255. 1491 .LVL159:
  4256. 1492 .loc 1 2506 5 is_stmt 0 view .LVU517
  4257. 1493 001c 43F08003 orr r3, r3, #128
  4258. 1494 0020 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4259. 1495 .LBE54:
  4260. 1496 .loc 1 2506 5 is_stmt 1 view .LVU518
  4261. 1497 .L54:
  4262. 2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4263. 2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4264. 2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4265. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_STALL);
  4266. 1498 .loc 1 2510 5 discriminator 7 view .LVU519
  4267. 2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4268. 2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4269. 2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4270. 1499 .loc 1 2513 3 discriminator 7 view .LVU520
  4271. 2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4272. 1500 .loc 1 2514 1 is_stmt 0 discriminator 7 view .LVU521
  4273. 1501 0024 0020 movs r0, #0
  4274. 1502 .LVL160:
  4275. 1503 .loc 1 2514 1 discriminator 7 view .LVU522
  4276. 1504 0026 7047 bx lr
  4277. 1505 .LVL161:
  4278. 1506 .L53:
  4279. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4280. 1507 .loc 1 2510 5 is_stmt 1 view .LVU523
  4281. 1508 .LBB55:
  4282. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4283. 1509 .loc 1 2510 5 view .LVU524
  4284. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4285. 1510 .loc 1 2510 5 view .LVU525
  4286. 1511 0028 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4287. 1512 002a 30F82230 ldrh r3, [r0, r2, lsl #2]
  4288. 1513 002e 9BB2 uxth r3, r3
  4289. 1514 0030 23F48043 bic r3, r3, #16384
  4290. 1515 0034 23F07003 bic r3, r3, #112
  4291. 1516 .LVL162:
  4292. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4293. ARM GAS /tmp/ccGUz1hM.s page 75
  4294. 1517 .loc 1 2510 5 view .LVU526
  4295. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4296. 1518 .loc 1 2510 5 view .LVU527
  4297. 1519 0038 83F48053 eor r3, r3, #4096
  4298. 1520 .LVL163:
  4299. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4300. 1521 .loc 1 2510 5 view .LVU528
  4301. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4302. 1522 .loc 1 2510 5 view .LVU529
  4303. 1523 003c 43F40043 orr r3, r3, #32768
  4304. 1524 .LVL164:
  4305. 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4306. 1525 .loc 1 2510 5 is_stmt 0 view .LVU530
  4307. 1526 0040 43F08003 orr r3, r3, #128
  4308. 1527 0044 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4309. 1528 0048 ECE7 b .L54
  4310. 1529 .LBE55:
  4311. 1530 .cfi_endproc
  4312. 1531 .LFE75:
  4313. 1533 .section .text.USB_EPClearStall,"ax",%progbits
  4314. 1534 .align 1
  4315. 1535 .global USB_EPClearStall
  4316. 1536 .syntax unified
  4317. 1537 .thumb
  4318. 1538 .thumb_func
  4319. 1540 USB_EPClearStall:
  4320. 1541 .LVL165:
  4321. 1542 .LFB76:
  4322. 2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4323. 2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4324. 2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPClearStall Clear a stall condition over an EP
  4325. 2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4326. 2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  4327. 2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4328. 2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4329. 2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPClearStall(USB_TypeDef *USBx, USB_EPTypeDef *ep)
  4330. 2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4331. 1543 .loc 1 2523 1 is_stmt 1 view -0
  4332. 1544 .cfi_startproc
  4333. 1545 @ args = 0, pretend = 0, frame = 0
  4334. 1546 @ frame_needed = 0, uses_anonymous_args = 0
  4335. 1547 @ link register save eliminated.
  4336. 2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  4337. 1548 .loc 1 2524 3 view .LVU532
  4338. 1549 .loc 1 2524 9 is_stmt 0 view .LVU533
  4339. 1550 0000 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
  4340. 1551 .loc 1 2524 6 view .LVU534
  4341. 1552 0002 002B cmp r3, #0
  4342. 1553 0004 4BD1 bne .L56
  4343. 2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4344. 2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
  4345. 1554 .loc 1 2526 5 is_stmt 1 view .LVU535
  4346. 1555 .loc 1 2526 11 is_stmt 0 view .LVU536
  4347. 1556 0006 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  4348. 1557 .loc 1 2526 8 view .LVU537
  4349. 1558 0008 33B3 cbz r3, .L57
  4350. 2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4351. ARM GAS /tmp/ccGUz1hM.s page 76
  4352. 2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
  4353. 1559 .loc 1 2528 7 is_stmt 1 view .LVU538
  4354. 1560 .LBB56:
  4355. 1561 .loc 1 2528 7 view .LVU539
  4356. 1562 .loc 1 2528 7 view .LVU540
  4357. 1563 000a 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4358. 1564 000c 30F82230 ldrh r3, [r0, r2, lsl #2]
  4359. 1565 .LVL166:
  4360. 1566 .loc 1 2528 7 view .LVU541
  4361. 1567 0010 13F0400F tst r3, #64
  4362. 1568 0014 0CD0 beq .L58
  4363. 1569 .loc 1 2528 7 discriminator 1 view .LVU542
  4364. 1570 .LBB57:
  4365. 1571 .loc 1 2528 7 discriminator 1 view .LVU543
  4366. 1572 .loc 1 2528 7 discriminator 1 view .LVU544
  4367. 1573 0016 30F82230 ldrh r3, [r0, r2, lsl #2]
  4368. 1574 .LVL167:
  4369. 1575 .loc 1 2528 7 is_stmt 0 discriminator 1 view .LVU545
  4370. 1576 001a 9BB2 uxth r3, r3
  4371. 1577 001c 23F4E043 bic r3, r3, #28672
  4372. 1578 0020 23F07003 bic r3, r3, #112
  4373. 1579 .LVL168:
  4374. 1580 .loc 1 2528 7 is_stmt 1 discriminator 1 view .LVU546
  4375. 1581 0024 43F40043 orr r3, r3, #32768
  4376. 1582 .LVL169:
  4377. 1583 .loc 1 2528 7 is_stmt 0 discriminator 1 view .LVU547
  4378. 1584 0028 43F0C003 orr r3, r3, #192
  4379. 1585 002c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4380. 1586 .L58:
  4381. 1587 .loc 1 2528 7 discriminator 1 view .LVU548
  4382. 1588 .LBE57:
  4383. 1589 .loc 1 2528 7 is_stmt 1 discriminator 3 view .LVU549
  4384. 1590 .LBE56:
  4385. 1591 .loc 1 2528 7 discriminator 3 view .LVU550
  4386. 2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4387. 2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
  4388. 1592 .loc 1 2530 7 discriminator 3 view .LVU551
  4389. 1593 .loc 1 2530 13 is_stmt 0 discriminator 3 view .LVU552
  4390. 1594 0030 CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
  4391. 1595 .loc 1 2530 10 discriminator 3 view .LVU553
  4392. 1596 0032 012B cmp r3, #1
  4393. 1597 0034 33D0 beq .L56
  4394. 2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4395. 2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
  4396. 2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
  4397. 1598 .loc 1 2533 9 is_stmt 1 view .LVU554
  4398. 1599 .LBB58:
  4399. 1600 .loc 1 2533 9 view .LVU555
  4400. 1601 .loc 1 2533 9 view .LVU556
  4401. 1602 0036 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4402. 1603 0038 30F82230 ldrh r3, [r0, r2, lsl #2]
  4403. 1604 003c 9BB2 uxth r3, r3
  4404. 1605 003e 23F4E043 bic r3, r3, #28672
  4405. 1606 0042 23F04003 bic r3, r3, #64
  4406. 1607 .LVL170:
  4407. 1608 .loc 1 2533 9 view .LVU557
  4408. 1609 .loc 1 2533 9 view .LVU558
  4409. ARM GAS /tmp/ccGUz1hM.s page 77
  4410. 1610 .loc 1 2533 9 view .LVU559
  4411. 1611 0046 83F02003 eor r3, r3, #32
  4412. 1612 .LVL171:
  4413. 1613 .loc 1 2533 9 view .LVU560
  4414. 1614 004a 43F40043 orr r3, r3, #32768
  4415. 1615 .LVL172:
  4416. 1616 .loc 1 2533 9 is_stmt 0 view .LVU561
  4417. 1617 004e 43F08003 orr r3, r3, #128
  4418. 1618 0052 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4419. 1619 0056 22E0 b .L56
  4420. 1620 .L57:
  4421. 1621 .loc 1 2533 9 view .LVU562
  4422. 1622 .LBE58:
  4423. 2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4424. 2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4425. 2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4426. 2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4427. 2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
  4428. 1623 .loc 1 2538 7 is_stmt 1 view .LVU563
  4429. 1624 .LBB59:
  4430. 1625 .loc 1 2538 7 view .LVU564
  4431. 1626 .loc 1 2538 7 view .LVU565
  4432. 1627 0058 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4433. 1628 005a 30F82230 ldrh r3, [r0, r2, lsl #2]
  4434. 1629 .LVL173:
  4435. 1630 .loc 1 2538 7 view .LVU566
  4436. 1631 005e 13F4804F tst r3, #16384
  4437. 1632 0062 0CD0 beq .L59
  4438. 1633 .loc 1 2538 7 discriminator 1 view .LVU567
  4439. 1634 .LBB60:
  4440. 1635 .loc 1 2538 7 discriminator 1 view .LVU568
  4441. 1636 .loc 1 2538 7 discriminator 1 view .LVU569
  4442. 1637 0064 30F82230 ldrh r3, [r0, r2, lsl #2]
  4443. 1638 .LVL174:
  4444. 1639 .loc 1 2538 7 is_stmt 0 discriminator 1 view .LVU570
  4445. 1640 0068 9BB2 uxth r3, r3
  4446. 1641 006a 23F4E043 bic r3, r3, #28672
  4447. 1642 006e 23F07003 bic r3, r3, #112
  4448. 1643 .LVL175:
  4449. 1644 .loc 1 2538 7 is_stmt 1 discriminator 1 view .LVU571
  4450. 1645 0072 43F44043 orr r3, r3, #49152
  4451. 1646 .LVL176:
  4452. 1647 .loc 1 2538 7 is_stmt 0 discriminator 1 view .LVU572
  4453. 1648 0076 43F08003 orr r3, r3, #128
  4454. 1649 007a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4455. 1650 .L59:
  4456. 1651 .loc 1 2538 7 discriminator 1 view .LVU573
  4457. 1652 .LBE60:
  4458. 1653 .loc 1 2538 7 is_stmt 1 discriminator 3 view .LVU574
  4459. 1654 .LBE59:
  4460. 1655 .loc 1 2538 7 discriminator 3 view .LVU575
  4461. 2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4462. 2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure VALID status for the Endpoint */
  4463. 2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
  4464. 1656 .loc 1 2541 7 discriminator 3 view .LVU576
  4465. 1657 .LBB61:
  4466. 1658 .loc 1 2541 7 discriminator 3 view .LVU577
  4467. ARM GAS /tmp/ccGUz1hM.s page 78
  4468. 1659 .loc 1 2541 7 discriminator 3 view .LVU578
  4469. 1660 007e 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4470. 1661 0080 30F82230 ldrh r3, [r0, r2, lsl #2]
  4471. 1662 0084 9BB2 uxth r3, r3
  4472. 1663 0086 23F48043 bic r3, r3, #16384
  4473. 1664 008a 23F07003 bic r3, r3, #112
  4474. 1665 .LVL177:
  4475. 1666 .loc 1 2541 7 discriminator 3 view .LVU579
  4476. 1667 .loc 1 2541 7 discriminator 3 view .LVU580
  4477. 1668 .loc 1 2541 7 discriminator 3 view .LVU581
  4478. 1669 .loc 1 2541 7 discriminator 3 view .LVU582
  4479. 1670 008e 83F44053 eor r3, r3, #12288
  4480. 1671 .LVL178:
  4481. 1672 .loc 1 2541 7 discriminator 3 view .LVU583
  4482. 1673 0092 43F40043 orr r3, r3, #32768
  4483. 1674 .LVL179:
  4484. 1675 .loc 1 2541 7 is_stmt 0 discriminator 3 view .LVU584
  4485. 1676 0096 43F08003 orr r3, r3, #128
  4486. 1677 009a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4487. 1678 .L56:
  4488. 1679 .loc 1 2541 7 discriminator 3 view .LVU585
  4489. 1680 .LBE61:
  4490. 1681 .loc 1 2541 7 is_stmt 1 discriminator 7 view .LVU586
  4491. 2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4492. 2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4493. 2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4494. 2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4495. 1682 .loc 1 2545 3 discriminator 7 view .LVU587
  4496. 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4497. 1683 .loc 1 2546 1 is_stmt 0 discriminator 7 view .LVU588
  4498. 1684 009e 0020 movs r0, #0
  4499. 1685 .LVL180:
  4500. 1686 .loc 1 2546 1 discriminator 7 view .LVU589
  4501. 1687 00a0 7047 bx lr
  4502. 1688 .cfi_endproc
  4503. 1689 .LFE76:
  4504. 1691 .section .text.USB_EPStopXfer,"ax",%progbits
  4505. 1692 .align 1
  4506. 1693 .global USB_EPStopXfer
  4507. 1694 .syntax unified
  4508. 1695 .thumb
  4509. 1696 .thumb_func
  4510. 1698 USB_EPStopXfer:
  4511. 1699 .LVL181:
  4512. 1700 .LFB77:
  4513. 2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4514. 2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4515. 2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStoptXfer Stop transfer on an EP
  4516. 2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx usb device instance
  4517. 2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
  4518. 2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4519. 2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4520. 2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStopXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep)
  4521. 2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4522. 1701 .loc 1 2555 1 is_stmt 1 view -0
  4523. 1702 .cfi_startproc
  4524. 1703 @ args = 0, pretend = 0, frame = 0
  4525. ARM GAS /tmp/ccGUz1hM.s page 79
  4526. 1704 @ frame_needed = 0, uses_anonymous_args = 0
  4527. 1705 @ link register save eliminated.
  4528. 2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
  4529. 2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
  4530. 1706 .loc 1 2557 3 view .LVU591
  4531. 1707 .loc 1 2557 9 is_stmt 0 view .LVU592
  4532. 1708 0000 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
  4533. 1709 .loc 1 2557 6 view .LVU593
  4534. 1710 0002 012B cmp r3, #1
  4535. 1711 0004 16D0 beq .L65
  4536. 2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4537. 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  4538. 2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4539. 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
  4540. 2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4541. 2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
  4542. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
  4543. 2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4544. 2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4545. 2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4546. 2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure TX Endpoint to disabled state */
  4547. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
  4548. 2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4549. 2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4550. 2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4551. 2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
  4552. 2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4553. 2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
  4554. 1712 .loc 1 2575 5 is_stmt 1 view .LVU594
  4555. 1713 .loc 1 2575 11 is_stmt 0 view .LVU595
  4556. 1714 0006 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
  4557. 1715 .loc 1 2575 8 view .LVU596
  4558. 1716 0008 93B9 cbnz r3, .L62
  4559. 2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4560. 2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
  4561. 1717 .loc 1 2577 7 is_stmt 1 view .LVU597
  4562. 1718 .loc 1 2577 13 is_stmt 0 view .LVU598
  4563. 1719 000a CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
  4564. 1720 .loc 1 2577 10 view .LVU599
  4565. 1721 000c 012B cmp r3, #1
  4566. 1722 000e 37D0 beq .L64
  4567. 2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4568. 2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
  4569. 2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_NAK);
  4570. 1723 .loc 1 2580 9 is_stmt 1 view .LVU600
  4571. 1724 .LBB62:
  4572. 1725 .loc 1 2580 9 view .LVU601
  4573. 1726 .loc 1 2580 9 view .LVU602
  4574. 1727 0010 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4575. 1728 0012 30F82230 ldrh r3, [r0, r2, lsl #2]
  4576. 1729 0016 9BB2 uxth r3, r3
  4577. 1730 0018 23F48043 bic r3, r3, #16384
  4578. 1731 001c 23F07003 bic r3, r3, #112
  4579. 1732 .LVL182:
  4580. 1733 .loc 1 2580 9 view .LVU603
  4581. 1734 .loc 1 2580 9 view .LVU604
  4582. 1735 .loc 1 2580 9 view .LVU605
  4583. ARM GAS /tmp/ccGUz1hM.s page 80
  4584. 1736 0020 83F40053 eor r3, r3, #8192
  4585. 1737 .LVL183:
  4586. 1738 .loc 1 2580 9 view .LVU606
  4587. 1739 0024 43F40043 orr r3, r3, #32768
  4588. 1740 .LVL184:
  4589. 1741 .loc 1 2580 9 is_stmt 0 view .LVU607
  4590. 1742 0028 43F08003 orr r3, r3, #128
  4591. 1743 002c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4592. 1744 .LBE62:
  4593. 1745 .loc 1 2580 9 is_stmt 1 view .LVU608
  4594. 1746 .L62:
  4595. 2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4596. 2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
  4597. 2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4598. 2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure RX Endpoint to disabled state */
  4599. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
  4600. 1747 .loc 1 2585 9 discriminator 7 view .LVU609
  4601. 2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4602. 2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4603. 2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4604. 2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4605. 2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4606. 1748 .loc 1 2590 3 discriminator 7 view .LVU610
  4607. 2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4608. 1749 .loc 1 2591 1 is_stmt 0 discriminator 7 view .LVU611
  4609. 1750 0030 0020 movs r0, #0
  4610. 1751 .LVL185:
  4611. 1752 .loc 1 2591 1 discriminator 7 view .LVU612
  4612. 1753 0032 7047 bx lr
  4613. 1754 .LVL186:
  4614. 1755 .L65:
  4615. 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4616. 1756 .loc 1 2559 5 is_stmt 1 view .LVU613
  4617. 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4618. 1757 .loc 1 2559 11 is_stmt 0 view .LVU614
  4619. 1758 0034 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
  4620. 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4621. 1759 .loc 1 2559 8 view .LVU615
  4622. 1760 0036 002B cmp r3, #0
  4623. 1761 0038 FAD1 bne .L62
  4624. 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4625. 1762 .loc 1 2561 7 is_stmt 1 view .LVU616
  4626. 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4627. 1763 .loc 1 2561 13 is_stmt 0 view .LVU617
  4628. 1764 003a CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
  4629. 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4630. 1765 .loc 1 2561 10 view .LVU618
  4631. 1766 003c 012B cmp r3, #1
  4632. 1767 003e 10D0 beq .L63
  4633. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4634. 1768 .loc 1 2564 9 is_stmt 1 view .LVU619
  4635. 1769 .LBB63:
  4636. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4637. 1770 .loc 1 2564 9 view .LVU620
  4638. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4639. 1771 .loc 1 2564 9 view .LVU621
  4640. 1772 0040 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4641. ARM GAS /tmp/ccGUz1hM.s page 81
  4642. 1773 0042 30F82230 ldrh r3, [r0, r2, lsl #2]
  4643. 1774 0046 9BB2 uxth r3, r3
  4644. 1775 0048 23F4E043 bic r3, r3, #28672
  4645. 1776 004c 23F04003 bic r3, r3, #64
  4646. 1777 .LVL187:
  4647. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4648. 1778 .loc 1 2564 9 view .LVU622
  4649. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4650. 1779 .loc 1 2564 9 view .LVU623
  4651. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4652. 1780 .loc 1 2564 9 view .LVU624
  4653. 1781 0050 83F02003 eor r3, r3, #32
  4654. 1782 .LVL188:
  4655. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4656. 1783 .loc 1 2564 9 view .LVU625
  4657. 1784 0054 43F40043 orr r3, r3, #32768
  4658. 1785 .LVL189:
  4659. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4660. 1786 .loc 1 2564 9 is_stmt 0 view .LVU626
  4661. 1787 0058 43F08003 orr r3, r3, #128
  4662. 1788 005c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4663. 1789 .LBE63:
  4664. 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4665. 1790 .loc 1 2564 9 is_stmt 1 view .LVU627
  4666. 1791 0060 E6E7 b .L62
  4667. 1792 .L63:
  4668. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4669. 1793 .loc 1 2569 9 view .LVU628
  4670. 1794 .LBB64:
  4671. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4672. 1795 .loc 1 2569 9 view .LVU629
  4673. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4674. 1796 .loc 1 2569 9 view .LVU630
  4675. 1797 0062 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4676. 1798 0064 30F82230 ldrh r3, [r0, r2, lsl #2]
  4677. 1799 0068 9BB2 uxth r3, r3
  4678. 1800 006a 23F4E043 bic r3, r3, #28672
  4679. 1801 006e 23F04003 bic r3, r3, #64
  4680. 1802 .LVL190:
  4681. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4682. 1803 .loc 1 2569 9 view .LVU631
  4683. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4684. 1804 .loc 1 2569 9 view .LVU632
  4685. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4686. 1805 .loc 1 2569 9 view .LVU633
  4687. 1806 0072 43F40043 orr r3, r3, #32768
  4688. 1807 .LVL191:
  4689. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4690. 1808 .loc 1 2569 9 is_stmt 0 view .LVU634
  4691. 1809 0076 43F08003 orr r3, r3, #128
  4692. 1810 007a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4693. 1811 007e D7E7 b .L62
  4694. 1812 .L64:
  4695. 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4696. 1813 .loc 1 2569 9 view .LVU635
  4697. 1814 .LBE64:
  4698. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4699. ARM GAS /tmp/ccGUz1hM.s page 82
  4700. 1815 .loc 1 2585 9 is_stmt 1 view .LVU636
  4701. 1816 .LBB65:
  4702. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4703. 1817 .loc 1 2585 9 view .LVU637
  4704. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4705. 1818 .loc 1 2585 9 view .LVU638
  4706. 1819 0080 0A78 ldrb r2, [r1] @ zero_extendqisi2
  4707. 1820 0082 30F82230 ldrh r3, [r0, r2, lsl #2]
  4708. 1821 0086 9BB2 uxth r3, r3
  4709. 1822 0088 23F48043 bic r3, r3, #16384
  4710. 1823 008c 23F07003 bic r3, r3, #112
  4711. 1824 .LVL192:
  4712. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4713. 1825 .loc 1 2585 9 view .LVU639
  4714. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4715. 1826 .loc 1 2585 9 view .LVU640
  4716. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4717. 1827 .loc 1 2585 9 view .LVU641
  4718. 1828 0090 43F40043 orr r3, r3, #32768
  4719. 1829 .LVL193:
  4720. 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4721. 1830 .loc 1 2585 9 is_stmt 0 view .LVU642
  4722. 1831 0094 43F08003 orr r3, r3, #128
  4723. 1832 0098 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
  4724. 1833 009c C8E7 b .L62
  4725. 1834 .LBE65:
  4726. 1835 .cfi_endproc
  4727. 1836 .LFE77:
  4728. 1838 .section .text.USB_StopDevice,"ax",%progbits
  4729. 1839 .align 1
  4730. 1840 .global USB_StopDevice
  4731. 1841 .syntax unified
  4732. 1842 .thumb
  4733. 1843 .thumb_func
  4734. 1845 USB_StopDevice:
  4735. 1846 .LVL194:
  4736. 1847 .LFB78:
  4737. 2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* defined (HAL_PCD_MODULE_ENABLED) */
  4738. 2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4739. 2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4740. 2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_StopDevice Stop the usb device mode
  4741. 2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4742. 2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4743. 2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4744. 2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_StopDevice(USB_TypeDef *USBx)
  4745. 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4746. 1848 .loc 1 2600 1 is_stmt 1 view -0
  4747. 1849 .cfi_startproc
  4748. 1850 @ args = 0, pretend = 0, frame = 0
  4749. 1851 @ frame_needed = 0, uses_anonymous_args = 0
  4750. 1852 @ link register save eliminated.
  4751. 1853 .loc 1 2600 1 is_stmt 0 view .LVU644
  4752. 1854 0000 0346 mov r3, r0
  4753. 2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* disable all interrupts and force USB reset */
  4754. 2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)USB_CNTR_FRES;
  4755. 1855 .loc 1 2602 3 is_stmt 1 view .LVU645
  4756. 1856 .loc 1 2602 14 is_stmt 0 view .LVU646
  4757. ARM GAS /tmp/ccGUz1hM.s page 83
  4758. 1857 0002 0122 movs r2, #1
  4759. 1858 0004 A0F84020 strh r2, [r0, #64] @ movhi
  4760. 2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4761. 2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* clear interrupt status register */
  4762. 2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->ISTR = 0U;
  4763. 1859 .loc 1 2605 3 is_stmt 1 view .LVU647
  4764. 1860 .loc 1 2605 14 is_stmt 0 view .LVU648
  4765. 1861 0008 0020 movs r0, #0
  4766. 1862 .LVL195:
  4767. 1863 .loc 1 2605 14 view .LVU649
  4768. 1864 000a A3F84400 strh r0, [r3, #68] @ movhi
  4769. 2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4770. 2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* switch-off device */
  4771. 2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)(USB_CNTR_FRES | USB_CNTR_PDWN);
  4772. 1865 .loc 1 2608 3 is_stmt 1 view .LVU650
  4773. 1866 .loc 1 2608 14 is_stmt 0 view .LVU651
  4774. 1867 000e 0322 movs r2, #3
  4775. 1868 0010 A3F84020 strh r2, [r3, #64] @ movhi
  4776. 2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4777. 2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4778. 1869 .loc 1 2610 3 is_stmt 1 view .LVU652
  4779. 2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4780. 1870 .loc 1 2611 1 is_stmt 0 view .LVU653
  4781. 1871 0014 7047 bx lr
  4782. 1872 .cfi_endproc
  4783. 1873 .LFE78:
  4784. 1875 .section .text.USB_SetDevAddress,"ax",%progbits
  4785. 1876 .align 1
  4786. 1877 .global USB_SetDevAddress
  4787. 1878 .syntax unified
  4788. 1879 .thumb
  4789. 1880 .thumb_func
  4790. 1882 USB_SetDevAddress:
  4791. 1883 .LVL196:
  4792. 1884 .LFB79:
  4793. 2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4794. 2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4795. 2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetDevAddress Stop the usb device mode
  4796. 2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4797. 2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param address new device address to be assigned
  4798. 2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 255
  4799. 2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4800. 2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4801. 2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetDevAddress(USB_TypeDef *USBx, uint8_t address)
  4802. 2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4803. 1885 .loc 1 2621 1 is_stmt 1 view -0
  4804. 1886 .cfi_startproc
  4805. 1887 @ args = 0, pretend = 0, frame = 0
  4806. 1888 @ frame_needed = 0, uses_anonymous_args = 0
  4807. 1889 @ link register save eliminated.
  4808. 2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (address == 0U)
  4809. 1890 .loc 1 2622 3 view .LVU655
  4810. 1891 .loc 1 2622 6 is_stmt 0 view .LVU656
  4811. 1892 0000 11B9 cbnz r1, .L68
  4812. 2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4813. 2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* set device address and enable function */
  4814. 2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->DADDR = (uint16_t)USB_DADDR_EF;
  4815. ARM GAS /tmp/ccGUz1hM.s page 84
  4816. 1893 .loc 1 2625 5 is_stmt 1 view .LVU657
  4817. 1894 .loc 1 2625 17 is_stmt 0 view .LVU658
  4818. 1895 0002 8023 movs r3, #128
  4819. 1896 0004 A0F84C30 strh r3, [r0, #76] @ movhi
  4820. 1897 .L68:
  4821. 2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4822. 2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4823. 2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4824. 1898 .loc 1 2628 3 is_stmt 1 view .LVU659
  4825. 2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4826. 1899 .loc 1 2629 1 is_stmt 0 view .LVU660
  4827. 1900 0008 0020 movs r0, #0
  4828. 1901 .LVL197:
  4829. 1902 .loc 1 2629 1 view .LVU661
  4830. 1903 000a 7047 bx lr
  4831. 1904 .cfi_endproc
  4832. 1905 .LFE79:
  4833. 1907 .section .text.USB_DevConnect,"ax",%progbits
  4834. 1908 .align 1
  4835. 1909 .global USB_DevConnect
  4836. 1910 .syntax unified
  4837. 1911 .thumb
  4838. 1912 .thumb_func
  4839. 1914 USB_DevConnect:
  4840. 1915 .LVL198:
  4841. 1916 .LFB80:
  4842. 2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4843. 2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4844. 2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevConnect Connect the USB device by enabling the pull-up/pull-down
  4845. 2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4846. 2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4847. 2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4848. 2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevConnect(USB_TypeDef *USBx)
  4849. 2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4850. 1917 .loc 1 2637 1 is_stmt 1 view -0
  4851. 1918 .cfi_startproc
  4852. 1919 @ args = 0, pretend = 0, frame = 0
  4853. 1920 @ frame_needed = 0, uses_anonymous_args = 0
  4854. 1921 @ link register save eliminated.
  4855. 2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  4856. 2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  4857. 1922 .loc 1 2639 3 view .LVU663
  4858. 2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4859. 2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  4860. 2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  4861. 2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  4862. 2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4863. 2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4864. 2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4865. 1923 .loc 1 2646 3 view .LVU664
  4866. 2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4867. 1924 .loc 1 2647 1 is_stmt 0 view .LVU665
  4868. 1925 0000 0020 movs r0, #0
  4869. 1926 .LVL199:
  4870. 1927 .loc 1 2647 1 view .LVU666
  4871. 1928 0002 7047 bx lr
  4872. 1929 .cfi_endproc
  4873. ARM GAS /tmp/ccGUz1hM.s page 85
  4874. 1930 .LFE80:
  4875. 1932 .section .text.USB_DevDisconnect,"ax",%progbits
  4876. 1933 .align 1
  4877. 1934 .global USB_DevDisconnect
  4878. 1935 .syntax unified
  4879. 1936 .thumb
  4880. 1937 .thumb_func
  4881. 1939 USB_DevDisconnect:
  4882. 1940 .LVL200:
  4883. 1941 .LFB81:
  4884. 2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4885. 2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4886. 2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevDisconnect Disconnect the USB device by disabling the pull-up/pull-down
  4887. 2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4888. 2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4889. 2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4890. 2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevDisconnect(USB_TypeDef *USBx)
  4891. 2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4892. 1942 .loc 1 2655 1 is_stmt 1 view -0
  4893. 1943 .cfi_startproc
  4894. 1944 @ args = 0, pretend = 0, frame = 0
  4895. 1945 @ frame_needed = 0, uses_anonymous_args = 0
  4896. 1946 @ link register save eliminated.
  4897. 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  4898. 2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  4899. 1947 .loc 1 2657 3 view .LVU668
  4900. 2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4901. 2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  4902. 2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  4903. 2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  4904. 2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4905. 2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4906. 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  4907. 1948 .loc 1 2664 3 view .LVU669
  4908. 2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4909. 1949 .loc 1 2665 1 is_stmt 0 view .LVU670
  4910. 1950 0000 0020 movs r0, #0
  4911. 1951 .LVL201:
  4912. 1952 .loc 1 2665 1 view .LVU671
  4913. 1953 0002 7047 bx lr
  4914. 1954 .cfi_endproc
  4915. 1955 .LFE81:
  4916. 1957 .section .text.USB_ReadInterrupts,"ax",%progbits
  4917. 1958 .align 1
  4918. 1959 .global USB_ReadInterrupts
  4919. 1960 .syntax unified
  4920. 1961 .thumb
  4921. 1962 .thumb_func
  4922. 1964 USB_ReadInterrupts:
  4923. 1965 .LVL202:
  4924. 1966 .LFB82:
  4925. 2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4926. 2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4927. 2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadInterrupts return the global USB interrupt status
  4928. 2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4929. 2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Global Interrupt status
  4930. 2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4931. ARM GAS /tmp/ccGUz1hM.s page 86
  4932. 2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadInterrupts(USB_TypeDef const *USBx)
  4933. 2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4934. 1967 .loc 1 2673 1 is_stmt 1 view -0
  4935. 1968 .cfi_startproc
  4936. 1969 @ args = 0, pretend = 0, frame = 0
  4937. 1970 @ frame_needed = 0, uses_anonymous_args = 0
  4938. 1971 @ link register save eliminated.
  4939. 2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
  4940. 1972 .loc 1 2674 3 view .LVU673
  4941. 2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4942. 2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx->ISTR;
  4943. 1973 .loc 1 2676 3 view .LVU674
  4944. 1974 .loc 1 2676 16 is_stmt 0 view .LVU675
  4945. 1975 0000 B0F84400 ldrh r0, [r0, #68]
  4946. 1976 .LVL203:
  4947. 2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
  4948. 1977 .loc 1 2677 3 is_stmt 1 view .LVU676
  4949. 2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4950. 1978 .loc 1 2678 1 is_stmt 0 view .LVU677
  4951. 1979 0004 80B2 uxth r0, r0
  4952. 1980 .LVL204:
  4953. 1981 .loc 1 2678 1 view .LVU678
  4954. 1982 0006 7047 bx lr
  4955. 1983 .cfi_endproc
  4956. 1984 .LFE82:
  4957. 1986 .section .text.USB_ReadDevAllOutEpInterrupt,"ax",%progbits
  4958. 1987 .align 1
  4959. 1988 .global USB_ReadDevAllOutEpInterrupt
  4960. 1989 .syntax unified
  4961. 1990 .thumb
  4962. 1991 .thumb_func
  4963. 1993 USB_ReadDevAllOutEpInterrupt:
  4964. 1994 .LVL205:
  4965. 1995 .LFB83:
  4966. 2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  4967. 2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  4968. 2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllOutEpInterrupt return the USB device OUT endpoints interrupt status
  4969. 2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  4970. 2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  4971. 2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4972. 2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllOutEpInterrupt(USB_TypeDef *USBx)
  4973. 2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  4974. 1996 .loc 1 2686 1 is_stmt 1 view -0
  4975. 1997 .cfi_startproc
  4976. 1998 @ args = 0, pretend = 0, frame = 0
  4977. 1999 @ frame_needed = 0, uses_anonymous_args = 0
  4978. 2000 @ link register save eliminated.
  4979. 2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  4980. 2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  4981. 2001 .loc 1 2688 3 view .LVU680
  4982. 2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  4983. 2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  4984. 2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  4985. 2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  4986. 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
  4987. 2002 .loc 1 2693 3 view .LVU681
  4988. 2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  4989. ARM GAS /tmp/ccGUz1hM.s page 87
  4990. 2003 .loc 1 2694 1 is_stmt 0 view .LVU682
  4991. 2004 0000 0020 movs r0, #0
  4992. 2005 .LVL206:
  4993. 2006 .loc 1 2694 1 view .LVU683
  4994. 2007 0002 7047 bx lr
  4995. 2008 .cfi_endproc
  4996. 2009 .LFE83:
  4997. 2011 .section .text.USB_ReadDevAllInEpInterrupt,"ax",%progbits
  4998. 2012 .align 1
  4999. 2013 .global USB_ReadDevAllInEpInterrupt
  5000. 2014 .syntax unified
  5001. 2015 .thumb
  5002. 2016 .thumb_func
  5003. 2018 USB_ReadDevAllInEpInterrupt:
  5004. 2019 .LVL207:
  5005. 2020 .LFB84:
  5006. 2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5007. 2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5008. 2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllInEpInterrupt return the USB device IN endpoints interrupt status
  5009. 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5010. 2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  5011. 2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5012. 2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllInEpInterrupt(USB_TypeDef *USBx)
  5013. 2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5014. 2021 .loc 1 2702 1 is_stmt 1 view -0
  5015. 2022 .cfi_startproc
  5016. 2023 @ args = 0, pretend = 0, frame = 0
  5017. 2024 @ frame_needed = 0, uses_anonymous_args = 0
  5018. 2025 @ link register save eliminated.
  5019. 2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  5020. 2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  5021. 2026 .loc 1 2704 3 view .LVU685
  5022. 2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  5023. 2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  5024. 2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  5025. 2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5026. 2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
  5027. 2027 .loc 1 2709 3 view .LVU686
  5028. 2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5029. 2028 .loc 1 2710 1 is_stmt 0 view .LVU687
  5030. 2029 0000 0020 movs r0, #0
  5031. 2030 .LVL208:
  5032. 2031 .loc 1 2710 1 view .LVU688
  5033. 2032 0002 7047 bx lr
  5034. 2033 .cfi_endproc
  5035. 2034 .LFE84:
  5036. 2036 .section .text.USB_ReadDevOutEPInterrupt,"ax",%progbits
  5037. 2037 .align 1
  5038. 2038 .global USB_ReadDevOutEPInterrupt
  5039. 2039 .syntax unified
  5040. 2040 .thumb
  5041. 2041 .thumb_func
  5042. 2043 USB_ReadDevOutEPInterrupt:
  5043. 2044 .LVL209:
  5044. 2045 .LFB85:
  5045. 2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5046. 2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5047. ARM GAS /tmp/ccGUz1hM.s page 88
  5048. 2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device OUT EP Interrupt register
  5049. 2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5050. 2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
  5051. 2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
  5052. 2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device OUT EP Interrupt register
  5053. 2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5054. 2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevOutEPInterrupt(USB_TypeDef *USBx, uint8_t epnum)
  5055. 2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5056. 2046 .loc 1 2720 1 is_stmt 1 view -0
  5057. 2047 .cfi_startproc
  5058. 2048 @ args = 0, pretend = 0, frame = 0
  5059. 2049 @ frame_needed = 0, uses_anonymous_args = 0
  5060. 2050 @ link register save eliminated.
  5061. 2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  5062. 2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  5063. 2051 .loc 1 2722 3 view .LVU690
  5064. 2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(epnum);
  5065. 2052 .loc 1 2723 3 view .LVU691
  5066. 2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  5067. 2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  5068. 2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  5069. 2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5070. 2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
  5071. 2053 .loc 1 2728 3 view .LVU692
  5072. 2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5073. 2054 .loc 1 2729 1 is_stmt 0 view .LVU693
  5074. 2055 0000 0020 movs r0, #0
  5075. 2056 .LVL210:
  5076. 2057 .loc 1 2729 1 view .LVU694
  5077. 2058 0002 7047 bx lr
  5078. 2059 .cfi_endproc
  5079. 2060 .LFE85:
  5080. 2062 .section .text.USB_ReadDevInEPInterrupt,"ax",%progbits
  5081. 2063 .align 1
  5082. 2064 .global USB_ReadDevInEPInterrupt
  5083. 2065 .syntax unified
  5084. 2066 .thumb
  5085. 2067 .thumb_func
  5086. 2069 USB_ReadDevInEPInterrupt:
  5087. 2070 .LVL211:
  5088. 2071 .LFB86:
  5089. 2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5090. 2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5091. 2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device IN EP Interrupt register
  5092. 2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5093. 2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
  5094. 2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
  5095. 2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device IN EP Interrupt register
  5096. 2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5097. 2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevInEPInterrupt(USB_TypeDef *USBx, uint8_t epnum)
  5098. 2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5099. 2072 .loc 1 2739 1 is_stmt 1 view -0
  5100. 2073 .cfi_startproc
  5101. 2074 @ args = 0, pretend = 0, frame = 0
  5102. 2075 @ frame_needed = 0, uses_anonymous_args = 0
  5103. 2076 @ link register save eliminated.
  5104. 2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  5105. ARM GAS /tmp/ccGUz1hM.s page 89
  5106. 2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  5107. 2077 .loc 1 2741 3 view .LVU696
  5108. 2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(epnum);
  5109. 2078 .loc 1 2742 3 view .LVU697
  5110. 2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  5111. 2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  5112. 2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  5113. 2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5114. 2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
  5115. 2079 .loc 1 2747 3 view .LVU698
  5116. 2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5117. 2080 .loc 1 2748 1 is_stmt 0 view .LVU699
  5118. 2081 0000 0020 movs r0, #0
  5119. 2082 .LVL212:
  5120. 2083 .loc 1 2748 1 view .LVU700
  5121. 2084 0002 7047 bx lr
  5122. 2085 .cfi_endproc
  5123. 2086 .LFE86:
  5124. 2088 .section .text.USB_ClearInterrupts,"ax",%progbits
  5125. 2089 .align 1
  5126. 2090 .global USB_ClearInterrupts
  5127. 2091 .syntax unified
  5128. 2092 .thumb
  5129. 2093 .thumb_func
  5130. 2095 USB_ClearInterrupts:
  5131. 2096 .LVL213:
  5132. 2097 .LFB87:
  5133. 2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5134. 2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5135. 2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ClearInterrupts: clear a USB interrupt
  5136. 2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5137. 2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param interrupt flag
  5138. 2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
  5139. 2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5140. 2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void USB_ClearInterrupts(USB_TypeDef *USBx, uint32_t interrupt)
  5141. 2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5142. 2098 .loc 1 2757 1 is_stmt 1 view -0
  5143. 2099 .cfi_startproc
  5144. 2100 @ args = 0, pretend = 0, frame = 0
  5145. 2101 @ frame_needed = 0, uses_anonymous_args = 0
  5146. 2102 @ link register save eliminated.
  5147. 2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  5148. 2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  5149. 2103 .loc 1 2759 3 view .LVU702
  5150. 2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(interrupt);
  5151. 2104 .loc 1 2760 3 view .LVU703
  5152. 2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  5153. 2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  5154. 2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  5155. 2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5156. 2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5157. 2105 .loc 1 2765 1 is_stmt 0 view .LVU704
  5158. 2106 0000 7047 bx lr
  5159. 2107 .cfi_endproc
  5160. 2108 .LFE87:
  5161. 2110 .section .text.USB_EP0_OutStart,"ax",%progbits
  5162. 2111 .align 1
  5163. ARM GAS /tmp/ccGUz1hM.s page 90
  5164. 2112 .global USB_EP0_OutStart
  5165. 2113 .syntax unified
  5166. 2114 .thumb
  5167. 2115 .thumb_func
  5168. 2117 USB_EP0_OutStart:
  5169. 2118 .LVL214:
  5170. 2119 .LFB88:
  5171. 2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5172. 2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5173. 2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Prepare the EP0 to start the first control setup
  5174. 2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5175. 2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param psetup pointer to setup packet
  5176. 2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  5177. 2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5178. 2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EP0_OutStart(USB_TypeDef *USBx, uint8_t *psetup)
  5179. 2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5180. 2120 .loc 1 2774 1 is_stmt 1 view -0
  5181. 2121 .cfi_startproc
  5182. 2122 @ args = 0, pretend = 0, frame = 0
  5183. 2123 @ frame_needed = 0, uses_anonymous_args = 0
  5184. 2124 @ link register save eliminated.
  5185. 2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
  5186. 2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
  5187. 2125 .loc 1 2776 3 view .LVU706
  5188. 2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(psetup);
  5189. 2126 .loc 1 2777 3 view .LVU707
  5190. 2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
  5191. 2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
  5192. 2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
  5193. 2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5194. 2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  5195. 2127 .loc 1 2782 3 view .LVU708
  5196. 2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5197. 2128 .loc 1 2783 1 is_stmt 0 view .LVU709
  5198. 2129 0000 0020 movs r0, #0
  5199. 2130 .LVL215:
  5200. 2131 .loc 1 2783 1 view .LVU710
  5201. 2132 0002 7047 bx lr
  5202. 2133 .cfi_endproc
  5203. 2134 .LFE88:
  5204. 2136 .section .text.USB_ActivateRemoteWakeup,"ax",%progbits
  5205. 2137 .align 1
  5206. 2138 .global USB_ActivateRemoteWakeup
  5207. 2139 .syntax unified
  5208. 2140 .thumb
  5209. 2141 .thumb_func
  5210. 2143 USB_ActivateRemoteWakeup:
  5211. 2144 .LVL216:
  5212. 2145 .LFB89:
  5213. 2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5214. 2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5215. 2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ActivateRemoteWakeup : active remote wakeup signalling
  5216. 2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5217. 2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  5218. 2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5219. 2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateRemoteWakeup(USB_TypeDef *USBx)
  5220. 2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5221. ARM GAS /tmp/ccGUz1hM.s page 91
  5222. 2146 .loc 1 2791 1 is_stmt 1 view -0
  5223. 2147 .cfi_startproc
  5224. 2148 @ args = 0, pretend = 0, frame = 0
  5225. 2149 @ frame_needed = 0, uses_anonymous_args = 0
  5226. 2150 @ link register save eliminated.
  5227. 2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR |= (uint16_t)USB_CNTR_RESUME;
  5228. 2151 .loc 1 2792 3 view .LVU712
  5229. 2152 .loc 1 2792 14 is_stmt 0 view .LVU713
  5230. 2153 0000 B0F84030 ldrh r3, [r0, #64]
  5231. 2154 0004 9BB2 uxth r3, r3
  5232. 2155 0006 43F01003 orr r3, r3, #16
  5233. 2156 000a A0F84030 strh r3, [r0, #64] @ movhi
  5234. 2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5235. 2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  5236. 2157 .loc 1 2794 3 is_stmt 1 view .LVU714
  5237. 2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5238. 2158 .loc 1 2795 1 is_stmt 0 view .LVU715
  5239. 2159 000e 0020 movs r0, #0
  5240. 2160 .LVL217:
  5241. 2161 .loc 1 2795 1 view .LVU716
  5242. 2162 0010 7047 bx lr
  5243. 2163 .cfi_endproc
  5244. 2164 .LFE89:
  5245. 2166 .section .text.USB_DeActivateRemoteWakeup,"ax",%progbits
  5246. 2167 .align 1
  5247. 2168 .global USB_DeActivateRemoteWakeup
  5248. 2169 .syntax unified
  5249. 2170 .thumb
  5250. 2171 .thumb_func
  5251. 2173 USB_DeActivateRemoteWakeup:
  5252. 2174 .LVL218:
  5253. 2175 .LFB90:
  5254. 2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5255. 2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5256. 2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DeActivateRemoteWakeup de-active remote wakeup signalling
  5257. 2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
  5258. 2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
  5259. 2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5260. 2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeActivateRemoteWakeup(USB_TypeDef *USBx)
  5261. 2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5262. 2176 .loc 1 2803 1 is_stmt 1 view -0
  5263. 2177 .cfi_startproc
  5264. 2178 @ args = 0, pretend = 0, frame = 0
  5265. 2179 @ frame_needed = 0, uses_anonymous_args = 0
  5266. 2180 @ link register save eliminated.
  5267. 2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR &= (uint16_t)(~USB_CNTR_RESUME);
  5268. 2181 .loc 1 2804 3 view .LVU718
  5269. 2182 .loc 1 2804 14 is_stmt 0 view .LVU719
  5270. 2183 0000 B0F84030 ldrh r3, [r0, #64]
  5271. 2184 0004 9BB2 uxth r3, r3
  5272. 2185 0006 23F01003 bic r3, r3, #16
  5273. 2186 000a 9BB2 uxth r3, r3
  5274. 2187 000c A0F84030 strh r3, [r0, #64] @ movhi
  5275. 2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5276. 2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
  5277. 2188 .loc 1 2806 3 is_stmt 1 view .LVU720
  5278. 2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5279. ARM GAS /tmp/ccGUz1hM.s page 92
  5280. 2189 .loc 1 2807 1 is_stmt 0 view .LVU721
  5281. 2190 0010 0020 movs r0, #0
  5282. 2191 .LVL219:
  5283. 2192 .loc 1 2807 1 view .LVU722
  5284. 2193 0012 7047 bx lr
  5285. 2194 .cfi_endproc
  5286. 2195 .LFE90:
  5287. 2197 .section .text.USB_WritePMA,"ax",%progbits
  5288. 2198 .align 1
  5289. 2199 .global USB_WritePMA
  5290. 2200 .syntax unified
  5291. 2201 .thumb
  5292. 2202 .thumb_func
  5293. 2204 USB_WritePMA:
  5294. 2205 .LVL220:
  5295. 2206 .LFB91:
  5296. 2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5297. 2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  5298. 2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Copy a buffer from user memory area to packet memory area (PMA)
  5299. 2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB peripheral instance register address.
  5300. 2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param pbUsrBuf pointer to user memory area.
  5301. 2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wPMABufAddr address into PMA.
  5302. 2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wNBytes no. of bytes to be copied.
  5303. 2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
  5304. 2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  5305. 2817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void USB_WritePMA(USB_TypeDef const *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNByte
  5306. 2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5307. 2207 .loc 1 2818 1 is_stmt 1 view -0
  5308. 2208 .cfi_startproc
  5309. 2209 @ args = 0, pretend = 0, frame = 0
  5310. 2210 @ frame_needed = 0, uses_anonymous_args = 0
  5311. 2211 @ link register save eliminated.
  5312. 2212 .loc 1 2818 1 is_stmt 0 view .LVU724
  5313. 2213 0000 10B4 push {r4}
  5314. 2214 .LCFI5:
  5315. 2215 .cfi_def_cfa_offset 4
  5316. 2216 .cfi_offset 4, -4
  5317. 2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t n = ((uint32_t)wNBytes + 1U) >> 1;
  5318. 2217 .loc 1 2819 3 is_stmt 1 view .LVU725
  5319. 2218 .loc 1 2819 35 is_stmt 0 view .LVU726
  5320. 2219 0002 5C1C adds r4, r3, #1
  5321. 2220 .loc 1 2819 12 view .LVU727
  5322. 2221 0004 6408 lsrs r4, r4, #1
  5323. 2222 .LVL221:
  5324. 2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t BaseAddr = (uint32_t)USBx;
  5325. 2223 .loc 1 2820 3 is_stmt 1 view .LVU728
  5326. 2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count;
  5327. 2224 .loc 1 2821 3 view .LVU729
  5328. 2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t WrVal;
  5329. 2225 .loc 1 2822 3 view .LVU730
  5330. 2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint16_t *pdwVal;
  5331. 2226 .loc 1 2823 3 view .LVU731
  5332. 2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pBuf = pbUsrBuf;
  5333. 2227 .loc 1 2824 3 view .LVU732
  5334. 2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5335. 2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal = (__IO uint16_t *)(BaseAddr + 0x400U + ((uint32_t)wPMABufAddr * PMA_ACCESS));
  5336. 2228 .loc 1 2826 3 view .LVU733
  5337. ARM GAS /tmp/ccGUz1hM.s page 93
  5338. 2229 .loc 1 2826 48 is_stmt 0 view .LVU734
  5339. 2230 0006 00EB4202 add r2, r0, r2, lsl #1
  5340. 2231 .LVL222:
  5341. 2232 .loc 1 2826 48 view .LVU735
  5342. 2233 000a 02F58062 add r2, r2, #1024
  5343. 2234 .LVL223:
  5344. 2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5345. 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (count = n; count != 0U; count--)
  5346. 2235 .loc 1 2828 3 is_stmt 1 view .LVU736
  5347. 2236 .loc 1 2828 3 is_stmt 0 view .LVU737
  5348. 2237 000e 07E0 b .L81
  5349. 2238 .LVL224:
  5350. 2239 .L82:
  5351. 2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5352. 2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** WrVal = pBuf[0];
  5353. 2240 .loc 1 2830 5 is_stmt 1 discriminator 3 view .LVU738
  5354. 2241 .loc 1 2830 17 is_stmt 0 discriminator 3 view .LVU739
  5355. 2242 0010 0B78 ldrb r3, [r1] @ zero_extendqisi2
  5356. 2243 .LVL225:
  5357. 2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** WrVal |= (uint16_t)pBuf[1] << 8;
  5358. 2244 .loc 1 2831 5 is_stmt 1 discriminator 3 view .LVU740
  5359. 2245 .loc 1 2831 28 is_stmt 0 discriminator 3 view .LVU741
  5360. 2246 0012 4878 ldrb r0, [r1, #1] @ zero_extendqisi2
  5361. 2247 .loc 1 2831 11 discriminator 3 view .LVU742
  5362. 2248 0014 43EA0023 orr r3, r3, r0, lsl #8
  5363. 2249 .LVL226:
  5364. 2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pdwVal = (WrVal & 0xFFFFU);
  5365. 2250 .loc 1 2832 5 is_stmt 1 discriminator 3 view .LVU743
  5366. 2251 .loc 1 2832 13 is_stmt 0 discriminator 3 view .LVU744
  5367. 2252 0018 22F8043B strh r3, [r2], #4 @ movhi
  5368. 2253 .LVL227:
  5369. 2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
  5370. 2254 .loc 1 2833 5 is_stmt 1 discriminator 3 view .LVU745
  5371. 2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5372. 2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if PMA_ACCESS > 1U
  5373. 2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
  5374. 2255 .loc 1 2836 5 discriminator 3 view .LVU746
  5375. 2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* PMA_ACCESS */
  5376. 2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5377. 2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
  5378. 2256 .loc 1 2839 5 discriminator 3 view .LVU747
  5379. 2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
  5380. 2257 .loc 1 2840 5 discriminator 3 view .LVU748
  5381. 2258 .loc 1 2840 9 is_stmt 0 discriminator 3 view .LVU749
  5382. 2259 001c 0231 adds r1, r1, #2
  5383. 2260 .LVL228:
  5384. 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5385. 2261 .loc 1 2828 32 is_stmt 1 discriminator 3 view .LVU750
  5386. 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5387. 2262 .loc 1 2828 37 is_stmt 0 discriminator 3 view .LVU751
  5388. 2263 001e 013C subs r4, r4, #1
  5389. 2264 .LVL229:
  5390. 2265 .L81:
  5391. 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5392. 2266 .loc 1 2828 19 is_stmt 1 discriminator 1 view .LVU752
  5393. 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5394. 2267 .loc 1 2828 3 is_stmt 0 discriminator 1 view .LVU753
  5395. ARM GAS /tmp/ccGUz1hM.s page 94
  5396. 2268 0020 002C cmp r4, #0
  5397. 2269 0022 F5D1 bne .L82
  5398. 2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5399. 2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5400. 2270 .loc 1 2842 1 view .LVU754
  5401. 2271 0024 10BC pop {r4}
  5402. 2272 .LCFI6:
  5403. 2273 .cfi_restore 4
  5404. 2274 .cfi_def_cfa_offset 0
  5405. 2275 .LVL230:
  5406. 2276 .loc 1 2842 1 view .LVU755
  5407. 2277 0026 7047 bx lr
  5408. 2278 .cfi_endproc
  5409. 2279 .LFE91:
  5410. 2281 .section .text.USB_EPStartXfer,"ax",%progbits
  5411. 2282 .align 1
  5412. 2283 .global USB_EPStartXfer
  5413. 2284 .syntax unified
  5414. 2285 .thumb
  5415. 2286 .thumb_func
  5416. 2288 USB_EPStartXfer:
  5417. 2289 .LVL231:
  5418. 2290 .LFB74:
  5419. 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t len;
  5420. 2291 .loc 1 2283 1 is_stmt 1 view -0
  5421. 2292 .cfi_startproc
  5422. 2293 @ args = 0, pretend = 0, frame = 0
  5423. 2294 @ frame_needed = 0, uses_anonymous_args = 0
  5424. 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t len;
  5425. 2295 .loc 1 2283 1 is_stmt 0 view .LVU757
  5426. 2296 0000 70B5 push {r4, r5, r6, lr}
  5427. 2297 .LCFI7:
  5428. 2298 .cfi_def_cfa_offset 16
  5429. 2299 .cfi_offset 4, -16
  5430. 2300 .cfi_offset 5, -12
  5431. 2301 .cfi_offset 6, -8
  5432. 2302 .cfi_offset 14, -4
  5433. 2303 0002 0546 mov r5, r0
  5434. 2304 0004 0C46 mov r4, r1
  5435. 2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
  5436. 2305 .loc 1 2284 3 is_stmt 1 view .LVU758
  5437. 2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEPVal;
  5438. 2306 .loc 1 2286 3 view .LVU759
  5439. 2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
  5440. 2307 .loc 1 2287 3 view .LVU760
  5441. 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5442. 2308 .loc 1 2291 3 view .LVU761
  5443. 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5444. 2309 .loc 1 2291 9 is_stmt 0 view .LVU762
  5445. 2310 0006 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
  5446. 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5447. 2311 .loc 1 2291 6 view .LVU763
  5448. 2312 0008 012A cmp r2, #1
  5449. 2313 000a 3BD0 beq .L169
  5450. 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5451. 2314 .loc 1 2427 5 is_stmt 1 view .LVU764
  5452. 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5453. ARM GAS /tmp/ccGUz1hM.s page 95
  5454. 2315 .loc 1 2427 11 is_stmt 0 view .LVU765
  5455. 2316 000c 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
  5456. 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5457. 2317 .loc 1 2427 8 view .LVU766
  5458. 2318 000e 002B cmp r3, #0
  5459. 2319 0010 40F0A682 bne .L134
  5460. 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5461. 2320 .loc 1 2430 7 is_stmt 1 view .LVU767
  5462. 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5463. 2321 .loc 1 2430 13 is_stmt 0 view .LVU768
  5464. 2322 0014 8B69 ldr r3, [r1, #24]
  5465. 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5466. 2323 .loc 1 2430 28 view .LVU769
  5467. 2324 0016 0A69 ldr r2, [r1, #16]
  5468. 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5469. 2325 .loc 1 2430 10 view .LVU770
  5470. 2326 0018 9342 cmp r3, r2
  5471. 2327 001a 40F28482 bls .L135
  5472. 2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
  5473. 2328 .loc 1 2432 9 is_stmt 1 view .LVU771
  5474. 2329 .LVL232:
  5475. 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5476. 2330 .loc 1 2433 9 view .LVU772
  5477. 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5478. 2331 .loc 1 2433 22 is_stmt 0 view .LVU773
  5479. 2332 001e 9B1A subs r3, r3, r2
  5480. 2333 0020 8B61 str r3, [r1, #24]
  5481. 2334 .L136:
  5482. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5483. 2335 .loc 1 2441 7 is_stmt 1 view .LVU774
  5484. 2336 .LBB66:
  5485. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5486. 2337 .loc 1 2441 7 view .LVU775
  5487. 2338 .LVL233:
  5488. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5489. 2339 .loc 1 2441 7 view .LVU776
  5490. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5491. 2340 .loc 1 2441 7 view .LVU777
  5492. 2341 0022 B5F85030 ldrh r3, [r5, #80]
  5493. 2342 0026 9BB2 uxth r3, r3
  5494. 2343 0028 2B44 add r3, r3, r5
  5495. 2344 .LVL234:
  5496. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5497. 2345 .loc 1 2441 7 view .LVU778
  5498. 2346 002a 2178 ldrb r1, [r4] @ zero_extendqisi2
  5499. 2347 .LVL235:
  5500. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5501. 2348 .loc 1 2441 7 is_stmt 0 view .LVU779
  5502. 2349 002c 03EB0113 add r3, r3, r1, lsl #4
  5503. 2350 .LVL236:
  5504. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5505. 2351 .loc 1 2441 7 is_stmt 1 view .LVU780
  5506. 2352 .LBB67:
  5507. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5508. 2353 .loc 1 2441 7 view .LVU781
  5509. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5510. 2354 .loc 1 2441 7 view .LVU782
  5511. ARM GAS /tmp/ccGUz1hM.s page 96
  5512. 2355 0030 B3F80C14 ldrh r1, [r3, #1036]
  5513. 2356 0034 C1F30901 ubfx r1, r1, #0, #10
  5514. 2357 0038 A3F80C14 strh r1, [r3, #1036] @ movhi
  5515. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5516. 2358 .loc 1 2441 7 view .LVU783
  5517. 2359 003c 3E2A cmp r2, #62
  5518. 2360 003e 40F27682 bls .L137
  5519. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5520. 2361 .loc 1 2441 7 discriminator 1 view .LVU784
  5521. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5522. 2362 .loc 1 2441 7 discriminator 1 view .LVU785
  5523. 2363 0042 5109 lsrs r1, r2, #5
  5524. 2364 .LVL237:
  5525. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5526. 2365 .loc 1 2441 7 discriminator 1 view .LVU786
  5527. 2366 0044 12F01F0F tst r2, #31
  5528. 2367 0048 00D1 bne .L138
  5529. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5530. 2368 .loc 1 2441 7 discriminator 3 view .LVU787
  5531. 2369 004a 0139 subs r1, r1, #1
  5532. 2370 .LVL238:
  5533. 2371 .L138:
  5534. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5535. 2372 .loc 1 2441 7 discriminator 5 view .LVU788
  5536. 2373 004c B3F80C24 ldrh r2, [r3, #1036]
  5537. 2374 .LVL239:
  5538. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5539. 2375 .loc 1 2441 7 is_stmt 0 discriminator 5 view .LVU789
  5540. 2376 0050 92B2 uxth r2, r2
  5541. 2377 0052 8902 lsls r1, r1, #10
  5542. 2378 .LVL240:
  5543. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5544. 2379 .loc 1 2441 7 discriminator 5 view .LVU790
  5545. 2380 0054 89B2 uxth r1, r1
  5546. 2381 0056 0A43 orrs r2, r2, r1
  5547. 2382 0058 42F40042 orr r2, r2, #32768
  5548. 2383 005c A3F80C24 strh r2, [r3, #1036] @ movhi
  5549. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5550. 2384 .loc 1 2441 7 is_stmt 1 discriminator 5 view .LVU791
  5551. 2385 .LVL241:
  5552. 2386 .L139:
  5553. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5554. 2387 .loc 1 2441 7 is_stmt 0 discriminator 5 view .LVU792
  5555. 2388 .LBE67:
  5556. 2389 .LBE66:
  5557. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5558. 2390 .loc 1 2489 5 is_stmt 1 view .LVU793
  5559. 2391 .LBB69:
  5560. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5561. 2392 .loc 1 2489 5 view .LVU794
  5562. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5563. 2393 .loc 1 2489 5 view .LVU795
  5564. 2394 0060 2278 ldrb r2, [r4] @ zero_extendqisi2
  5565. 2395 0062 35F82230 ldrh r3, [r5, r2, lsl #2]
  5566. 2396 0066 9BB2 uxth r3, r3
  5567. 2397 0068 23F48043 bic r3, r3, #16384
  5568. 2398 006c 23F07003 bic r3, r3, #112
  5569. ARM GAS /tmp/ccGUz1hM.s page 97
  5570. 2399 .LVL242:
  5571. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5572. 2400 .loc 1 2489 5 view .LVU796
  5573. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5574. 2401 .loc 1 2489 5 view .LVU797
  5575. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5576. 2402 .loc 1 2489 5 view .LVU798
  5577. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5578. 2403 .loc 1 2489 5 view .LVU799
  5579. 2404 0070 83F44053 eor r3, r3, #12288
  5580. 2405 .LVL243:
  5581. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5582. 2406 .loc 1 2489 5 view .LVU800
  5583. 2407 0074 43F40043 orr r3, r3, #32768
  5584. 2408 .LVL244:
  5585. 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5586. 2409 .loc 1 2489 5 is_stmt 0 view .LVU801
  5587. 2410 0078 43F08003 orr r3, r3, #128
  5588. 2411 007c 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
  5589. 2412 .LBE69:
  5590. 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5591. 2413 .loc 1 2492 10 view .LVU802
  5592. 2414 0080 0020 movs r0, #0
  5593. 2415 .L133:
  5594. 2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5595. 2416 .loc 1 2493 1 view .LVU803
  5596. 2417 0082 70BD pop {r4, r5, r6, pc}
  5597. 2418 .LVL245:
  5598. 2419 .L169:
  5599. 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5600. 2420 .loc 1 2294 5 is_stmt 1 view .LVU804
  5601. 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5602. 2421 .loc 1 2294 11 is_stmt 0 view .LVU805
  5603. 2422 0084 8E69 ldr r6, [r1, #24]
  5604. 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5605. 2423 .loc 1 2294 26 view .LVU806
  5606. 2424 0086 0969 ldr r1, [r1, #16]
  5607. 2425 .LVL246:
  5608. 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5609. 2426 .loc 1 2294 8 view .LVU807
  5610. 2427 0088 8E42 cmp r6, r1
  5611. 2428 008a 00D9 bls .L86
  5612. 2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5613. 2429 .loc 1 2296 11 view .LVU808
  5614. 2430 008c 0E46 mov r6, r1
  5615. 2431 .L86:
  5616. 2432 .LVL247:
  5617. 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5618. 2433 .loc 1 2304 5 is_stmt 1 view .LVU809
  5619. 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5620. 2434 .loc 1 2304 11 is_stmt 0 view .LVU810
  5621. 2435 008e 237B ldrb r3, [r4, #12] @ zero_extendqisi2
  5622. 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5623. 2436 .loc 1 2304 8 view .LVU811
  5624. 2437 0090 73B3 cbz r3, .L170
  5625. 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5626. 2438 .loc 1 2313 7 is_stmt 1 view .LVU812
  5627. ARM GAS /tmp/ccGUz1hM.s page 98
  5628. 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5629. 2439 .loc 1 2313 13 is_stmt 0 view .LVU813
  5630. 2440 0092 E378 ldrb r3, [r4, #3] @ zero_extendqisi2
  5631. 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5632. 2441 .loc 1 2313 10 view .LVU814
  5633. 2442 0094 022B cmp r3, #2
  5634. 2443 0096 4DD0 beq .L171
  5635. 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5636. 2444 .loc 1 2398 9 is_stmt 1 view .LVU815
  5637. 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5638. 2445 .loc 1 2398 25 is_stmt 0 view .LVU816
  5639. 2446 0098 236A ldr r3, [r4, #32]
  5640. 2447 009a 9B1B subs r3, r3, r6
  5641. 2448 009c 2362 str r3, [r4, #32]
  5642. 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5643. 2449 .loc 1 2401 9 is_stmt 1 view .LVU817
  5644. 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5645. 2450 .loc 1 2401 14 is_stmt 0 view .LVU818
  5646. 2451 009e 2178 ldrb r1, [r4] @ zero_extendqisi2
  5647. 2452 00a0 35F82130 ldrh r3, [r5, r1, lsl #2]
  5648. 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5649. 2453 .loc 1 2401 12 view .LVU819
  5650. 2454 00a4 13F0400F tst r3, #64
  5651. 2455 00a8 00F0F581 beq .L120
  5652. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5653. 2456 .loc 1 2404 11 is_stmt 1 view .LVU820
  5654. 2457 .LBB70:
  5655. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5656. 2458 .loc 1 2404 11 view .LVU821
  5657. 2459 .LVL248:
  5658. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5659. 2460 .loc 1 2404 11 view .LVU822
  5660. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5661. 2461 .loc 1 2404 11 view .LVU823
  5662. 2462 00ac 002A cmp r2, #0
  5663. 2463 00ae 40F0E281 bne .L121
  5664. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5665. 2464 .loc 1 2404 11 discriminator 1 view .LVU824
  5666. 2465 .LBB71:
  5667. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5668. 2466 .loc 1 2404 11 discriminator 1 view .LVU825
  5669. 2467 .LVL249:
  5670. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5671. 2468 .loc 1 2404 11 discriminator 1 view .LVU826
  5672. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5673. 2469 .loc 1 2404 11 discriminator 1 view .LVU827
  5674. 2470 00b2 B5F85030 ldrh r3, [r5, #80]
  5675. 2471 00b6 9BB2 uxth r3, r3
  5676. 2472 00b8 2B44 add r3, r3, r5
  5677. 2473 .LVL250:
  5678. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5679. 2474 .loc 1 2404 11 discriminator 1 view .LVU828
  5680. 2475 00ba 03EB0113 add r3, r3, r1, lsl #4
  5681. 2476 .LVL251:
  5682. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5683. 2477 .loc 1 2404 11 discriminator 1 view .LVU829
  5684. 2478 .LBB72:
  5685. ARM GAS /tmp/ccGUz1hM.s page 99
  5686. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5687. 2479 .loc 1 2404 11 discriminator 1 view .LVU830
  5688. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5689. 2480 .loc 1 2404 11 discriminator 1 view .LVU831
  5690. 2481 00be B3F80C24 ldrh r2, [r3, #1036]
  5691. 2482 00c2 C2F30902 ubfx r2, r2, #0, #10
  5692. 2483 00c6 A3F80C24 strh r2, [r3, #1036] @ movhi
  5693. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5694. 2484 .loc 1 2404 11 discriminator 1 view .LVU832
  5695. 2485 00ca 3E2E cmp r6, #62
  5696. 2486 00cc 40F2BA81 bls .L122
  5697. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5698. 2487 .loc 1 2404 11 discriminator 3 view .LVU833
  5699. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5700. 2488 .loc 1 2404 11 discriminator 3 view .LVU834
  5701. 2489 00d0 7109 lsrs r1, r6, #5
  5702. 2490 .LVL252:
  5703. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5704. 2491 .loc 1 2404 11 discriminator 3 view .LVU835
  5705. 2492 00d2 16F01F0F tst r6, #31
  5706. 2493 00d6 00D1 bne .L123
  5707. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5708. 2494 .loc 1 2404 11 discriminator 5 view .LVU836
  5709. 2495 00d8 0139 subs r1, r1, #1
  5710. 2496 .LVL253:
  5711. 2497 .L123:
  5712. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5713. 2498 .loc 1 2404 11 discriminator 7 view .LVU837
  5714. 2499 00da B3F80C24 ldrh r2, [r3, #1036]
  5715. 2500 00de 92B2 uxth r2, r2
  5716. 2501 00e0 8902 lsls r1, r1, #10
  5717. 2502 .LVL254:
  5718. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5719. 2503 .loc 1 2404 11 is_stmt 0 discriminator 7 view .LVU838
  5720. 2504 00e2 89B2 uxth r1, r1
  5721. 2505 00e4 0A43 orrs r2, r2, r1
  5722. 2506 00e6 42F40042 orr r2, r2, #32768
  5723. 2507 00ea A3F80C24 strh r2, [r3, #1036] @ movhi
  5724. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5725. 2508 .loc 1 2404 11 is_stmt 1 discriminator 7 view .LVU839
  5726. 2509 00ee CBE1 b .L124
  5727. 2510 .LVL255:
  5728. 2511 .L170:
  5729. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5730. 2512 .loc 1 2404 11 is_stmt 0 discriminator 7 view .LVU840
  5731. 2513 .LBE72:
  5732. 2514 .LBE71:
  5733. 2515 .LBE70:
  5734. 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
  5735. 2516 .loc 1 2306 7 is_stmt 1 view .LVU841
  5736. 2517 00f0 B6B2 uxth r6, r6
  5737. 2518 .LVL256:
  5738. 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
  5739. 2519 .loc 1 2306 7 is_stmt 0 view .LVU842
  5740. 2520 00f2 3346 mov r3, r6
  5741. 2521 00f4 E288 ldrh r2, [r4, #6]
  5742. 2522 00f6 6169 ldr r1, [r4, #20]
  5743. ARM GAS /tmp/ccGUz1hM.s page 100
  5744. 2523 00f8 2846 mov r0, r5
  5745. 2524 .LVL257:
  5746. 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
  5747. 2525 .loc 1 2306 7 view .LVU843
  5748. 2526 00fa FFF7FEFF bl USB_WritePMA
  5749. 2527 .LVL258:
  5750. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5751. 2528 .loc 1 2307 7 is_stmt 1 view .LVU844
  5752. 2529 .LBB75:
  5753. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5754. 2530 .loc 1 2307 7 view .LVU845
  5755. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5756. 2531 .loc 1 2307 7 view .LVU846
  5757. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5758. 2532 .loc 1 2307 7 view .LVU847
  5759. 2533 00fe B5F85030 ldrh r3, [r5, #80]
  5760. 2534 0102 9BB2 uxth r3, r3
  5761. 2535 0104 2B44 add r3, r3, r5
  5762. 2536 .LVL259:
  5763. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5764. 2537 .loc 1 2307 7 view .LVU848
  5765. 2538 0106 2278 ldrb r2, [r4] @ zero_extendqisi2
  5766. 2539 0108 03EB0213 add r3, r3, r2, lsl #4
  5767. 2540 .LVL260:
  5768. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5769. 2541 .loc 1 2307 7 view .LVU849
  5770. 2542 010c A3F80464 strh r6, [r3, #1028] @ movhi
  5771. 2543 .LBE75:
  5772. 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5773. 2544 .loc 1 2307 7 view .LVU850
  5774. 2545 .LVL261:
  5775. 2546 .L88:
  5776. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5777. 2547 .loc 1 2423 5 view .LVU851
  5778. 2548 .LBB76:
  5779. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5780. 2549 .loc 1 2423 5 view .LVU852
  5781. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5782. 2550 .loc 1 2423 5 view .LVU853
  5783. 2551 0110 2278 ldrb r2, [r4] @ zero_extendqisi2
  5784. 2552 0112 35F82230 ldrh r3, [r5, r2, lsl #2]
  5785. 2553 0116 9BB2 uxth r3, r3
  5786. 2554 0118 23F4E043 bic r3, r3, #28672
  5787. 2555 011c 23F04003 bic r3, r3, #64
  5788. 2556 .LVL262:
  5789. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5790. 2557 .loc 1 2423 5 view .LVU854
  5791. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5792. 2558 .loc 1 2423 5 view .LVU855
  5793. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5794. 2559 .loc 1 2423 5 view .LVU856
  5795. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5796. 2560 .loc 1 2423 5 view .LVU857
  5797. 2561 0120 83F03003 eor r3, r3, #48
  5798. 2562 .LVL263:
  5799. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5800. 2563 .loc 1 2423 5 view .LVU858
  5801. ARM GAS /tmp/ccGUz1hM.s page 101
  5802. 2564 0124 43F40043 orr r3, r3, #32768
  5803. 2565 .LVL264:
  5804. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5805. 2566 .loc 1 2423 5 is_stmt 0 view .LVU859
  5806. 2567 0128 43F08003 orr r3, r3, #128
  5807. 2568 012c 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
  5808. 2569 .LBE76:
  5809. 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5810. 2570 .loc 1 2423 5 is_stmt 1 view .LVU860
  5811. 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  5812. 2571 .loc 1 2492 10 is_stmt 0 view .LVU861
  5813. 2572 0130 0020 movs r0, #0
  5814. 2573 0132 A6E7 b .L133
  5815. 2574 .LVL265:
  5816. 2575 .L171:
  5817. 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5818. 2576 .loc 1 2315 9 is_stmt 1 view .LVU862
  5819. 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5820. 2577 .loc 1 2315 15 is_stmt 0 view .LVU863
  5821. 2578 0134 236A ldr r3, [r4, #32]
  5822. 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5823. 2579 .loc 1 2315 12 view .LVU864
  5824. 2580 0136 9942 cmp r1, r3
  5825. 2581 0138 80F06681 bcs .L90
  5826. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5827. 2582 .loc 1 2318 11 is_stmt 1 view .LVU865
  5828. 2583 .LBB77:
  5829. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5830. 2584 .loc 1 2318 11 view .LVU866
  5831. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5832. 2585 .loc 1 2318 11 view .LVU867
  5833. 2586 013c 2278 ldrb r2, [r4] @ zero_extendqisi2
  5834. 2587 013e 35F82230 ldrh r3, [r5, r2, lsl #2]
  5835. 2588 0142 9BB2 uxth r3, r3
  5836. 2589 0144 23F4E043 bic r3, r3, #28672
  5837. 2590 0148 23F07003 bic r3, r3, #112
  5838. 2591 .LVL266:
  5839. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5840. 2592 .loc 1 2318 11 view .LVU868
  5841. 2593 014c 43F40143 orr r3, r3, #33024
  5842. 2594 .LVL267:
  5843. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5844. 2595 .loc 1 2318 11 is_stmt 0 view .LVU869
  5845. 2596 0150 43F08003 orr r3, r3, #128
  5846. 2597 0154 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
  5847. 2598 .LBE77:
  5848. 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5849. 2599 .loc 1 2318 11 is_stmt 1 view .LVU870
  5850. 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5851. 2600 .loc 1 2321 11 view .LVU871
  5852. 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  5853. 2601 .loc 1 2321 27 is_stmt 0 view .LVU872
  5854. 2602 0158 236A ldr r3, [r4, #32]
  5855. 2603 015a 9B1B subs r3, r3, r6
  5856. 2604 015c 2362 str r3, [r4, #32]
  5857. 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5858. 2605 .loc 1 2324 11 is_stmt 1 view .LVU873
  5859. ARM GAS /tmp/ccGUz1hM.s page 102
  5860. 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5861. 2606 .loc 1 2324 16 is_stmt 0 view .LVU874
  5862. 2607 015e 2278 ldrb r2, [r4] @ zero_extendqisi2
  5863. 2608 0160 35F82230 ldrh r3, [r5, r2, lsl #2]
  5864. 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  5865. 2609 .loc 1 2324 14 view .LVU875
  5866. 2610 0164 13F0400F tst r3, #64
  5867. 2611 0168 00F0A780 beq .L91
  5868. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5869. 2612 .loc 1 2327 13 is_stmt 1 view .LVU876
  5870. 2613 .LBB78:
  5871. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5872. 2614 .loc 1 2327 13 view .LVU877
  5873. 2615 .LVL268:
  5874. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5875. 2616 .loc 1 2327 13 view .LVU878
  5876. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5877. 2617 .loc 1 2327 13 view .LVU879
  5878. 2618 016c 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
  5879. 2619 016e B3BB cbnz r3, .L92
  5880. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5881. 2620 .loc 1 2327 13 discriminator 1 view .LVU880
  5882. 2621 .LBB79:
  5883. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5884. 2622 .loc 1 2327 13 discriminator 1 view .LVU881
  5885. 2623 .LVL269:
  5886. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5887. 2624 .loc 1 2327 13 discriminator 1 view .LVU882
  5888. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5889. 2625 .loc 1 2327 13 discriminator 1 view .LVU883
  5890. 2626 0170 B5F85030 ldrh r3, [r5, #80]
  5891. 2627 0174 9BB2 uxth r3, r3
  5892. 2628 0176 2B44 add r3, r3, r5
  5893. 2629 .LVL270:
  5894. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5895. 2630 .loc 1 2327 13 discriminator 1 view .LVU884
  5896. 2631 0178 03EB0213 add r3, r3, r2, lsl #4
  5897. 2632 .LVL271:
  5898. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5899. 2633 .loc 1 2327 13 discriminator 1 view .LVU885
  5900. 2634 .LBB80:
  5901. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5902. 2635 .loc 1 2327 13 discriminator 1 view .LVU886
  5903. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5904. 2636 .loc 1 2327 13 discriminator 1 view .LVU887
  5905. 2637 017c B3F80C24 ldrh r2, [r3, #1036]
  5906. 2638 0180 C2F30902 ubfx r2, r2, #0, #10
  5907. 2639 0184 A3F80C24 strh r2, [r3, #1036] @ movhi
  5908. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5909. 2640 .loc 1 2327 13 discriminator 1 view .LVU888
  5910. 2641 0188 3E2E cmp r6, #62
  5911. 2642 018a 0FD9 bls .L93
  5912. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5913. 2643 .loc 1 2327 13 discriminator 3 view .LVU889
  5914. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5915. 2644 .loc 1 2327 13 discriminator 3 view .LVU890
  5916. 2645 018c 7109 lsrs r1, r6, #5
  5917. ARM GAS /tmp/ccGUz1hM.s page 103
  5918. 2646 .LVL272:
  5919. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5920. 2647 .loc 1 2327 13 discriminator 3 view .LVU891
  5921. 2648 018e 16F01F0F tst r6, #31
  5922. 2649 0192 00D1 bne .L94
  5923. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5924. 2650 .loc 1 2327 13 discriminator 5 view .LVU892
  5925. 2651 0194 0139 subs r1, r1, #1
  5926. 2652 .LVL273:
  5927. 2653 .L94:
  5928. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5929. 2654 .loc 1 2327 13 discriminator 7 view .LVU893
  5930. 2655 0196 B3F80C24 ldrh r2, [r3, #1036]
  5931. 2656 019a 92B2 uxth r2, r2
  5932. 2657 019c 8902 lsls r1, r1, #10
  5933. 2658 .LVL274:
  5934. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5935. 2659 .loc 1 2327 13 is_stmt 0 discriminator 7 view .LVU894
  5936. 2660 019e 89B2 uxth r1, r1
  5937. 2661 01a0 0A43 orrs r2, r2, r1
  5938. 2662 01a2 42F40042 orr r2, r2, #32768
  5939. 2663 01a6 A3F80C24 strh r2, [r3, #1036] @ movhi
  5940. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5941. 2664 .loc 1 2327 13 is_stmt 1 discriminator 7 view .LVU895
  5942. 2665 01aa 1AE0 b .L95
  5943. 2666 .L93:
  5944. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5945. 2667 .loc 1 2327 13 discriminator 4 view .LVU896
  5946. 2668 01ac 4EB9 cbnz r6, .L96
  5947. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5948. 2669 .loc 1 2327 13 discriminator 9 view .LVU897
  5949. 2670 01ae B3F80C24 ldrh r2, [r3, #1036]
  5950. 2671 01b2 6FEA4242 mvn r2, r2, lsl #17
  5951. 2672 01b6 6FEA5242 mvn r2, r2, lsr #17
  5952. 2673 01ba 92B2 uxth r2, r2
  5953. 2674 01bc A3F80C24 strh r2, [r3, #1036] @ movhi
  5954. 2675 01c0 0FE0 b .L95
  5955. 2676 .L96:
  5956. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5957. 2677 .loc 1 2327 13 discriminator 10 view .LVU898
  5958. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5959. 2678 .loc 1 2327 13 discriminator 10 view .LVU899
  5960. 2679 01c2 7208 lsrs r2, r6, #1
  5961. 2680 .LVL275:
  5962. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5963. 2681 .loc 1 2327 13 discriminator 10 view .LVU900
  5964. 2682 01c4 16F0010F tst r6, #1
  5965. 2683 01c8 00D0 beq .L97
  5966. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5967. 2684 .loc 1 2327 13 discriminator 12 view .LVU901
  5968. 2685 01ca 0132 adds r2, r2, #1
  5969. 2686 .LVL276:
  5970. 2687 .L97:
  5971. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5972. 2688 .loc 1 2327 13 discriminator 14 view .LVU902
  5973. 2689 01cc B3F80C14 ldrh r1, [r3, #1036]
  5974. 2690 01d0 89B2 uxth r1, r1
  5975. ARM GAS /tmp/ccGUz1hM.s page 104
  5976. 2691 01d2 9202 lsls r2, r2, #10
  5977. 2692 .LVL277:
  5978. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5979. 2693 .loc 1 2327 13 is_stmt 0 discriminator 14 view .LVU903
  5980. 2694 01d4 92B2 uxth r2, r2
  5981. 2695 01d6 0A43 orrs r2, r2, r1
  5982. 2696 01d8 A3F80C24 strh r2, [r3, #1036] @ movhi
  5983. 2697 01dc 01E0 b .L95
  5984. 2698 .LVL278:
  5985. 2699 .L92:
  5986. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5987. 2700 .loc 1 2327 13 discriminator 14 view .LVU904
  5988. 2701 .LBE80:
  5989. 2702 .LBE79:
  5990. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5991. 2703 .loc 1 2327 13 is_stmt 1 discriminator 2 view .LVU905
  5992. 2704 01de 012B cmp r3, #1
  5993. 2705 01e0 30D0 beq .L172
  5994. 2706 .LVL279:
  5995. 2707 .L95:
  5996. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  5997. 2708 .loc 1 2327 13 is_stmt 0 discriminator 2 view .LVU906
  5998. 2709 .LBE78:
  5999. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6000. 2710 .loc 1 2327 13 is_stmt 1 discriminator 18 view .LVU907
  6001. 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6002. 2711 .loc 1 2328 13 discriminator 18 view .LVU908
  6003. 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
  6004. 2712 .loc 1 2331 13 discriminator 18 view .LVU909
  6005. 2713 01e2 B3B2 uxth r3, r6
  6006. 2714 01e4 6289 ldrh r2, [r4, #10]
  6007. 2715 01e6 6169 ldr r1, [r4, #20]
  6008. 2716 01e8 2846 mov r0, r5
  6009. 2717 .LVL280:
  6010. 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
  6011. 2718 .loc 1 2331 13 is_stmt 0 discriminator 18 view .LVU910
  6012. 2719 01ea FFF7FEFF bl USB_WritePMA
  6013. 2720 .LVL281:
  6014. 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6015. 2721 .loc 1 2332 13 is_stmt 1 discriminator 18 view .LVU911
  6016. 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6017. 2722 .loc 1 2332 27 is_stmt 0 discriminator 18 view .LVU912
  6018. 2723 01ee 6369 ldr r3, [r4, #20]
  6019. 2724 01f0 3344 add r3, r3, r6
  6020. 2725 01f2 6361 str r3, [r4, #20]
  6021. 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6022. 2726 .loc 1 2334 13 is_stmt 1 discriminator 18 view .LVU913
  6023. 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6024. 2727 .loc 1 2334 19 is_stmt 0 discriminator 18 view .LVU914
  6025. 2728 01f4 236A ldr r3, [r4, #32]
  6026. 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6027. 2729 .loc 1 2334 37 discriminator 18 view .LVU915
  6028. 2730 01f6 2269 ldr r2, [r4, #16]
  6029. 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6030. 2731 .loc 1 2334 16 discriminator 18 view .LVU916
  6031. 2732 01f8 9342 cmp r3, r2
  6032. 2733 01fa 2DD9 bls .L98
  6033. ARM GAS /tmp/ccGUz1hM.s page 105
  6034. 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6035. 2734 .loc 1 2336 15 is_stmt 1 view .LVU917
  6036. 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6037. 2735 .loc 1 2336 31 is_stmt 0 view .LVU918
  6038. 2736 01fc 9B1B subs r3, r3, r6
  6039. 2737 01fe 2362 str r3, [r4, #32]
  6040. 2738 .L99:
  6041. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6042. 2739 .loc 1 2345 13 is_stmt 1 view .LVU919
  6043. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6044. 2740 .loc 1 2345 13 view .LVU920
  6045. 2741 0200 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
  6046. 2742 0202 002B cmp r3, #0
  6047. 2743 0204 45D1 bne .L100
  6048. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6049. 2744 .loc 1 2345 13 discriminator 1 view .LVU921
  6050. 2745 .LBB81:
  6051. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6052. 2746 .loc 1 2345 13 discriminator 1 view .LVU922
  6053. 2747 .LVL282:
  6054. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6055. 2748 .loc 1 2345 13 discriminator 1 view .LVU923
  6056. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6057. 2749 .loc 1 2345 13 discriminator 1 view .LVU924
  6058. 2750 0206 B5F85030 ldrh r3, [r5, #80]
  6059. 2751 020a 9BB2 uxth r3, r3
  6060. 2752 020c 2B44 add r3, r3, r5
  6061. 2753 .LVL283:
  6062. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6063. 2754 .loc 1 2345 13 discriminator 1 view .LVU925
  6064. 2755 020e 2278 ldrb r2, [r4] @ zero_extendqisi2
  6065. 2756 0210 03EB0213 add r3, r3, r2, lsl #4
  6066. 2757 .LVL284:
  6067. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6068. 2758 .loc 1 2345 13 discriminator 1 view .LVU926
  6069. 2759 .LBB82:
  6070. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6071. 2760 .loc 1 2345 13 discriminator 1 view .LVU927
  6072. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6073. 2761 .loc 1 2345 13 discriminator 1 view .LVU928
  6074. 2762 0214 B3F80424 ldrh r2, [r3, #1028]
  6075. 2763 0218 C2F30902 ubfx r2, r2, #0, #10
  6076. 2764 021c A3F80424 strh r2, [r3, #1028] @ movhi
  6077. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6078. 2765 .loc 1 2345 13 discriminator 1 view .LVU929
  6079. 2766 0220 3E2E cmp r6, #62
  6080. 2767 0222 1DD9 bls .L101
  6081. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6082. 2768 .loc 1 2345 13 discriminator 3 view .LVU930
  6083. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6084. 2769 .loc 1 2345 13 discriminator 3 view .LVU931
  6085. 2770 0224 7109 lsrs r1, r6, #5
  6086. 2771 .LVL285:
  6087. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6088. 2772 .loc 1 2345 13 discriminator 3 view .LVU932
  6089. 2773 0226 16F01F0F tst r6, #31
  6090. 2774 022a 00D1 bne .L102
  6091. ARM GAS /tmp/ccGUz1hM.s page 106
  6092. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6093. 2775 .loc 1 2345 13 discriminator 5 view .LVU933
  6094. 2776 022c 0139 subs r1, r1, #1
  6095. 2777 .LVL286:
  6096. 2778 .L102:
  6097. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6098. 2779 .loc 1 2345 13 discriminator 7 view .LVU934
  6099. 2780 022e B3F80424 ldrh r2, [r3, #1028]
  6100. 2781 0232 92B2 uxth r2, r2
  6101. 2782 0234 8902 lsls r1, r1, #10
  6102. 2783 .LVL287:
  6103. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6104. 2784 .loc 1 2345 13 is_stmt 0 discriminator 7 view .LVU935
  6105. 2785 0236 89B2 uxth r1, r1
  6106. 2786 0238 0A43 orrs r2, r2, r1
  6107. 2787 023a 42F40042 orr r2, r2, #32768
  6108. 2788 023e A3F80424 strh r2, [r3, #1028] @ movhi
  6109. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6110. 2789 .loc 1 2345 13 is_stmt 1 discriminator 7 view .LVU936
  6111. 2790 0242 28E0 b .L103
  6112. 2791 .LVL288:
  6113. 2792 .L172:
  6114. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6115. 2793 .loc 1 2345 13 is_stmt 0 discriminator 7 view .LVU937
  6116. 2794 .LBE82:
  6117. 2795 .LBE81:
  6118. 2796 .LBB84:
  6119. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6120. 2797 .loc 1 2327 13 is_stmt 1 discriminator 16 view .LVU938
  6121. 2798 0244 B5F85030 ldrh r3, [r5, #80]
  6122. 2799 0248 9BB2 uxth r3, r3
  6123. 2800 024a 2B44 add r3, r3, r5
  6124. 2801 .LVL289:
  6125. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6126. 2802 .loc 1 2327 13 discriminator 16 view .LVU939
  6127. 2803 024c 03EB0213 add r3, r3, r2, lsl #4
  6128. 2804 .LVL290:
  6129. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6130. 2805 .loc 1 2327 13 discriminator 16 view .LVU940
  6131. 2806 0250 B2B2 uxth r2, r6
  6132. 2807 0252 A3F80C24 strh r2, [r3, #1036] @ movhi
  6133. 2808 0256 C4E7 b .L95
  6134. 2809 .LVL291:
  6135. 2810 .L98:
  6136. 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6137. 2811 .loc 1 2327 13 is_stmt 0 discriminator 16 view .LVU941
  6138. 2812 .LBE84:
  6139. 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
  6140. 2813 .loc 1 2340 15 is_stmt 1 view .LVU942
  6141. 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6142. 2814 .loc 1 2341 15 view .LVU943
  6143. 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6144. 2815 .loc 1 2341 31 is_stmt 0 view .LVU944
  6145. 2816 0258 0022 movs r2, #0
  6146. 2817 025a 2262 str r2, [r4, #32]
  6147. 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
  6148. 2818 .loc 1 2340 19 view .LVU945
  6149. ARM GAS /tmp/ccGUz1hM.s page 107
  6150. 2819 025c 1E46 mov r6, r3
  6151. 2820 025e CFE7 b .L99
  6152. 2821 .LVL292:
  6153. 2822 .L101:
  6154. 2823 .LBB85:
  6155. 2824 .LBB83:
  6156. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6157. 2825 .loc 1 2345 13 is_stmt 1 discriminator 4 view .LVU946
  6158. 2826 0260 4EB9 cbnz r6, .L104
  6159. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6160. 2827 .loc 1 2345 13 discriminator 9 view .LVU947
  6161. 2828 0262 B3F80424 ldrh r2, [r3, #1028]
  6162. 2829 0266 6FEA4242 mvn r2, r2, lsl #17
  6163. 2830 026a 6FEA5242 mvn r2, r2, lsr #17
  6164. 2831 026e 92B2 uxth r2, r2
  6165. 2832 0270 A3F80424 strh r2, [r3, #1028] @ movhi
  6166. 2833 0274 0FE0 b .L103
  6167. 2834 .L104:
  6168. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6169. 2835 .loc 1 2345 13 discriminator 10 view .LVU948
  6170. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6171. 2836 .loc 1 2345 13 discriminator 10 view .LVU949
  6172. 2837 0276 7208 lsrs r2, r6, #1
  6173. 2838 .LVL293:
  6174. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6175. 2839 .loc 1 2345 13 discriminator 10 view .LVU950
  6176. 2840 0278 16F0010F tst r6, #1
  6177. 2841 027c 00D0 beq .L105
  6178. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6179. 2842 .loc 1 2345 13 discriminator 12 view .LVU951
  6180. 2843 027e 0132 adds r2, r2, #1
  6181. 2844 .LVL294:
  6182. 2845 .L105:
  6183. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6184. 2846 .loc 1 2345 13 discriminator 14 view .LVU952
  6185. 2847 0280 B3F80414 ldrh r1, [r3, #1028]
  6186. 2848 0284 89B2 uxth r1, r1
  6187. 2849 0286 9202 lsls r2, r2, #10
  6188. 2850 .LVL295:
  6189. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6190. 2851 .loc 1 2345 13 is_stmt 0 discriminator 14 view .LVU953
  6191. 2852 0288 92B2 uxth r2, r2
  6192. 2853 028a 0A43 orrs r2, r2, r1
  6193. 2854 028c A3F80424 strh r2, [r3, #1028] @ movhi
  6194. 2855 0290 01E0 b .L103
  6195. 2856 .LVL296:
  6196. 2857 .L100:
  6197. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6198. 2858 .loc 1 2345 13 discriminator 14 view .LVU954
  6199. 2859 .LBE83:
  6200. 2860 .LBE85:
  6201. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6202. 2861 .loc 1 2345 13 is_stmt 1 discriminator 2 view .LVU955
  6203. 2862 0292 012B cmp r3, #1
  6204. 2863 0294 06D0 beq .L173
  6205. 2864 .L103:
  6206. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6207. ARM GAS /tmp/ccGUz1hM.s page 108
  6208. 2865 .loc 1 2345 13 discriminator 18 view .LVU956
  6209. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6210. 2866 .loc 1 2345 13 discriminator 18 view .LVU957
  6211. 2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6212. 2867 .loc 1 2346 13 discriminator 18 view .LVU958
  6213. 2868 .LVL297:
  6214. 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6215. 2869 .loc 1 2349 13 discriminator 18 view .LVU959
  6216. 2870 0296 B3B2 uxth r3, r6
  6217. 2871 0298 2289 ldrh r2, [r4, #8]
  6218. 2872 029a 6169 ldr r1, [r4, #20]
  6219. 2873 029c 2846 mov r0, r5
  6220. 2874 029e FFF7FEFF bl USB_WritePMA
  6221. 2875 .LVL298:
  6222. 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6223. 2876 .loc 1 2349 13 is_stmt 0 discriminator 18 view .LVU960
  6224. 2877 02a2 35E7 b .L88
  6225. 2878 .L173:
  6226. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6227. 2879 .loc 1 2345 13 is_stmt 1 discriminator 16 view .LVU961
  6228. 2880 .LBB86:
  6229. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6230. 2881 .loc 1 2345 13 discriminator 16 view .LVU962
  6231. 2882 .LVL299:
  6232. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6233. 2883 .loc 1 2345 13 discriminator 16 view .LVU963
  6234. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6235. 2884 .loc 1 2345 13 discriminator 16 view .LVU964
  6236. 2885 02a4 B5F85030 ldrh r3, [r5, #80]
  6237. 2886 02a8 9BB2 uxth r3, r3
  6238. 2887 02aa 2B44 add r3, r3, r5
  6239. 2888 .LVL300:
  6240. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6241. 2889 .loc 1 2345 13 discriminator 16 view .LVU965
  6242. 2890 02ac 2278 ldrb r2, [r4] @ zero_extendqisi2
  6243. 2891 02ae 03EB0213 add r3, r3, r2, lsl #4
  6244. 2892 .LVL301:
  6245. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6246. 2893 .loc 1 2345 13 discriminator 16 view .LVU966
  6247. 2894 02b2 B2B2 uxth r2, r6
  6248. 2895 02b4 A3F80424 strh r2, [r3, #1028] @ movhi
  6249. 2896 02b8 EDE7 b .L103
  6250. 2897 .LVL302:
  6251. 2898 .L91:
  6252. 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6253. 2899 .loc 1 2345 13 is_stmt 0 discriminator 16 view .LVU967
  6254. 2900 .LBE86:
  6255. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6256. 2901 .loc 1 2354 13 is_stmt 1 view .LVU968
  6257. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6258. 2902 .loc 1 2354 13 view .LVU969
  6259. 2903 02ba 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
  6260. 2904 02bc B3BB cbnz r3, .L106
  6261. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6262. 2905 .loc 1 2354 13 discriminator 1 view .LVU970
  6263. 2906 .LBB87:
  6264. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6265. ARM GAS /tmp/ccGUz1hM.s page 109
  6266. 2907 .loc 1 2354 13 discriminator 1 view .LVU971
  6267. 2908 .LVL303:
  6268. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6269. 2909 .loc 1 2354 13 discriminator 1 view .LVU972
  6270. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6271. 2910 .loc 1 2354 13 discriminator 1 view .LVU973
  6272. 2911 02be B5F85030 ldrh r3, [r5, #80]
  6273. 2912 02c2 9BB2 uxth r3, r3
  6274. 2913 02c4 2B44 add r3, r3, r5
  6275. 2914 .LVL304:
  6276. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6277. 2915 .loc 1 2354 13 discriminator 1 view .LVU974
  6278. 2916 02c6 03EB0213 add r3, r3, r2, lsl #4
  6279. 2917 .LVL305:
  6280. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6281. 2918 .loc 1 2354 13 discriminator 1 view .LVU975
  6282. 2919 .LBB88:
  6283. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6284. 2920 .loc 1 2354 13 discriminator 1 view .LVU976
  6285. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6286. 2921 .loc 1 2354 13 discriminator 1 view .LVU977
  6287. 2922 02ca B3F80424 ldrh r2, [r3, #1028]
  6288. 2923 02ce C2F30902 ubfx r2, r2, #0, #10
  6289. 2924 02d2 A3F80424 strh r2, [r3, #1028] @ movhi
  6290. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6291. 2925 .loc 1 2354 13 discriminator 1 view .LVU978
  6292. 2926 02d6 3E2E cmp r6, #62
  6293. 2927 02d8 0FD9 bls .L107
  6294. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6295. 2928 .loc 1 2354 13 discriminator 3 view .LVU979
  6296. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6297. 2929 .loc 1 2354 13 discriminator 3 view .LVU980
  6298. 2930 02da 7109 lsrs r1, r6, #5
  6299. 2931 .LVL306:
  6300. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6301. 2932 .loc 1 2354 13 discriminator 3 view .LVU981
  6302. 2933 02dc 16F01F0F tst r6, #31
  6303. 2934 02e0 00D1 bne .L108
  6304. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6305. 2935 .loc 1 2354 13 discriminator 5 view .LVU982
  6306. 2936 02e2 0139 subs r1, r1, #1
  6307. 2937 .LVL307:
  6308. 2938 .L108:
  6309. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6310. 2939 .loc 1 2354 13 discriminator 7 view .LVU983
  6311. 2940 02e4 B3F80424 ldrh r2, [r3, #1028]
  6312. 2941 02e8 92B2 uxth r2, r2
  6313. 2942 02ea 8902 lsls r1, r1, #10
  6314. 2943 .LVL308:
  6315. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6316. 2944 .loc 1 2354 13 is_stmt 0 discriminator 7 view .LVU984
  6317. 2945 02ec 89B2 uxth r1, r1
  6318. 2946 02ee 0A43 orrs r2, r2, r1
  6319. 2947 02f0 42F40042 orr r2, r2, #32768
  6320. 2948 02f4 A3F80424 strh r2, [r3, #1028] @ movhi
  6321. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6322. 2949 .loc 1 2354 13 is_stmt 1 discriminator 7 view .LVU985
  6323. ARM GAS /tmp/ccGUz1hM.s page 110
  6324. 2950 02f8 1AE0 b .L109
  6325. 2951 .L107:
  6326. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6327. 2952 .loc 1 2354 13 discriminator 4 view .LVU986
  6328. 2953 02fa 4EB9 cbnz r6, .L110
  6329. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6330. 2954 .loc 1 2354 13 discriminator 9 view .LVU987
  6331. 2955 02fc B3F80424 ldrh r2, [r3, #1028]
  6332. 2956 0300 6FEA4242 mvn r2, r2, lsl #17
  6333. 2957 0304 6FEA5242 mvn r2, r2, lsr #17
  6334. 2958 0308 92B2 uxth r2, r2
  6335. 2959 030a A3F80424 strh r2, [r3, #1028] @ movhi
  6336. 2960 030e 0FE0 b .L109
  6337. 2961 .L110:
  6338. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6339. 2962 .loc 1 2354 13 discriminator 10 view .LVU988
  6340. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6341. 2963 .loc 1 2354 13 discriminator 10 view .LVU989
  6342. 2964 0310 7208 lsrs r2, r6, #1
  6343. 2965 .LVL309:
  6344. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6345. 2966 .loc 1 2354 13 discriminator 10 view .LVU990
  6346. 2967 0312 16F0010F tst r6, #1
  6347. 2968 0316 00D0 beq .L111
  6348. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6349. 2969 .loc 1 2354 13 discriminator 12 view .LVU991
  6350. 2970 0318 0132 adds r2, r2, #1
  6351. 2971 .LVL310:
  6352. 2972 .L111:
  6353. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6354. 2973 .loc 1 2354 13 discriminator 14 view .LVU992
  6355. 2974 031a B3F80414 ldrh r1, [r3, #1028]
  6356. 2975 031e 89B2 uxth r1, r1
  6357. 2976 0320 9202 lsls r2, r2, #10
  6358. 2977 .LVL311:
  6359. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6360. 2978 .loc 1 2354 13 is_stmt 0 discriminator 14 view .LVU993
  6361. 2979 0322 92B2 uxth r2, r2
  6362. 2980 0324 0A43 orrs r2, r2, r1
  6363. 2981 0326 A3F80424 strh r2, [r3, #1028] @ movhi
  6364. 2982 032a 01E0 b .L109
  6365. 2983 .LVL312:
  6366. 2984 .L106:
  6367. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6368. 2985 .loc 1 2354 13 discriminator 14 view .LVU994
  6369. 2986 .LBE88:
  6370. 2987 .LBE87:
  6371. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6372. 2988 .loc 1 2354 13 is_stmt 1 discriminator 2 view .LVU995
  6373. 2989 032c 012B cmp r3, #1
  6374. 2990 032e 30D0 beq .L174
  6375. 2991 .L109:
  6376. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6377. 2992 .loc 1 2354 13 discriminator 18 view .LVU996
  6378. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6379. 2993 .loc 1 2354 13 discriminator 18 view .LVU997
  6380. 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6381. ARM GAS /tmp/ccGUz1hM.s page 111
  6382. 2994 .loc 1 2355 13 discriminator 18 view .LVU998
  6383. 2995 .LVL313:
  6384. 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
  6385. 2996 .loc 1 2358 13 discriminator 18 view .LVU999
  6386. 2997 0330 B3B2 uxth r3, r6
  6387. 2998 0332 2289 ldrh r2, [r4, #8]
  6388. 2999 0334 6169 ldr r1, [r4, #20]
  6389. 3000 0336 2846 mov r0, r5
  6390. 3001 .LVL314:
  6391. 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
  6392. 3002 .loc 1 2358 13 is_stmt 0 discriminator 18 view .LVU1000
  6393. 3003 0338 FFF7FEFF bl USB_WritePMA
  6394. 3004 .LVL315:
  6395. 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6396. 3005 .loc 1 2359 13 is_stmt 1 discriminator 18 view .LVU1001
  6397. 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6398. 3006 .loc 1 2359 27 is_stmt 0 discriminator 18 view .LVU1002
  6399. 3007 033c 6369 ldr r3, [r4, #20]
  6400. 3008 033e 3344 add r3, r3, r6
  6401. 3009 0340 6361 str r3, [r4, #20]
  6402. 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6403. 3010 .loc 1 2361 13 is_stmt 1 discriminator 18 view .LVU1003
  6404. 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6405. 3011 .loc 1 2361 19 is_stmt 0 discriminator 18 view .LVU1004
  6406. 3012 0342 236A ldr r3, [r4, #32]
  6407. 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6408. 3013 .loc 1 2361 37 discriminator 18 view .LVU1005
  6409. 3014 0344 2269 ldr r2, [r4, #16]
  6410. 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  6411. 3015 .loc 1 2361 16 discriminator 18 view .LVU1006
  6412. 3016 0346 9342 cmp r3, r2
  6413. 3017 0348 2DD9 bls .L112
  6414. 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6415. 3018 .loc 1 2363 15 is_stmt 1 view .LVU1007
  6416. 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6417. 3019 .loc 1 2363 31 is_stmt 0 view .LVU1008
  6418. 3020 034a 9B1B subs r3, r3, r6
  6419. 3021 034c 2362 str r3, [r4, #32]
  6420. 3022 .L113:
  6421. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6422. 3023 .loc 1 2372 13 is_stmt 1 view .LVU1009
  6423. 3024 .LBB89:
  6424. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6425. 3025 .loc 1 2372 13 view .LVU1010
  6426. 3026 .LVL316:
  6427. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6428. 3027 .loc 1 2372 13 view .LVU1011
  6429. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6430. 3028 .loc 1 2372 13 view .LVU1012
  6431. 3029 034e 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
  6432. 3030 0350 002B cmp r3, #0
  6433. 3031 0352 45D1 bne .L114
  6434. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6435. 3032 .loc 1 2372 13 discriminator 1 view .LVU1013
  6436. 3033 .LBB90:
  6437. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6438. 3034 .loc 1 2372 13 discriminator 1 view .LVU1014
  6439. ARM GAS /tmp/ccGUz1hM.s page 112
  6440. 3035 .LVL317:
  6441. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6442. 3036 .loc 1 2372 13 discriminator 1 view .LVU1015
  6443. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6444. 3037 .loc 1 2372 13 discriminator 1 view .LVU1016
  6445. 3038 0354 B5F85030 ldrh r3, [r5, #80]
  6446. 3039 0358 9BB2 uxth r3, r3
  6447. 3040 035a 2B44 add r3, r3, r5
  6448. 3041 .LVL318:
  6449. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6450. 3042 .loc 1 2372 13 discriminator 1 view .LVU1017
  6451. 3043 035c 2278 ldrb r2, [r4] @ zero_extendqisi2
  6452. 3044 035e 03EB0213 add r3, r3, r2, lsl #4
  6453. 3045 .LVL319:
  6454. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6455. 3046 .loc 1 2372 13 discriminator 1 view .LVU1018
  6456. 3047 .LBB91:
  6457. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6458. 3048 .loc 1 2372 13 discriminator 1 view .LVU1019
  6459. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6460. 3049 .loc 1 2372 13 discriminator 1 view .LVU1020
  6461. 3050 0362 B3F80C24 ldrh r2, [r3, #1036]
  6462. 3051 0366 C2F30902 ubfx r2, r2, #0, #10
  6463. 3052 036a A3F80C24 strh r2, [r3, #1036] @ movhi
  6464. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6465. 3053 .loc 1 2372 13 discriminator 1 view .LVU1021
  6466. 3054 036e 3E2E cmp r6, #62
  6467. 3055 0370 1DD9 bls .L115
  6468. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6469. 3056 .loc 1 2372 13 discriminator 3 view .LVU1022
  6470. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6471. 3057 .loc 1 2372 13 discriminator 3 view .LVU1023
  6472. 3058 0372 7109 lsrs r1, r6, #5
  6473. 3059 .LVL320:
  6474. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6475. 3060 .loc 1 2372 13 discriminator 3 view .LVU1024
  6476. 3061 0374 16F01F0F tst r6, #31
  6477. 3062 0378 00D1 bne .L116
  6478. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6479. 3063 .loc 1 2372 13 discriminator 5 view .LVU1025
  6480. 3064 037a 0139 subs r1, r1, #1
  6481. 3065 .LVL321:
  6482. 3066 .L116:
  6483. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6484. 3067 .loc 1 2372 13 discriminator 7 view .LVU1026
  6485. 3068 037c B3F80C24 ldrh r2, [r3, #1036]
  6486. 3069 0380 92B2 uxth r2, r2
  6487. 3070 0382 8902 lsls r1, r1, #10
  6488. 3071 .LVL322:
  6489. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6490. 3072 .loc 1 2372 13 is_stmt 0 discriminator 7 view .LVU1027
  6491. 3073 0384 89B2 uxth r1, r1
  6492. 3074 0386 0A43 orrs r2, r2, r1
  6493. 3075 0388 42F40042 orr r2, r2, #32768
  6494. 3076 038c A3F80C24 strh r2, [r3, #1036] @ movhi
  6495. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6496. 3077 .loc 1 2372 13 is_stmt 1 discriminator 7 view .LVU1028
  6497. ARM GAS /tmp/ccGUz1hM.s page 113
  6498. 3078 0390 28E0 b .L117
  6499. 3079 .LVL323:
  6500. 3080 .L174:
  6501. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6502. 3081 .loc 1 2372 13 is_stmt 0 discriminator 7 view .LVU1029
  6503. 3082 .LBE91:
  6504. 3083 .LBE90:
  6505. 3084 .LBE89:
  6506. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6507. 3085 .loc 1 2354 13 is_stmt 1 discriminator 16 view .LVU1030
  6508. 3086 .LBB94:
  6509. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6510. 3087 .loc 1 2354 13 discriminator 16 view .LVU1031
  6511. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6512. 3088 .loc 1 2354 13 discriminator 16 view .LVU1032
  6513. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6514. 3089 .loc 1 2354 13 discriminator 16 view .LVU1033
  6515. 3090 0392 B5F85030 ldrh r3, [r5, #80]
  6516. 3091 0396 9BB2 uxth r3, r3
  6517. 3092 0398 2B44 add r3, r3, r5
  6518. 3093 .LVL324:
  6519. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6520. 3094 .loc 1 2354 13 discriminator 16 view .LVU1034
  6521. 3095 039a 03EB0213 add r3, r3, r2, lsl #4
  6522. 3096 .LVL325:
  6523. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6524. 3097 .loc 1 2354 13 discriminator 16 view .LVU1035
  6525. 3098 039e B2B2 uxth r2, r6
  6526. 3099 03a0 A3F80424 strh r2, [r3, #1028] @ movhi
  6527. 3100 03a4 C4E7 b .L109
  6528. 3101 .LVL326:
  6529. 3102 .L112:
  6530. 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6531. 3103 .loc 1 2354 13 is_stmt 0 discriminator 16 view .LVU1036
  6532. 3104 .LBE94:
  6533. 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
  6534. 3105 .loc 1 2367 15 is_stmt 1 view .LVU1037
  6535. 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6536. 3106 .loc 1 2368 15 view .LVU1038
  6537. 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6538. 3107 .loc 1 2368 31 is_stmt 0 view .LVU1039
  6539. 3108 03a6 0022 movs r2, #0
  6540. 3109 03a8 2262 str r2, [r4, #32]
  6541. 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
  6542. 3110 .loc 1 2367 19 view .LVU1040
  6543. 3111 03aa 1E46 mov r6, r3
  6544. 3112 03ac CFE7 b .L113
  6545. 3113 .LVL327:
  6546. 3114 .L115:
  6547. 3115 .LBB95:
  6548. 3116 .LBB93:
  6549. 3117 .LBB92:
  6550. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6551. 3118 .loc 1 2372 13 is_stmt 1 discriminator 4 view .LVU1041
  6552. 3119 03ae 4EB9 cbnz r6, .L118
  6553. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6554. 3120 .loc 1 2372 13 discriminator 9 view .LVU1042
  6555. ARM GAS /tmp/ccGUz1hM.s page 114
  6556. 3121 03b0 B3F80C24 ldrh r2, [r3, #1036]
  6557. 3122 03b4 6FEA4242 mvn r2, r2, lsl #17
  6558. 3123 03b8 6FEA5242 mvn r2, r2, lsr #17
  6559. 3124 03bc 92B2 uxth r2, r2
  6560. 3125 03be A3F80C24 strh r2, [r3, #1036] @ movhi
  6561. 3126 03c2 0FE0 b .L117
  6562. 3127 .L118:
  6563. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6564. 3128 .loc 1 2372 13 discriminator 10 view .LVU1043
  6565. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6566. 3129 .loc 1 2372 13 discriminator 10 view .LVU1044
  6567. 3130 03c4 7208 lsrs r2, r6, #1
  6568. 3131 .LVL328:
  6569. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6570. 3132 .loc 1 2372 13 discriminator 10 view .LVU1045
  6571. 3133 03c6 16F0010F tst r6, #1
  6572. 3134 03ca 00D0 beq .L119
  6573. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6574. 3135 .loc 1 2372 13 discriminator 12 view .LVU1046
  6575. 3136 03cc 0132 adds r2, r2, #1
  6576. 3137 .LVL329:
  6577. 3138 .L119:
  6578. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6579. 3139 .loc 1 2372 13 discriminator 14 view .LVU1047
  6580. 3140 03ce B3F80C14 ldrh r1, [r3, #1036]
  6581. 3141 03d2 89B2 uxth r1, r1
  6582. 3142 03d4 9202 lsls r2, r2, #10
  6583. 3143 .LVL330:
  6584. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6585. 3144 .loc 1 2372 13 is_stmt 0 discriminator 14 view .LVU1048
  6586. 3145 03d6 92B2 uxth r2, r2
  6587. 3146 03d8 0A43 orrs r2, r2, r1
  6588. 3147 03da A3F80C24 strh r2, [r3, #1036] @ movhi
  6589. 3148 03de 01E0 b .L117
  6590. 3149 .LVL331:
  6591. 3150 .L114:
  6592. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6593. 3151 .loc 1 2372 13 discriminator 14 view .LVU1049
  6594. 3152 .LBE92:
  6595. 3153 .LBE93:
  6596. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6597. 3154 .loc 1 2372 13 is_stmt 1 discriminator 2 view .LVU1050
  6598. 3155 03e0 012B cmp r3, #1
  6599. 3156 03e2 06D0 beq .L175
  6600. 3157 .LVL332:
  6601. 3158 .L117:
  6602. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6603. 3159 .loc 1 2372 13 is_stmt 0 discriminator 2 view .LVU1051
  6604. 3160 .LBE95:
  6605. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6606. 3161 .loc 1 2372 13 is_stmt 1 discriminator 18 view .LVU1052
  6607. 2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6608. 3162 .loc 1 2373 13 discriminator 18 view .LVU1053
  6609. 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6610. 3163 .loc 1 2376 13 discriminator 18 view .LVU1054
  6611. 3164 03e4 B3B2 uxth r3, r6
  6612. 3165 03e6 6289 ldrh r2, [r4, #10]
  6613. ARM GAS /tmp/ccGUz1hM.s page 115
  6614. 3166 03e8 6169 ldr r1, [r4, #20]
  6615. 3167 03ea 2846 mov r0, r5
  6616. 3168 03ec FFF7FEFF bl USB_WritePMA
  6617. 3169 .LVL333:
  6618. 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6619. 3170 .loc 1 2376 13 is_stmt 0 discriminator 18 view .LVU1055
  6620. 3171 03f0 8EE6 b .L88
  6621. 3172 .LVL334:
  6622. 3173 .L175:
  6623. 3174 .LBB96:
  6624. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6625. 3175 .loc 1 2372 13 is_stmt 1 discriminator 16 view .LVU1056
  6626. 3176 03f2 B5F85030 ldrh r3, [r5, #80]
  6627. 3177 03f6 9BB2 uxth r3, r3
  6628. 3178 03f8 2B44 add r3, r3, r5
  6629. 3179 .LVL335:
  6630. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6631. 3180 .loc 1 2372 13 discriminator 16 view .LVU1057
  6632. 3181 03fa 2278 ldrb r2, [r4] @ zero_extendqisi2
  6633. 3182 03fc 03EB0213 add r3, r3, r2, lsl #4
  6634. 3183 .LVL336:
  6635. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6636. 3184 .loc 1 2372 13 discriminator 16 view .LVU1058
  6637. 3185 0400 B2B2 uxth r2, r6
  6638. 3186 0402 A3F80C24 strh r2, [r3, #1036] @ movhi
  6639. 3187 0406 EDE7 b .L117
  6640. 3188 .LVL337:
  6641. 3189 .L90:
  6642. 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6643. 3190 .loc 1 2372 13 is_stmt 0 discriminator 16 view .LVU1059
  6644. 3191 .LBE96:
  6645. 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6646. 3192 .loc 1 2382 11 is_stmt 1 view .LVU1060
  6647. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6648. 3193 .loc 1 2385 11 view .LVU1061
  6649. 3194 .LBB97:
  6650. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6651. 3195 .loc 1 2385 11 view .LVU1062
  6652. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6653. 3196 .loc 1 2385 11 view .LVU1063
  6654. 3197 0408 2178 ldrb r1, [r4] @ zero_extendqisi2
  6655. 3198 040a 35F82120 ldrh r2, [r5, r1, lsl #2]
  6656. 3199 040e 92B2 uxth r2, r2
  6657. 3200 0410 22F4E242 bic r2, r2, #28928
  6658. 3201 0414 22F07002 bic r2, r2, #112
  6659. 3202 .LVL338:
  6660. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6661. 3203 .loc 1 2385 11 view .LVU1064
  6662. 3204 0418 42F40042 orr r2, r2, #32768
  6663. 3205 .LVL339:
  6664. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6665. 3206 .loc 1 2385 11 is_stmt 0 view .LVU1065
  6666. 3207 041c 42F08002 orr r2, r2, #128
  6667. 3208 0420 25F82120 strh r2, [r5, r1, lsl #2] @ movhi
  6668. 3209 .LBE97:
  6669. 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6670. 3210 .loc 1 2385 11 is_stmt 1 view .LVU1066
  6671. ARM GAS /tmp/ccGUz1hM.s page 116
  6672. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6673. 3211 .loc 1 2388 11 view .LVU1067
  6674. 3212 .LBB98:
  6675. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6676. 3213 .loc 1 2388 11 view .LVU1068
  6677. 3214 .LVL340:
  6678. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6679. 3215 .loc 1 2388 11 view .LVU1069
  6680. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6681. 3216 .loc 1 2388 11 view .LVU1070
  6682. 3217 0424 B5F85020 ldrh r2, [r5, #80]
  6683. 3218 0428 92B2 uxth r2, r2
  6684. 3219 042a 2A44 add r2, r2, r5
  6685. 3220 .LVL341:
  6686. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6687. 3221 .loc 1 2388 11 view .LVU1071
  6688. 3222 042c 2178 ldrb r1, [r4] @ zero_extendqisi2
  6689. 3223 042e 02EB0112 add r2, r2, r1, lsl #4
  6690. 3224 .LVL342:
  6691. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6692. 3225 .loc 1 2388 11 view .LVU1072
  6693. 3226 0432 9BB2 uxth r3, r3
  6694. 3227 .LVL343:
  6695. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6696. 3228 .loc 1 2388 11 is_stmt 0 view .LVU1073
  6697. 3229 0434 A2F80434 strh r3, [r2, #1028] @ movhi
  6698. 3230 .LBE98:
  6699. 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6700. 3231 .loc 1 2388 11 is_stmt 1 view .LVU1074
  6701. 2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6702. 3232 .loc 1 2389 11 view .LVU1075
  6703. 3233 .LVL344:
  6704. 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6705. 3234 .loc 1 2392 11 view .LVU1076
  6706. 3235 0438 2289 ldrh r2, [r4, #8]
  6707. 3236 .LVL345:
  6708. 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6709. 3237 .loc 1 2392 11 is_stmt 0 view .LVU1077
  6710. 3238 043a 6169 ldr r1, [r4, #20]
  6711. 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6712. 3239 .loc 1 2392 11 view .LVU1078
  6713. 3240 043c 2846 mov r0, r5
  6714. 3241 .LVL346:
  6715. 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6716. 3242 .loc 1 2392 11 view .LVU1079
  6717. 3243 043e FFF7FEFF bl USB_WritePMA
  6718. 3244 .LVL347:
  6719. 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6720. 3245 .loc 1 2392 11 view .LVU1080
  6721. 3246 0442 65E6 b .L88
  6722. 3247 .LVL348:
  6723. 3248 .L122:
  6724. 3249 .LBB99:
  6725. 3250 .LBB74:
  6726. 3251 .LBB73:
  6727. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6728. 3252 .loc 1 2404 11 is_stmt 1 discriminator 4 view .LVU1081
  6729. ARM GAS /tmp/ccGUz1hM.s page 117
  6730. 3253 0444 4EB9 cbnz r6, .L125
  6731. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6732. 3254 .loc 1 2404 11 discriminator 9 view .LVU1082
  6733. 3255 0446 B3F80C24 ldrh r2, [r3, #1036]
  6734. 3256 044a 6FEA4242 mvn r2, r2, lsl #17
  6735. 3257 044e 6FEA5242 mvn r2, r2, lsr #17
  6736. 3258 0452 92B2 uxth r2, r2
  6737. 3259 0454 A3F80C24 strh r2, [r3, #1036] @ movhi
  6738. 3260 0458 16E0 b .L124
  6739. 3261 .L125:
  6740. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6741. 3262 .loc 1 2404 11 discriminator 10 view .LVU1083
  6742. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6743. 3263 .loc 1 2404 11 discriminator 10 view .LVU1084
  6744. 3264 045a 7208 lsrs r2, r6, #1
  6745. 3265 .LVL349:
  6746. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6747. 3266 .loc 1 2404 11 discriminator 10 view .LVU1085
  6748. 3267 045c 16F0010F tst r6, #1
  6749. 3268 0460 00D0 beq .L126
  6750. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6751. 3269 .loc 1 2404 11 discriminator 12 view .LVU1086
  6752. 3270 0462 0132 adds r2, r2, #1
  6753. 3271 .LVL350:
  6754. 3272 .L126:
  6755. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6756. 3273 .loc 1 2404 11 discriminator 14 view .LVU1087
  6757. 3274 0464 B3F80C14 ldrh r1, [r3, #1036]
  6758. 3275 0468 89B2 uxth r1, r1
  6759. 3276 046a 9202 lsls r2, r2, #10
  6760. 3277 .LVL351:
  6761. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6762. 3278 .loc 1 2404 11 is_stmt 0 discriminator 14 view .LVU1088
  6763. 3279 046c 92B2 uxth r2, r2
  6764. 3280 046e 0A43 orrs r2, r2, r1
  6765. 3281 0470 A3F80C24 strh r2, [r3, #1036] @ movhi
  6766. 3282 0474 08E0 b .L124
  6767. 3283 .LVL352:
  6768. 3284 .L121:
  6769. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6770. 3285 .loc 1 2404 11 discriminator 14 view .LVU1089
  6771. 3286 .LBE73:
  6772. 3287 .LBE74:
  6773. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6774. 3288 .loc 1 2404 11 is_stmt 1 discriminator 16 view .LVU1090
  6775. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6776. 3289 .loc 1 2404 11 discriminator 16 view .LVU1091
  6777. 3290 0476 B5F85030 ldrh r3, [r5, #80]
  6778. 3291 047a 9BB2 uxth r3, r3
  6779. 3292 047c 2B44 add r3, r3, r5
  6780. 3293 .LVL353:
  6781. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6782. 3294 .loc 1 2404 11 discriminator 16 view .LVU1092
  6783. 3295 047e 03EB0113 add r3, r3, r1, lsl #4
  6784. 3296 .LVL354:
  6785. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6786. 3297 .loc 1 2404 11 discriminator 16 view .LVU1093
  6787. ARM GAS /tmp/ccGUz1hM.s page 118
  6788. 3298 0482 B2B2 uxth r2, r6
  6789. 3299 0484 A3F80C24 strh r2, [r3, #1036] @ movhi
  6790. 3300 .LVL355:
  6791. 3301 .L124:
  6792. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6793. 3302 .loc 1 2404 11 is_stmt 0 discriminator 16 view .LVU1094
  6794. 3303 .LBE99:
  6795. 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
  6796. 3304 .loc 1 2404 11 is_stmt 1 discriminator 18 view .LVU1095
  6797. 2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6798. 3305 .loc 1 2405 11 discriminator 18 view .LVU1096
  6799. 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6800. 3306 .loc 1 2408 11 discriminator 18 view .LVU1097
  6801. 3307 0488 B3B2 uxth r3, r6
  6802. 3308 048a 6289 ldrh r2, [r4, #10]
  6803. 3309 048c 6169 ldr r1, [r4, #20]
  6804. 3310 048e 2846 mov r0, r5
  6805. 3311 .LVL356:
  6806. 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6807. 3312 .loc 1 2408 11 is_stmt 0 discriminator 18 view .LVU1098
  6808. 3313 0490 FFF7FEFF bl USB_WritePMA
  6809. 3314 .LVL357:
  6810. 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6811. 3315 .loc 1 2408 11 discriminator 18 view .LVU1099
  6812. 3316 0494 3CE6 b .L88
  6813. 3317 .LVL358:
  6814. 3318 .L120:
  6815. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6816. 3319 .loc 1 2413 11 is_stmt 1 view .LVU1100
  6817. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6818. 3320 .loc 1 2413 11 view .LVU1101
  6819. 3321 0496 B2BB cbnz r2, .L127
  6820. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6821. 3322 .loc 1 2413 11 discriminator 1 view .LVU1102
  6822. 3323 .LBB100:
  6823. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6824. 3324 .loc 1 2413 11 discriminator 1 view .LVU1103
  6825. 3325 .LVL359:
  6826. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6827. 3326 .loc 1 2413 11 discriminator 1 view .LVU1104
  6828. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6829. 3327 .loc 1 2413 11 discriminator 1 view .LVU1105
  6830. 3328 0498 B5F85030 ldrh r3, [r5, #80]
  6831. 3329 049c 9BB2 uxth r3, r3
  6832. 3330 049e 2B44 add r3, r3, r5
  6833. 3331 .LVL360:
  6834. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6835. 3332 .loc 1 2413 11 discriminator 1 view .LVU1106
  6836. 3333 04a0 03EB0113 add r3, r3, r1, lsl #4
  6837. 3334 .LVL361:
  6838. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6839. 3335 .loc 1 2413 11 discriminator 1 view .LVU1107
  6840. 3336 .LBB101:
  6841. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6842. 3337 .loc 1 2413 11 discriminator 1 view .LVU1108
  6843. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6844. 3338 .loc 1 2413 11 discriminator 1 view .LVU1109
  6845. ARM GAS /tmp/ccGUz1hM.s page 119
  6846. 3339 04a4 B3F80424 ldrh r2, [r3, #1028]
  6847. 3340 04a8 C2F30902 ubfx r2, r2, #0, #10
  6848. 3341 04ac A3F80424 strh r2, [r3, #1028] @ movhi
  6849. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6850. 3342 .loc 1 2413 11 discriminator 1 view .LVU1110
  6851. 3343 04b0 3E2E cmp r6, #62
  6852. 3344 04b2 0FD9 bls .L128
  6853. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6854. 3345 .loc 1 2413 11 discriminator 3 view .LVU1111
  6855. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6856. 3346 .loc 1 2413 11 discriminator 3 view .LVU1112
  6857. 3347 04b4 7109 lsrs r1, r6, #5
  6858. 3348 .LVL362:
  6859. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6860. 3349 .loc 1 2413 11 discriminator 3 view .LVU1113
  6861. 3350 04b6 16F01F0F tst r6, #31
  6862. 3351 04ba 00D1 bne .L129
  6863. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6864. 3352 .loc 1 2413 11 discriminator 5 view .LVU1114
  6865. 3353 04bc 0139 subs r1, r1, #1
  6866. 3354 .LVL363:
  6867. 3355 .L129:
  6868. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6869. 3356 .loc 1 2413 11 discriminator 7 view .LVU1115
  6870. 3357 04be B3F80424 ldrh r2, [r3, #1028]
  6871. 3358 04c2 92B2 uxth r2, r2
  6872. 3359 04c4 8902 lsls r1, r1, #10
  6873. 3360 .LVL364:
  6874. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6875. 3361 .loc 1 2413 11 is_stmt 0 discriminator 7 view .LVU1116
  6876. 3362 04c6 89B2 uxth r1, r1
  6877. 3363 04c8 0A43 orrs r2, r2, r1
  6878. 3364 04ca 42F40042 orr r2, r2, #32768
  6879. 3365 04ce A3F80424 strh r2, [r3, #1028] @ movhi
  6880. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6881. 3366 .loc 1 2413 11 is_stmt 1 discriminator 7 view .LVU1117
  6882. 3367 04d2 21E0 b .L130
  6883. 3368 .L128:
  6884. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6885. 3369 .loc 1 2413 11 discriminator 4 view .LVU1118
  6886. 3370 04d4 4EB9 cbnz r6, .L131
  6887. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6888. 3371 .loc 1 2413 11 discriminator 9 view .LVU1119
  6889. 3372 04d6 B3F80424 ldrh r2, [r3, #1028]
  6890. 3373 04da 6FEA4242 mvn r2, r2, lsl #17
  6891. 3374 04de 6FEA5242 mvn r2, r2, lsr #17
  6892. 3375 04e2 92B2 uxth r2, r2
  6893. 3376 04e4 A3F80424 strh r2, [r3, #1028] @ movhi
  6894. 3377 04e8 16E0 b .L130
  6895. 3378 .L131:
  6896. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6897. 3379 .loc 1 2413 11 discriminator 10 view .LVU1120
  6898. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6899. 3380 .loc 1 2413 11 discriminator 10 view .LVU1121
  6900. 3381 04ea 7208 lsrs r2, r6, #1
  6901. 3382 .LVL365:
  6902. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6903. ARM GAS /tmp/ccGUz1hM.s page 120
  6904. 3383 .loc 1 2413 11 discriminator 10 view .LVU1122
  6905. 3384 04ec 16F0010F tst r6, #1
  6906. 3385 04f0 00D0 beq .L132
  6907. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6908. 3386 .loc 1 2413 11 discriminator 12 view .LVU1123
  6909. 3387 04f2 0132 adds r2, r2, #1
  6910. 3388 .LVL366:
  6911. 3389 .L132:
  6912. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6913. 3390 .loc 1 2413 11 discriminator 14 view .LVU1124
  6914. 3391 04f4 B3F80414 ldrh r1, [r3, #1028]
  6915. 3392 04f8 89B2 uxth r1, r1
  6916. 3393 04fa 9202 lsls r2, r2, #10
  6917. 3394 .LVL367:
  6918. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6919. 3395 .loc 1 2413 11 is_stmt 0 discriminator 14 view .LVU1125
  6920. 3396 04fc 92B2 uxth r2, r2
  6921. 3397 04fe 0A43 orrs r2, r2, r1
  6922. 3398 0500 A3F80424 strh r2, [r3, #1028] @ movhi
  6923. 3399 0504 08E0 b .L130
  6924. 3400 .LVL368:
  6925. 3401 .L127:
  6926. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6927. 3402 .loc 1 2413 11 discriminator 14 view .LVU1126
  6928. 3403 .LBE101:
  6929. 3404 .LBE100:
  6930. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6931. 3405 .loc 1 2413 11 is_stmt 1 discriminator 16 view .LVU1127
  6932. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6933. 3406 .loc 1 2413 11 discriminator 16 view .LVU1128
  6934. 3407 .LBB102:
  6935. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6936. 3408 .loc 1 2413 11 discriminator 16 view .LVU1129
  6937. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6938. 3409 .loc 1 2413 11 discriminator 16 view .LVU1130
  6939. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6940. 3410 .loc 1 2413 11 discriminator 16 view .LVU1131
  6941. 3411 0506 B5F85030 ldrh r3, [r5, #80]
  6942. 3412 050a 9BB2 uxth r3, r3
  6943. 3413 050c 2B44 add r3, r3, r5
  6944. 3414 .LVL369:
  6945. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6946. 3415 .loc 1 2413 11 discriminator 16 view .LVU1132
  6947. 3416 050e 03EB0113 add r3, r3, r1, lsl #4
  6948. 3417 .LVL370:
  6949. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6950. 3418 .loc 1 2413 11 discriminator 16 view .LVU1133
  6951. 3419 0512 B2B2 uxth r2, r6
  6952. 3420 0514 A3F80424 strh r2, [r3, #1028] @ movhi
  6953. 3421 .LVL371:
  6954. 3422 .L130:
  6955. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6956. 3423 .loc 1 2413 11 is_stmt 0 discriminator 16 view .LVU1134
  6957. 3424 .LBE102:
  6958. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6959. 3425 .loc 1 2413 11 is_stmt 1 discriminator 18 view .LVU1135
  6960. 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
  6961. ARM GAS /tmp/ccGUz1hM.s page 121
  6962. 3426 .loc 1 2413 11 discriminator 18 view .LVU1136
  6963. 2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  6964. 3427 .loc 1 2414 11 discriminator 18 view .LVU1137
  6965. 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6966. 3428 .loc 1 2417 11 discriminator 18 view .LVU1138
  6967. 3429 0518 B3B2 uxth r3, r6
  6968. 3430 051a 2289 ldrh r2, [r4, #8]
  6969. 3431 051c 6169 ldr r1, [r4, #20]
  6970. 3432 051e 2846 mov r0, r5
  6971. 3433 .LVL372:
  6972. 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6973. 3434 .loc 1 2417 11 is_stmt 0 discriminator 18 view .LVU1139
  6974. 3435 0520 FFF7FEFF bl USB_WritePMA
  6975. 3436 .LVL373:
  6976. 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6977. 3437 .loc 1 2417 11 discriminator 18 view .LVU1140
  6978. 3438 0524 F4E5 b .L88
  6979. 3439 .LVL374:
  6980. 3440 .L135:
  6981. 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
  6982. 3441 .loc 1 2437 9 is_stmt 1 view .LVU1141
  6983. 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6984. 3442 .loc 1 2438 9 view .LVU1142
  6985. 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6986. 3443 .loc 1 2438 22 is_stmt 0 view .LVU1143
  6987. 3444 0526 0022 movs r2, #0
  6988. 3445 0528 8A61 str r2, [r1, #24]
  6989. 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
  6990. 3446 .loc 1 2437 13 view .LVU1144
  6991. 3447 052a 1A46 mov r2, r3
  6992. 3448 052c 79E5 b .L136
  6993. 3449 .LVL375:
  6994. 3450 .L137:
  6995. 3451 .LBB103:
  6996. 3452 .LBB68:
  6997. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  6998. 3453 .loc 1 2441 7 is_stmt 1 discriminator 2 view .LVU1145
  6999. 3454 052e 4AB9 cbnz r2, .L140
  7000. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7001. 3455 .loc 1 2441 7 discriminator 7 view .LVU1146
  7002. 3456 0530 B3F80C24 ldrh r2, [r3, #1036]
  7003. 3457 .LVL376:
  7004. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7005. 3458 .loc 1 2441 7 is_stmt 0 discriminator 7 view .LVU1147
  7006. 3459 0534 6FEA4242 mvn r2, r2, lsl #17
  7007. 3460 0538 6FEA5242 mvn r2, r2, lsr #17
  7008. 3461 053c 92B2 uxth r2, r2
  7009. 3462 053e A3F80C24 strh r2, [r3, #1036] @ movhi
  7010. 3463 0542 8DE5 b .L139
  7011. 3464 .LVL377:
  7012. 3465 .L140:
  7013. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7014. 3466 .loc 1 2441 7 is_stmt 1 discriminator 8 view .LVU1148
  7015. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7016. 3467 .loc 1 2441 7 discriminator 8 view .LVU1149
  7017. 3468 0544 5108 lsrs r1, r2, #1
  7018. 3469 .LVL378:
  7019. ARM GAS /tmp/ccGUz1hM.s page 122
  7020. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7021. 3470 .loc 1 2441 7 discriminator 8 view .LVU1150
  7022. 3471 0546 12F0010F tst r2, #1
  7023. 3472 054a 00D0 beq .L141
  7024. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7025. 3473 .loc 1 2441 7 discriminator 10 view .LVU1151
  7026. 3474 054c 0131 adds r1, r1, #1
  7027. 3475 .LVL379:
  7028. 3476 .L141:
  7029. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7030. 3477 .loc 1 2441 7 discriminator 12 view .LVU1152
  7031. 3478 054e B3F80C24 ldrh r2, [r3, #1036]
  7032. 3479 .LVL380:
  7033. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7034. 3480 .loc 1 2441 7 is_stmt 0 discriminator 12 view .LVU1153
  7035. 3481 0552 92B2 uxth r2, r2
  7036. 3482 0554 8902 lsls r1, r1, #10
  7037. 3483 .LVL381:
  7038. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7039. 3484 .loc 1 2441 7 discriminator 12 view .LVU1154
  7040. 3485 0556 89B2 uxth r1, r1
  7041. 3486 0558 1143 orrs r1, r1, r2
  7042. 3487 055a A3F80C14 strh r1, [r3, #1036] @ movhi
  7043. 3488 055e 7FE5 b .L139
  7044. 3489 .LVL382:
  7045. 3490 .L134:
  7046. 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7047. 3491 .loc 1 2441 7 discriminator 12 view .LVU1155
  7048. 3492 .LBE68:
  7049. 3493 .LBE103:
  7050. 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7051. 3494 .loc 1 2448 7 is_stmt 1 view .LVU1156
  7052. 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7053. 3495 .loc 1 2448 13 is_stmt 0 view .LVU1157
  7054. 3496 0560 CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
  7055. 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7056. 3497 .loc 1 2448 10 view .LVU1158
  7057. 3498 0562 022B cmp r3, #2
  7058. 3499 0564 4DD0 beq .L176
  7059. 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7060. 3500 .loc 1 2467 12 is_stmt 1 view .LVU1159
  7061. 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7062. 3501 .loc 1 2467 15 is_stmt 0 view .LVU1160
  7063. 3502 0566 012B cmp r3, #1
  7064. 3503 0568 40F02F81 bne .L167
  7065. 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7066. 3504 .loc 1 2470 9 is_stmt 1 view .LVU1161
  7067. 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7068. 3505 .loc 1 2470 15 is_stmt 0 view .LVU1162
  7069. 3506 056c 8969 ldr r1, [r1, #24]
  7070. 3507 .LVL383:
  7071. 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7072. 3508 .loc 1 2470 30 view .LVU1163
  7073. 3509 056e 2369 ldr r3, [r4, #16]
  7074. 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7075. 3510 .loc 1 2470 12 view .LVU1164
  7076. 3511 0570 9942 cmp r1, r3
  7077. ARM GAS /tmp/ccGUz1hM.s page 123
  7078. 3512 0572 40F2E680 bls .L155
  7079. 2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
  7080. 3513 .loc 1 2472 11 is_stmt 1 view .LVU1165
  7081. 3514 .LVL384:
  7082. 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7083. 3515 .loc 1 2473 11 view .LVU1166
  7084. 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7085. 3516 .loc 1 2473 24 is_stmt 0 view .LVU1167
  7086. 3517 0576 C91A subs r1, r1, r3
  7087. 3518 0578 A161 str r1, [r4, #24]
  7088. 3519 .L156:
  7089. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7090. 3520 .loc 1 2480 9 is_stmt 1 view .LVU1168
  7091. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7092. 3521 .loc 1 2480 9 view .LVU1169
  7093. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7094. 3522 .loc 1 2480 9 view .LVU1170
  7095. 3523 057a F2B9 cbnz r2, .L157
  7096. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7097. 3524 .loc 1 2480 9 discriminator 1 view .LVU1171
  7098. 3525 .LBB104:
  7099. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7100. 3526 .loc 1 2480 9 discriminator 1 view .LVU1172
  7101. 3527 .LVL385:
  7102. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7103. 3528 .loc 1 2480 9 discriminator 1 view .LVU1173
  7104. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7105. 3529 .loc 1 2480 9 discriminator 1 view .LVU1174
  7106. 3530 057c B5F85020 ldrh r2, [r5, #80]
  7107. 3531 0580 92B2 uxth r2, r2
  7108. 3532 0582 2A44 add r2, r2, r5
  7109. 3533 .LVL386:
  7110. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7111. 3534 .loc 1 2480 9 discriminator 1 view .LVU1175
  7112. 3535 0584 2178 ldrb r1, [r4] @ zero_extendqisi2
  7113. 3536 0586 02EB0112 add r2, r2, r1, lsl #4
  7114. 3537 .LVL387:
  7115. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7116. 3538 .loc 1 2480 9 discriminator 1 view .LVU1176
  7117. 3539 .LBB105:
  7118. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7119. 3540 .loc 1 2480 9 discriminator 1 view .LVU1177
  7120. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7121. 3541 .loc 1 2480 9 discriminator 1 view .LVU1178
  7122. 3542 058a B2F80414 ldrh r1, [r2, #1028]
  7123. 3543 058e C1F30901 ubfx r1, r1, #0, #10
  7124. 3544 0592 A2F80414 strh r1, [r2, #1028] @ movhi
  7125. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7126. 3545 .loc 1 2480 9 discriminator 1 view .LVU1179
  7127. 3546 0596 3E2B cmp r3, #62
  7128. 3547 0598 40F2D780 bls .L158
  7129. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7130. 3548 .loc 1 2480 9 discriminator 3 view .LVU1180
  7131. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7132. 3549 .loc 1 2480 9 discriminator 3 view .LVU1181
  7133. 3550 059c 5809 lsrs r0, r3, #5
  7134. 3551 .LVL388:
  7135. ARM GAS /tmp/ccGUz1hM.s page 124
  7136. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7137. 3552 .loc 1 2480 9 discriminator 3 view .LVU1182
  7138. 3553 059e 13F01F0F tst r3, #31
  7139. 3554 05a2 00D1 bne .L159
  7140. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7141. 3555 .loc 1 2480 9 discriminator 5 view .LVU1183
  7142. 3556 05a4 0138 subs r0, r0, #1
  7143. 3557 .LVL389:
  7144. 3558 .L159:
  7145. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7146. 3559 .loc 1 2480 9 discriminator 7 view .LVU1184
  7147. 3560 05a6 B2F80414 ldrh r1, [r2, #1028]
  7148. 3561 05aa 89B2 uxth r1, r1
  7149. 3562 05ac 8002 lsls r0, r0, #10
  7150. 3563 .LVL390:
  7151. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7152. 3564 .loc 1 2480 9 is_stmt 0 discriminator 7 view .LVU1185
  7153. 3565 05ae 80B2 uxth r0, r0
  7154. 3566 05b0 0143 orrs r1, r1, r0
  7155. 3567 05b2 41F40041 orr r1, r1, #32768
  7156. 3568 05b6 A2F80414 strh r1, [r2, #1028] @ movhi
  7157. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7158. 3569 .loc 1 2480 9 is_stmt 1 discriminator 7 view .LVU1186
  7159. 3570 .LVL391:
  7160. 3571 .L157:
  7161. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7162. 3572 .loc 1 2480 9 is_stmt 0 discriminator 7 view .LVU1187
  7163. 3573 .LBE105:
  7164. 3574 .LBE104:
  7165. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7166. 3575 .loc 1 2480 9 is_stmt 1 discriminator 18 view .LVU1188
  7167. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7168. 3576 .loc 1 2480 9 discriminator 18 view .LVU1189
  7169. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7170. 3577 .loc 1 2480 9 discriminator 18 view .LVU1190
  7171. 3578 .LBB107:
  7172. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7173. 3579 .loc 1 2480 9 discriminator 18 view .LVU1191
  7174. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7175. 3580 .loc 1 2480 9 discriminator 18 view .LVU1192
  7176. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7177. 3581 .loc 1 2480 9 discriminator 18 view .LVU1193
  7178. 3582 05ba 6278 ldrb r2, [r4, #1] @ zero_extendqisi2
  7179. 3583 05bc 002A cmp r2, #0
  7180. 3584 05be 40F0F680 bne .L162
  7181. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7182. 3585 .loc 1 2480 9 discriminator 19 view .LVU1194
  7183. 3586 .LBB108:
  7184. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7185. 3587 .loc 1 2480 9 discriminator 19 view .LVU1195
  7186. 3588 .LVL392:
  7187. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7188. 3589 .loc 1 2480 9 discriminator 19 view .LVU1196
  7189. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7190. 3590 .loc 1 2480 9 discriminator 19 view .LVU1197
  7191. 3591 05c2 B5F85020 ldrh r2, [r5, #80]
  7192. 3592 05c6 92B2 uxth r2, r2
  7193. ARM GAS /tmp/ccGUz1hM.s page 125
  7194. 3593 05c8 2A44 add r2, r2, r5
  7195. 3594 .LVL393:
  7196. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7197. 3595 .loc 1 2480 9 discriminator 19 view .LVU1198
  7198. 3596 05ca 2178 ldrb r1, [r4] @ zero_extendqisi2
  7199. 3597 05cc 02EB0112 add r2, r2, r1, lsl #4
  7200. 3598 .LVL394:
  7201. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7202. 3599 .loc 1 2480 9 discriminator 19 view .LVU1199
  7203. 3600 .LBB109:
  7204. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7205. 3601 .loc 1 2480 9 discriminator 19 view .LVU1200
  7206. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7207. 3602 .loc 1 2480 9 discriminator 19 view .LVU1201
  7208. 3603 05d0 B2F80C14 ldrh r1, [r2, #1036]
  7209. 3604 05d4 C1F30901 ubfx r1, r1, #0, #10
  7210. 3605 05d8 A2F80C14 strh r1, [r2, #1036] @ movhi
  7211. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7212. 3606 .loc 1 2480 9 discriminator 19 view .LVU1202
  7213. 3607 05dc 3E2B cmp r3, #62
  7214. 3608 05de 40F2CD80 bls .L163
  7215. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7216. 3609 .loc 1 2480 9 discriminator 21 view .LVU1203
  7217. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7218. 3610 .loc 1 2480 9 discriminator 21 view .LVU1204
  7219. 3611 05e2 5909 lsrs r1, r3, #5
  7220. 3612 .LVL395:
  7221. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7222. 3613 .loc 1 2480 9 discriminator 21 view .LVU1205
  7223. 3614 05e4 13F01F0F tst r3, #31
  7224. 3615 05e8 00D1 bne .L164
  7225. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7226. 3616 .loc 1 2480 9 discriminator 23 view .LVU1206
  7227. 3617 05ea 0139 subs r1, r1, #1
  7228. 3618 .LVL396:
  7229. 3619 .L164:
  7230. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7231. 3620 .loc 1 2480 9 discriminator 25 view .LVU1207
  7232. 3621 05ec B2F80C34 ldrh r3, [r2, #1036]
  7233. 3622 .LVL397:
  7234. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7235. 3623 .loc 1 2480 9 is_stmt 0 discriminator 25 view .LVU1208
  7236. 3624 05f0 9BB2 uxth r3, r3
  7237. 3625 05f2 8902 lsls r1, r1, #10
  7238. 3626 .LVL398:
  7239. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7240. 3627 .loc 1 2480 9 discriminator 25 view .LVU1209
  7241. 3628 05f4 89B2 uxth r1, r1
  7242. 3629 05f6 0B43 orrs r3, r3, r1
  7243. 3630 05f8 43F40043 orr r3, r3, #32768
  7244. 3631 05fc A2F80C34 strh r3, [r2, #1036] @ movhi
  7245. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7246. 3632 .loc 1 2480 9 is_stmt 1 discriminator 25 view .LVU1210
  7247. 3633 0600 2EE5 b .L139
  7248. 3634 .LVL399:
  7249. 3635 .L176:
  7250. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7251. ARM GAS /tmp/ccGUz1hM.s page 126
  7252. 3636 .loc 1 2480 9 is_stmt 0 discriminator 25 view .LVU1211
  7253. 3637 .LBE109:
  7254. 3638 .LBE108:
  7255. 3639 .LBE107:
  7256. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7257. 3640 .loc 1 2450 9 is_stmt 1 view .LVU1212
  7258. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7259. 3641 .loc 1 2450 9 view .LVU1213
  7260. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7261. 3642 .loc 1 2450 9 view .LVU1214
  7262. 3643 0602 F2B9 cbnz r2, .L143
  7263. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7264. 3644 .loc 1 2450 9 discriminator 1 view .LVU1215
  7265. 3645 .LBB112:
  7266. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7267. 3646 .loc 1 2450 9 discriminator 1 view .LVU1216
  7268. 3647 .LVL400:
  7269. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7270. 3648 .loc 1 2450 9 discriminator 1 view .LVU1217
  7271. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7272. 3649 .loc 1 2450 9 discriminator 1 view .LVU1218
  7273. 3650 0604 B0F85030 ldrh r3, [r0, #80]
  7274. 3651 0608 9BB2 uxth r3, r3
  7275. 3652 060a 0344 add r3, r3, r0
  7276. 3653 .LVL401:
  7277. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7278. 3654 .loc 1 2450 9 discriminator 1 view .LVU1219
  7279. 3655 060c 0A78 ldrb r2, [r1] @ zero_extendqisi2
  7280. 3656 060e 03EB0213 add r3, r3, r2, lsl #4
  7281. 3657 .LVL402:
  7282. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7283. 3658 .loc 1 2450 9 discriminator 1 view .LVU1220
  7284. 3659 .LBB113:
  7285. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7286. 3660 .loc 1 2450 9 discriminator 1 view .LVU1221
  7287. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7288. 3661 .loc 1 2450 9 discriminator 1 view .LVU1222
  7289. 3662 0612 B3F80424 ldrh r2, [r3, #1028]
  7290. 3663 0616 C2F30902 ubfx r2, r2, #0, #10
  7291. 3664 061a A3F80424 strh r2, [r3, #1028] @ movhi
  7292. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7293. 3665 .loc 1 2450 9 discriminator 1 view .LVU1223
  7294. 3666 061e 0A69 ldr r2, [r1, #16]
  7295. 3667 0620 3E2A cmp r2, #62
  7296. 3668 0622 31D9 bls .L144
  7297. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7298. 3669 .loc 1 2450 9 discriminator 3 view .LVU1224
  7299. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7300. 3670 .loc 1 2450 9 discriminator 3 view .LVU1225
  7301. 3671 0624 5109 lsrs r1, r2, #5
  7302. 3672 .LVL403:
  7303. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7304. 3673 .loc 1 2450 9 discriminator 3 view .LVU1226
  7305. 3674 0626 12F01F0F tst r2, #31
  7306. 3675 062a 00D1 bne .L145
  7307. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7308. 3676 .loc 1 2450 9 discriminator 5 view .LVU1227
  7309. ARM GAS /tmp/ccGUz1hM.s page 127
  7310. 3677 062c 0139 subs r1, r1, #1
  7311. 3678 .LVL404:
  7312. 3679 .L145:
  7313. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7314. 3680 .loc 1 2450 9 discriminator 7 view .LVU1228
  7315. 3681 062e B3F80424 ldrh r2, [r3, #1028]
  7316. 3682 0632 92B2 uxth r2, r2
  7317. 3683 0634 8902 lsls r1, r1, #10
  7318. 3684 .LVL405:
  7319. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7320. 3685 .loc 1 2450 9 is_stmt 0 discriminator 7 view .LVU1229
  7321. 3686 0636 89B2 uxth r1, r1
  7322. 3687 0638 0A43 orrs r2, r2, r1
  7323. 3688 063a 42F40042 orr r2, r2, #32768
  7324. 3689 063e A3F80424 strh r2, [r3, #1028] @ movhi
  7325. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7326. 3690 .loc 1 2450 9 is_stmt 1 discriminator 7 view .LVU1230
  7327. 3691 .LVL406:
  7328. 3692 .L143:
  7329. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7330. 3693 .loc 1 2450 9 is_stmt 0 discriminator 7 view .LVU1231
  7331. 3694 .LBE113:
  7332. 3695 .LBE112:
  7333. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7334. 3696 .loc 1 2450 9 is_stmt 1 discriminator 18 view .LVU1232
  7335. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7336. 3697 .loc 1 2450 9 discriminator 18 view .LVU1233
  7337. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7338. 3698 .loc 1 2450 9 discriminator 18 view .LVU1234
  7339. 3699 .LBB115:
  7340. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7341. 3700 .loc 1 2450 9 discriminator 18 view .LVU1235
  7342. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7343. 3701 .loc 1 2450 9 discriminator 18 view .LVU1236
  7344. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7345. 3702 .loc 1 2450 9 discriminator 18 view .LVU1237
  7346. 3703 0642 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
  7347. 3704 0644 002B cmp r3, #0
  7348. 3705 0646 51D1 bne .L148
  7349. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7350. 3706 .loc 1 2450 9 discriminator 19 view .LVU1238
  7351. 3707 .LBB116:
  7352. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7353. 3708 .loc 1 2450 9 discriminator 19 view .LVU1239
  7354. 3709 .LVL407:
  7355. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7356. 3710 .loc 1 2450 9 discriminator 19 view .LVU1240
  7357. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7358. 3711 .loc 1 2450 9 discriminator 19 view .LVU1241
  7359. 3712 0648 B5F85030 ldrh r3, [r5, #80]
  7360. 3713 064c 9BB2 uxth r3, r3
  7361. 3714 064e 2B44 add r3, r3, r5
  7362. 3715 .LVL408:
  7363. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7364. 3716 .loc 1 2450 9 discriminator 19 view .LVU1242
  7365. 3717 0650 2278 ldrb r2, [r4] @ zero_extendqisi2
  7366. 3718 0652 03EB0213 add r3, r3, r2, lsl #4
  7367. ARM GAS /tmp/ccGUz1hM.s page 128
  7368. 3719 .LVL409:
  7369. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7370. 3720 .loc 1 2450 9 discriminator 19 view .LVU1243
  7371. 3721 .LBB117:
  7372. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7373. 3722 .loc 1 2450 9 discriminator 19 view .LVU1244
  7374. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7375. 3723 .loc 1 2450 9 discriminator 19 view .LVU1245
  7376. 3724 0656 B3F80C24 ldrh r2, [r3, #1036]
  7377. 3725 065a C2F30902 ubfx r2, r2, #0, #10
  7378. 3726 065e A3F80C24 strh r2, [r3, #1036] @ movhi
  7379. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7380. 3727 .loc 1 2450 9 discriminator 19 view .LVU1246
  7381. 3728 0662 2269 ldr r2, [r4, #16]
  7382. 3729 0664 3E2A cmp r2, #62
  7383. 3730 0666 28D9 bls .L149
  7384. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7385. 3731 .loc 1 2450 9 discriminator 21 view .LVU1247
  7386. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7387. 3732 .loc 1 2450 9 discriminator 21 view .LVU1248
  7388. 3733 0668 5109 lsrs r1, r2, #5
  7389. 3734 .LVL410:
  7390. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7391. 3735 .loc 1 2450 9 discriminator 21 view .LVU1249
  7392. 3736 066a 12F01F0F tst r2, #31
  7393. 3737 066e 00D1 bne .L150
  7394. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7395. 3738 .loc 1 2450 9 discriminator 23 view .LVU1250
  7396. 3739 0670 0139 subs r1, r1, #1
  7397. 3740 .LVL411:
  7398. 3741 .L150:
  7399. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7400. 3742 .loc 1 2450 9 discriminator 25 view .LVU1251
  7401. 3743 0672 B3F80C24 ldrh r2, [r3, #1036]
  7402. 3744 0676 92B2 uxth r2, r2
  7403. 3745 0678 8902 lsls r1, r1, #10
  7404. 3746 .LVL412:
  7405. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7406. 3747 .loc 1 2450 9 is_stmt 0 discriminator 25 view .LVU1252
  7407. 3748 067a 89B2 uxth r1, r1
  7408. 3749 067c 0A43 orrs r2, r2, r1
  7409. 3750 067e 42F40042 orr r2, r2, #32768
  7410. 3751 0682 A3F80C24 strh r2, [r3, #1036] @ movhi
  7411. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7412. 3752 .loc 1 2450 9 is_stmt 1 discriminator 25 view .LVU1253
  7413. 3753 0686 33E0 b .L151
  7414. 3754 .LVL413:
  7415. 3755 .L144:
  7416. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7417. 3756 .loc 1 2450 9 is_stmt 0 discriminator 25 view .LVU1254
  7418. 3757 .LBE117:
  7419. 3758 .LBE116:
  7420. 3759 .LBE115:
  7421. 3760 .LBB120:
  7422. 3761 .LBB114:
  7423. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7424. 3762 .loc 1 2450 9 is_stmt 1 discriminator 4 view .LVU1255
  7425. ARM GAS /tmp/ccGUz1hM.s page 129
  7426. 3763 0688 4AB9 cbnz r2, .L146
  7427. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7428. 3764 .loc 1 2450 9 discriminator 9 view .LVU1256
  7429. 3765 068a B3F80424 ldrh r2, [r3, #1028]
  7430. 3766 068e 6FEA4242 mvn r2, r2, lsl #17
  7431. 3767 0692 6FEA5242 mvn r2, r2, lsr #17
  7432. 3768 0696 92B2 uxth r2, r2
  7433. 3769 0698 A3F80424 strh r2, [r3, #1028] @ movhi
  7434. 3770 069c D1E7 b .L143
  7435. 3771 .L146:
  7436. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7437. 3772 .loc 1 2450 9 discriminator 10 view .LVU1257
  7438. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7439. 3773 .loc 1 2450 9 discriminator 10 view .LVU1258
  7440. 3774 069e 5108 lsrs r1, r2, #1
  7441. 3775 .LVL414:
  7442. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7443. 3776 .loc 1 2450 9 discriminator 10 view .LVU1259
  7444. 3777 06a0 12F0010F tst r2, #1
  7445. 3778 06a4 00D0 beq .L147
  7446. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7447. 3779 .loc 1 2450 9 discriminator 12 view .LVU1260
  7448. 3780 06a6 0131 adds r1, r1, #1
  7449. 3781 .LVL415:
  7450. 3782 .L147:
  7451. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7452. 3783 .loc 1 2450 9 discriminator 14 view .LVU1261
  7453. 3784 06a8 B3F80424 ldrh r2, [r3, #1028]
  7454. 3785 06ac 90B2 uxth r0, r2
  7455. 3786 .LVL416:
  7456. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7457. 3787 .loc 1 2450 9 is_stmt 0 discriminator 14 view .LVU1262
  7458. 3788 06ae 8A02 lsls r2, r1, #10
  7459. 3789 06b0 92B2 uxth r2, r2
  7460. 3790 06b2 0243 orrs r2, r2, r0
  7461. 3791 06b4 A3F80424 strh r2, [r3, #1028] @ movhi
  7462. 3792 06b8 C3E7 b .L143
  7463. 3793 .LVL417:
  7464. 3794 .L149:
  7465. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7466. 3795 .loc 1 2450 9 discriminator 14 view .LVU1263
  7467. 3796 .LBE114:
  7468. 3797 .LBE120:
  7469. 3798 .LBB121:
  7470. 3799 .LBB119:
  7471. 3800 .LBB118:
  7472. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7473. 3801 .loc 1 2450 9 is_stmt 1 discriminator 22 view .LVU1264
  7474. 3802 06ba 4AB9 cbnz r2, .L152
  7475. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7476. 3803 .loc 1 2450 9 discriminator 27 view .LVU1265
  7477. 3804 06bc B3F80C24 ldrh r2, [r3, #1036]
  7478. 3805 06c0 6FEA4242 mvn r2, r2, lsl #17
  7479. 3806 06c4 6FEA5242 mvn r2, r2, lsr #17
  7480. 3807 06c8 92B2 uxth r2, r2
  7481. 3808 06ca A3F80C24 strh r2, [r3, #1036] @ movhi
  7482. 3809 06ce 0FE0 b .L151
  7483. ARM GAS /tmp/ccGUz1hM.s page 130
  7484. 3810 .L152:
  7485. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7486. 3811 .loc 1 2450 9 discriminator 28 view .LVU1266
  7487. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7488. 3812 .loc 1 2450 9 discriminator 28 view .LVU1267
  7489. 3813 06d0 5108 lsrs r1, r2, #1
  7490. 3814 .LVL418:
  7491. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7492. 3815 .loc 1 2450 9 discriminator 28 view .LVU1268
  7493. 3816 06d2 12F0010F tst r2, #1
  7494. 3817 06d6 00D0 beq .L153
  7495. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7496. 3818 .loc 1 2450 9 discriminator 30 view .LVU1269
  7497. 3819 06d8 0131 adds r1, r1, #1
  7498. 3820 .LVL419:
  7499. 3821 .L153:
  7500. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7501. 3822 .loc 1 2450 9 discriminator 32 view .LVU1270
  7502. 3823 06da B3F80C24 ldrh r2, [r3, #1036]
  7503. 3824 06de 90B2 uxth r0, r2
  7504. 3825 06e0 8A02 lsls r2, r1, #10
  7505. 3826 06e2 92B2 uxth r2, r2
  7506. 3827 06e4 0243 orrs r2, r2, r0
  7507. 3828 06e6 A3F80C24 strh r2, [r3, #1036] @ movhi
  7508. 3829 06ea 01E0 b .L151
  7509. 3830 .LVL420:
  7510. 3831 .L148:
  7511. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7512. 3832 .loc 1 2450 9 is_stmt 0 discriminator 32 view .LVU1271
  7513. 3833 .LBE118:
  7514. 3834 .LBE119:
  7515. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7516. 3835 .loc 1 2450 9 is_stmt 1 discriminator 20 view .LVU1272
  7517. 3836 06ec 012B cmp r3, #1
  7518. 3837 06ee 1DD0 beq .L177
  7519. 3838 .LVL421:
  7520. 3839 .L151:
  7521. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7522. 3840 .loc 1 2450 9 is_stmt 0 discriminator 20 view .LVU1273
  7523. 3841 .LBE121:
  7524. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7525. 3842 .loc 1 2450 9 is_stmt 1 discriminator 36 view .LVU1274
  7526. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7527. 3843 .loc 1 2450 9 discriminator 36 view .LVU1275
  7528. 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7529. 3844 .loc 1 2453 9 discriminator 36 view .LVU1276
  7530. 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7531. 3845 .loc 1 2453 15 is_stmt 0 discriminator 36 view .LVU1277
  7532. 3846 06f0 E369 ldr r3, [r4, #28]
  7533. 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7534. 3847 .loc 1 2453 12 discriminator 36 view .LVU1278
  7535. 3848 06f2 002B cmp r3, #0
  7536. 3849 06f4 3FF4B4AC beq .L139
  7537. 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7538. 3850 .loc 1 2456 11 is_stmt 1 view .LVU1279
  7539. 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7540. 3851 .loc 1 2456 20 is_stmt 0 view .LVU1280
  7541. ARM GAS /tmp/ccGUz1hM.s page 131
  7542. 3852 06f8 2278 ldrb r2, [r4] @ zero_extendqisi2
  7543. 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7544. 3853 .loc 1 2456 18 view .LVU1281
  7545. 3854 06fa 35F82210 ldrh r1, [r5, r2, lsl #2]
  7546. 3855 .LVL422:
  7547. 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
  7548. 3856 .loc 1 2459 11 is_stmt 1 view .LVU1282
  7549. 3857 06fe 44F24003 movw r3, #16448
  7550. 3858 0702 03EA0100 and r0, r3, r1
  7551. 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
  7552. 3859 .loc 1 2459 14 is_stmt 0 view .LVU1283
  7553. 3860 0706 8B43 bics r3, r3, r1
  7554. 3861 0708 02D0 beq .L154
  7555. 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
  7556. 3862 .loc 1 2459 88 discriminator 1 view .LVU1284
  7557. 3863 070a 0028 cmp r0, #0
  7558. 3864 070c 7FF4A8AC bne .L139
  7559. 3865 .L154:
  7560. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7561. 3866 .loc 1 2462 13 is_stmt 1 discriminator 1 view .LVU1285
  7562. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7563. 3867 .loc 1 2462 13 discriminator 1 view .LVU1286
  7564. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7565. 3868 .loc 1 2462 13 discriminator 1 view .LVU1287
  7566. 3869 .LBB122:
  7567. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7568. 3870 .loc 1 2462 13 discriminator 1 view .LVU1288
  7569. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7570. 3871 .loc 1 2462 13 discriminator 1 view .LVU1289
  7571. 3872 0710 35F82230 ldrh r3, [r5, r2, lsl #2]
  7572. 3873 0714 9BB2 uxth r3, r3
  7573. 3874 0716 23F4E043 bic r3, r3, #28672
  7574. 3875 071a 23F07003 bic r3, r3, #112
  7575. 3876 .LVL423:
  7576. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7577. 3877 .loc 1 2462 13 discriminator 1 view .LVU1290
  7578. 3878 071e 43F40043 orr r3, r3, #32768
  7579. 3879 .LVL424:
  7580. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7581. 3880 .loc 1 2462 13 is_stmt 0 discriminator 1 view .LVU1291
  7582. 3881 0722 43F0C003 orr r3, r3, #192
  7583. 3882 0726 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
  7584. 3883 .LBE122:
  7585. 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7586. 3884 .loc 1 2462 13 is_stmt 1 discriminator 1 view .LVU1292
  7587. 3885 072a 99E4 b .L139
  7588. 3886 .LVL425:
  7589. 3887 .L177:
  7590. 3888 .LBB123:
  7591. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7592. 3889 .loc 1 2450 9 discriminator 34 view .LVU1293
  7593. 3890 072c B5F85030 ldrh r3, [r5, #80]
  7594. 3891 0730 9BB2 uxth r3, r3
  7595. 3892 0732 2B44 add r3, r3, r5
  7596. 3893 .LVL426:
  7597. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7598. 3894 .loc 1 2450 9 discriminator 34 view .LVU1294
  7599. ARM GAS /tmp/ccGUz1hM.s page 132
  7600. 3895 0734 2278 ldrb r2, [r4] @ zero_extendqisi2
  7601. 3896 0736 03EB0213 add r3, r3, r2, lsl #4
  7602. 3897 .LVL427:
  7603. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7604. 3898 .loc 1 2450 9 discriminator 34 view .LVU1295
  7605. 3899 073a 228A ldrh r2, [r4, #16]
  7606. 3900 073c A3F80C24 strh r2, [r3, #1036] @ movhi
  7607. 3901 0740 D6E7 b .L151
  7608. 3902 .LVL428:
  7609. 3903 .L155:
  7610. 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7611. 3904 .loc 1 2450 9 is_stmt 0 discriminator 34 view .LVU1296
  7612. 3905 .LBE123:
  7613. 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
  7614. 3906 .loc 1 2477 11 is_stmt 1 view .LVU1297
  7615. 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7616. 3907 .loc 1 2478 11 view .LVU1298
  7617. 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7618. 3908 .loc 1 2478 24 is_stmt 0 view .LVU1299
  7619. 3909 0742 0023 movs r3, #0
  7620. 3910 0744 A361 str r3, [r4, #24]
  7621. 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
  7622. 3911 .loc 1 2477 15 view .LVU1300
  7623. 3912 0746 0B46 mov r3, r1
  7624. 3913 0748 17E7 b .L156
  7625. 3914 .LVL429:
  7626. 3915 .L158:
  7627. 3916 .LBB124:
  7628. 3917 .LBB106:
  7629. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7630. 3918 .loc 1 2480 9 is_stmt 1 discriminator 4 view .LVU1301
  7631. 3919 074a 4BB9 cbnz r3, .L160
  7632. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7633. 3920 .loc 1 2480 9 discriminator 9 view .LVU1302
  7634. 3921 074c B2F80414 ldrh r1, [r2, #1028]
  7635. 3922 0750 6FEA4141 mvn r1, r1, lsl #17
  7636. 3923 0754 6FEA5141 mvn r1, r1, lsr #17
  7637. 3924 0758 89B2 uxth r1, r1
  7638. 3925 075a A2F80414 strh r1, [r2, #1028] @ movhi
  7639. 3926 075e 2CE7 b .L157
  7640. 3927 .L160:
  7641. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7642. 3928 .loc 1 2480 9 discriminator 10 view .LVU1303
  7643. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7644. 3929 .loc 1 2480 9 discriminator 10 view .LVU1304
  7645. 3930 0760 5908 lsrs r1, r3, #1
  7646. 3931 .LVL430:
  7647. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7648. 3932 .loc 1 2480 9 discriminator 10 view .LVU1305
  7649. 3933 0762 13F0010F tst r3, #1
  7650. 3934 0766 00D0 beq .L161
  7651. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7652. 3935 .loc 1 2480 9 discriminator 12 view .LVU1306
  7653. 3936 0768 0131 adds r1, r1, #1
  7654. 3937 .LVL431:
  7655. 3938 .L161:
  7656. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7657. ARM GAS /tmp/ccGUz1hM.s page 133
  7658. 3939 .loc 1 2480 9 discriminator 14 view .LVU1307
  7659. 3940 076a B2F80404 ldrh r0, [r2, #1028]
  7660. 3941 .LVL432:
  7661. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7662. 3942 .loc 1 2480 9 is_stmt 0 discriminator 14 view .LVU1308
  7663. 3943 076e 80B2 uxth r0, r0
  7664. 3944 0770 8902 lsls r1, r1, #10
  7665. 3945 .LVL433:
  7666. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7667. 3946 .loc 1 2480 9 discriminator 14 view .LVU1309
  7668. 3947 0772 89B2 uxth r1, r1
  7669. 3948 0774 0143 orrs r1, r1, r0
  7670. 3949 0776 A2F80414 strh r1, [r2, #1028] @ movhi
  7671. 3950 077a 1EE7 b .L157
  7672. 3951 .LVL434:
  7673. 3952 .L163:
  7674. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7675. 3953 .loc 1 2480 9 discriminator 14 view .LVU1310
  7676. 3954 .LBE106:
  7677. 3955 .LBE124:
  7678. 3956 .LBB125:
  7679. 3957 .LBB111:
  7680. 3958 .LBB110:
  7681. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7682. 3959 .loc 1 2480 9 is_stmt 1 discriminator 22 view .LVU1311
  7683. 3960 077c 4BB9 cbnz r3, .L165
  7684. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7685. 3961 .loc 1 2480 9 discriminator 27 view .LVU1312
  7686. 3962 077e B2F80C34 ldrh r3, [r2, #1036]
  7687. 3963 .LVL435:
  7688. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7689. 3964 .loc 1 2480 9 is_stmt 0 discriminator 27 view .LVU1313
  7690. 3965 0782 6FEA4343 mvn r3, r3, lsl #17
  7691. 3966 0786 6FEA5343 mvn r3, r3, lsr #17
  7692. 3967 078a 9BB2 uxth r3, r3
  7693. 3968 078c A2F80C34 strh r3, [r2, #1036] @ movhi
  7694. 3969 0790 66E4 b .L139
  7695. 3970 .LVL436:
  7696. 3971 .L165:
  7697. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7698. 3972 .loc 1 2480 9 is_stmt 1 discriminator 28 view .LVU1314
  7699. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7700. 3973 .loc 1 2480 9 discriminator 28 view .LVU1315
  7701. 3974 0792 5908 lsrs r1, r3, #1
  7702. 3975 .LVL437:
  7703. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7704. 3976 .loc 1 2480 9 discriminator 28 view .LVU1316
  7705. 3977 0794 13F0010F tst r3, #1
  7706. 3978 0798 00D0 beq .L166
  7707. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7708. 3979 .loc 1 2480 9 discriminator 30 view .LVU1317
  7709. 3980 079a 0131 adds r1, r1, #1
  7710. 3981 .LVL438:
  7711. 3982 .L166:
  7712. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7713. 3983 .loc 1 2480 9 discriminator 32 view .LVU1318
  7714. 3984 079c B2F80C34 ldrh r3, [r2, #1036]
  7715. ARM GAS /tmp/ccGUz1hM.s page 134
  7716. 3985 .LVL439:
  7717. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7718. 3986 .loc 1 2480 9 is_stmt 0 discriminator 32 view .LVU1319
  7719. 3987 07a0 98B2 uxth r0, r3
  7720. 3988 07a2 8B02 lsls r3, r1, #10
  7721. 3989 07a4 9BB2 uxth r3, r3
  7722. 3990 07a6 0343 orrs r3, r3, r0
  7723. 3991 07a8 A2F80C34 strh r3, [r2, #1036] @ movhi
  7724. 3992 07ac 58E4 b .L139
  7725. 3993 .LVL440:
  7726. 3994 .L162:
  7727. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7728. 3995 .loc 1 2480 9 discriminator 32 view .LVU1320
  7729. 3996 .LBE110:
  7730. 3997 .LBE111:
  7731. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7732. 3998 .loc 1 2480 9 is_stmt 1 discriminator 20 view .LVU1321
  7733. 3999 07ae 012A cmp r2, #1
  7734. 4000 07b0 7FF456AC bne .L139
  7735. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7736. 4001 .loc 1 2480 9 discriminator 34 view .LVU1322
  7737. 4002 07b4 B5F85020 ldrh r2, [r5, #80]
  7738. 4003 07b8 92B2 uxth r2, r2
  7739. 4004 07ba 2A44 add r2, r2, r5
  7740. 4005 .LVL441:
  7741. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7742. 4006 .loc 1 2480 9 discriminator 34 view .LVU1323
  7743. 4007 07bc 2178 ldrb r1, [r4] @ zero_extendqisi2
  7744. 4008 07be 02EB0112 add r2, r2, r1, lsl #4
  7745. 4009 .LVL442:
  7746. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7747. 4010 .loc 1 2480 9 discriminator 34 view .LVU1324
  7748. 4011 07c2 9BB2 uxth r3, r3
  7749. 4012 .LVL443:
  7750. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7751. 4013 .loc 1 2480 9 is_stmt 0 discriminator 34 view .LVU1325
  7752. 4014 07c4 A2F80C34 strh r3, [r2, #1036] @ movhi
  7753. 4015 07c8 4AE4 b .L139
  7754. 4016 .LVL444:
  7755. 4017 .L167:
  7756. 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7757. 4018 .loc 1 2480 9 discriminator 34 view .LVU1326
  7758. 4019 .LBE125:
  7759. 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7760. 4020 .loc 1 2484 16 view .LVU1327
  7761. 4021 07ca 0120 movs r0, #1
  7762. 4022 .LVL445:
  7763. 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7764. 4023 .loc 1 2484 16 view .LVU1328
  7765. 4024 07cc 59E4 b .L133
  7766. 4025 .cfi_endproc
  7767. 4026 .LFE74:
  7768. 4028 .section .text.USB_ReadPMA,"ax",%progbits
  7769. 4029 .align 1
  7770. 4030 .global USB_ReadPMA
  7771. 4031 .syntax unified
  7772. 4032 .thumb
  7773. ARM GAS /tmp/ccGUz1hM.s page 135
  7774. 4033 .thumb_func
  7775. 4035 USB_ReadPMA:
  7776. 4036 .LVL446:
  7777. 4037 .LFB92:
  7778. 2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7779. 2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
  7780. 2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Copy data from packet memory area (PMA) to user memory buffer
  7781. 2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB peripheral instance register address.
  7782. 2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param pbUsrBuf pointer to user memory area.
  7783. 2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wPMABufAddr address into PMA.
  7784. 2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wNBytes no. of bytes to be copied.
  7785. 2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
  7786. 2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
  7787. 2852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void USB_ReadPMA(USB_TypeDef const *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes
  7788. 2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7789. 4038 .loc 1 2853 1 is_stmt 1 view -0
  7790. 4039 .cfi_startproc
  7791. 4040 @ args = 0, pretend = 0, frame = 0
  7792. 4041 @ frame_needed = 0, uses_anonymous_args = 0
  7793. 4042 @ link register save eliminated.
  7794. 4043 .loc 1 2853 1 is_stmt 0 view .LVU1330
  7795. 4044 0000 10B4 push {r4}
  7796. 4045 .LCFI8:
  7797. 4046 .cfi_def_cfa_offset 4
  7798. 4047 .cfi_offset 4, -4
  7799. 2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t n = (uint32_t)wNBytes >> 1;
  7800. 4048 .loc 1 2854 3 is_stmt 1 view .LVU1331
  7801. 4049 .loc 1 2854 34 is_stmt 0 view .LVU1332
  7802. 4050 0002 5C08 lsrs r4, r3, #1
  7803. 4051 .LVL447:
  7804. 2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t BaseAddr = (uint32_t)USBx;
  7805. 4052 .loc 1 2855 3 is_stmt 1 view .LVU1333
  7806. 2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count;
  7807. 4053 .loc 1 2856 3 view .LVU1334
  7808. 2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t RdVal;
  7809. 4054 .loc 1 2857 3 view .LVU1335
  7810. 2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint16_t *pdwVal;
  7811. 4055 .loc 1 2858 3 view .LVU1336
  7812. 2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pBuf = pbUsrBuf;
  7813. 4056 .loc 1 2859 3 view .LVU1337
  7814. 2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7815. 2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal = (__IO uint16_t *)(BaseAddr + 0x400U + ((uint32_t)wPMABufAddr * PMA_ACCESS));
  7816. 4057 .loc 1 2861 3 view .LVU1338
  7817. 4058 .loc 1 2861 48 is_stmt 0 view .LVU1339
  7818. 4059 0004 00EB4200 add r0, r0, r2, lsl #1
  7819. 4060 .LVL448:
  7820. 4061 .loc 1 2861 48 view .LVU1340
  7821. 4062 0008 00F58060 add r0, r0, #1024
  7822. 4063 .LVL449:
  7823. 2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7824. 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (count = n; count != 0U; count--)
  7825. 4064 .loc 1 2863 3 is_stmt 1 view .LVU1341
  7826. 4065 .loc 1 2863 3 is_stmt 0 view .LVU1342
  7827. 4066 000c 07E0 b .L179
  7828. 4067 .LVL450:
  7829. 4068 .L180:
  7830. 2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7831. ARM GAS /tmp/ccGUz1hM.s page 136
  7832. 2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** RdVal = *(__IO uint16_t *)pdwVal;
  7833. 4069 .loc 1 2865 5 is_stmt 1 discriminator 3 view .LVU1343
  7834. 4070 .loc 1 2865 13 is_stmt 0 discriminator 3 view .LVU1344
  7835. 4071 000e 30F8042B ldrh r2, [r0], #4
  7836. 4072 .LVL451:
  7837. 2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
  7838. 4073 .loc 1 2866 5 is_stmt 1 discriminator 3 view .LVU1345
  7839. 2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pBuf = (uint8_t)((RdVal >> 0) & 0xFFU);
  7840. 4074 .loc 1 2867 5 discriminator 3 view .LVU1346
  7841. 4075 .loc 1 2867 11 is_stmt 0 discriminator 3 view .LVU1347
  7842. 4076 0012 0A70 strb r2, [r1]
  7843. 2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
  7844. 4077 .loc 1 2868 5 is_stmt 1 discriminator 3 view .LVU1348
  7845. 4078 .LVL452:
  7846. 2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pBuf = (uint8_t)((RdVal >> 8) & 0xFFU);
  7847. 4079 .loc 1 2869 5 discriminator 3 view .LVU1349
  7848. 4080 .loc 1 2869 13 is_stmt 0 discriminator 3 view .LVU1350
  7849. 4081 0014 C2F30722 ubfx r2, r2, #8, #8
  7850. 4082 .LVL453:
  7851. 4083 .loc 1 2869 11 discriminator 3 view .LVU1351
  7852. 4084 0018 4A70 strb r2, [r1, #1]
  7853. 2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
  7854. 4085 .loc 1 2870 5 is_stmt 1 discriminator 3 view .LVU1352
  7855. 4086 .loc 1 2870 9 is_stmt 0 discriminator 3 view .LVU1353
  7856. 4087 001a 0231 adds r1, r1, #2
  7857. 4088 .LVL454:
  7858. 2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7859. 2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if PMA_ACCESS > 1U
  7860. 2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
  7861. 4089 .loc 1 2873 5 is_stmt 1 discriminator 3 view .LVU1354
  7862. 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7863. 4090 .loc 1 2863 32 discriminator 3 view .LVU1355
  7864. 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7865. 4091 .loc 1 2863 37 is_stmt 0 discriminator 3 view .LVU1356
  7866. 4092 001c 013C subs r4, r4, #1
  7867. 4093 .LVL455:
  7868. 4094 .L179:
  7869. 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7870. 4095 .loc 1 2863 19 is_stmt 1 discriminator 1 view .LVU1357
  7871. 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7872. 4096 .loc 1 2863 3 is_stmt 0 discriminator 1 view .LVU1358
  7873. 4097 001e 002C cmp r4, #0
  7874. 4098 0020 F5D1 bne .L180
  7875. 2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* PMA_ACCESS */
  7876. 2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7877. 2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
  7878. 2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((wNBytes % 2U) != 0U)
  7879. 4099 .loc 1 2877 3 is_stmt 1 view .LVU1359
  7880. 4100 .loc 1 2877 6 is_stmt 0 view .LVU1360
  7881. 4101 0022 13F0010F tst r3, #1
  7882. 4102 0026 01D0 beq .L178
  7883. 2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
  7884. 2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** RdVal = *pdwVal;
  7885. 4103 .loc 1 2879 5 is_stmt 1 view .LVU1361
  7886. 4104 .loc 1 2879 13 is_stmt 0 view .LVU1362
  7887. 4105 0028 0388 ldrh r3, [r0]
  7888. 4106 .LVL456:
  7889. ARM GAS /tmp/ccGUz1hM.s page 137
  7890. 2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pBuf = (uint8_t)((RdVal >> 0) & 0xFFU);
  7891. 4107 .loc 1 2880 5 is_stmt 1 view .LVU1363
  7892. 4108 .loc 1 2880 11 is_stmt 0 view .LVU1364
  7893. 4109 002a 0B70 strb r3, [r1]
  7894. 4110 .LVL457:
  7895. 4111 .L178:
  7896. 2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7897. 2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
  7898. 4112 .loc 1 2882 1 view .LVU1365
  7899. 4113 002c 10BC pop {r4}
  7900. 4114 .LCFI9:
  7901. 4115 .cfi_restore 4
  7902. 4116 .cfi_def_cfa_offset 0
  7903. 4117 .LVL458:
  7904. 4118 .loc 1 2882 1 view .LVU1366
  7905. 4119 002e 7047 bx lr
  7906. 4120 .cfi_endproc
  7907. 4121 .LFE92:
  7908. 4123 .text
  7909. 4124 .Letext0:
  7910. 4125 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  7911. 4126 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  7912. 4127 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  7913. 4128 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
  7914. 4129 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h"
  7915. ARM GAS /tmp/ccGUz1hM.s page 138
  7916. DEFINED SYMBOLS
  7917. *ABS*:0000000000000000 stm32f1xx_ll_usb.c
  7918. /tmp/ccGUz1hM.s:18 .text.USB_CoreInit:0000000000000000 $t
  7919. /tmp/ccGUz1hM.s:24 .text.USB_CoreInit:0000000000000000 USB_CoreInit
  7920. /tmp/ccGUz1hM.s:54 .text.USB_EnableGlobalInt:0000000000000000 $t
  7921. /tmp/ccGUz1hM.s:60 .text.USB_EnableGlobalInt:0000000000000000 USB_EnableGlobalInt
  7922. /tmp/ccGUz1hM.s:90 .text.USB_DisableGlobalInt:0000000000000000 $t
  7923. /tmp/ccGUz1hM.s:96 .text.USB_DisableGlobalInt:0000000000000000 USB_DisableGlobalInt
  7924. /tmp/ccGUz1hM.s:123 .text.USB_SetCurrentMode:0000000000000000 $t
  7925. /tmp/ccGUz1hM.s:129 .text.USB_SetCurrentMode:0000000000000000 USB_SetCurrentMode
  7926. /tmp/ccGUz1hM.s:149 .text.USB_DevInit:0000000000000000 $t
  7927. /tmp/ccGUz1hM.s:155 .text.USB_DevInit:0000000000000000 USB_DevInit
  7928. /tmp/ccGUz1hM.s:197 .text.USB_FlushTxFifo:0000000000000000 $t
  7929. /tmp/ccGUz1hM.s:203 .text.USB_FlushTxFifo:0000000000000000 USB_FlushTxFifo
  7930. /tmp/ccGUz1hM.s:223 .text.USB_FlushRxFifo:0000000000000000 $t
  7931. /tmp/ccGUz1hM.s:229 .text.USB_FlushRxFifo:0000000000000000 USB_FlushRxFifo
  7932. /tmp/ccGUz1hM.s:248 .text.USB_ActivateEndpoint:0000000000000000 $t
  7933. /tmp/ccGUz1hM.s:254 .text.USB_ActivateEndpoint:0000000000000000 USB_ActivateEndpoint
  7934. /tmp/ccGUz1hM.s:290 .text.USB_ActivateEndpoint:0000000000000022 $d
  7935. /tmp/ccGUz1hM.s:294 .text.USB_ActivateEndpoint:0000000000000026 $t
  7936. /tmp/ccGUz1hM.s:1054 .text.USB_DeactivateEndpoint:0000000000000000 $t
  7937. /tmp/ccGUz1hM.s:1060 .text.USB_DeactivateEndpoint:0000000000000000 USB_DeactivateEndpoint
  7938. /tmp/ccGUz1hM.s:1455 .text.USB_EPSetStall:0000000000000000 $t
  7939. /tmp/ccGUz1hM.s:1461 .text.USB_EPSetStall:0000000000000000 USB_EPSetStall
  7940. /tmp/ccGUz1hM.s:1534 .text.USB_EPClearStall:0000000000000000 $t
  7941. /tmp/ccGUz1hM.s:1540 .text.USB_EPClearStall:0000000000000000 USB_EPClearStall
  7942. /tmp/ccGUz1hM.s:1692 .text.USB_EPStopXfer:0000000000000000 $t
  7943. /tmp/ccGUz1hM.s:1698 .text.USB_EPStopXfer:0000000000000000 USB_EPStopXfer
  7944. /tmp/ccGUz1hM.s:1839 .text.USB_StopDevice:0000000000000000 $t
  7945. /tmp/ccGUz1hM.s:1845 .text.USB_StopDevice:0000000000000000 USB_StopDevice
  7946. /tmp/ccGUz1hM.s:1876 .text.USB_SetDevAddress:0000000000000000 $t
  7947. /tmp/ccGUz1hM.s:1882 .text.USB_SetDevAddress:0000000000000000 USB_SetDevAddress
  7948. /tmp/ccGUz1hM.s:1908 .text.USB_DevConnect:0000000000000000 $t
  7949. /tmp/ccGUz1hM.s:1914 .text.USB_DevConnect:0000000000000000 USB_DevConnect
  7950. /tmp/ccGUz1hM.s:1933 .text.USB_DevDisconnect:0000000000000000 $t
  7951. /tmp/ccGUz1hM.s:1939 .text.USB_DevDisconnect:0000000000000000 USB_DevDisconnect
  7952. /tmp/ccGUz1hM.s:1958 .text.USB_ReadInterrupts:0000000000000000 $t
  7953. /tmp/ccGUz1hM.s:1964 .text.USB_ReadInterrupts:0000000000000000 USB_ReadInterrupts
  7954. /tmp/ccGUz1hM.s:1987 .text.USB_ReadDevAllOutEpInterrupt:0000000000000000 $t
  7955. /tmp/ccGUz1hM.s:1993 .text.USB_ReadDevAllOutEpInterrupt:0000000000000000 USB_ReadDevAllOutEpInterrupt
  7956. /tmp/ccGUz1hM.s:2012 .text.USB_ReadDevAllInEpInterrupt:0000000000000000 $t
  7957. /tmp/ccGUz1hM.s:2018 .text.USB_ReadDevAllInEpInterrupt:0000000000000000 USB_ReadDevAllInEpInterrupt
  7958. /tmp/ccGUz1hM.s:2037 .text.USB_ReadDevOutEPInterrupt:0000000000000000 $t
  7959. /tmp/ccGUz1hM.s:2043 .text.USB_ReadDevOutEPInterrupt:0000000000000000 USB_ReadDevOutEPInterrupt
  7960. /tmp/ccGUz1hM.s:2063 .text.USB_ReadDevInEPInterrupt:0000000000000000 $t
  7961. /tmp/ccGUz1hM.s:2069 .text.USB_ReadDevInEPInterrupt:0000000000000000 USB_ReadDevInEPInterrupt
  7962. /tmp/ccGUz1hM.s:2089 .text.USB_ClearInterrupts:0000000000000000 $t
  7963. /tmp/ccGUz1hM.s:2095 .text.USB_ClearInterrupts:0000000000000000 USB_ClearInterrupts
  7964. /tmp/ccGUz1hM.s:2111 .text.USB_EP0_OutStart:0000000000000000 $t
  7965. /tmp/ccGUz1hM.s:2117 .text.USB_EP0_OutStart:0000000000000000 USB_EP0_OutStart
  7966. /tmp/ccGUz1hM.s:2137 .text.USB_ActivateRemoteWakeup:0000000000000000 $t
  7967. /tmp/ccGUz1hM.s:2143 .text.USB_ActivateRemoteWakeup:0000000000000000 USB_ActivateRemoteWakeup
  7968. /tmp/ccGUz1hM.s:2167 .text.USB_DeActivateRemoteWakeup:0000000000000000 $t
  7969. /tmp/ccGUz1hM.s:2173 .text.USB_DeActivateRemoteWakeup:0000000000000000 USB_DeActivateRemoteWakeup
  7970. /tmp/ccGUz1hM.s:2198 .text.USB_WritePMA:0000000000000000 $t
  7971. /tmp/ccGUz1hM.s:2204 .text.USB_WritePMA:0000000000000000 USB_WritePMA
  7972. /tmp/ccGUz1hM.s:2282 .text.USB_EPStartXfer:0000000000000000 $t
  7973. ARM GAS /tmp/ccGUz1hM.s page 139
  7974. /tmp/ccGUz1hM.s:2288 .text.USB_EPStartXfer:0000000000000000 USB_EPStartXfer
  7975. /tmp/ccGUz1hM.s:4029 .text.USB_ReadPMA:0000000000000000 $t
  7976. /tmp/ccGUz1hM.s:4035 .text.USB_ReadPMA:0000000000000000 USB_ReadPMA
  7977. NO UNDEFINED SYMBOLS