1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257 |
- ARM GAS /tmp/ccGUz1hM.s page 1
- 1 .cpu cortex-m3
- 2 .arch armv7-m
- 3 .fpu softvfp
- 4 .eabi_attribute 20, 1
- 5 .eabi_attribute 21, 1
- 6 .eabi_attribute 23, 3
- 7 .eabi_attribute 24, 1
- 8 .eabi_attribute 25, 1
- 9 .eabi_attribute 26, 1
- 10 .eabi_attribute 30, 1
- 11 .eabi_attribute 34, 1
- 12 .eabi_attribute 18, 4
- 13 .file "stm32f1xx_ll_usb.c"
- 14 .text
- 15 .Ltext0:
- 16 .cfi_sections .debug_frame
- 17 .section .text.USB_CoreInit,"ax",%progbits
- 18 .align 1
- 19 .global USB_CoreInit
- 20 .syntax unified
- 21 .thumb
- 22 .thumb_func
- 24 USB_CoreInit:
- 25 .LVL0:
- 26 .LFB65:
- 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @file stm32f1xx_ll_usb.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB Low Layer HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This file provides firmware functions to manage the following
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * functionalities of the USB Peripheral Controller:
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + Initialization/de-initialization functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + I/O operation functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + Peripheral Control functions
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * + Peripheral State functions
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @attention
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Copyright (c) 2016 STMicroelectronics.
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * All rights reserved.
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This software is licensed under terms that can be found in the LICENSE file
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * in the root directory of this software component.
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @verbatim
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ==============================================================================
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ##### How to use this driver #####
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ==============================================================================
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** [..]
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (#) Fill parameters of Init structure in USB_CfgTypeDef structure.
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 2
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (#) Call USB_CoreInit() API to initialize the USB Core peripheral.
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 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.
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @endverbatim
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ******************************************************************************
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Includes ------------------------------------------------------------------*/
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #include "stm32f1xx_hal.h"
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /** @addtogroup STM32F1xx_LL_USB_DRIVER
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @{
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (HAL_PCD_MODULE_ENABLED) || defined (HAL_HCD_MODULE_ENABLED)
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (USB) || defined (USB_OTG_FS)
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private typedef -----------------------------------------------------------*/
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private define ------------------------------------------------------------*/
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private macro -------------------------------------------------------------*/
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private variables ---------------------------------------------------------*/
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private function prototypes -----------------------------------------------*/
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Private functions ---------------------------------------------------------*/
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (USB_OTG_FS)
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx);
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Exported functions --------------------------------------------------------*/
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /** @defgroup USB_LL_Exported_Functions USB Low Layer Exported Functions
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @{
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /** @defgroup USB_LL_Exported_Functions_Group1 Initialization/de-initialization functions
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initialization and Configuration functions
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @verbatim
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ===============================================================================
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ##### Initialization/de-initialization functions #####
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ===============================================================================
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** @endverbatim
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @{
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initializes the USB Core
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB Instance
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_CoreInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret;
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Select FS Embedded PHY */
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= USB_OTG_GUSBCFG_PHYSEL;
- ARM GAS /tmp/ccGUz1hM.s page 3
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Reset after a PHY select */
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = USB_CoreReset(USBx);
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Activate the USB Transceiver */
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG |= USB_OTG_GCCFG_PWRDWN;
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Set the USB turnaround time
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB Instance
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hclk: AHB clock frequency
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB turnaround time In PHY Clocks number
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetTurnaroundTime(USB_OTG_GlobalTypeDef *USBx,
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t hclk, uint8_t speed)
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t UsbTrd;
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* The USBTRD is configured according to the tables below, depending on AHB frequency
- 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
- 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
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** latency to the Data FIFO */
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (speed == USBD_FS_SPEED)
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((hclk >= 14200000U) && (hclk < 15000000U))
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 14.2-15 MHz */
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xFU;
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 15000000U) && (hclk < 16000000U))
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 15-16 MHz */
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xEU;
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 16000000U) && (hclk < 17200000U))
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 16-17.2 MHz */
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xDU;
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 17200000U) && (hclk < 18500000U))
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 17.2-18.5 MHz */
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xCU;
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 18500000U) && (hclk < 20000000U))
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 18.5-20 MHz */
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xBU;
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 20000000U) && (hclk < 21800000U))
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 20-21.8 MHz */
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0xAU;
- ARM GAS /tmp/ccGUz1hM.s page 4
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 21800000U) && (hclk < 24000000U))
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 21.8-24 MHz */
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x9U;
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 24000000U) && (hclk < 27700000U))
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 24-27.7 MHz */
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x8U;
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if ((hclk >= 27700000U) && (hclk < 32000000U))
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 27.7-32 MHz */
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x7U;
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* if(hclk >= 32000000) */
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* hclk Clock Range between 32-200 MHz */
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = 0x6U;
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UsbTrd = USBD_DEFAULT_TRDT_VALUE;
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG &= ~USB_OTG_GUSBCFG_TRDT;
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= (uint32_t)((UsbTrd << 10) & USB_OTG_GUSBCFG_TRDT);
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EnableGlobalInt
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Enables the controller's Global Int in the AHB Config reg
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EnableGlobalInt(USB_OTG_GlobalTypeDef *USBx)
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GAHBCFG |= USB_OTG_GAHBCFG_GINT;
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DisableGlobalInt
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Disable the controller's Global Int in the AHB Config reg
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DisableGlobalInt(USB_OTG_GlobalTypeDef *USBx)
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GAHBCFG &= ~USB_OTG_GAHBCFG_GINT;
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 5
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetCurrentMode Set functional mode
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param mode current core mode
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_DEVICE_MODE Peripheral mode
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_HOST_MODE Host mode
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetCurrentMode(USB_OTG_GlobalTypeDef *USBx, USB_ModeTypeDef mode)
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t ms = 0U;
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG &= ~(USB_OTG_GUSBCFG_FHMOD | USB_OTG_GUSBCFG_FDMOD);
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (mode == USB_HOST_MODE)
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= USB_OTG_GUSBCFG_FHMOD;
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(1U);
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ms++;
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USB_GetMode(USBx) != (uint32_t)USB_HOST_MODE) && (ms < 50U));
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if (mode == USB_DEVICE_MODE)
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GUSBCFG |= USB_OTG_GUSBCFG_FDMOD;
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(1U);
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ms++;
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USB_GetMode(USBx) != (uint32_t)USB_DEVICE_MODE) && (ms < 50U));
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ms == 50U)
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevInit Initializes the USB_OTG controller registers
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * for device mode
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
- ARM GAS /tmp/ccGUz1hM.s page 6
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < 15U; i++)
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->DIEPTXF[i] = 0U;
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable HW VBUS sensing */
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG |= USB_OTG_GCCFG_VBUSBSEN;
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Restart the Phy Clock */
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL = 0U;
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set Core speed to Full speed mode */
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_SetDevSpeed(USBx, USB_OTG_SPEED_FULL);
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush the FIFOs */
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushRxFifo(USBx) != HAL_OK)
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear all pending Device Interrupts */
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPMSK = 0U;
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DOEPMSK = 0U;
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK = 0U;
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < cfg.dev_endpoints; i++)
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (i == 0U)
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK;
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK;
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPCTL = 0U;
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPTSIZ = 0U;
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPINT = 0xFB7FU;
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 7
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < cfg.dev_endpoints; i++)
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(i)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (i == 0U)
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPCTL = USB_OTG_DOEPCTL_SNAK;
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPCTL = USB_OTG_DOEPCTL_EPDIS | USB_OTG_DOEPCTL_SNAK;
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPCTL = 0U;
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPTSIZ = 0U;
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPINT = 0xFB7FU;
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPMSK &= ~(USB_OTG_DIEPMSK_TXFURM);
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Disable all interrupts. */
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK = 0U;
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear any pending interrupts */
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS = 0xBFFFFFFFU;
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the common interrupts */
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_RXFLVLM;
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable interrupts matching to the Device mode ONLY */
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_USBSUSPM | USB_OTG_GINTMSK_USBRST |
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_ENUMDNEM | USB_OTG_GINTMSK_IEPINT |
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_OEPINT | USB_OTG_GINTMSK_IISOIXFRM |
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_PXFRM_IISOOXFRM | USB_OTG_GINTMSK_WUIM;
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (cfg.Sof_enable != 0U)
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_SOFM;
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (cfg.vbus_sensing_enable == 1U)
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= (USB_OTG_GINTMSK_SRQIM | USB_OTG_GINTMSK_OTGINT);
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushTxFifo Flush a Tx FIFO
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param num FIFO number
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
- ARM GAS /tmp/ccGUz1hM.s page 8
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** 15 means Flush all Tx FIFOs
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num)
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Wait for AHB master IDLE state. */
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U);
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush TX Fifo */
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count = 0U;
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRSTCTL = (USB_OTG_GRSTCTL_TXFFLSH | (num << 6));
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_TXFFLSH) == USB_OTG_GRSTCTL_TXFFLSH);
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushRxFifo Flush Rx FIFO
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushRxFifo(USB_OTG_GlobalTypeDef *USBx)
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Wait for AHB master IDLE state. */
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U);
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush RX Fifo */
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count = 0U;
- ARM GAS /tmp/ccGUz1hM.s page 9
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRSTCTL = USB_OTG_GRSTCTL_RXFFLSH;
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_RXFFLSH) == USB_OTG_GRSTCTL_RXFFLSH);
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetDevSpeed Initializes the DevSpd field of DCFG register
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * depending the PHY type and the enumeration speed of the device.
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param speed device speed
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_OTG_SPEED_FULL: Full speed mode
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Hal status
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetDevSpeed(USB_OTG_GlobalTypeDef *USBx, uint8_t speed)
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCFG |= speed;
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_GetDevSpeed Return the Dev Speed
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval speed device speed
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USBD_FS_SPEED: Full speed mode
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t USB_GetDevSpeed(USB_OTG_GlobalTypeDef *USBx)
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t speed;
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t DevEnumSpeed = USBx_DEVICE->DSTS & USB_OTG_DSTS_ENUMSPD;
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((DevEnumSpeed == DSTS_ENUMSPD_FS_PHY_30MHZ_OR_60MHZ) ||
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (DevEnumSpeed == DSTS_ENUMSPD_FS_PHY_48MHZ))
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** speed = USBD_FS_SPEED;
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** speed = 0xFU;
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return speed;
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 10
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate and configure an endpoint
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 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));
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U)
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) |
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) | (epnum << 22) |
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_USBAEP;
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 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)) <<
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(epnum)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0U)
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) |
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) |
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_USBAEP;
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate and configure a dedicated endpoint
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Read DEPCTLn register */
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U)
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) |
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) | (epnum << 22) |
- ARM GAS /tmp/ccGUz1hM.s page 11
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_USBAEP;
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 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));
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(epnum)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0U)
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) |
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)ep->type << 18) | (epnum << 22) |
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_USBAEP;
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 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)) <<
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief De-activate and de-initialize an endpoint
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeactivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Read DEPCTLn register */
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK;
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS;
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 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)));
- 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)));
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_USBAEP |
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_MPSIZ |
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_TXFNUM |
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_SD0PID_SEVNFRM |
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DIEPCTL_EPTYP);
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK;
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_EPDIS;
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 12
- 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))
- 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))
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~(USB_OTG_DOEPCTL_USBAEP |
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_MPSIZ |
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_SD0PID_SEVNFRM |
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_DOEPCTL_EPTYP);
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief De-activate and de-initialize a dedicated endpoint
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeactivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *e
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Read DEPCTLn register */
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK;
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS;
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~ USB_OTG_DIEPCTL_USBAEP;
- 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)));
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK;
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_EPDIS;
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~USB_OTG_DOEPCTL_USBAEP;
- 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))
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStartXfer : setup and starts a transfer over an EP
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- ARM GAS /tmp/ccGUz1hM.s page 13
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t pktcnt;
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Zero Length Packet? */
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len == 0U)
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT);
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19));
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ);
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Program the transfer size and packet count
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * as follows: xfersize = N * maxpacket +
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * short_packet pktcnt = N + (short_packet
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * exist ? 1 : 0)
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ);
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT);
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (epnum == 0U)
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = ep->maxpacket;
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19));
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT &
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket) << 19
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len);
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_ISOC)
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_MULCNT);
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_MULCNT & (1U << 29));
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* EP enable, IN data in FIFO */
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= (USB_OTG_DIEPCTL_CNAK | USB_OTG_DIEPCTL_EPENA);
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the Tx FIFO Empty Interrupt for this EP */
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > 0U)
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPEMPMSK |= 1UL << (ep->num & EP_ADDR_MSK);
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 14
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U)
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SODDFRM;
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM;
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_WritePacket(USBx, ep->xfer_buff, ep->num, (uint16_t)ep->xfer_len);
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Program the transfer size and packet count as follows:
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * pktcnt = N
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * xfersize = N * maxpacket
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_XFRSIZ);
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_PKTCNT);
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (epnum == 0U)
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > 0U)
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = ep->maxpacket;
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Store transfer size, for EP0 this is equal to endpoint max packet size */
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_size = ep->maxpacket;
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size);
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19));
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len == 0U)
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket);
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19));
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket);
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_size = ep->maxpacket * pktcnt;
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_PKTCNT & ((uint32_t)pktcnt << 19);
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size;
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_ISOC)
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U)
- ARM GAS /tmp/ccGUz1hM.s page 15
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SODDFRM;
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SD0PID_SEVNFRM;
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* EP enable */
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= (USB_OTG_DOEPCTL_CNAK | USB_OTG_DOEPCTL_EPENA);
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStoptXfer Stop transfer on an EP
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx usb device instance
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStopXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* EP enable, IN data in FIFO */
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_SNAK);
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_EPDIS);
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 10000U)
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA);
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_SNAK);
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_EPDIS);
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- ARM GAS /tmp/ccGUz1hM.s page 16
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 10000U)
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA);
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_WritePacket : Writes a packet into the Tx FIFO associated
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * with the EP/channel
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param src pointer to source buffer
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ch_ep_num endpoint or host channel number
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param len Number of bytes to write
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_WritePacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *src,
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t ch_ep_num, uint16_t len)
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pSrc = src;
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count32b;
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count32b = ((uint32_t)len + 3U) / 4U;
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < count32b; i++)
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DFIFO((uint32_t)ch_ep_num) = __UNALIGNED_UINT32_READ(pSrc);
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pSrc++;
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadPacket : read a packet from the RX FIFO
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param dest source pointer
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param len Number of bytes to read
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval pointer to destination buffer
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len)
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pDest = dest;
- ARM GAS /tmp/ccGUz1hM.s page 17
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t pData;
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count32b = (uint32_t)len >> 2U;
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t remaining_bytes = len % 4U;
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < count32b; i++)
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __UNALIGNED_UINT32_WRITE(pDest, USBx_DFIFO(0U));
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* When Number of data is not word aligned, read the remaining byte */
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (remaining_bytes != 0U)
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** i = 0U;
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __UNALIGNED_UINT32_WRITE(&pData, USBx_DFIFO(0U));
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *(uint8_t *)pDest = (uint8_t)(pData >> (8U * (uint8_t)(i)));
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** i++;
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pDest++;
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** remaining_bytes--;
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while (remaining_bytes != 0U);
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((void *)pDest);
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPSetStall : set a stall condition over an EP
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPSetStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == 0U) && (epnum != 0U))
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_EPDIS);
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_STALL;
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == 0U) && (epnum != 0U))
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~(USB_OTG_DOEPCTL_EPDIS);
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 18
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_STALL;
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPClearStall : Clear a stall condition over an EP
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPClearStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep)
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t epnum = (uint32_t)ep->num;
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL;
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_BULK))
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM; /* DATA0 */
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL;
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_BULK))
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SD0PID_SEVNFRM; /* DATA0 */
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_StopDevice : Stop the usb device mode
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_StopDevice(USB_OTG_GlobalTypeDef *USBx)
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret;
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear Pending interrupt */
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < 15U; i++)
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(i)->DIEPINT = 0xFB7FU;
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(i)->DOEPINT = 0xFB7FU;
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear interrupt masks */
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DIEPMSK = 0U;
- 1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DOEPMSK = 0U;
- ARM GAS /tmp/ccGUz1hM.s page 19
- 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DAINTMSK = 0U;
- 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush the FIFO */
- 1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = USB_FlushRxFifo(USBx);
- 1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ret != HAL_OK)
- 1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = USB_FlushTxFifo(USBx, 0x10U);
- 1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ret != HAL_OK)
- 1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetDevAddress : Stop the usb device mode
- 1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param address new device address to be assigned
- 1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 255
- 1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t address)
- 1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCFG &= ~(USB_OTG_DCFG_DAD);
- 1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCFG |= ((uint32_t)address << 4) & USB_OTG_DCFG_DAD;
- 1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevConnect : Connect the USB device by enabling Rpu
- 1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevConnect(USB_OTG_GlobalTypeDef *USBx)
- 1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* In case phy is stopped, ensure to ungate and restore the phy CLK */
- 1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL &= ~(USB_OTG_PCGCCTL_STOPCLK | USB_OTG_PCGCCTL_GATECLK);
- 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_SDIS;
- 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevDisconnect : Disconnect the USB device by disabling Rpu
- 1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- ARM GAS /tmp/ccGUz1hM.s page 20
- 1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevDisconnect(USB_OTG_GlobalTypeDef *USBx)
- 1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* In case phy is stopped, ensure to ungate and restore the phy CLK */
- 1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL &= ~(USB_OTG_PCGCCTL_STOPCLK | USB_OTG_PCGCCTL_GATECLK);
- 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL |= USB_OTG_DCTL_SDIS;
- 1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadInterrupts: return the global USB interrupt status
- 1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Global Interrupt status
- 1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef const *USBx)
- 1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx->GINTSTS;
- 1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx->GINTMSK;
- 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
- 1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadChInterrupts: return USB channel interrupt status
- 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param chnum Channel number
- 1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Channel Interrupt status
- 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadChInterrupts(USB_OTG_GlobalTypeDef *USBx, uint8_t chnum)
- 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_HC(chnum)->HCINT;
- 1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_HC(chnum)->HCINTMSK;
- 1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
- 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllOutEpInterrupt: return the USB device OUT endpoints interrupt status
- 1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Device OUT EP interrupt status
- 1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllOutEpInterrupt(USB_OTG_GlobalTypeDef *USBx)
- 1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_DEVICE->DAINT;
- 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_DEVICE->DAINTMSK;
- 1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 21
- 1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((tmpreg & 0xffff0000U) >> 16);
- 1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllInEpInterrupt: return the USB device IN endpoints interrupt status
- 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Device IN EP interrupt status
- 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllInEpInterrupt(USB_OTG_GlobalTypeDef *USBx)
- 1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_DEVICE->DAINT;
- 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_DEVICE->DAINTMSK;
- 1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((tmpreg & 0xFFFFU));
- 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device OUT EP Interrupt register
- 1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
- 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
- 1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device OUT EP Interrupt register
- 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevOutEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum)
- 1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_OUTEP((uint32_t)epnum)->DOEPINT;
- 1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= USBx_DEVICE->DOEPMSK;
- 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
- 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device IN EP Interrupt register
- 1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
- 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
- 1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device IN EP Interrupt register
- 1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevInEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum)
- 1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t msk;
- 1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t emp;
- 1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** msk = USBx_DEVICE->DIEPMSK;
- 1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** emp = USBx_DEVICE->DIEPEMPMSK;
- 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** msk |= ((emp >> (epnum & EP_ADDR_MSK)) & 0x1U) << 7;
- 1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_INEP((uint32_t)epnum)->DIEPINT & msk;
- 1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
- ARM GAS /tmp/ccGUz1hM.s page 22
- 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ClearInterrupts: clear a USB interrupt
- 1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param interrupt flag
- 1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
- 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void USB_ClearInterrupts(USB_OTG_GlobalTypeDef *USBx, uint32_t interrupt)
- 1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS &= interrupt;
- 1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns USB core mode
- 1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval return core mode : Host or Device
- 1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 0 : Host
- 1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 1 : Device
- 1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_GetMode(USB_OTG_GlobalTypeDef *USBx)
- 1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((USBx->GINTSTS) & 0x1U);
- 1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate EP0 for Setup transactions
- 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateSetup(USB_OTG_GlobalTypeDef *USBx)
- 1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the MPS of the IN EP0 to 64 bytes */
- 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_INEP(0U)->DIEPCTL &= ~USB_OTG_DIEPCTL_MPSIZ;
- 1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL |= USB_OTG_DCTL_CGINAK;
- 1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Prepare the EP0 to start the first control setup
- 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param psetup pointer to setup packet
- 1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EP0_OutStart(USB_OTG_GlobalTypeDef *USBx, uint8_t *psetup)
- 1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t gSNPSiD = *(__IO uint32_t *)(&USBx->CID + 0x1U);
- 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(psetup);
- 1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (gSNPSiD > USB_OTG_CORE_ID_300A)
- 1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- ARM GAS /tmp/ccGUz1hM.s page 23
- 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_OUTEP(0U)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA)
- 1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ = 0U;
- 1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19));
- 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ |= (3U * 8U);
- 1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_OUTEP(0U)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_STUPCNT;
- 1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Reset the USB Core (needed after USB clock settings change)
- 1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx)
- 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
- 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Wait for AHB master IDLE state. */
- 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
- 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
- 1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U);
- 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Core Soft Reset */
- 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count = 0U;
- 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST;
- 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 200000U)
- 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_TIMEOUT;
- 1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST);
- 1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_HostInit : Initializes the USB OTG controller registers
- 1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * for Host mode
- 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains
- 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
- ARM GAS /tmp/ccGUz1hM.s page 24
- 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg)
- 1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
- 1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
- 1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Restart the Phy Clock */
- 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_PCGCCTL = 0U;
- 1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Disable VBUS sensing */
- 1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_VBUSASEN);
- 1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_VBUSBSEN);
- 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set default Max speed support */
- 1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HCFG &= ~(USB_OTG_HCFG_FSLSS);
- 1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Make sure the FIFOs are flushed. */
- 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */
- 1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushRxFifo(USBx) != HAL_OK)
- 1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear all pending HC Interrupts */
- 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i < cfg.Host_channels; i++)
- 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCINT = CLEAR_INTERRUPT_MASK;
- 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCINTMSK = 0U;
- 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Disable all interrupts. */
- 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK = 0U;
- 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear any pending interrupts */
- 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS = CLEAR_INTERRUPT_MASK;
- 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* set Rx FIFO size */
- 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GRXFSIZ = 0x80U;
- 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->DIEPTXF0_HNPTXFSIZ = (uint32_t)(((0x60U << 16) & USB_OTG_NPTXFD) | 0x80U);
- 1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->HPTXFSIZ = (uint32_t)(((0x40U << 16)& USB_OTG_HPTXFSIZ_PTXFD) | 0xE0U);
- 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the common interrupts */
- 1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_RXFLVLM;
- 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable interrupts matching to the Host mode ONLY */
- 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= (USB_OTG_GINTMSK_PRTIM | USB_OTG_GINTMSK_HCIM | \
- 1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_SOFM | USB_OTG_GINTSTS_DISCINT | \
- 1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_GINTMSK_PXFRM_IISOOXFRM | USB_OTG_GINTMSK_WUIM);
- 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- ARM GAS /tmp/ccGUz1hM.s page 25
- 1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_InitFSLSPClkSel : Initializes the FSLSPClkSel field of the
- 1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * HCFG register on the PHY type and set the right frame interval
- 1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param freq clock frequency
- 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * HCFG_48_MHZ : Full Speed 48 MHz Clock
- 1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * HCFG_6_MHZ : Low Speed 6 MHz Clock
- 1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_InitFSLSPClkSel(USB_OTG_GlobalTypeDef *USBx, uint8_t freq)
- 1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HCFG &= ~(USB_OTG_HCFG_FSLSPCS);
- 1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HCFG |= (uint32_t)freq & USB_OTG_HCFG_FSLSPCS;
- 1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (freq == HCFG_48_MHZ)
- 1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HFIR = HFIR_48_MHZ;
- 1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if (freq == HCFG_6_MHZ)
- 1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HFIR = HFIR_6_MHZ;
- 1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
- 1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_OTG_ResetPort : Reset Host Port
- 1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @note (1)The application must wait at least 10 ms
- 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * before clearing the reset bit.
- 1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ResetPort(USB_OTG_GlobalTypeDef *USBx)
- 1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t hprt0 = 0U;
- 1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 = USBx_HPRT0;
- 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET |
- 1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HPRT_PENCHNG | USB_OTG_HPRT_POCCHNG);
- 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0);
- 1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(100U); /* See Note #1 */
- 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0);
- 1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_Delay(10U);
- 1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 26
- 1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DriveVbus : activate or de-activate vbus
- 1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param state VBUS state
- 1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 0 : Deactivate VBUS
- 1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * 1 : Activate VBUS
- 1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DriveVbus(USB_OTG_GlobalTypeDef *USBx, uint8_t state)
- 1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t hprt0 = 0U;
- 1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 = USBx_HPRT0;
- 1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET |
- 1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HPRT_PENCHNG | USB_OTG_HPRT_POCCHNG);
- 1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U))
- 1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0);
- 1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (((hprt0 & USB_OTG_HPRT_PPWR) == USB_OTG_HPRT_PPWR) && (state == 0U))
- 1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HPRT0 = ((~USB_OTG_HPRT_PPWR) & hprt0);
- 1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Return Host Core speed
- 1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval speed : Host speed
- 1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg HCD_SPEED_FULL: Full speed mode
- 1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg HCD_SPEED_LOW: Low speed mode
- 1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef const *USBx)
- 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t hprt0 = 0U;
- 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hprt0 = USBx_HPRT0;
- 1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((hprt0 & USB_OTG_HPRT_PSPD) >> 17);
- 1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Return Host Current Frame number
- 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval current frame number
- 1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef const *USBx)
- 1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (USBx_HOST->HFNUM & USB_OTG_HFNUM_FRNUM);
- ARM GAS /tmp/ccGUz1hM.s page 27
- 1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initialize a host channel
- 1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ch_num Channel number
- 1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
- 1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum Endpoint number
- 1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
- 1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param dev_address Current device address
- 1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 255
- 1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param speed Current device speed
- 1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_OTG_SPEED_FULL: Full speed mode
- 1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_OTG_SPEED_LOW: Low speed mode
- 1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep_type Endpoint Type
- 1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of these values:
- 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_CTRL: Control type
- 1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_ISOC: Isochronous type
- 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_BULK: Bulk type
- 1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg EP_TYPE_INTR: Interrupt type
- 1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param mps Max Packet Size
- 1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 32K
- 1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
- 1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num,
- 1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t epnum, uint8_t dev_address, uint8_t speed,
- 1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t ep_type, uint16_t mps)
- 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
- 1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HCcharEpDir;
- 1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HCcharLowSpeed;
- 1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HostCoreSpeed;
- 1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear old interrupt conditions for this host channel. */
- 1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINT = CLEAR_INTERRUPT_MASK;
- 1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable channel interrupts required for this transfer. */
- 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** switch (ep_type)
- 1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_CTRL:
- 1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_BULK:
- 1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK = USB_OTG_HCINTMSK_XFRCM |
- 1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_STALLM |
- 1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_TXERRM |
- 1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_DTERRM |
- 1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_AHBERR |
- 1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_NAKM;
- 1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
- 1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_BBERRM;
- 1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_INTR:
- ARM GAS /tmp/ccGUz1hM.s page 28
- 1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK = USB_OTG_HCINTMSK_XFRCM |
- 1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_STALLM |
- 1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_TXERRM |
- 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_DTERRM |
- 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_NAKM |
- 1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_AHBERR |
- 1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_FRMORM;
- 1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
- 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_BBERRM;
- 1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_ISOC:
- 1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK = USB_OTG_HCINTMSK_XFRCM |
- 1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_ACKM |
- 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_AHBERR |
- 1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCINTMSK_FRMORM;
- 1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
- 1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 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);
- 1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** default:
- 1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable host channel Halt interrupt */
- 1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_CHHM;
- 1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Enable the top level host channel interrupt. */
- 1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HAINTMSK |= 1UL << (ch_num & 0xFU);
- 1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Make sure host channel interrupts are enabled. */
- 1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_HCIM;
- 1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Program the HCCHAR register */
- 1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((epnum & 0x80U) == 0x80U)
- 1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharEpDir = (0x1U << 15) & USB_OTG_HCCHAR_EPDIR;
- 1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharEpDir = 0U;
- 1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HostCoreSpeed = USB_GetHostSpeed(USBx);
- 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* LS device plugged to HUB */
- 1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((speed == HPRT0_PRTSPD_LOW_SPEED) && (HostCoreSpeed != HPRT0_PRTSPD_LOW_SPEED))
- 1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharLowSpeed = (0x1U << 17) & USB_OTG_HCCHAR_LSDEV;
- ARM GAS /tmp/ccGUz1hM.s page 29
- 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HCcharLowSpeed = 0U;
- 1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 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) |
- 1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((((uint32_t)epnum & 0x7FU) << 11) & USB_OTG_HCCHAR_EPNUM) |
- 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((uint32_t)ep_type << 18) & USB_OTG_HCCHAR_EPTYP) |
- 1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((uint32_t)mps & USB_OTG_HCCHAR_MPSIZ) |
- 1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCCHAR_MC_0 | HCcharEpDir | HCcharLowSpeed;
- 1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((ep_type == EP_TYPE_INTR) || (ep_type == EP_TYPE_ISOC))
- 1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC((uint32_t)ch_num)->HCCHAR |= USB_OTG_HCCHAR_ODDFRM;
- 1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Start a transfer over a host channel
- 1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hc pointer to host channel structure
- 1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
- 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HC_StartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_HCTypeDef *hc)
- 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t ch_num = (uint32_t)hc->ch_num;
- 1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t tmpreg;
- 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t is_oddframe;
- 1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t len_words;
- 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t num_packets;
- 1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t max_hc_pkt_count = HC_MAX_PKT_CNT;
- 1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Compute the expected number of packets associated to the transfer */
- 1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (hc->xfer_len > 0U)
- 1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** num_packets = (uint16_t)((hc->xfer_len + hc->max_packet - 1U) / hc->max_packet);
- 1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (num_packets > max_hc_pkt_count)
- 1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** num_packets = max_hc_pkt_count;
- 1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hc->XferSize = (uint32_t)num_packets * hc->max_packet;
- 1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** num_packets = 1U;
- 1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*
- 1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * For IN channel HCTSIZ.XferSize is expected to be an integer multiple of
- 1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * max_packet size.
- 1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (hc->ep_is_in != 0U)
- ARM GAS /tmp/ccGUz1hM.s page 30
- 1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hc->XferSize = (uint32_t)num_packets * hc->max_packet;
- 1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** hc->XferSize = hc->xfer_len;
- 1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Initialize the HCTSIZn register */
- 1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCTSIZ = (hc->XferSize & USB_OTG_HCTSIZ_XFRSIZ) |
- 1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((uint32_t)num_packets << 19) & USB_OTG_HCTSIZ_PKTCNT) |
- 1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((uint32_t)hc->data_pid << 29) & USB_OTG_HCTSIZ_DPID);
- 1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** is_oddframe = (((uint32_t)USBx_HOST->HFNUM & 0x01U) != 0U) ? 0U : 1U;
- 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCCHAR &= ~USB_OTG_HCCHAR_ODDFRM;
- 1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCCHAR |= (uint32_t)is_oddframe << 29;
- 1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set host channel enable */
- 1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_HC(ch_num)->HCCHAR;
- 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
- 1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* make sure to set the correct ep direction */
- 1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (hc->ep_is_in != 0U)
- 1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg |= USB_OTG_HCCHAR_EPDIR;
- 1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= ~USB_OTG_HCCHAR_EPDIR;
- 1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg |= USB_OTG_HCCHAR_CHENA;
- 1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(ch_num)->HCCHAR = tmpreg;
- 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((hc->ep_is_in == 0U) && (hc->xfer_len > 0U))
- 1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** switch (hc->ep_type)
- 1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Non periodic transfer */
- 1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_CTRL:
- 1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_BULK:
- 1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len_words = (uint16_t)((hc->xfer_len + 3U) / 4U);
- 1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* check if there is enough space in FIFO space */
- 1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (len_words > (USBx->HNPTXSTS & 0xFFFFU))
- 1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* need to process data in nptxfempty interrupt */
- 1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_NPTXFEM;
- 1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Periodic transfer */
- 1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_INTR:
- 1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_ISOC:
- 1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len_words = (uint16_t)((hc->xfer_len + 3U) / 4U);
- 1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* check if there is enough space in FIFO space */
- 1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (len_words > (USBx_HOST->HPTXSTS & 0xFFFFU)) /* split the transfer */
- ARM GAS /tmp/ccGUz1hM.s page 31
- 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* need to process data in ptxfempty interrupt */
- 1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_PTXFEM;
- 1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** default:
- 1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write packet into the Tx FIFO. */
- 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);
- 1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Read all host channel interrupts status
- 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
- 1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_HC_ReadInterrupt(USB_OTG_GlobalTypeDef *USBx)
- 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ((USBx_HOST->HAINT) & 0xFFFFU);
- 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Halt a host channel
- 1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hc_num Host Channel number
- 1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
- 1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
- 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_HC_Halt(USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num)
- 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t hcnum = (uint32_t)hc_num;
- 1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
- 1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t HcEpType = (USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_EPTYP) >> 18;
- 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t ChannelEna = (USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) >> 31;
- 1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t SplitEna = (USBx_HC(hcnum)->HCSPLT & USB_OTG_HCSPLT_SPLITEN) >> 31;
- 1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* In buffer DMA, Channel disable must not be programmed for non-split periodic channels.
- 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
- 1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** and disables the channel automatically. */
- 1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((((USBx->GAHBCFG & USB_OTG_GAHBCFG_DMAEN) == USB_OTG_GAHBCFG_DMAEN) && (SplitEna == 0U)) &&
- 1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ((ChannelEna == 0U) || (((HcEpType == HCCHAR_ISOC) || (HcEpType == HCCHAR_INTR)))))
- 1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Check for space in the request queue to issue the halt. */
- 1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((HcEpType == HCCHAR_CTRL) || (HcEpType == HCCHAR_BULK))
- ARM GAS /tmp/ccGUz1hM.s page 32
- 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHDIS;
- 1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx->GAHBCFG & USB_OTG_GAHBCFG_DMAEN) == 0U)
- 1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx->HNPTXSTS & (0xFFU << 16)) == 0U)
- 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_CHENA;
- 1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
- 1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 1000U)
- 1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) == USB_OTG_HCCHAR_CHENA);
- 1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
- 1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
- 1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHDIS;
- 1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_HOST->HPTXSTS & (0xFFU << 16)) == 0U)
- 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_CHENA;
- 1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
- 1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 1000U)
- 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) == USB_OTG_HCCHAR_CHENA);
- 1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA;
- 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- ARM GAS /tmp/ccGUz1hM.s page 33
- 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initiate Do Ping protocol
- 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param hc_num Host Channel number
- 1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
- 1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
- 1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DoPing(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num)
- 1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t chnum = (uint32_t)ch_num;
- 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t num_packets = 1U;
- 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(chnum)->HCTSIZ = ((num_packets << 19) & USB_OTG_HCTSIZ_PKTCNT) |
- 1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_OTG_HCTSIZ_DOPING;
- 1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set host channel enable */
- 1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx_HC(chnum)->HCCHAR;
- 1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg &= ~USB_OTG_HCCHAR_CHDIS;
- 1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg |= USB_OTG_HCCHAR_CHENA;
- 1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(chnum)->HCCHAR = tmpreg;
- 1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Stop Host Core
- 1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL state
- 1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_StopHost(USB_OTG_GlobalTypeDef *USBx)
- 1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
- 1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint32_t count = 0U;
- 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t value;
- 1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t i;
- 1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_DisableGlobalInt(USBx);
- 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush USB FIFO */
- 1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */
- 1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (USB_FlushRxFifo(USBx) != HAL_OK)
- 1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Flush out any leftover queued requests. */
- 1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i <= 15U; i++)
- 1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value = USBx_HC(i)->HCCHAR;
- 1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value |= USB_OTG_HCCHAR_CHDIS;
- 1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value &= ~USB_OTG_HCCHAR_CHENA;
- ARM GAS /tmp/ccGUz1hM.s page 34
- 1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value &= ~USB_OTG_HCCHAR_EPDIR;
- 1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCCHAR = value;
- 1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Halt all channels to put them into a known state. */
- 1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (i = 0U; i <= 15U; i++)
- 1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value = USBx_HC(i)->HCCHAR;
- 1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value |= USB_OTG_HCCHAR_CHDIS;
- 1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value |= USB_OTG_HCCHAR_CHENA;
- 1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** value &= ~USB_OTG_HCCHAR_EPDIR;
- 1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HC(i)->HCCHAR = value;
- 1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** do
- 1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** count++;
- 1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (count > 1000U)
- 1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** } while ((USBx_HC(i)->HCCHAR & USB_OTG_HCCHAR_CHENA) == USB_OTG_HCCHAR_CHENA);
- 1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear any pending Host interrupts */
- 1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_HOST->HAINT = CLEAR_INTERRUPT_MASK;
- 1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->GINTSTS = CLEAR_INTERRUPT_MASK;
- 1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (void)USB_EnableGlobalInt(USBx);
- 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ActivateRemoteWakeup active remote wakeup signalling
- 1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateRemoteWakeup(USB_OTG_GlobalTypeDef *USBx)
- 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((USBx_DEVICE->DSTS & USB_OTG_DSTS_SUSPSTS) == USB_OTG_DSTS_SUSPSTS)
- 1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* active Remote wakeup signalling */
- 1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL |= USB_OTG_DCTL_RWUSIG;
- 1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DeActivateRemoteWakeup de-active remote wakeup signalling
- 1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeActivateRemoteWakeup(USB_OTG_GlobalTypeDef *USBx)
- ARM GAS /tmp/ccGUz1hM.s page 35
- 1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USBx_BASE = (uint32_t)USBx;
- 1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* active Remote wakeup signalling */
- 1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx_DEVICE->DCTL &= ~(USB_OTG_DCTL_RWUSIG);
- 1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* defined (USB_OTG_FS) */
- 1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (USB)
- 1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Initializes the USB Core
- 1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB Instance
- 1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_CfgTypeDef structure that contains
- 1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
- 1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_CoreInit(USB_TypeDef *USBx, USB_CfgTypeDef cfg)
- 1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 28 .loc 1 1932 1 view -0
- 29 .cfi_startproc
- 30 @ args = 36, pretend = 16, frame = 0
- 31 @ frame_needed = 0, uses_anonymous_args = 0
- 32 @ link register save eliminated.
- 33 .loc 1 1932 1 is_stmt 0 view .LVU1
- 34 0000 84B0 sub sp, sp, #16
- 35 .LCFI0:
- 36 .cfi_def_cfa_offset 16
- 37 0002 01A8 add r0, sp, #4
- 38 0004 80E80E00 stm r0, {r1, r2, r3}
- 1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 39 .loc 1 1934 3 is_stmt 1 view .LVU2
- 1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(cfg);
- 40 .loc 1 1935 3 view .LVU3
- 1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 41 .loc 1 1942 3 view .LVU4
- 1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 42 .loc 1 1943 1 is_stmt 0 view .LVU5
- 43 0008 0020 movs r0, #0
- 44 .LVL1:
- 45 .loc 1 1943 1 view .LVU6
- 46 000a 04B0 add sp, sp, #16
- 47 .LCFI1:
- 48 .cfi_def_cfa_offset 0
- 49 000c 7047 bx lr
- 50 .cfi_endproc
- 51 .LFE65:
- 53 .section .text.USB_EnableGlobalInt,"ax",%progbits
- 54 .align 1
- ARM GAS /tmp/ccGUz1hM.s page 36
- 55 .global USB_EnableGlobalInt
- 56 .syntax unified
- 57 .thumb
- 58 .thumb_func
- 60 USB_EnableGlobalInt:
- 61 .LVL2:
- 62 .LFB66:
- 1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EnableGlobalInt
- 1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Enables the controller's Global Int in the AHB Config reg
- 1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EnableGlobalInt(USB_TypeDef *USBx)
- 1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 63 .loc 1 1952 1 is_stmt 1 view -0
- 64 .cfi_startproc
- 65 @ args = 0, pretend = 0, frame = 0
- 66 @ frame_needed = 0, uses_anonymous_args = 0
- 67 @ link register save eliminated.
- 68 .loc 1 1952 1 is_stmt 0 view .LVU8
- 69 0000 0346 mov r3, r0
- 1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t winterruptmask;
- 70 .loc 1 1953 3 is_stmt 1 view .LVU9
- 1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear pending interrupts */
- 1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->ISTR = 0U;
- 71 .loc 1 1956 3 view .LVU10
- 72 .loc 1 1956 14 is_stmt 0 view .LVU11
- 73 0002 0020 movs r0, #0
- 74 .LVL3:
- 75 .loc 1 1956 14 view .LVU12
- 76 0004 A3F84400 strh r0, [r3, #68] @ movhi
- 1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set winterruptmask variable */
- 1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** winterruptmask = USB_CNTR_CTRM | USB_CNTR_WKUPM |
- 77 .loc 1 1959 3 is_stmt 1 view .LVU13
- 78 .LVL4:
- 1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SUSPM | USB_CNTR_ERRM |
- 1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SOFM | USB_CNTR_ESOFM |
- 1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_RESETM;
- 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set interrupt mask */
- 1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)winterruptmask;
- 79 .loc 1 1965 3 view .LVU14
- 80 .loc 1 1965 14 is_stmt 0 view .LVU15
- 81 0008 4FF43F42 mov r2, #48896
- 82 000c A3F84020 strh r2, [r3, #64] @ movhi
- 1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 83 .loc 1 1967 3 is_stmt 1 view .LVU16
- 1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 84 .loc 1 1968 1 is_stmt 0 view .LVU17
- 85 0010 7047 bx lr
- 86 .cfi_endproc
- 87 .LFE66:
- ARM GAS /tmp/ccGUz1hM.s page 37
- 89 .section .text.USB_DisableGlobalInt,"ax",%progbits
- 90 .align 1
- 91 .global USB_DisableGlobalInt
- 92 .syntax unified
- 93 .thumb
- 94 .thumb_func
- 96 USB_DisableGlobalInt:
- 97 .LVL5:
- 98 .LFB67:
- 1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DisableGlobalInt
- 1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * Disable the controller's Global Int in the AHB Config reg
- 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DisableGlobalInt(USB_TypeDef *USBx)
- 1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 99 .loc 1 1977 1 is_stmt 1 view -0
- 100 .cfi_startproc
- 101 @ args = 0, pretend = 0, frame = 0
- 102 @ frame_needed = 0, uses_anonymous_args = 0
- 103 @ link register save eliminated.
- 1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t winterruptmask;
- 104 .loc 1 1978 3 view .LVU19
- 1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set winterruptmask variable */
- 1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** winterruptmask = USB_CNTR_CTRM | USB_CNTR_WKUPM |
- 105 .loc 1 1981 3 view .LVU20
- 1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SUSPM | USB_CNTR_ERRM |
- 1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_SOFM | USB_CNTR_ESOFM |
- 1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_CNTR_RESETM;
- 1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear interrupt mask */
- 1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR &= (uint16_t)(~winterruptmask);
- 106 .loc 1 1987 3 view .LVU21
- 107 .loc 1 1987 14 is_stmt 0 view .LVU22
- 108 0000 B0F84030 ldrh r3, [r0, #64]
- 109 0004 23F47C53 bic r3, r3, #16128
- 110 0008 5B04 lsls r3, r3, #17
- 111 000a 5B0C lsrs r3, r3, #17
- 112 000c A0F84030 strh r3, [r0, #64] @ movhi
- 1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 113 .loc 1 1989 3 is_stmt 1 view .LVU23
- 1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 114 .loc 1 1990 1 is_stmt 0 view .LVU24
- 115 0010 0020 movs r0, #0
- 116 .LVL6:
- 117 .loc 1 1990 1 view .LVU25
- 118 0012 7047 bx lr
- 119 .cfi_endproc
- 120 .LFE67:
- 122 .section .text.USB_SetCurrentMode,"ax",%progbits
- 123 .align 1
- 124 .global USB_SetCurrentMode
- 125 .syntax unified
- ARM GAS /tmp/ccGUz1hM.s page 38
- 126 .thumb
- 127 .thumb_func
- 129 USB_SetCurrentMode:
- 130 .LVL7:
- 131 .LFB68:
- 1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetCurrentMode Set functional mode
- 1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param mode current core mode
- 1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be one of the these values:
- 1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @arg USB_DEVICE_MODE Peripheral mode
- 1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetCurrentMode(USB_TypeDef *USBx, USB_ModeTypeDef mode)
- 2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 132 .loc 1 2001 1 is_stmt 1 view -0
- 133 .cfi_startproc
- 134 @ args = 0, pretend = 0, frame = 0
- 135 @ frame_needed = 0, uses_anonymous_args = 0
- 136 @ link register save eliminated.
- 2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 137 .loc 1 2003 3 view .LVU27
- 2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(mode);
- 138 .loc 1 2004 3 view .LVU28
- 2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 139 .loc 1 2010 3 view .LVU29
- 2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 140 .loc 1 2011 1 is_stmt 0 view .LVU30
- 141 0000 0020 movs r0, #0
- 142 .LVL8:
- 143 .loc 1 2011 1 view .LVU31
- 144 0002 7047 bx lr
- 145 .cfi_endproc
- 146 .LFE68:
- 148 .section .text.USB_DevInit,"ax",%progbits
- 149 .align 1
- 150 .global USB_DevInit
- 151 .syntax unified
- 152 .thumb
- 153 .thumb_func
- 155 USB_DevInit:
- 156 .LVL9:
- 157 .LFB69:
- 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevInit Initializes the USB controller registers
- 2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * for device mode
- 2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param cfg pointer to a USB_CfgTypeDef structure that contains
- 2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * the configuration information for the specified USBx peripheral.
- ARM GAS /tmp/ccGUz1hM.s page 39
- 2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevInit(USB_TypeDef *USBx, USB_CfgTypeDef cfg)
- 2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 158 .loc 1 2022 1 is_stmt 1 view -0
- 159 .cfi_startproc
- 160 @ args = 36, pretend = 16, frame = 0
- 161 @ frame_needed = 0, uses_anonymous_args = 0
- 162 @ link register save eliminated.
- 163 .loc 1 2022 1 is_stmt 0 view .LVU33
- 164 0000 84B0 sub sp, sp, #16
- 165 .LCFI2:
- 166 .cfi_def_cfa_offset 16
- 167 0002 8446 mov ip, r0
- 168 0004 01A8 add r0, sp, #4
- 169 0006 80E80E00 stm r0, {r1, r2, r3}
- 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(cfg);
- 170 .loc 1 2024 3 is_stmt 1 view .LVU34
- 2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Init Device */
- 2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* CNTR_FRES = 1 */
- 2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)USB_CNTR_FRES;
- 171 .loc 1 2028 3 view .LVU35
- 172 .loc 1 2028 14 is_stmt 0 view .LVU36
- 173 000a 0123 movs r3, #1
- 174 000c ACF84030 strh r3, [ip, #64] @ movhi
- 2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* CNTR_FRES = 0 */
- 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = 0U;
- 175 .loc 1 2031 3 is_stmt 1 view .LVU37
- 176 .loc 1 2031 14 is_stmt 0 view .LVU38
- 177 0010 0020 movs r0, #0
- 178 .LVL10:
- 179 .loc 1 2031 14 view .LVU39
- 180 0012 ACF84000 strh r0, [ip, #64] @ movhi
- 2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear pending interrupts */
- 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->ISTR = 0U;
- 181 .loc 1 2034 3 is_stmt 1 view .LVU40
- 182 .loc 1 2034 14 is_stmt 0 view .LVU41
- 183 0016 ACF84400 strh r0, [ip, #68] @ movhi
- 2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Set Btable Address*/
- 2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->BTABLE = BTABLE_ADDRESS;
- 184 .loc 1 2037 3 is_stmt 1 view .LVU42
- 185 .loc 1 2037 16 is_stmt 0 view .LVU43
- 186 001a ACF85000 strh r0, [ip, #80] @ movhi
- 2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 187 .loc 1 2039 3 is_stmt 1 view .LVU44
- 2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 188 .loc 1 2040 1 is_stmt 0 view .LVU45
- 189 001e 04B0 add sp, sp, #16
- 190 .LCFI3:
- 191 .cfi_def_cfa_offset 0
- 192 0020 7047 bx lr
- ARM GAS /tmp/ccGUz1hM.s page 40
- 193 .cfi_endproc
- 194 .LFE69:
- 196 .section .text.USB_FlushTxFifo,"ax",%progbits
- 197 .align 1
- 198 .global USB_FlushTxFifo
- 199 .syntax unified
- 200 .thumb
- 201 .thumb_func
- 203 USB_FlushTxFifo:
- 204 .LVL11:
- 205 .LFB70:
- 2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushTxFifo : Flush a Tx FIFO
- 2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx : Selected device
- 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param num : FIFO number
- 2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 1 to 15
- 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** 15 means Flush all Tx FIFOs
- 2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef const *USBx, uint32_t num)
- 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 206 .loc 1 2051 1 is_stmt 1 view -0
- 207 .cfi_startproc
- 208 @ args = 0, pretend = 0, frame = 0
- 209 @ frame_needed = 0, uses_anonymous_args = 0
- 210 @ link register save eliminated.
- 2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 211 .loc 1 2053 3 view .LVU47
- 2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(num);
- 212 .loc 1 2054 3 view .LVU48
- 2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 213 .loc 1 2061 3 view .LVU49
- 2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 214 .loc 1 2062 1 is_stmt 0 view .LVU50
- 215 0000 0020 movs r0, #0
- 216 .LVL12:
- 217 .loc 1 2062 1 view .LVU51
- 218 0002 7047 bx lr
- 219 .cfi_endproc
- 220 .LFE70:
- 222 .section .text.USB_FlushRxFifo,"ax",%progbits
- 223 .align 1
- 224 .global USB_FlushRxFifo
- 225 .syntax unified
- 226 .thumb
- 227 .thumb_func
- 229 USB_FlushRxFifo:
- 230 .LVL13:
- 231 .LFB71:
- ARM GAS /tmp/ccGUz1hM.s page 41
- 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_FlushRxFifo : Flush Rx FIFO
- 2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx : Selected device
- 2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef const *USBx)
- 2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 232 .loc 1 2070 1 is_stmt 1 view -0
- 233 .cfi_startproc
- 234 @ args = 0, pretend = 0, frame = 0
- 235 @ frame_needed = 0, uses_anonymous_args = 0
- 236 @ link register save eliminated.
- 2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 237 .loc 1 2072 3 view .LVU53
- 2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 238 .loc 1 2079 3 view .LVU54
- 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 239 .loc 1 2080 1 is_stmt 0 view .LVU55
- 240 0000 0020 movs r0, #0
- 241 .LVL14:
- 242 .loc 1 2080 1 view .LVU56
- 243 0002 7047 bx lr
- 244 .cfi_endproc
- 245 .LFE71:
- 247 .section .text.USB_ActivateEndpoint,"ax",%progbits
- 248 .align 1
- 249 .global USB_ActivateEndpoint
- 250 .syntax unified
- 251 .thumb
- 252 .thumb_func
- 254 USB_ActivateEndpoint:
- 255 .LVL15:
- 256 .LFB72:
- 2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if defined (HAL_PCD_MODULE_ENABLED)
- 2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Activate and configure an endpoint
- 2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep)
- 2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 257 .loc 1 2091 1 is_stmt 1 view -0
- 258 .cfi_startproc
- 259 @ args = 0, pretend = 0, frame = 0
- 260 @ frame_needed = 0, uses_anonymous_args = 0
- 261 .loc 1 2091 1 is_stmt 0 view .LVU58
- ARM GAS /tmp/ccGUz1hM.s page 42
- 262 0000 10B5 push {r4, lr}
- 263 .LCFI4:
- 264 .cfi_def_cfa_offset 8
- 265 .cfi_offset 4, -8
- 266 .cfi_offset 14, -4
- 267 0002 0346 mov r3, r0
- 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef ret = HAL_OK;
- 268 .loc 1 2092 3 is_stmt 1 view .LVU59
- 269 .LVL16:
- 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEpRegVal;
- 270 .loc 1 2093 3 view .LVU60
- 2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal = PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_T_MASK;
- 271 .loc 1 2095 3 view .LVU61
- 272 .loc 1 2095 15 is_stmt 0 view .LVU62
- 273 0004 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
- 274 0008 30F82C20 ldrh r2, [r0, ip, lsl #2]
- 275 000c 92B2 uxth r2, r2
- 276 .loc 1 2095 13 view .LVU63
- 277 000e 22F4EC42 bic r2, r2, #30208
- 278 0012 22F07002 bic r2, r2, #112
- 279 0016 92B2 uxth r2, r2
- 280 .LVL17:
- 2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* initialize Endpoint */
- 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** switch (ep->type)
- 281 .loc 1 2098 3 is_stmt 1 view .LVU64
- 282 .loc 1 2098 13 is_stmt 0 view .LVU65
- 283 0018 C878 ldrb r0, [r1, #3] @ zero_extendqisi2
- 284 .LVL18:
- 285 .loc 1 2098 3 view .LVU66
- 286 001a 0328 cmp r0, #3
- 287 001c 61D8 bhi .L38
- 288 001e DFE800F0 tbb [pc, r0]
- 289 .L13:
- 290 0022 55 .byte (.L16-.L13)/2
- 291 0023 5C .byte (.L15-.L13)/2
- 292 0024 02 .byte (.L14-.L13)/2
- 293 0025 58 .byte (.L12-.L13)/2
- 294 .p2align 1
- 295 .L14:
- 296 0026 0020 movs r0, #0
- 297 .L11:
- 298 .LVL19:
- 2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_CTRL:
- 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_CONTROL;
- 2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_BULK:
- 2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_BULK;
- 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_INTR:
- 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_INTERRUPT;
- 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 43
- 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** case EP_TYPE_ISOC:
- 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEpRegVal |= USB_EP_ISOCHRONOUS;
- 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** default:
- 2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ret = HAL_ERROR;
- 2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 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));
- 299 .loc 1 2121 3 is_stmt 1 view .LVU67
- 300 0028 48F2800E movw lr, #32896
- 301 002c 42EA0E02 orr r2, r2, lr
- 302 .LVL20:
- 303 .loc 1 2121 3 is_stmt 0 view .LVU68
- 304 0030 23F82C20 strh r2, [r3, ip, lsl #2] @ movhi
- 2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_ADDRESS(USBx, ep->num, ep->num);
- 305 .loc 1 2123 3 is_stmt 1 view .LVU69
- 306 .LBB2:
- 307 .loc 1 2123 3 view .LVU70
- 308 .loc 1 2123 3 view .LVU71
- 309 0034 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
- 310 0038 33F82C20 ldrh r2, [r3, ip, lsl #2]
- 311 003c 92B2 uxth r2, r2
- 312 003e 22F4E042 bic r2, r2, #28672
- 313 0042 22F07002 bic r2, r2, #112
- 314 0046 4CEA0202 orr r2, ip, r2
- 315 .LVL21:
- 316 .loc 1 2123 3 view .LVU72
- 317 004a 42EA0E02 orr r2, r2, lr
- 318 .LVL22:
- 319 .loc 1 2123 3 is_stmt 0 view .LVU73
- 320 004e 23F82C20 strh r2, [r3, ip, lsl #2] @ movhi
- 321 .LBE2:
- 322 .loc 1 2123 3 is_stmt 1 view .LVU74
- 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 323 .loc 1 2125 3 view .LVU75
- 324 .loc 1 2125 9 is_stmt 0 view .LVU76
- 325 0052 0A7B ldrb r2, [r1, #12] @ zero_extendqisi2
- 326 .loc 1 2125 6 view .LVU77
- 327 0054 002A cmp r2, #0
- 328 0056 40F0DC80 bne .L17
- 2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
- 329 .loc 1 2127 5 is_stmt 1 view .LVU78
- 330 .loc 1 2127 11 is_stmt 0 view .LVU79
- 331 005a 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
- 332 .loc 1 2127 8 view .LVU80
- 333 005c 002A cmp r2, #0
- 334 005e 51D0 beq .L18
- 2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Set the endpoint Transmit buffer address */
- 2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_ADDRESS(USBx, ep->num, ep->pmaadress);
- 335 .loc 1 2130 7 is_stmt 1 view .LVU81
- 336 .LBB3:
- ARM GAS /tmp/ccGUz1hM.s page 44
- 337 .loc 1 2130 7 view .LVU82
- 338 .loc 1 2130 7 view .LVU83
- 339 .LVL23:
- 340 .loc 1 2130 7 view .LVU84
- 341 0060 B3F85020 ldrh r2, [r3, #80]
- 342 0064 92B2 uxth r2, r2
- 343 0066 1A44 add r2, r2, r3
- 344 .LVL24:
- 345 .loc 1 2130 7 view .LVU85
- 346 0068 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 347 006a 02EB0412 add r2, r2, r4, lsl #4
- 348 .LVL25:
- 349 .loc 1 2130 7 view .LVU86
- 350 006e B1F806C0 ldrh ip, [r1, #6]
- 351 .loc 1 2130 7 is_stmt 0 view .LVU87
- 352 0072 4FEA5C0C lsr ip, ip, #1
- 353 0076 4FEA4C0C lsl ip, ip, #1
- 354 007a A2F800C4 strh ip, [r2, #1024] @ movhi
- 355 .LBE3:
- 356 .loc 1 2130 7 is_stmt 1 view .LVU88
- 2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 357 .loc 1 2131 7 view .LVU89
- 358 .LBB4:
- 359 .loc 1 2131 7 view .LVU90
- 360 .loc 1 2131 7 view .LVU91
- 361 007e 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 362 0080 33F82420 ldrh r2, [r3, r4, lsl #2]
- 363 .LVL26:
- 364 .loc 1 2131 7 view .LVU92
- 365 0084 12F0400F tst r2, #64
- 366 0088 0CD0 beq .L19
- 367 .loc 1 2131 7 discriminator 1 view .LVU93
- 368 .LBB5:
- 369 .loc 1 2131 7 discriminator 1 view .LVU94
- 370 .loc 1 2131 7 discriminator 1 view .LVU95
- 371 008a 33F82420 ldrh r2, [r3, r4, lsl #2]
- 372 .LVL27:
- 373 .loc 1 2131 7 is_stmt 0 discriminator 1 view .LVU96
- 374 008e 92B2 uxth r2, r2
- 375 0090 22F4E042 bic r2, r2, #28672
- 376 0094 22F07002 bic r2, r2, #112
- 377 .LVL28:
- 378 .loc 1 2131 7 is_stmt 1 discriminator 1 view .LVU97
- 379 0098 42F40042 orr r2, r2, #32768
- 380 .LVL29:
- 381 .loc 1 2131 7 is_stmt 0 discriminator 1 view .LVU98
- 382 009c 42F0C002 orr r2, r2, #192
- 383 00a0 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 384 .L19:
- 385 .loc 1 2131 7 discriminator 1 view .LVU99
- 386 .LBE5:
- 387 .loc 1 2131 7 is_stmt 1 discriminator 3 view .LVU100
- 388 .LBE4:
- 389 .loc 1 2131 7 discriminator 3 view .LVU101
- 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
- 390 .loc 1 2133 7 discriminator 3 view .LVU102
- ARM GAS /tmp/ccGUz1hM.s page 45
- 391 .loc 1 2133 13 is_stmt 0 discriminator 3 view .LVU103
- 392 00a4 CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
- 393 .loc 1 2133 10 discriminator 3 view .LVU104
- 394 00a6 012A cmp r2, #1
- 395 00a8 1DD0 beq .L20
- 2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
- 2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
- 396 .loc 1 2136 9 is_stmt 1 view .LVU105
- 397 .LBB6:
- 398 .loc 1 2136 9 view .LVU106
- 399 .loc 1 2136 9 view .LVU107
- 400 00aa 0978 ldrb r1, [r1] @ zero_extendqisi2
- 401 .LVL30:
- 402 .loc 1 2136 9 is_stmt 0 view .LVU108
- 403 00ac 33F82120 ldrh r2, [r3, r1, lsl #2]
- 404 00b0 92B2 uxth r2, r2
- 405 00b2 22F4E042 bic r2, r2, #28672
- 406 00b6 22F04002 bic r2, r2, #64
- 407 .LVL31:
- 408 .loc 1 2136 9 is_stmt 1 view .LVU109
- 409 .loc 1 2136 9 view .LVU110
- 410 .loc 1 2136 9 view .LVU111
- 411 00ba 82F02002 eor r2, r2, #32
- 412 .LVL32:
- 413 .loc 1 2136 9 view .LVU112
- 414 00be 42F40042 orr r2, r2, #32768
- 415 .LVL33:
- 416 .loc 1 2136 9 is_stmt 0 view .LVU113
- 417 00c2 42F08002 orr r2, r2, #128
- 418 00c6 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
- 419 .LBE6:
- 420 .loc 1 2136 9 is_stmt 1 view .LVU114
- 421 00ca 17E1 b .L21
- 422 .LVL34:
- 423 .L16:
- 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 424 .loc 1 2101 7 view .LVU115
- 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 425 .loc 1 2101 17 is_stmt 0 view .LVU116
- 426 00cc 42F40072 orr r2, r2, #512
- 427 .LVL35:
- 2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 428 .loc 1 2102 7 is_stmt 1 view .LVU117
- 429 00d0 AAE7 b .L11
- 430 .L12:
- 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 431 .loc 1 2109 7 view .LVU118
- 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 432 .loc 1 2109 17 is_stmt 0 view .LVU119
- 433 00d2 42F4C062 orr r2, r2, #1536
- 434 .LVL36:
- 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 435 .loc 1 2110 7 is_stmt 1 view .LVU120
- 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEpRegVal;
- 436 .loc 1 2092 21 is_stmt 0 view .LVU121
- 437 00d6 0020 movs r0, #0
- ARM GAS /tmp/ccGUz1hM.s page 46
- 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 438 .loc 1 2110 7 view .LVU122
- 439 00d8 A6E7 b .L11
- 440 .L15:
- 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 441 .loc 1 2113 7 is_stmt 1 view .LVU123
- 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 442 .loc 1 2113 17 is_stmt 0 view .LVU124
- 443 00da 42F48062 orr r2, r2, #1024
- 444 .LVL37:
- 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 445 .loc 1 2114 7 is_stmt 1 view .LVU125
- 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEpRegVal;
- 446 .loc 1 2092 21 is_stmt 0 view .LVU126
- 447 00de 0020 movs r0, #0
- 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 448 .loc 1 2114 7 view .LVU127
- 449 00e0 A2E7 b .L11
- 450 .L38:
- 2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** break;
- 451 .loc 1 2117 11 view .LVU128
- 452 00e2 0120 movs r0, #1
- 453 00e4 A0E7 b .L11
- 454 .LVL38:
- 455 .L20:
- 2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure TX Endpoint to disabled state */
- 2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 456 .loc 1 2141 9 is_stmt 1 view .LVU129
- 457 .LBB7:
- 458 .loc 1 2141 9 view .LVU130
- 459 .loc 1 2141 9 view .LVU131
- 460 00e6 0978 ldrb r1, [r1] @ zero_extendqisi2
- 461 .LVL39:
- 462 .loc 1 2141 9 is_stmt 0 view .LVU132
- 463 00e8 33F82120 ldrh r2, [r3, r1, lsl #2]
- 464 00ec 92B2 uxth r2, r2
- 465 00ee 22F4E042 bic r2, r2, #28672
- 466 00f2 22F04002 bic r2, r2, #64
- 467 .LVL40:
- 468 .loc 1 2141 9 is_stmt 1 view .LVU133
- 469 .loc 1 2141 9 view .LVU134
- 470 .loc 1 2141 9 view .LVU135
- 471 00f6 42F40042 orr r2, r2, #32768
- 472 .LVL41:
- 473 .loc 1 2141 9 is_stmt 0 view .LVU136
- 474 00fa 42F08002 orr r2, r2, #128
- 475 00fe 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
- 476 0102 FBE0 b .L21
- 477 .LVL42:
- 478 .L18:
- 479 .loc 1 2141 9 view .LVU137
- 480 .LBE7:
- 2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 47
- 2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the endpoint Receive buffer address */
- 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_ADDRESS(USBx, ep->num, ep->pmaadress);
- 481 .loc 1 2147 7 is_stmt 1 view .LVU138
- 482 .LBB8:
- 483 .loc 1 2147 7 view .LVU139
- 484 .loc 1 2147 7 view .LVU140
- 485 .loc 1 2147 7 view .LVU141
- 486 0104 B3F85020 ldrh r2, [r3, #80]
- 487 0108 92B2 uxth r2, r2
- 488 010a 1A44 add r2, r2, r3
- 489 .LVL43:
- 490 .loc 1 2147 7 view .LVU142
- 491 010c 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 492 010e 02EB0412 add r2, r2, r4, lsl #4
- 493 .LVL44:
- 494 .loc 1 2147 7 view .LVU143
- 495 0112 B1F806C0 ldrh ip, [r1, #6]
- 496 .loc 1 2147 7 is_stmt 0 view .LVU144
- 497 0116 4FEA5C0C lsr ip, ip, #1
- 498 011a 4FEA4C0C lsl ip, ip, #1
- 499 011e A2F808C4 strh ip, [r2, #1032] @ movhi
- 500 .LBE8:
- 501 .loc 1 2147 7 is_stmt 1 view .LVU145
- 2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the endpoint Receive buffer counter */
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_CNT(USBx, ep->num, ep->maxpacket);
- 502 .loc 1 2150 7 view .LVU146
- 503 .LBB9:
- 504 .loc 1 2150 7 view .LVU147
- 505 .LVL45:
- 506 .loc 1 2150 7 view .LVU148
- 507 .loc 1 2150 7 view .LVU149
- 508 0122 B3F85020 ldrh r2, [r3, #80]
- 509 .LVL46:
- 510 .loc 1 2150 7 is_stmt 0 view .LVU150
- 511 0126 92B2 uxth r2, r2
- 512 0128 1A44 add r2, r2, r3
- 513 .LVL47:
- 514 .loc 1 2150 7 is_stmt 1 view .LVU151
- 515 012a 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 516 .loc 1 2150 7 is_stmt 0 view .LVU152
- 517 012c 02EB0412 add r2, r2, r4, lsl #4
- 518 .LVL48:
- 519 .loc 1 2150 7 is_stmt 1 view .LVU153
- 520 .LBB10:
- 521 .loc 1 2150 7 view .LVU154
- 522 .loc 1 2150 7 view .LVU155
- 523 0130 B2F80CC4 ldrh ip, [r2, #1036]
- 524 0134 CCF3090C ubfx ip, ip, #0, #10
- 525 0138 A2F80CC4 strh ip, [r2, #1036] @ movhi
- 526 .loc 1 2150 7 view .LVU156
- 527 013c 0C69 ldr r4, [r1, #16]
- 528 013e 3E2C cmp r4, #62
- 529 0140 39D9 bls .L22
- 530 .loc 1 2150 7 discriminator 1 view .LVU157
- ARM GAS /tmp/ccGUz1hM.s page 48
- 531 .loc 1 2150 7 discriminator 1 view .LVU158
- 532 0142 4FEA541E lsr lr, r4, #5
- 533 .LVL49:
- 534 .loc 1 2150 7 discriminator 1 view .LVU159
- 535 0146 14F01F0F tst r4, #31
- 536 014a 01D1 bne .L23
- 537 .loc 1 2150 7 discriminator 3 view .LVU160
- 538 014c 0EF1FF3E add lr, lr, #-1
- 539 .LVL50:
- 540 .L23:
- 541 .loc 1 2150 7 discriminator 5 view .LVU161
- 542 0150 B2F80CC4 ldrh ip, [r2, #1036]
- 543 0154 1FFA8CFC uxth ip, ip
- 544 0158 4FEA8E2E lsl lr, lr, #10
- 545 .LVL51:
- 546 .loc 1 2150 7 is_stmt 0 discriminator 5 view .LVU162
- 547 015c 1FFA8EFE uxth lr, lr
- 548 0160 4CEA0E0C orr ip, ip, lr
- 549 0164 4CF4004C orr ip, ip, #32768
- 550 0168 A2F80CC4 strh ip, [r2, #1036] @ movhi
- 551 .loc 1 2150 7 is_stmt 1 discriminator 5 view .LVU163
- 552 .L24:
- 553 .loc 1 2150 7 discriminator 13 view .LVU164
- 554 .LBE10:
- 555 .loc 1 2150 7 discriminator 13 view .LVU165
- 556 .LBE9:
- 557 .loc 1 2150 7 discriminator 13 view .LVU166
- 2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 558 .loc 1 2151 7 discriminator 13 view .LVU167
- 559 .LBB12:
- 560 .loc 1 2151 7 discriminator 13 view .LVU168
- 561 .loc 1 2151 7 discriminator 13 view .LVU169
- 562 016c 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 563 016e 33F82420 ldrh r2, [r3, r4, lsl #2]
- 564 .LVL52:
- 565 .loc 1 2151 7 discriminator 13 view .LVU170
- 566 0172 12F4804F tst r2, #16384
- 567 0176 0CD0 beq .L27
- 568 .loc 1 2151 7 discriminator 1 view .LVU171
- 569 .LBB13:
- 570 .loc 1 2151 7 discriminator 1 view .LVU172
- 571 .loc 1 2151 7 discriminator 1 view .LVU173
- 572 0178 33F82420 ldrh r2, [r3, r4, lsl #2]
- 573 .LVL53:
- 574 .loc 1 2151 7 is_stmt 0 discriminator 1 view .LVU174
- 575 017c 92B2 uxth r2, r2
- 576 017e 22F4E042 bic r2, r2, #28672
- 577 0182 22F07002 bic r2, r2, #112
- 578 .LVL54:
- 579 .loc 1 2151 7 is_stmt 1 discriminator 1 view .LVU175
- 580 0186 42F44042 orr r2, r2, #49152
- 581 .LVL55:
- 582 .loc 1 2151 7 is_stmt 0 discriminator 1 view .LVU176
- 583 018a 42F08002 orr r2, r2, #128
- 584 018e 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 585 .L27:
- 586 .loc 1 2151 7 discriminator 1 view .LVU177
- ARM GAS /tmp/ccGUz1hM.s page 49
- 587 .LBE13:
- 588 .loc 1 2151 7 is_stmt 1 discriminator 3 view .LVU178
- 589 .LBE12:
- 590 .loc 1 2151 7 discriminator 3 view .LVU179
- 2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->num == 0U)
- 591 .loc 1 2153 7 discriminator 3 view .LVU180
- 592 .loc 1 2153 13 is_stmt 0 discriminator 3 view .LVU181
- 593 0192 0978 ldrb r1, [r1] @ zero_extendqisi2
- 594 .LVL56:
- 595 .loc 1 2153 10 discriminator 3 view .LVU182
- 596 0194 69BB cbnz r1, .L28
- 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure VALID status for EP0 */
- 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
- 597 .loc 1 2156 9 is_stmt 1 view .LVU183
- 598 .LBB14:
- 599 .loc 1 2156 9 view .LVU184
- 600 .loc 1 2156 9 view .LVU185
- 601 0196 33F82120 ldrh r2, [r3, r1, lsl #2]
- 602 019a 92B2 uxth r2, r2
- 603 019c 22F48042 bic r2, r2, #16384
- 604 01a0 22F07002 bic r2, r2, #112
- 605 .LVL57:
- 606 .loc 1 2156 9 view .LVU186
- 607 .loc 1 2156 9 view .LVU187
- 608 .loc 1 2156 9 view .LVU188
- 609 .loc 1 2156 9 view .LVU189
- 610 01a4 82F44052 eor r2, r2, #12288
- 611 .LVL58:
- 612 .loc 1 2156 9 view .LVU190
- 613 01a8 42F40042 orr r2, r2, #32768
- 614 .LVL59:
- 615 .loc 1 2156 9 is_stmt 0 view .LVU191
- 616 01ac 42F08002 orr r2, r2, #128
- 617 01b0 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
- 618 .LBE14:
- 619 .loc 1 2156 9 is_stmt 1 view .LVU192
- 620 01b4 A2E0 b .L21
- 621 .LVL60:
- 622 .L22:
- 623 .LBB15:
- 624 .LBB11:
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 625 .loc 1 2150 7 discriminator 2 view .LVU193
- 626 01b6 4CB9 cbnz r4, .L25
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 627 .loc 1 2150 7 discriminator 7 view .LVU194
- 628 01b8 B2F80C44 ldrh r4, [r2, #1036]
- 629 01bc 6FEA4444 mvn r4, r4, lsl #17
- 630 01c0 6FEA5444 mvn r4, r4, lsr #17
- 631 01c4 A4B2 uxth r4, r4
- 632 01c6 A2F80C44 strh r4, [r2, #1036] @ movhi
- 633 01ca CFE7 b .L24
- 634 .L25:
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 635 .loc 1 2150 7 discriminator 8 view .LVU195
- ARM GAS /tmp/ccGUz1hM.s page 50
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 636 .loc 1 2150 7 discriminator 8 view .LVU196
- 637 01cc 4FEA540C lsr ip, r4, #1
- 638 .LVL61:
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 639 .loc 1 2150 7 discriminator 8 view .LVU197
- 640 01d0 14F0010F tst r4, #1
- 641 01d4 01D0 beq .L26
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 642 .loc 1 2150 7 discriminator 10 view .LVU198
- 643 01d6 0CF1010C add ip, ip, #1
- 644 .LVL62:
- 645 .L26:
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 646 .loc 1 2150 7 discriminator 12 view .LVU199
- 647 01da B2F80C44 ldrh r4, [r2, #1036]
- 648 01de A4B2 uxth r4, r4
- 649 01e0 4FEA8C2C lsl ip, ip, #10
- 650 .LVL63:
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 651 .loc 1 2150 7 is_stmt 0 discriminator 12 view .LVU200
- 652 01e4 1FFA8CFC uxth ip, ip
- 653 01e8 44EA0C0C orr ip, r4, ip
- 654 01ec A2F80CC4 strh ip, [r2, #1036] @ movhi
- 655 01f0 BCE7 b .L24
- 656 .LVL64:
- 657 .L28:
- 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 658 .loc 1 2150 7 discriminator 12 view .LVU201
- 659 .LBE11:
- 660 .LBE15:
- 2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for OUT Endpoint */
- 2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_NAK);
- 661 .loc 1 2161 9 is_stmt 1 view .LVU202
- 662 .LBB16:
- 663 .loc 1 2161 9 view .LVU203
- 664 .loc 1 2161 9 view .LVU204
- 665 01f2 33F82120 ldrh r2, [r3, r1, lsl #2]
- 666 01f6 92B2 uxth r2, r2
- 667 01f8 22F48042 bic r2, r2, #16384
- 668 01fc 22F07002 bic r2, r2, #112
- 669 .LVL65:
- 670 .loc 1 2161 9 view .LVU205
- 671 .loc 1 2161 9 view .LVU206
- 672 .loc 1 2161 9 view .LVU207
- 673 0200 82F40052 eor r2, r2, #8192
- 674 .LVL66:
- 675 .loc 1 2161 9 view .LVU208
- 676 0204 42F40042 orr r2, r2, #32768
- 677 .LVL67:
- 678 .loc 1 2161 9 is_stmt 0 view .LVU209
- 679 0208 42F08002 orr r2, r2, #128
- 680 020c 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
- 681 0210 74E0 b .L21
- ARM GAS /tmp/ccGUz1hM.s page 51
- 682 .LVL68:
- 683 .L17:
- 684 .loc 1 2161 9 view .LVU210
- 685 .LBE16:
- 2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
- 2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Double Buffer */
- 2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_BULK)
- 686 .loc 1 2169 5 is_stmt 1 view .LVU211
- 687 .loc 1 2169 11 is_stmt 0 view .LVU212
- 688 0212 CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
- 689 .loc 1 2169 8 view .LVU213
- 690 0214 022A cmp r2, #2
- 691 0216 72D0 beq .L40
- 2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set bulk endpoint as double buffered */
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_BULK_EP_DBUF(USBx, ep->num);
- 2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the ISOC endpoint in double buffer mode */
- 2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_EP_KIND(USBx, ep->num);
- 692 .loc 1 2177 7 is_stmt 1 view .LVU214
- 693 .LBB17:
- 694 .loc 1 2177 7 view .LVU215
- 695 .loc 1 2177 7 view .LVU216
- 696 0218 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 697 021a 33F82420 ldrh r2, [r3, r4, lsl #2]
- 698 021e 92B2 uxth r2, r2
- 699 0220 22F4E242 bic r2, r2, #28928
- 700 0224 22F07002 bic r2, r2, #112
- 701 .LVL69:
- 702 .loc 1 2177 7 view .LVU217
- 703 0228 42F40042 orr r2, r2, #32768
- 704 .LVL70:
- 705 .loc 1 2177 7 is_stmt 0 view .LVU218
- 706 022c 42F08002 orr r2, r2, #128
- 707 0230 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 708 .L30:
- 709 .loc 1 2177 7 view .LVU219
- 710 .LBE17:
- 711 .loc 1 2177 7 is_stmt 1 discriminator 1 view .LVU220
- 2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set buffer address for double buffered mode */
- 2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF_ADDR(USBx, ep->num, ep->pmaaddr0, ep->pmaaddr1);
- 712 .loc 1 2181 5 discriminator 1 view .LVU221
- 713 .loc 1 2181 5 discriminator 1 view .LVU222
- 714 .loc 1 2181 5 discriminator 1 view .LVU223
- 715 .LBB18:
- 716 .loc 1 2181 5 discriminator 1 view .LVU224
- 717 .loc 1 2181 5 discriminator 1 view .LVU225
- 718 .LVL71:
- ARM GAS /tmp/ccGUz1hM.s page 52
- 719 .loc 1 2181 5 discriminator 1 view .LVU226
- 720 0234 B3F85020 ldrh r2, [r3, #80]
- 721 0238 92B2 uxth r2, r2
- 722 023a 1A44 add r2, r2, r3
- 723 .LVL72:
- 724 .loc 1 2181 5 discriminator 1 view .LVU227
- 725 023c 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
- 726 .loc 1 2181 5 is_stmt 0 discriminator 1 view .LVU228
- 727 0240 02EB0C12 add r2, r2, ip, lsl #4
- 728 .LVL73:
- 729 .loc 1 2181 5 is_stmt 1 discriminator 1 view .LVU229
- 730 0244 B1F808C0 ldrh ip, [r1, #8]
- 731 0248 4FEA5C0C lsr ip, ip, #1
- 732 024c 4FEA4C0C lsl ip, ip, #1
- 733 0250 A2F800C4 strh ip, [r2, #1024] @ movhi
- 734 .LBE18:
- 735 .loc 1 2181 5 discriminator 1 view .LVU230
- 736 .loc 1 2181 5 discriminator 1 view .LVU231
- 737 .loc 1 2181 5 discriminator 1 view .LVU232
- 738 .loc 1 2181 5 discriminator 1 view .LVU233
- 739 .LBB19:
- 740 .loc 1 2181 5 discriminator 1 view .LVU234
- 741 .loc 1 2181 5 discriminator 1 view .LVU235
- 742 .LVL74:
- 743 .loc 1 2181 5 discriminator 1 view .LVU236
- 744 0254 B3F85020 ldrh r2, [r3, #80]
- 745 .LVL75:
- 746 .loc 1 2181 5 is_stmt 0 discriminator 1 view .LVU237
- 747 0258 92B2 uxth r2, r2
- 748 025a 1A44 add r2, r2, r3
- 749 .LVL76:
- 750 .loc 1 2181 5 is_stmt 1 discriminator 1 view .LVU238
- 751 025c 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
- 752 0260 02EB0C12 add r2, r2, ip, lsl #4
- 753 .LVL77:
- 754 .loc 1 2181 5 discriminator 1 view .LVU239
- 755 0264 B1F80AC0 ldrh ip, [r1, #10]
- 756 0268 4FEA5C0C lsr ip, ip, #1
- 757 026c 4FEA4C0C lsl ip, ip, #1
- 758 0270 A2F808C4 strh ip, [r2, #1032] @ movhi
- 759 .LBE19:
- 760 .loc 1 2181 5 discriminator 1 view .LVU240
- 761 .loc 1 2181 5 discriminator 1 view .LVU241
- 762 .loc 1 2181 5 discriminator 1 view .LVU242
- 2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 0U)
- 763 .loc 1 2183 5 discriminator 1 view .LVU243
- 764 .loc 1 2183 11 is_stmt 0 discriminator 1 view .LVU244
- 765 0274 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
- 766 .LVL78:
- 767 .loc 1 2183 8 discriminator 1 view .LVU245
- 768 0276 002A cmp r2, #0
- 769 0278 50D1 bne .L31
- 2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT */
- 2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 770 .loc 1 2186 7 is_stmt 1 view .LVU246
- ARM GAS /tmp/ccGUz1hM.s page 53
- 771 .LBB20:
- 772 .loc 1 2186 7 view .LVU247
- 773 .loc 1 2186 7 view .LVU248
- 774 027a 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 775 027c 33F82420 ldrh r2, [r3, r4, lsl #2]
- 776 .LVL79:
- 777 .loc 1 2186 7 view .LVU249
- 778 0280 12F4804F tst r2, #16384
- 779 0284 0CD0 beq .L32
- 780 .loc 1 2186 7 discriminator 1 view .LVU250
- 781 .LBB21:
- 782 .loc 1 2186 7 discriminator 1 view .LVU251
- 783 .loc 1 2186 7 discriminator 1 view .LVU252
- 784 0286 33F82420 ldrh r2, [r3, r4, lsl #2]
- 785 .LVL80:
- 786 .loc 1 2186 7 is_stmt 0 discriminator 1 view .LVU253
- 787 028a 92B2 uxth r2, r2
- 788 028c 22F4E042 bic r2, r2, #28672
- 789 0290 22F07002 bic r2, r2, #112
- 790 .LVL81:
- 791 .loc 1 2186 7 is_stmt 1 discriminator 1 view .LVU254
- 792 0294 42F44042 orr r2, r2, #49152
- 793 .LVL82:
- 794 .loc 1 2186 7 is_stmt 0 discriminator 1 view .LVU255
- 795 0298 42F08002 orr r2, r2, #128
- 796 029c 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 797 .L32:
- 798 .loc 1 2186 7 discriminator 1 view .LVU256
- 799 .LBE21:
- 800 .loc 1 2186 7 is_stmt 1 discriminator 3 view .LVU257
- 801 .LBE20:
- 802 .loc 1 2186 7 discriminator 3 view .LVU258
- 2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 803 .loc 1 2187 7 discriminator 3 view .LVU259
- 804 .LBB22:
- 805 .loc 1 2187 7 discriminator 3 view .LVU260
- 806 .loc 1 2187 7 discriminator 3 view .LVU261
- 807 02a0 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 808 02a2 33F82420 ldrh r2, [r3, r4, lsl #2]
- 809 .LVL83:
- 810 .loc 1 2187 7 discriminator 3 view .LVU262
- 811 02a6 12F0400F tst r2, #64
- 812 02aa 0CD0 beq .L33
- 813 .loc 1 2187 7 discriminator 1 view .LVU263
- 814 .LBB23:
- 815 .loc 1 2187 7 discriminator 1 view .LVU264
- 816 .loc 1 2187 7 discriminator 1 view .LVU265
- 817 02ac 33F82420 ldrh r2, [r3, r4, lsl #2]
- 818 .LVL84:
- 819 .loc 1 2187 7 is_stmt 0 discriminator 1 view .LVU266
- 820 02b0 92B2 uxth r2, r2
- 821 02b2 22F4E042 bic r2, r2, #28672
- 822 02b6 22F07002 bic r2, r2, #112
- 823 .LVL85:
- 824 .loc 1 2187 7 is_stmt 1 discriminator 1 view .LVU267
- 825 02ba 42F40042 orr r2, r2, #32768
- 826 .LVL86:
- ARM GAS /tmp/ccGUz1hM.s page 54
- 827 .loc 1 2187 7 is_stmt 0 discriminator 1 view .LVU268
- 828 02be 42F0C002 orr r2, r2, #192
- 829 02c2 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 830 .L33:
- 831 .loc 1 2187 7 discriminator 1 view .LVU269
- 832 .LBE23:
- 833 .loc 1 2187 7 is_stmt 1 discriminator 3 view .LVU270
- 834 .LBE22:
- 835 .loc 1 2187 7 discriminator 3 view .LVU271
- 2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
- 836 .loc 1 2189 7 discriminator 3 view .LVU272
- 837 .LBB24:
- 838 .loc 1 2189 7 discriminator 3 view .LVU273
- 839 .loc 1 2189 7 discriminator 3 view .LVU274
- 840 02c6 91F800C0 ldrb ip, [r1] @ zero_extendqisi2
- 841 02ca 33F82C20 ldrh r2, [r3, ip, lsl #2]
- 842 02ce 92B2 uxth r2, r2
- 843 02d0 22F48042 bic r2, r2, #16384
- 844 02d4 22F07002 bic r2, r2, #112
- 845 .LVL87:
- 846 .loc 1 2189 7 discriminator 3 view .LVU275
- 847 .loc 1 2189 7 discriminator 3 view .LVU276
- 848 .loc 1 2189 7 discriminator 3 view .LVU277
- 849 .loc 1 2189 7 discriminator 3 view .LVU278
- 850 02d8 82F44052 eor r2, r2, #12288
- 851 .LVL88:
- 852 .loc 1 2189 7 discriminator 3 view .LVU279
- 853 02dc 48F28004 movw r4, #32896
- 854 02e0 2243 orrs r2, r2, r4
- 855 .LVL89:
- 856 .loc 1 2189 7 is_stmt 0 discriminator 3 view .LVU280
- 857 02e2 23F82C20 strh r2, [r3, ip, lsl #2] @ movhi
- 858 .LBE24:
- 859 .loc 1 2189 7 is_stmt 1 discriminator 3 view .LVU281
- 2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 860 .loc 1 2190 7 discriminator 3 view .LVU282
- 861 .LBB25:
- 862 .loc 1 2190 7 discriminator 3 view .LVU283
- 863 .loc 1 2190 7 discriminator 3 view .LVU284
- 864 02e6 0978 ldrb r1, [r1] @ zero_extendqisi2
- 865 .LVL90:
- 866 .loc 1 2190 7 is_stmt 0 discriminator 3 view .LVU285
- 867 02e8 33F82120 ldrh r2, [r3, r1, lsl #2]
- 868 02ec 92B2 uxth r2, r2
- 869 02ee 22F4E042 bic r2, r2, #28672
- 870 02f2 22F04002 bic r2, r2, #64
- 871 .LVL91:
- 872 .loc 1 2190 7 is_stmt 1 discriminator 3 view .LVU286
- 873 .loc 1 2190 7 discriminator 3 view .LVU287
- 874 .loc 1 2190 7 discriminator 3 view .LVU288
- 875 02f6 2243 orrs r2, r2, r4
- 876 .LVL92:
- 877 .loc 1 2190 7 is_stmt 0 discriminator 3 view .LVU289
- 878 02f8 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
- 879 .LBE25:
- 880 .loc 1 2190 7 is_stmt 1 discriminator 3 view .LVU290
- ARM GAS /tmp/ccGUz1hM.s page 55
- 881 .L21:
- 2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT */
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
- 2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
- 2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure TX Endpoint to disabled state */
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 882 .loc 1 2209 7 discriminator 7 view .LVU291
- 2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
- 2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return ret;
- 883 .loc 1 2214 3 discriminator 7 view .LVU292
- 2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 884 .loc 1 2215 1 is_stmt 0 discriminator 7 view .LVU293
- 885 02fc 10BD pop {r4, pc}
- 886 .LVL93:
- 887 .L40:
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 888 .loc 1 2172 7 is_stmt 1 view .LVU294
- 889 .LBB26:
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 890 .loc 1 2172 7 view .LVU295
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 891 .loc 1 2172 7 view .LVU296
- 892 02fe 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 893 0300 33F82420 ldrh r2, [r3, r4, lsl #2]
- 894 0304 92B2 uxth r2, r2
- 895 0306 22F4E042 bic r2, r2, #28672
- 896 030a 22F07002 bic r2, r2, #112
- 897 .LVL94:
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 898 .loc 1 2172 7 view .LVU297
- 899 030e 42F40142 orr r2, r2, #33024
- 900 .LVL95:
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 901 .loc 1 2172 7 is_stmt 0 view .LVU298
- 902 0312 42F08002 orr r2, r2, #128
- 903 0316 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 904 .LBE26:
- 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 905 .loc 1 2172 7 is_stmt 1 view .LVU299
- 906 031a 8BE7 b .L30
- ARM GAS /tmp/ccGUz1hM.s page 56
- 907 .L31:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 908 .loc 1 2195 7 view .LVU300
- 909 .LBB27:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 910 .loc 1 2195 7 view .LVU301
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 911 .loc 1 2195 7 view .LVU302
- 912 031c 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 913 031e 33F82420 ldrh r2, [r3, r4, lsl #2]
- 914 .LVL96:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 915 .loc 1 2195 7 view .LVU303
- 916 0322 12F4804F tst r2, #16384
- 917 0326 0CD0 beq .L34
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 918 .loc 1 2195 7 discriminator 1 view .LVU304
- 919 .LBB28:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 920 .loc 1 2195 7 discriminator 1 view .LVU305
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 921 .loc 1 2195 7 discriminator 1 view .LVU306
- 922 0328 33F82420 ldrh r2, [r3, r4, lsl #2]
- 923 .LVL97:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 924 .loc 1 2195 7 is_stmt 0 discriminator 1 view .LVU307
- 925 032c 92B2 uxth r2, r2
- 926 032e 22F4E042 bic r2, r2, #28672
- 927 0332 22F07002 bic r2, r2, #112
- 928 .LVL98:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 929 .loc 1 2195 7 is_stmt 1 discriminator 1 view .LVU308
- 930 0336 42F44042 orr r2, r2, #49152
- 931 .LVL99:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 932 .loc 1 2195 7 is_stmt 0 discriminator 1 view .LVU309
- 933 033a 42F08002 orr r2, r2, #128
- 934 033e 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 935 .L34:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 936 .loc 1 2195 7 discriminator 1 view .LVU310
- 937 .LBE28:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 938 .loc 1 2195 7 is_stmt 1 discriminator 3 view .LVU311
- 939 .LBE27:
- 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 940 .loc 1 2195 7 discriminator 3 view .LVU312
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 941 .loc 1 2196 7 discriminator 3 view .LVU313
- 942 .LBB29:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 943 .loc 1 2196 7 discriminator 3 view .LVU314
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 944 .loc 1 2196 7 discriminator 3 view .LVU315
- 945 0342 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 946 0344 33F82420 ldrh r2, [r3, r4, lsl #2]
- 947 .LVL100:
- ARM GAS /tmp/ccGUz1hM.s page 57
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 948 .loc 1 2196 7 discriminator 3 view .LVU316
- 949 0348 12F0400F tst r2, #64
- 950 034c 0CD0 beq .L35
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 951 .loc 1 2196 7 discriminator 1 view .LVU317
- 952 .LBB30:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 953 .loc 1 2196 7 discriminator 1 view .LVU318
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 954 .loc 1 2196 7 discriminator 1 view .LVU319
- 955 034e 33F82420 ldrh r2, [r3, r4, lsl #2]
- 956 .LVL101:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 957 .loc 1 2196 7 is_stmt 0 discriminator 1 view .LVU320
- 958 0352 92B2 uxth r2, r2
- 959 0354 22F4E042 bic r2, r2, #28672
- 960 0358 22F07002 bic r2, r2, #112
- 961 .LVL102:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 962 .loc 1 2196 7 is_stmt 1 discriminator 1 view .LVU321
- 963 035c 42F40042 orr r2, r2, #32768
- 964 .LVL103:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 965 .loc 1 2196 7 is_stmt 0 discriminator 1 view .LVU322
- 966 0360 42F0C002 orr r2, r2, #192
- 967 0364 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 968 .L35:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 969 .loc 1 2196 7 discriminator 1 view .LVU323
- 970 .LBE30:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 971 .loc 1 2196 7 is_stmt 1 discriminator 3 view .LVU324
- 972 .LBE29:
- 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 973 .loc 1 2196 7 discriminator 3 view .LVU325
- 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 974 .loc 1 2198 7 discriminator 3 view .LVU326
- 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 975 .loc 1 2198 13 is_stmt 0 discriminator 3 view .LVU327
- 976 0368 CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
- 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 977 .loc 1 2198 10 discriminator 3 view .LVU328
- 978 036a 012A cmp r2, #1
- 979 036c 1ED0 beq .L36
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 980 .loc 1 2201 9 is_stmt 1 view .LVU329
- 981 .LBB31:
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 982 .loc 1 2201 9 view .LVU330
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 983 .loc 1 2201 9 view .LVU331
- 984 036e 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 985 0370 33F82420 ldrh r2, [r3, r4, lsl #2]
- 986 0374 92B2 uxth r2, r2
- 987 0376 22F4E042 bic r2, r2, #28672
- 988 037a 22F04002 bic r2, r2, #64
- ARM GAS /tmp/ccGUz1hM.s page 58
- 989 .LVL104:
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 990 .loc 1 2201 9 view .LVU332
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 991 .loc 1 2201 9 view .LVU333
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 992 .loc 1 2201 9 view .LVU334
- 993 037e 82F02002 eor r2, r2, #32
- 994 .LVL105:
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 995 .loc 1 2201 9 view .LVU335
- 996 0382 42F40042 orr r2, r2, #32768
- 997 .LVL106:
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 998 .loc 1 2201 9 is_stmt 0 view .LVU336
- 999 0386 42F08002 orr r2, r2, #128
- 1000 038a 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 1001 .LBE31:
- 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1002 .loc 1 2201 9 is_stmt 1 view .LVU337
- 1003 .L37:
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1004 .loc 1 2206 9 discriminator 7 view .LVU338
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1005 .loc 1 2209 7 discriminator 7 view .LVU339
- 1006 .LBB32:
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1007 .loc 1 2209 7 discriminator 7 view .LVU340
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1008 .loc 1 2209 7 discriminator 7 view .LVU341
- 1009 038e 0978 ldrb r1, [r1] @ zero_extendqisi2
- 1010 .LVL107:
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1011 .loc 1 2209 7 is_stmt 0 discriminator 7 view .LVU342
- 1012 0390 33F82120 ldrh r2, [r3, r1, lsl #2]
- 1013 0394 92B2 uxth r2, r2
- 1014 0396 22F48042 bic r2, r2, #16384
- 1015 039a 22F07002 bic r2, r2, #112
- 1016 .LVL108:
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1017 .loc 1 2209 7 is_stmt 1 discriminator 7 view .LVU343
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1018 .loc 1 2209 7 discriminator 7 view .LVU344
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1019 .loc 1 2209 7 discriminator 7 view .LVU345
- 1020 039e 42F40042 orr r2, r2, #32768
- 1021 .LVL109:
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1022 .loc 1 2209 7 is_stmt 0 discriminator 7 view .LVU346
- 1023 03a2 42F08002 orr r2, r2, #128
- 1024 03a6 23F82120 strh r2, [r3, r1, lsl #2] @ movhi
- 1025 03aa A7E7 b .L21
- 1026 .LVL110:
- 1027 .L36:
- 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1028 .loc 1 2209 7 discriminator 7 view .LVU347
- 1029 .LBE32:
- ARM GAS /tmp/ccGUz1hM.s page 59
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1030 .loc 1 2206 9 is_stmt 1 view .LVU348
- 1031 .LBB33:
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1032 .loc 1 2206 9 view .LVU349
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1033 .loc 1 2206 9 view .LVU350
- 1034 03ac 0C78 ldrb r4, [r1] @ zero_extendqisi2
- 1035 03ae 33F82420 ldrh r2, [r3, r4, lsl #2]
- 1036 03b2 92B2 uxth r2, r2
- 1037 03b4 22F4E042 bic r2, r2, #28672
- 1038 03b8 22F04002 bic r2, r2, #64
- 1039 .LVL111:
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1040 .loc 1 2206 9 view .LVU351
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1041 .loc 1 2206 9 view .LVU352
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1042 .loc 1 2206 9 view .LVU353
- 1043 03bc 42F40042 orr r2, r2, #32768
- 1044 .LVL112:
- 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1045 .loc 1 2206 9 is_stmt 0 view .LVU354
- 1046 03c0 42F08002 orr r2, r2, #128
- 1047 03c4 23F82420 strh r2, [r3, r4, lsl #2] @ movhi
- 1048 03c8 E1E7 b .L37
- 1049 .LBE33:
- 1050 .cfi_endproc
- 1051 .LFE72:
- 1053 .section .text.USB_DeactivateEndpoint,"ax",%progbits
- 1054 .align 1
- 1055 .global USB_DeactivateEndpoint
- 1056 .syntax unified
- 1057 .thumb
- 1058 .thumb_func
- 1060 USB_DeactivateEndpoint:
- 1061 .LVL113:
- 1062 .LFB73:
- 2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief De-activate and de-initialize an endpoint
- 2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep)
- 2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1063 .loc 1 2224 1 is_stmt 1 view -0
- 1064 .cfi_startproc
- 1065 @ args = 0, pretend = 0, frame = 0
- 1066 @ frame_needed = 0, uses_anonymous_args = 0
- 1067 @ link register save eliminated.
- 2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 1068 .loc 1 2225 3 view .LVU356
- 1069 .loc 1 2225 9 is_stmt 0 view .LVU357
- 1070 0000 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
- 1071 .loc 1 2225 6 view .LVU358
- ARM GAS /tmp/ccGUz1hM.s page 60
- 1072 0002 002B cmp r3, #0
- 1073 0004 46D1 bne .L42
- 2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
- 1074 .loc 1 2227 5 is_stmt 1 view .LVU359
- 1075 .loc 1 2227 11 is_stmt 0 view .LVU360
- 1076 0006 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 1077 .loc 1 2227 8 view .LVU361
- 1078 0008 13B3 cbz r3, .L43
- 2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1079 .loc 1 2229 7 is_stmt 1 view .LVU362
- 1080 .LBB34:
- 1081 .loc 1 2229 7 view .LVU363
- 1082 .loc 1 2229 7 view .LVU364
- 1083 000a 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1084 000c 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1085 .LVL114:
- 1086 .loc 1 2229 7 view .LVU365
- 1087 0010 13F0400F tst r3, #64
- 1088 0014 0CD0 beq .L44
- 1089 .loc 1 2229 7 discriminator 1 view .LVU366
- 1090 .LBB35:
- 1091 .loc 1 2229 7 discriminator 1 view .LVU367
- 1092 .loc 1 2229 7 discriminator 1 view .LVU368
- 1093 0016 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1094 .LVL115:
- 1095 .loc 1 2229 7 is_stmt 0 discriminator 1 view .LVU369
- 1096 001a 9BB2 uxth r3, r3
- 1097 001c 23F4E043 bic r3, r3, #28672
- 1098 0020 23F07003 bic r3, r3, #112
- 1099 .LVL116:
- 1100 .loc 1 2229 7 is_stmt 1 discriminator 1 view .LVU370
- 1101 0024 43F40043 orr r3, r3, #32768
- 1102 .LVL117:
- 1103 .loc 1 2229 7 is_stmt 0 discriminator 1 view .LVU371
- 1104 0028 43F0C003 orr r3, r3, #192
- 1105 002c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1106 .L44:
- 1107 .loc 1 2229 7 discriminator 1 view .LVU372
- 1108 .LBE35:
- 1109 .loc 1 2229 7 is_stmt 1 discriminator 3 view .LVU373
- 1110 .LBE34:
- 1111 .loc 1 2229 7 discriminator 3 view .LVU374
- 2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure DISABLE status for the Endpoint */
- 2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1112 .loc 1 2232 7 discriminator 3 view .LVU375
- 1113 .LBB36:
- 1114 .loc 1 2232 7 discriminator 3 view .LVU376
- 1115 .loc 1 2232 7 discriminator 3 view .LVU377
- 1116 0030 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1117 0032 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1118 0036 9BB2 uxth r3, r3
- 1119 0038 23F4E043 bic r3, r3, #28672
- 1120 003c 23F04003 bic r3, r3, #64
- 1121 .LVL118:
- ARM GAS /tmp/ccGUz1hM.s page 61
- 1122 .loc 1 2232 7 discriminator 3 view .LVU378
- 1123 .loc 1 2232 7 discriminator 3 view .LVU379
- 1124 .loc 1 2232 7 discriminator 3 view .LVU380
- 1125 0040 43F40043 orr r3, r3, #32768
- 1126 .LVL119:
- 1127 .loc 1 2232 7 is_stmt 0 discriminator 3 view .LVU381
- 1128 0044 43F08003 orr r3, r3, #128
- 1129 0048 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1130 .LBE36:
- 1131 .loc 1 2232 7 is_stmt 1 discriminator 3 view .LVU382
- 1132 .L45:
- 2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure DISABLE status for the Endpoint */
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
- 2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Double Buffer */
- 2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 0U)
- 2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT*/
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Reset value of the data toggle bits for the endpoint out*/
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_TX_DTOG(USBx, ep->num);
- 2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Clear the data toggle bits for the endpoint IN/OUT*/
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure DISABLE status for the Endpoint*/
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1133 .loc 1 2268 7 discriminator 7 view .LVU383
- 2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
- 2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1134 .loc 1 2273 3 discriminator 7 view .LVU384
- 2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1135 .loc 1 2274 1 is_stmt 0 discriminator 7 view .LVU385
- 1136 004c 0020 movs r0, #0
- ARM GAS /tmp/ccGUz1hM.s page 62
- 1137 .LVL120:
- 1138 .loc 1 2274 1 discriminator 7 view .LVU386
- 1139 004e 7047 bx lr
- 1140 .LVL121:
- 1141 .L43:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1142 .loc 1 2237 7 is_stmt 1 view .LVU387
- 1143 .LBB37:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1144 .loc 1 2237 7 view .LVU388
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1145 .loc 1 2237 7 view .LVU389
- 1146 0050 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1147 0052 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1148 .LVL122:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1149 .loc 1 2237 7 view .LVU390
- 1150 0056 13F4804F tst r3, #16384
- 1151 005a 0CD0 beq .L46
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1152 .loc 1 2237 7 discriminator 1 view .LVU391
- 1153 .LBB38:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1154 .loc 1 2237 7 discriminator 1 view .LVU392
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1155 .loc 1 2237 7 discriminator 1 view .LVU393
- 1156 005c 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1157 .LVL123:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1158 .loc 1 2237 7 is_stmt 0 discriminator 1 view .LVU394
- 1159 0060 9BB2 uxth r3, r3
- 1160 0062 23F4E043 bic r3, r3, #28672
- 1161 0066 23F07003 bic r3, r3, #112
- 1162 .LVL124:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1163 .loc 1 2237 7 is_stmt 1 discriminator 1 view .LVU395
- 1164 006a 43F44043 orr r3, r3, #49152
- 1165 .LVL125:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1166 .loc 1 2237 7 is_stmt 0 discriminator 1 view .LVU396
- 1167 006e 43F08003 orr r3, r3, #128
- 1168 0072 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1169 .L46:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1170 .loc 1 2237 7 discriminator 1 view .LVU397
- 1171 .LBE38:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1172 .loc 1 2237 7 is_stmt 1 discriminator 3 view .LVU398
- 1173 .LBE37:
- 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1174 .loc 1 2237 7 discriminator 3 view .LVU399
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1175 .loc 1 2240 7 discriminator 3 view .LVU400
- 1176 .LBB39:
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1177 .loc 1 2240 7 discriminator 3 view .LVU401
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 63
- 1178 .loc 1 2240 7 discriminator 3 view .LVU402
- 1179 0076 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1180 0078 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1181 007c 9BB2 uxth r3, r3
- 1182 007e 23F48043 bic r3, r3, #16384
- 1183 0082 23F07003 bic r3, r3, #112
- 1184 .LVL126:
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1185 .loc 1 2240 7 discriminator 3 view .LVU403
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1186 .loc 1 2240 7 discriminator 3 view .LVU404
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1187 .loc 1 2240 7 discriminator 3 view .LVU405
- 1188 0086 43F40043 orr r3, r3, #32768
- 1189 .LVL127:
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1190 .loc 1 2240 7 is_stmt 0 discriminator 3 view .LVU406
- 1191 008a 43F08003 orr r3, r3, #128
- 1192 008e 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1193 0092 DBE7 b .L45
- 1194 .L42:
- 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1195 .loc 1 2240 7 discriminator 3 view .LVU407
- 1196 .LBE39:
- 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1197 .loc 1 2247 5 is_stmt 1 view .LVU408
- 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1198 .loc 1 2247 11 is_stmt 0 view .LVU409
- 1199 0094 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1200 .loc 1 2247 8 view .LVU410
- 1201 0096 002B cmp r3, #0
- 1202 0098 4ED1 bne .L47
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1203 .loc 1 2250 7 is_stmt 1 view .LVU411
- 1204 .LBB40:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1205 .loc 1 2250 7 view .LVU412
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1206 .loc 1 2250 7 view .LVU413
- 1207 009a 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1208 009c 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1209 .LVL128:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1210 .loc 1 2250 7 view .LVU414
- 1211 00a0 13F4804F tst r3, #16384
- 1212 00a4 0CD0 beq .L48
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1213 .loc 1 2250 7 discriminator 1 view .LVU415
- 1214 .LBB41:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1215 .loc 1 2250 7 discriminator 1 view .LVU416
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1216 .loc 1 2250 7 discriminator 1 view .LVU417
- 1217 00a6 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1218 .LVL129:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- ARM GAS /tmp/ccGUz1hM.s page 64
- 1219 .loc 1 2250 7 is_stmt 0 discriminator 1 view .LVU418
- 1220 00aa 9BB2 uxth r3, r3
- 1221 00ac 23F4E043 bic r3, r3, #28672
- 1222 00b0 23F07003 bic r3, r3, #112
- 1223 .LVL130:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1224 .loc 1 2250 7 is_stmt 1 discriminator 1 view .LVU419
- 1225 00b4 43F44043 orr r3, r3, #49152
- 1226 .LVL131:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1227 .loc 1 2250 7 is_stmt 0 discriminator 1 view .LVU420
- 1228 00b8 43F08003 orr r3, r3, #128
- 1229 00bc 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1230 .L48:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1231 .loc 1 2250 7 discriminator 1 view .LVU421
- 1232 .LBE41:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1233 .loc 1 2250 7 is_stmt 1 discriminator 3 view .LVU422
- 1234 .LBE40:
- 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1235 .loc 1 2250 7 discriminator 3 view .LVU423
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1236 .loc 1 2251 7 discriminator 3 view .LVU424
- 1237 .LBB42:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1238 .loc 1 2251 7 discriminator 3 view .LVU425
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1239 .loc 1 2251 7 discriminator 3 view .LVU426
- 1240 00c0 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1241 00c2 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1242 .LVL132:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1243 .loc 1 2251 7 discriminator 3 view .LVU427
- 1244 00c6 13F0400F tst r3, #64
- 1245 00ca 0CD0 beq .L49
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1246 .loc 1 2251 7 discriminator 1 view .LVU428
- 1247 .LBB43:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1248 .loc 1 2251 7 discriminator 1 view .LVU429
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1249 .loc 1 2251 7 discriminator 1 view .LVU430
- 1250 00cc 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1251 .LVL133:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1252 .loc 1 2251 7 is_stmt 0 discriminator 1 view .LVU431
- 1253 00d0 9BB2 uxth r3, r3
- 1254 00d2 23F4E043 bic r3, r3, #28672
- 1255 00d6 23F07003 bic r3, r3, #112
- 1256 .LVL134:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1257 .loc 1 2251 7 is_stmt 1 discriminator 1 view .LVU432
- 1258 00da 43F40043 orr r3, r3, #32768
- 1259 .LVL135:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1260 .loc 1 2251 7 is_stmt 0 discriminator 1 view .LVU433
- ARM GAS /tmp/ccGUz1hM.s page 65
- 1261 00de 43F0C003 orr r3, r3, #192
- 1262 00e2 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1263 .L49:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1264 .loc 1 2251 7 discriminator 1 view .LVU434
- 1265 .LBE43:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1266 .loc 1 2251 7 is_stmt 1 discriminator 3 view .LVU435
- 1267 .LBE42:
- 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1268 .loc 1 2251 7 discriminator 3 view .LVU436
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1269 .loc 1 2254 7 discriminator 3 view .LVU437
- 1270 .LBB44:
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1271 .loc 1 2254 7 discriminator 3 view .LVU438
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1272 .loc 1 2254 7 discriminator 3 view .LVU439
- 1273 00e6 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1274 00e8 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1275 00ec 9BB2 uxth r3, r3
- 1276 00ee 23F4E043 bic r3, r3, #28672
- 1277 00f2 23F07003 bic r3, r3, #112
- 1278 .LVL136:
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1279 .loc 1 2254 7 discriminator 3 view .LVU440
- 1280 00f6 43F40043 orr r3, r3, #32768
- 1281 .LVL137:
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1282 .loc 1 2254 7 is_stmt 0 discriminator 3 view .LVU441
- 1283 00fa 43F0C003 orr r3, r3, #192
- 1284 00fe 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1285 .LBE44:
- 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1286 .loc 1 2254 7 is_stmt 1 discriminator 3 view .LVU442
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1287 .loc 1 2256 7 discriminator 3 view .LVU443
- 1288 .LBB45:
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1289 .loc 1 2256 7 discriminator 3 view .LVU444
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1290 .loc 1 2256 7 discriminator 3 view .LVU445
- 1291 0102 0B78 ldrb r3, [r1] @ zero_extendqisi2
- 1292 0104 30F82320 ldrh r2, [r0, r3, lsl #2]
- 1293 0108 92B2 uxth r2, r2
- 1294 010a 22F48042 bic r2, r2, #16384
- 1295 010e 22F07002 bic r2, r2, #112
- 1296 .LVL138:
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1297 .loc 1 2256 7 discriminator 3 view .LVU446
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1298 .loc 1 2256 7 discriminator 3 view .LVU447
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1299 .loc 1 2256 7 discriminator 3 view .LVU448
- 1300 0112 48F2800C movw ip, #32896
- 1301 0116 42EA0C02 orr r2, r2, ip
- 1302 .LVL139:
- ARM GAS /tmp/ccGUz1hM.s page 66
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1303 .loc 1 2256 7 is_stmt 0 discriminator 3 view .LVU449
- 1304 011a 20F82320 strh r2, [r0, r3, lsl #2] @ movhi
- 1305 .LBE45:
- 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 1306 .loc 1 2256 7 is_stmt 1 discriminator 3 view .LVU450
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1307 .loc 1 2257 7 discriminator 3 view .LVU451
- 1308 .LBB46:
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1309 .loc 1 2257 7 discriminator 3 view .LVU452
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1310 .loc 1 2257 7 discriminator 3 view .LVU453
- 1311 011e 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1312 0120 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1313 0124 9BB2 uxth r3, r3
- 1314 0126 23F4E043 bic r3, r3, #28672
- 1315 012a 23F04003 bic r3, r3, #64
- 1316 .LVL140:
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1317 .loc 1 2257 7 discriminator 3 view .LVU454
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1318 .loc 1 2257 7 discriminator 3 view .LVU455
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1319 .loc 1 2257 7 discriminator 3 view .LVU456
- 1320 012e 43EA0C03 orr r3, r3, ip
- 1321 .LVL141:
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1322 .loc 1 2257 7 is_stmt 0 discriminator 3 view .LVU457
- 1323 0132 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1324 .LBE46:
- 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1325 .loc 1 2257 7 is_stmt 1 discriminator 3 view .LVU458
- 1326 0136 89E7 b .L45
- 1327 .L47:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1328 .loc 1 2262 7 view .LVU459
- 1329 .LBB47:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1330 .loc 1 2262 7 view .LVU460
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1331 .loc 1 2262 7 view .LVU461
- 1332 0138 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1333 013a 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1334 .LVL142:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1335 .loc 1 2262 7 view .LVU462
- 1336 013e 13F4804F tst r3, #16384
- 1337 0142 0CD0 beq .L50
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1338 .loc 1 2262 7 discriminator 1 view .LVU463
- 1339 .LBB48:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1340 .loc 1 2262 7 discriminator 1 view .LVU464
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1341 .loc 1 2262 7 discriminator 1 view .LVU465
- 1342 0144 30F82230 ldrh r3, [r0, r2, lsl #2]
- ARM GAS /tmp/ccGUz1hM.s page 67
- 1343 .LVL143:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1344 .loc 1 2262 7 is_stmt 0 discriminator 1 view .LVU466
- 1345 0148 9BB2 uxth r3, r3
- 1346 014a 23F4E043 bic r3, r3, #28672
- 1347 014e 23F07003 bic r3, r3, #112
- 1348 .LVL144:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1349 .loc 1 2262 7 is_stmt 1 discriminator 1 view .LVU467
- 1350 0152 43F44043 orr r3, r3, #49152
- 1351 .LVL145:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1352 .loc 1 2262 7 is_stmt 0 discriminator 1 view .LVU468
- 1353 0156 43F08003 orr r3, r3, #128
- 1354 015a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1355 .L50:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1356 .loc 1 2262 7 discriminator 1 view .LVU469
- 1357 .LBE48:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1358 .loc 1 2262 7 is_stmt 1 discriminator 3 view .LVU470
- 1359 .LBE47:
- 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1360 .loc 1 2262 7 discriminator 3 view .LVU471
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1361 .loc 1 2263 7 discriminator 3 view .LVU472
- 1362 .LBB49:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1363 .loc 1 2263 7 discriminator 3 view .LVU473
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1364 .loc 1 2263 7 discriminator 3 view .LVU474
- 1365 015e 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1366 0160 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1367 .LVL146:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1368 .loc 1 2263 7 discriminator 3 view .LVU475
- 1369 0164 13F0400F tst r3, #64
- 1370 0168 0CD0 beq .L51
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1371 .loc 1 2263 7 discriminator 1 view .LVU476
- 1372 .LBB50:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1373 .loc 1 2263 7 discriminator 1 view .LVU477
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1374 .loc 1 2263 7 discriminator 1 view .LVU478
- 1375 016a 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1376 .LVL147:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1377 .loc 1 2263 7 is_stmt 0 discriminator 1 view .LVU479
- 1378 016e 9BB2 uxth r3, r3
- 1379 0170 23F4E043 bic r3, r3, #28672
- 1380 0174 23F07003 bic r3, r3, #112
- 1381 .LVL148:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1382 .loc 1 2263 7 is_stmt 1 discriminator 1 view .LVU480
- 1383 0178 43F40043 orr r3, r3, #32768
- 1384 .LVL149:
- ARM GAS /tmp/ccGUz1hM.s page 68
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1385 .loc 1 2263 7 is_stmt 0 discriminator 1 view .LVU481
- 1386 017c 43F0C003 orr r3, r3, #192
- 1387 0180 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1388 .L51:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1389 .loc 1 2263 7 discriminator 1 view .LVU482
- 1390 .LBE50:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1391 .loc 1 2263 7 is_stmt 1 discriminator 3 view .LVU483
- 1392 .LBE49:
- 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_RX_DTOG(USBx, ep->num);
- 1393 .loc 1 2263 7 discriminator 3 view .LVU484
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1394 .loc 1 2264 7 discriminator 3 view .LVU485
- 1395 .LBB51:
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1396 .loc 1 2264 7 discriminator 3 view .LVU486
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1397 .loc 1 2264 7 discriminator 3 view .LVU487
- 1398 0184 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1399 0186 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1400 018a 9BB2 uxth r3, r3
- 1401 018c 23F4E043 bic r3, r3, #28672
- 1402 0190 23F07003 bic r3, r3, #112
- 1403 .LVL150:
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1404 .loc 1 2264 7 discriminator 3 view .LVU488
- 1405 0194 43F44043 orr r3, r3, #49152
- 1406 .LVL151:
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1407 .loc 1 2264 7 is_stmt 0 discriminator 3 view .LVU489
- 1408 0198 43F08003 orr r3, r3, #128
- 1409 019c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1410 .LBE51:
- 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 1411 .loc 1 2264 7 is_stmt 1 discriminator 3 view .LVU490
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1412 .loc 1 2267 7 discriminator 3 view .LVU491
- 1413 .LBB52:
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1414 .loc 1 2267 7 discriminator 3 view .LVU492
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1415 .loc 1 2267 7 discriminator 3 view .LVU493
- 1416 01a0 0B78 ldrb r3, [r1] @ zero_extendqisi2
- 1417 01a2 30F82320 ldrh r2, [r0, r3, lsl #2]
- 1418 01a6 92B2 uxth r2, r2
- 1419 01a8 22F4E042 bic r2, r2, #28672
- 1420 01ac 22F04002 bic r2, r2, #64
- 1421 .LVL152:
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1422 .loc 1 2267 7 discriminator 3 view .LVU494
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1423 .loc 1 2267 7 discriminator 3 view .LVU495
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1424 .loc 1 2267 7 discriminator 3 view .LVU496
- 1425 01b0 48F2800C movw ip, #32896
- ARM GAS /tmp/ccGUz1hM.s page 69
- 1426 01b4 42EA0C02 orr r2, r2, ip
- 1427 .LVL153:
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1428 .loc 1 2267 7 is_stmt 0 discriminator 3 view .LVU497
- 1429 01b8 20F82320 strh r2, [r0, r3, lsl #2] @ movhi
- 1430 .LBE52:
- 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1431 .loc 1 2267 7 is_stmt 1 discriminator 3 view .LVU498
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1432 .loc 1 2268 7 discriminator 3 view .LVU499
- 1433 .LBB53:
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1434 .loc 1 2268 7 discriminator 3 view .LVU500
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1435 .loc 1 2268 7 discriminator 3 view .LVU501
- 1436 01bc 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1437 01be 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1438 01c2 9BB2 uxth r3, r3
- 1439 01c4 23F48043 bic r3, r3, #16384
- 1440 01c8 23F07003 bic r3, r3, #112
- 1441 .LVL154:
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1442 .loc 1 2268 7 discriminator 3 view .LVU502
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1443 .loc 1 2268 7 discriminator 3 view .LVU503
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1444 .loc 1 2268 7 discriminator 3 view .LVU504
- 1445 01cc 43EA0C03 orr r3, r3, ip
- 1446 .LVL155:
- 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1447 .loc 1 2268 7 is_stmt 0 discriminator 3 view .LVU505
- 1448 01d0 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1449 01d4 3AE7 b .L45
- 1450 .LBE53:
- 1451 .cfi_endproc
- 1452 .LFE73:
- 1454 .section .text.USB_EPSetStall,"ax",%progbits
- 1455 .align 1
- 1456 .global USB_EPSetStall
- 1457 .syntax unified
- 1458 .thumb
- 1459 .thumb_func
- 1461 USB_EPSetStall:
- 1462 .LVL156:
- 1463 .LFB75:
- 2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStartXfer setup and starts a transfer over an EP
- 2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep)
- 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t len;
- 2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
- 2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t pmabuffer;
- ARM GAS /tmp/ccGUz1hM.s page 70
- 2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEPVal;
- 2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
- 2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
- 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Multi packet transfer*/
- 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
- 2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->maxpacket;
- 2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len;
- 2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* configure and validate Tx endpoint */
- 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, ep->pmaadress, (uint16_t)len);
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
- 2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
- 2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* double buffer bulk management */
- 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_BULK)
- 2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len_db > ep->maxpacket)
- 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* enable double buffer */
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_BULK_EP_DBUF(USBx, ep->num);
- 2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* each Time to write in PMA xfer_len_db will */
- 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
- 2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Fill the two first buffer in the Buffer0 & Buffer1 */
- 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_DTOG_TX) != 0U)
- 2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer1 */
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len);
- 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
- 2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len_db > ep->maxpacket)
- 2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
- 2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len_db;
- 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
- 2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 71
- 2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer0 */
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len);
- 2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer0 */
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len);
- 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
- 2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len_db > ep->maxpacket)
- 2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
- 2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len_db;
- 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
- 2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer1 */
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len);
- 2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 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
- 2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len_db;
- 2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* disable double buffer mode for Bulk endpoint */
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_BULK_EP_DBUF(USBx, ep->num);
- 2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set Tx count with nbre of byte to be transmitted */
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
- 2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* manage isochronous double buffer IN mode */
- 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* each Time to write in PMA xfer_len_db will */
- 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db -= len;
- 2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Fill the data buffer */
- ARM GAS /tmp/ccGUz1hM.s page 72
- 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_DTOG_TX) != 0U)
- 2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer1 */
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len);
- 2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter for pmabuffer0 */
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len);
- 2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Write the user buffer to USB PMA */
- 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len);
- 2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
- 2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_VALID);
- 2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
- 2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Multi packet transfer */
- 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
- 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->maxpacket;
- 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
- 2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len;
- 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
- 2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* configure and validate Rx endpoint */
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_CNT(USBx, ep->num, len);
- 2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
- 2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* First Transfer Coming From HAL_PCD_EP_Receive & From ISR */
- 2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Set the Double buffer counter */
- 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type == EP_TYPE_BULK)
- 2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF_CNT(USBx, ep->num, ep->is_in, ep->maxpacket);
- 2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Coming from ISR */
- 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_count != 0U)
- 2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* update last value to check if there is blocking state */
- 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** wEPVal = PCD_GET_ENDPOINT(USBx, ep->num);
- 2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 73
- 2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /*Blocking State */
- 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((((wEPVal & USB_EP_DTOG_RX) != 0U) && ((wEPVal & USB_EP_DTOG_TX) != 0U)) ||
- 2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
- 2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_FREE_USER_BUFFER(USBx, ep->num, 0U);
- 2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* iso out double */
- 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else if (ep->type == EP_TYPE_ISOC)
- 2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Multi packet transfer */
- 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->xfer_len > ep->maxpacket)
- 2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->maxpacket;
- 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
- 2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** len = ep->xfer_len;
- 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
- 2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_DBUF_CNT(USBx, ep->num, ep->is_in, len);
- 2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_ERROR;
- 2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
- 2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
- 2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPSetStall set a stall condition over an EP
- 2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPSetStall(USB_TypeDef *USBx, USB_EPTypeDef *ep)
- 2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1464 .loc 1 2503 1 is_stmt 1 view -0
- 1465 .cfi_startproc
- 1466 @ args = 0, pretend = 0, frame = 0
- 1467 @ frame_needed = 0, uses_anonymous_args = 0
- 1468 @ link register save eliminated.
- 2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
- 1469 .loc 1 2504 3 view .LVU507
- 1470 .loc 1 2504 9 is_stmt 0 view .LVU508
- 1471 0000 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 1472 .loc 1 2504 6 view .LVU509
- 1473 0002 8BB1 cbz r3, .L53
- ARM GAS /tmp/ccGUz1hM.s page 74
- 2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_STALL);
- 1474 .loc 1 2506 5 is_stmt 1 view .LVU510
- 1475 .LBB54:
- 1476 .loc 1 2506 5 view .LVU511
- 1477 .loc 1 2506 5 view .LVU512
- 1478 0004 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1479 0006 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1480 000a 9BB2 uxth r3, r3
- 1481 000c 23F4E043 bic r3, r3, #28672
- 1482 0010 23F04003 bic r3, r3, #64
- 1483 .LVL157:
- 1484 .loc 1 2506 5 view .LVU513
- 1485 .loc 1 2506 5 view .LVU514
- 1486 0014 83F01003 eor r3, r3, #16
- 1487 .LVL158:
- 1488 .loc 1 2506 5 view .LVU515
- 1489 .loc 1 2506 5 view .LVU516
- 1490 0018 43F40043 orr r3, r3, #32768
- 1491 .LVL159:
- 1492 .loc 1 2506 5 is_stmt 0 view .LVU517
- 1493 001c 43F08003 orr r3, r3, #128
- 1494 0020 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1495 .LBE54:
- 1496 .loc 1 2506 5 is_stmt 1 view .LVU518
- 1497 .L54:
- 2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_STALL);
- 1498 .loc 1 2510 5 discriminator 7 view .LVU519
- 2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1499 .loc 1 2513 3 discriminator 7 view .LVU520
- 2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1500 .loc 1 2514 1 is_stmt 0 discriminator 7 view .LVU521
- 1501 0024 0020 movs r0, #0
- 1502 .LVL160:
- 1503 .loc 1 2514 1 discriminator 7 view .LVU522
- 1504 0026 7047 bx lr
- 1505 .LVL161:
- 1506 .L53:
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1507 .loc 1 2510 5 is_stmt 1 view .LVU523
- 1508 .LBB55:
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1509 .loc 1 2510 5 view .LVU524
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1510 .loc 1 2510 5 view .LVU525
- 1511 0028 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1512 002a 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1513 002e 9BB2 uxth r3, r3
- 1514 0030 23F48043 bic r3, r3, #16384
- 1515 0034 23F07003 bic r3, r3, #112
- 1516 .LVL162:
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 75
- 1517 .loc 1 2510 5 view .LVU526
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1518 .loc 1 2510 5 view .LVU527
- 1519 0038 83F48053 eor r3, r3, #4096
- 1520 .LVL163:
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1521 .loc 1 2510 5 view .LVU528
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1522 .loc 1 2510 5 view .LVU529
- 1523 003c 43F40043 orr r3, r3, #32768
- 1524 .LVL164:
- 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1525 .loc 1 2510 5 is_stmt 0 view .LVU530
- 1526 0040 43F08003 orr r3, r3, #128
- 1527 0044 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1528 0048 ECE7 b .L54
- 1529 .LBE55:
- 1530 .cfi_endproc
- 1531 .LFE75:
- 1533 .section .text.USB_EPClearStall,"ax",%progbits
- 1534 .align 1
- 1535 .global USB_EPClearStall
- 1536 .syntax unified
- 1537 .thumb
- 1538 .thumb_func
- 1540 USB_EPClearStall:
- 1541 .LVL165:
- 1542 .LFB76:
- 2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPClearStall Clear a stall condition over an EP
- 2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPClearStall(USB_TypeDef *USBx, USB_EPTypeDef *ep)
- 2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1543 .loc 1 2523 1 is_stmt 1 view -0
- 1544 .cfi_startproc
- 1545 @ args = 0, pretend = 0, frame = 0
- 1546 @ frame_needed = 0, uses_anonymous_args = 0
- 1547 @ link register save eliminated.
- 2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 1548 .loc 1 2524 3 view .LVU532
- 1549 .loc 1 2524 9 is_stmt 0 view .LVU533
- 1550 0000 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
- 1551 .loc 1 2524 6 view .LVU534
- 1552 0002 002B cmp r3, #0
- 1553 0004 4BD1 bne .L56
- 2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in != 0U)
- 1554 .loc 1 2526 5 is_stmt 1 view .LVU535
- 1555 .loc 1 2526 11 is_stmt 0 view .LVU536
- 1556 0006 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 1557 .loc 1 2526 8 view .LVU537
- 1558 0008 33B3 cbz r3, .L57
- 2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- ARM GAS /tmp/ccGUz1hM.s page 76
- 2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_TX_DTOG(USBx, ep->num);
- 1559 .loc 1 2528 7 is_stmt 1 view .LVU538
- 1560 .LBB56:
- 1561 .loc 1 2528 7 view .LVU539
- 1562 .loc 1 2528 7 view .LVU540
- 1563 000a 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1564 000c 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1565 .LVL166:
- 1566 .loc 1 2528 7 view .LVU541
- 1567 0010 13F0400F tst r3, #64
- 1568 0014 0CD0 beq .L58
- 1569 .loc 1 2528 7 discriminator 1 view .LVU542
- 1570 .LBB57:
- 1571 .loc 1 2528 7 discriminator 1 view .LVU543
- 1572 .loc 1 2528 7 discriminator 1 view .LVU544
- 1573 0016 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1574 .LVL167:
- 1575 .loc 1 2528 7 is_stmt 0 discriminator 1 view .LVU545
- 1576 001a 9BB2 uxth r3, r3
- 1577 001c 23F4E043 bic r3, r3, #28672
- 1578 0020 23F07003 bic r3, r3, #112
- 1579 .LVL168:
- 1580 .loc 1 2528 7 is_stmt 1 discriminator 1 view .LVU546
- 1581 0024 43F40043 orr r3, r3, #32768
- 1582 .LVL169:
- 1583 .loc 1 2528 7 is_stmt 0 discriminator 1 view .LVU547
- 1584 0028 43F0C003 orr r3, r3, #192
- 1585 002c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1586 .L58:
- 1587 .loc 1 2528 7 discriminator 1 view .LVU548
- 1588 .LBE57:
- 1589 .loc 1 2528 7 is_stmt 1 discriminator 3 view .LVU549
- 1590 .LBE56:
- 1591 .loc 1 2528 7 discriminator 3 view .LVU550
- 2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
- 1592 .loc 1 2530 7 discriminator 3 view .LVU551
- 1593 .loc 1 2530 13 is_stmt 0 discriminator 3 view .LVU552
- 1594 0030 CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
- 1595 .loc 1 2530 10 discriminator 3 view .LVU553
- 1596 0032 012B cmp r3, #1
- 1597 0034 33D0 beq .L56
- 2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
- 2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
- 1598 .loc 1 2533 9 is_stmt 1 view .LVU554
- 1599 .LBB58:
- 1600 .loc 1 2533 9 view .LVU555
- 1601 .loc 1 2533 9 view .LVU556
- 1602 0036 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1603 0038 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1604 003c 9BB2 uxth r3, r3
- 1605 003e 23F4E043 bic r3, r3, #28672
- 1606 0042 23F04003 bic r3, r3, #64
- 1607 .LVL170:
- 1608 .loc 1 2533 9 view .LVU557
- 1609 .loc 1 2533 9 view .LVU558
- ARM GAS /tmp/ccGUz1hM.s page 77
- 1610 .loc 1 2533 9 view .LVU559
- 1611 0046 83F02003 eor r3, r3, #32
- 1612 .LVL171:
- 1613 .loc 1 2533 9 view .LVU560
- 1614 004a 43F40043 orr r3, r3, #32768
- 1615 .LVL172:
- 1616 .loc 1 2533 9 is_stmt 0 view .LVU561
- 1617 004e 43F08003 orr r3, r3, #128
- 1618 0052 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1619 0056 22E0 b .L56
- 1620 .L57:
- 1621 .loc 1 2533 9 view .LVU562
- 1622 .LBE58:
- 2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_CLEAR_RX_DTOG(USBx, ep->num);
- 1623 .loc 1 2538 7 is_stmt 1 view .LVU563
- 1624 .LBB59:
- 1625 .loc 1 2538 7 view .LVU564
- 1626 .loc 1 2538 7 view .LVU565
- 1627 0058 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1628 005a 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1629 .LVL173:
- 1630 .loc 1 2538 7 view .LVU566
- 1631 005e 13F4804F tst r3, #16384
- 1632 0062 0CD0 beq .L59
- 1633 .loc 1 2538 7 discriminator 1 view .LVU567
- 1634 .LBB60:
- 1635 .loc 1 2538 7 discriminator 1 view .LVU568
- 1636 .loc 1 2538 7 discriminator 1 view .LVU569
- 1637 0064 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1638 .LVL174:
- 1639 .loc 1 2538 7 is_stmt 0 discriminator 1 view .LVU570
- 1640 0068 9BB2 uxth r3, r3
- 1641 006a 23F4E043 bic r3, r3, #28672
- 1642 006e 23F07003 bic r3, r3, #112
- 1643 .LVL175:
- 1644 .loc 1 2538 7 is_stmt 1 discriminator 1 view .LVU571
- 1645 0072 43F44043 orr r3, r3, #49152
- 1646 .LVL176:
- 1647 .loc 1 2538 7 is_stmt 0 discriminator 1 view .LVU572
- 1648 0076 43F08003 orr r3, r3, #128
- 1649 007a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1650 .L59:
- 1651 .loc 1 2538 7 discriminator 1 view .LVU573
- 1652 .LBE60:
- 1653 .loc 1 2538 7 is_stmt 1 discriminator 3 view .LVU574
- 1654 .LBE59:
- 1655 .loc 1 2538 7 discriminator 3 view .LVU575
- 2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure VALID status for the Endpoint */
- 2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID);
- 1656 .loc 1 2541 7 discriminator 3 view .LVU576
- 1657 .LBB61:
- 1658 .loc 1 2541 7 discriminator 3 view .LVU577
- ARM GAS /tmp/ccGUz1hM.s page 78
- 1659 .loc 1 2541 7 discriminator 3 view .LVU578
- 1660 007e 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1661 0080 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1662 0084 9BB2 uxth r3, r3
- 1663 0086 23F48043 bic r3, r3, #16384
- 1664 008a 23F07003 bic r3, r3, #112
- 1665 .LVL177:
- 1666 .loc 1 2541 7 discriminator 3 view .LVU579
- 1667 .loc 1 2541 7 discriminator 3 view .LVU580
- 1668 .loc 1 2541 7 discriminator 3 view .LVU581
- 1669 .loc 1 2541 7 discriminator 3 view .LVU582
- 1670 008e 83F44053 eor r3, r3, #12288
- 1671 .LVL178:
- 1672 .loc 1 2541 7 discriminator 3 view .LVU583
- 1673 0092 43F40043 orr r3, r3, #32768
- 1674 .LVL179:
- 1675 .loc 1 2541 7 is_stmt 0 discriminator 3 view .LVU584
- 1676 0096 43F08003 orr r3, r3, #128
- 1677 009a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1678 .L56:
- 1679 .loc 1 2541 7 discriminator 3 view .LVU585
- 1680 .LBE61:
- 1681 .loc 1 2541 7 is_stmt 1 discriminator 7 view .LVU586
- 2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1682 .loc 1 2545 3 discriminator 7 view .LVU587
- 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1683 .loc 1 2546 1 is_stmt 0 discriminator 7 view .LVU588
- 1684 009e 0020 movs r0, #0
- 1685 .LVL180:
- 1686 .loc 1 2546 1 discriminator 7 view .LVU589
- 1687 00a0 7047 bx lr
- 1688 .cfi_endproc
- 1689 .LFE76:
- 1691 .section .text.USB_EPStopXfer,"ax",%progbits
- 1692 .align 1
- 1693 .global USB_EPStopXfer
- 1694 .syntax unified
- 1695 .thumb
- 1696 .thumb_func
- 1698 USB_EPStopXfer:
- 1699 .LVL181:
- 1700 .LFB77:
- 2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_EPStoptXfer Stop transfer on an EP
- 2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx usb device instance
- 2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param ep pointer to endpoint structure
- 2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EPStopXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep)
- 2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1701 .loc 1 2555 1 is_stmt 1 view -0
- 1702 .cfi_startproc
- 1703 @ args = 0, pretend = 0, frame = 0
- ARM GAS /tmp/ccGUz1hM.s page 79
- 1704 @ frame_needed = 0, uses_anonymous_args = 0
- 1705 @ link register save eliminated.
- 2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* IN endpoint */
- 2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->is_in == 1U)
- 1706 .loc 1 2557 3 view .LVU591
- 1707 .loc 1 2557 9 is_stmt 0 view .LVU592
- 1708 0000 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 1709 .loc 1 2557 6 view .LVU593
- 1710 0002 012B cmp r3, #1
- 1711 0004 16D0 beq .L65
- 2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
- 2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK);
- 2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure TX Endpoint to disabled state */
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS);
- 2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else /* OUT endpoint */
- 2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->doublebuffer == 0U)
- 1712 .loc 1 2575 5 is_stmt 1 view .LVU594
- 1713 .loc 1 2575 11 is_stmt 0 view .LVU595
- 1714 0006 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
- 1715 .loc 1 2575 8 view .LVU596
- 1716 0008 93B9 cbnz r3, .L62
- 2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (ep->type != EP_TYPE_ISOC)
- 1717 .loc 1 2577 7 is_stmt 1 view .LVU597
- 1718 .loc 1 2577 13 is_stmt 0 view .LVU598
- 1719 000a CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
- 1720 .loc 1 2577 10 view .LVU599
- 1721 000c 012B cmp r3, #1
- 1722 000e 37D0 beq .L64
- 2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure NAK status for the Endpoint */
- 2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_NAK);
- 1723 .loc 1 2580 9 is_stmt 1 view .LVU600
- 1724 .LBB62:
- 1725 .loc 1 2580 9 view .LVU601
- 1726 .loc 1 2580 9 view .LVU602
- 1727 0010 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1728 0012 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1729 0016 9BB2 uxth r3, r3
- 1730 0018 23F48043 bic r3, r3, #16384
- 1731 001c 23F07003 bic r3, r3, #112
- 1732 .LVL182:
- 1733 .loc 1 2580 9 view .LVU603
- 1734 .loc 1 2580 9 view .LVU604
- 1735 .loc 1 2580 9 view .LVU605
- ARM GAS /tmp/ccGUz1hM.s page 80
- 1736 0020 83F40053 eor r3, r3, #8192
- 1737 .LVL183:
- 1738 .loc 1 2580 9 view .LVU606
- 1739 0024 43F40043 orr r3, r3, #32768
- 1740 .LVL184:
- 1741 .loc 1 2580 9 is_stmt 0 view .LVU607
- 1742 0028 43F08003 orr r3, r3, #128
- 1743 002c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1744 .LBE62:
- 1745 .loc 1 2580 9 is_stmt 1 view .LVU608
- 1746 .L62:
- 2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** else
- 2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Configure RX Endpoint to disabled state */
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS);
- 1747 .loc 1 2585 9 discriminator 7 view .LVU609
- 2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1748 .loc 1 2590 3 discriminator 7 view .LVU610
- 2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1749 .loc 1 2591 1 is_stmt 0 discriminator 7 view .LVU611
- 1750 0030 0020 movs r0, #0
- 1751 .LVL185:
- 1752 .loc 1 2591 1 discriminator 7 view .LVU612
- 1753 0032 7047 bx lr
- 1754 .LVL186:
- 1755 .L65:
- 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1756 .loc 1 2559 5 is_stmt 1 view .LVU613
- 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1757 .loc 1 2559 11 is_stmt 0 view .LVU614
- 1758 0034 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
- 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1759 .loc 1 2559 8 view .LVU615
- 1760 0036 002B cmp r3, #0
- 1761 0038 FAD1 bne .L62
- 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1762 .loc 1 2561 7 is_stmt 1 view .LVU616
- 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1763 .loc 1 2561 13 is_stmt 0 view .LVU617
- 1764 003a CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
- 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1765 .loc 1 2561 10 view .LVU618
- 1766 003c 012B cmp r3, #1
- 1767 003e 10D0 beq .L63
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1768 .loc 1 2564 9 is_stmt 1 view .LVU619
- 1769 .LBB63:
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1770 .loc 1 2564 9 view .LVU620
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1771 .loc 1 2564 9 view .LVU621
- 1772 0040 0A78 ldrb r2, [r1] @ zero_extendqisi2
- ARM GAS /tmp/ccGUz1hM.s page 81
- 1773 0042 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1774 0046 9BB2 uxth r3, r3
- 1775 0048 23F4E043 bic r3, r3, #28672
- 1776 004c 23F04003 bic r3, r3, #64
- 1777 .LVL187:
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1778 .loc 1 2564 9 view .LVU622
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1779 .loc 1 2564 9 view .LVU623
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1780 .loc 1 2564 9 view .LVU624
- 1781 0050 83F02003 eor r3, r3, #32
- 1782 .LVL188:
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1783 .loc 1 2564 9 view .LVU625
- 1784 0054 43F40043 orr r3, r3, #32768
- 1785 .LVL189:
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1786 .loc 1 2564 9 is_stmt 0 view .LVU626
- 1787 0058 43F08003 orr r3, r3, #128
- 1788 005c 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1789 .LBE63:
- 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1790 .loc 1 2564 9 is_stmt 1 view .LVU627
- 1791 0060 E6E7 b .L62
- 1792 .L63:
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1793 .loc 1 2569 9 view .LVU628
- 1794 .LBB64:
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1795 .loc 1 2569 9 view .LVU629
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1796 .loc 1 2569 9 view .LVU630
- 1797 0062 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1798 0064 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1799 0068 9BB2 uxth r3, r3
- 1800 006a 23F4E043 bic r3, r3, #28672
- 1801 006e 23F04003 bic r3, r3, #64
- 1802 .LVL190:
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1803 .loc 1 2569 9 view .LVU631
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1804 .loc 1 2569 9 view .LVU632
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1805 .loc 1 2569 9 view .LVU633
- 1806 0072 43F40043 orr r3, r3, #32768
- 1807 .LVL191:
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1808 .loc 1 2569 9 is_stmt 0 view .LVU634
- 1809 0076 43F08003 orr r3, r3, #128
- 1810 007a 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1811 007e D7E7 b .L62
- 1812 .L64:
- 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1813 .loc 1 2569 9 view .LVU635
- 1814 .LBE64:
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 82
- 1815 .loc 1 2585 9 is_stmt 1 view .LVU636
- 1816 .LBB65:
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1817 .loc 1 2585 9 view .LVU637
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1818 .loc 1 2585 9 view .LVU638
- 1819 0080 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 1820 0082 30F82230 ldrh r3, [r0, r2, lsl #2]
- 1821 0086 9BB2 uxth r3, r3
- 1822 0088 23F48043 bic r3, r3, #16384
- 1823 008c 23F07003 bic r3, r3, #112
- 1824 .LVL192:
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1825 .loc 1 2585 9 view .LVU639
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1826 .loc 1 2585 9 view .LVU640
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1827 .loc 1 2585 9 view .LVU641
- 1828 0090 43F40043 orr r3, r3, #32768
- 1829 .LVL193:
- 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1830 .loc 1 2585 9 is_stmt 0 view .LVU642
- 1831 0094 43F08003 orr r3, r3, #128
- 1832 0098 20F82230 strh r3, [r0, r2, lsl #2] @ movhi
- 1833 009c C8E7 b .L62
- 1834 .LBE65:
- 1835 .cfi_endproc
- 1836 .LFE77:
- 1838 .section .text.USB_StopDevice,"ax",%progbits
- 1839 .align 1
- 1840 .global USB_StopDevice
- 1841 .syntax unified
- 1842 .thumb
- 1843 .thumb_func
- 1845 USB_StopDevice:
- 1846 .LVL194:
- 1847 .LFB78:
- 2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* defined (HAL_PCD_MODULE_ENABLED) */
- 2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_StopDevice Stop the usb device mode
- 2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_StopDevice(USB_TypeDef *USBx)
- 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1848 .loc 1 2600 1 is_stmt 1 view -0
- 1849 .cfi_startproc
- 1850 @ args = 0, pretend = 0, frame = 0
- 1851 @ frame_needed = 0, uses_anonymous_args = 0
- 1852 @ link register save eliminated.
- 1853 .loc 1 2600 1 is_stmt 0 view .LVU644
- 1854 0000 0346 mov r3, r0
- 2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* disable all interrupts and force USB reset */
- 2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)USB_CNTR_FRES;
- 1855 .loc 1 2602 3 is_stmt 1 view .LVU645
- 1856 .loc 1 2602 14 is_stmt 0 view .LVU646
- ARM GAS /tmp/ccGUz1hM.s page 83
- 1857 0002 0122 movs r2, #1
- 1858 0004 A0F84020 strh r2, [r0, #64] @ movhi
- 2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* clear interrupt status register */
- 2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->ISTR = 0U;
- 1859 .loc 1 2605 3 is_stmt 1 view .LVU647
- 1860 .loc 1 2605 14 is_stmt 0 view .LVU648
- 1861 0008 0020 movs r0, #0
- 1862 .LVL195:
- 1863 .loc 1 2605 14 view .LVU649
- 1864 000a A3F84400 strh r0, [r3, #68] @ movhi
- 2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* switch-off device */
- 2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR = (uint16_t)(USB_CNTR_FRES | USB_CNTR_PDWN);
- 1865 .loc 1 2608 3 is_stmt 1 view .LVU650
- 1866 .loc 1 2608 14 is_stmt 0 view .LVU651
- 1867 000e 0322 movs r2, #3
- 1868 0010 A3F84020 strh r2, [r3, #64] @ movhi
- 2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1869 .loc 1 2610 3 is_stmt 1 view .LVU652
- 2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1870 .loc 1 2611 1 is_stmt 0 view .LVU653
- 1871 0014 7047 bx lr
- 1872 .cfi_endproc
- 1873 .LFE78:
- 1875 .section .text.USB_SetDevAddress,"ax",%progbits
- 1876 .align 1
- 1877 .global USB_SetDevAddress
- 1878 .syntax unified
- 1879 .thumb
- 1880 .thumb_func
- 1882 USB_SetDevAddress:
- 1883 .LVL196:
- 1884 .LFB79:
- 2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_SetDevAddress Stop the usb device mode
- 2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param address new device address to be assigned
- 2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 255
- 2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_SetDevAddress(USB_TypeDef *USBx, uint8_t address)
- 2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1885 .loc 1 2621 1 is_stmt 1 view -0
- 1886 .cfi_startproc
- 1887 @ args = 0, pretend = 0, frame = 0
- 1888 @ frame_needed = 0, uses_anonymous_args = 0
- 1889 @ link register save eliminated.
- 2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if (address == 0U)
- 1890 .loc 1 2622 3 view .LVU655
- 1891 .loc 1 2622 6 is_stmt 0 view .LVU656
- 1892 0000 11B9 cbnz r1, .L68
- 2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* set device address and enable function */
- 2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->DADDR = (uint16_t)USB_DADDR_EF;
- ARM GAS /tmp/ccGUz1hM.s page 84
- 1893 .loc 1 2625 5 is_stmt 1 view .LVU657
- 1894 .loc 1 2625 17 is_stmt 0 view .LVU658
- 1895 0002 8023 movs r3, #128
- 1896 0004 A0F84C30 strh r3, [r0, #76] @ movhi
- 1897 .L68:
- 2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1898 .loc 1 2628 3 is_stmt 1 view .LVU659
- 2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1899 .loc 1 2629 1 is_stmt 0 view .LVU660
- 1900 0008 0020 movs r0, #0
- 1901 .LVL197:
- 1902 .loc 1 2629 1 view .LVU661
- 1903 000a 7047 bx lr
- 1904 .cfi_endproc
- 1905 .LFE79:
- 1907 .section .text.USB_DevConnect,"ax",%progbits
- 1908 .align 1
- 1909 .global USB_DevConnect
- 1910 .syntax unified
- 1911 .thumb
- 1912 .thumb_func
- 1914 USB_DevConnect:
- 1915 .LVL198:
- 1916 .LFB80:
- 2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevConnect Connect the USB device by enabling the pull-up/pull-down
- 2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevConnect(USB_TypeDef *USBx)
- 2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1917 .loc 1 2637 1 is_stmt 1 view -0
- 1918 .cfi_startproc
- 1919 @ args = 0, pretend = 0, frame = 0
- 1920 @ frame_needed = 0, uses_anonymous_args = 0
- 1921 @ link register save eliminated.
- 2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 1922 .loc 1 2639 3 view .LVU663
- 2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1923 .loc 1 2646 3 view .LVU664
- 2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1924 .loc 1 2647 1 is_stmt 0 view .LVU665
- 1925 0000 0020 movs r0, #0
- 1926 .LVL199:
- 1927 .loc 1 2647 1 view .LVU666
- 1928 0002 7047 bx lr
- 1929 .cfi_endproc
- ARM GAS /tmp/ccGUz1hM.s page 85
- 1930 .LFE80:
- 1932 .section .text.USB_DevDisconnect,"ax",%progbits
- 1933 .align 1
- 1934 .global USB_DevDisconnect
- 1935 .syntax unified
- 1936 .thumb
- 1937 .thumb_func
- 1939 USB_DevDisconnect:
- 1940 .LVL200:
- 1941 .LFB81:
- 2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DevDisconnect Disconnect the USB device by disabling the pull-up/pull-down
- 2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DevDisconnect(USB_TypeDef *USBx)
- 2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1942 .loc 1 2655 1 is_stmt 1 view -0
- 1943 .cfi_startproc
- 1944 @ args = 0, pretend = 0, frame = 0
- 1945 @ frame_needed = 0, uses_anonymous_args = 0
- 1946 @ link register save eliminated.
- 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 1947 .loc 1 2657 3 view .LVU668
- 2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 1948 .loc 1 2664 3 view .LVU669
- 2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1949 .loc 1 2665 1 is_stmt 0 view .LVU670
- 1950 0000 0020 movs r0, #0
- 1951 .LVL201:
- 1952 .loc 1 2665 1 view .LVU671
- 1953 0002 7047 bx lr
- 1954 .cfi_endproc
- 1955 .LFE81:
- 1957 .section .text.USB_ReadInterrupts,"ax",%progbits
- 1958 .align 1
- 1959 .global USB_ReadInterrupts
- 1960 .syntax unified
- 1961 .thumb
- 1962 .thumb_func
- 1964 USB_ReadInterrupts:
- 1965 .LVL202:
- 1966 .LFB82:
- 2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadInterrupts return the global USB interrupt status
- 2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval USB Global Interrupt status
- 2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- ARM GAS /tmp/ccGUz1hM.s page 86
- 2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadInterrupts(USB_TypeDef const *USBx)
- 2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1967 .loc 1 2673 1 is_stmt 1 view -0
- 1968 .cfi_startproc
- 1969 @ args = 0, pretend = 0, frame = 0
- 1970 @ frame_needed = 0, uses_anonymous_args = 0
- 1971 @ link register save eliminated.
- 2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t tmpreg;
- 1972 .loc 1 2674 3 view .LVU673
- 2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** tmpreg = USBx->ISTR;
- 1973 .loc 1 2676 3 view .LVU674
- 1974 .loc 1 2676 16 is_stmt 0 view .LVU675
- 1975 0000 B0F84400 ldrh r0, [r0, #68]
- 1976 .LVL203:
- 2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return tmpreg;
- 1977 .loc 1 2677 3 is_stmt 1 view .LVU676
- 2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 1978 .loc 1 2678 1 is_stmt 0 view .LVU677
- 1979 0004 80B2 uxth r0, r0
- 1980 .LVL204:
- 1981 .loc 1 2678 1 view .LVU678
- 1982 0006 7047 bx lr
- 1983 .cfi_endproc
- 1984 .LFE82:
- 1986 .section .text.USB_ReadDevAllOutEpInterrupt,"ax",%progbits
- 1987 .align 1
- 1988 .global USB_ReadDevAllOutEpInterrupt
- 1989 .syntax unified
- 1990 .thumb
- 1991 .thumb_func
- 1993 USB_ReadDevAllOutEpInterrupt:
- 1994 .LVL205:
- 1995 .LFB83:
- 2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllOutEpInterrupt return the USB device OUT endpoints interrupt status
- 2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllOutEpInterrupt(USB_TypeDef *USBx)
- 2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 1996 .loc 1 2686 1 is_stmt 1 view -0
- 1997 .cfi_startproc
- 1998 @ args = 0, pretend = 0, frame = 0
- 1999 @ frame_needed = 0, uses_anonymous_args = 0
- 2000 @ link register save eliminated.
- 2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 2001 .loc 1 2688 3 view .LVU680
- 2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
- 2002 .loc 1 2693 3 view .LVU681
- 2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 87
- 2003 .loc 1 2694 1 is_stmt 0 view .LVU682
- 2004 0000 0020 movs r0, #0
- 2005 .LVL206:
- 2006 .loc 1 2694 1 view .LVU683
- 2007 0002 7047 bx lr
- 2008 .cfi_endproc
- 2009 .LFE83:
- 2011 .section .text.USB_ReadDevAllInEpInterrupt,"ax",%progbits
- 2012 .align 1
- 2013 .global USB_ReadDevAllInEpInterrupt
- 2014 .syntax unified
- 2015 .thumb
- 2016 .thumb_func
- 2018 USB_ReadDevAllInEpInterrupt:
- 2019 .LVL207:
- 2020 .LFB84:
- 2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ReadDevAllInEpInterrupt return the USB device IN endpoints interrupt status
- 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevAllInEpInterrupt(USB_TypeDef *USBx)
- 2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2021 .loc 1 2702 1 is_stmt 1 view -0
- 2022 .cfi_startproc
- 2023 @ args = 0, pretend = 0, frame = 0
- 2024 @ frame_needed = 0, uses_anonymous_args = 0
- 2025 @ link register save eliminated.
- 2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 2026 .loc 1 2704 3 view .LVU685
- 2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
- 2027 .loc 1 2709 3 view .LVU686
- 2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2028 .loc 1 2710 1 is_stmt 0 view .LVU687
- 2029 0000 0020 movs r0, #0
- 2030 .LVL208:
- 2031 .loc 1 2710 1 view .LVU688
- 2032 0002 7047 bx lr
- 2033 .cfi_endproc
- 2034 .LFE84:
- 2036 .section .text.USB_ReadDevOutEPInterrupt,"ax",%progbits
- 2037 .align 1
- 2038 .global USB_ReadDevOutEPInterrupt
- 2039 .syntax unified
- 2040 .thumb
- 2041 .thumb_func
- 2043 USB_ReadDevOutEPInterrupt:
- 2044 .LVL209:
- 2045 .LFB85:
- 2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- ARM GAS /tmp/ccGUz1hM.s page 88
- 2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device OUT EP Interrupt register
- 2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
- 2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
- 2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device OUT EP Interrupt register
- 2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevOutEPInterrupt(USB_TypeDef *USBx, uint8_t epnum)
- 2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2046 .loc 1 2720 1 is_stmt 1 view -0
- 2047 .cfi_startproc
- 2048 @ args = 0, pretend = 0, frame = 0
- 2049 @ frame_needed = 0, uses_anonymous_args = 0
- 2050 @ link register save eliminated.
- 2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 2051 .loc 1 2722 3 view .LVU690
- 2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(epnum);
- 2052 .loc 1 2723 3 view .LVU691
- 2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
- 2053 .loc 1 2728 3 view .LVU692
- 2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2054 .loc 1 2729 1 is_stmt 0 view .LVU693
- 2055 0000 0020 movs r0, #0
- 2056 .LVL210:
- 2057 .loc 1 2729 1 view .LVU694
- 2058 0002 7047 bx lr
- 2059 .cfi_endproc
- 2060 .LFE85:
- 2062 .section .text.USB_ReadDevInEPInterrupt,"ax",%progbits
- 2063 .align 1
- 2064 .global USB_ReadDevInEPInterrupt
- 2065 .syntax unified
- 2066 .thumb
- 2067 .thumb_func
- 2069 USB_ReadDevInEPInterrupt:
- 2070 .LVL211:
- 2071 .LFB86:
- 2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Returns Device IN EP Interrupt register
- 2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param epnum endpoint number
- 2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * This parameter can be a value from 0 to 15
- 2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval Device IN EP Interrupt register
- 2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t USB_ReadDevInEPInterrupt(USB_TypeDef *USBx, uint8_t epnum)
- 2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2072 .loc 1 2739 1 is_stmt 1 view -0
- 2073 .cfi_startproc
- 2074 @ args = 0, pretend = 0, frame = 0
- 2075 @ frame_needed = 0, uses_anonymous_args = 0
- 2076 @ link register save eliminated.
- 2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- ARM GAS /tmp/ccGUz1hM.s page 89
- 2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 2077 .loc 1 2741 3 view .LVU696
- 2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(epnum);
- 2078 .loc 1 2742 3 view .LVU697
- 2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return (0);
- 2079 .loc 1 2747 3 view .LVU698
- 2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2080 .loc 1 2748 1 is_stmt 0 view .LVU699
- 2081 0000 0020 movs r0, #0
- 2082 .LVL212:
- 2083 .loc 1 2748 1 view .LVU700
- 2084 0002 7047 bx lr
- 2085 .cfi_endproc
- 2086 .LFE86:
- 2088 .section .text.USB_ClearInterrupts,"ax",%progbits
- 2089 .align 1
- 2090 .global USB_ClearInterrupts
- 2091 .syntax unified
- 2092 .thumb
- 2093 .thumb_func
- 2095 USB_ClearInterrupts:
- 2096 .LVL213:
- 2097 .LFB87:
- 2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ClearInterrupts: clear a USB interrupt
- 2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param interrupt flag
- 2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
- 2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** void USB_ClearInterrupts(USB_TypeDef *USBx, uint32_t interrupt)
- 2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2098 .loc 1 2757 1 is_stmt 1 view -0
- 2099 .cfi_startproc
- 2100 @ args = 0, pretend = 0, frame = 0
- 2101 @ frame_needed = 0, uses_anonymous_args = 0
- 2102 @ link register save eliminated.
- 2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 2103 .loc 1 2759 3 view .LVU702
- 2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(interrupt);
- 2104 .loc 1 2760 3 view .LVU703
- 2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2105 .loc 1 2765 1 is_stmt 0 view .LVU704
- 2106 0000 7047 bx lr
- 2107 .cfi_endproc
- 2108 .LFE87:
- 2110 .section .text.USB_EP0_OutStart,"ax",%progbits
- 2111 .align 1
- ARM GAS /tmp/ccGUz1hM.s page 90
- 2112 .global USB_EP0_OutStart
- 2113 .syntax unified
- 2114 .thumb
- 2115 .thumb_func
- 2117 USB_EP0_OutStart:
- 2118 .LVL214:
- 2119 .LFB88:
- 2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Prepare the EP0 to start the first control setup
- 2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param psetup pointer to setup packet
- 2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_EP0_OutStart(USB_TypeDef *USBx, uint8_t *psetup)
- 2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2120 .loc 1 2774 1 is_stmt 1 view -0
- 2121 .cfi_startproc
- 2122 @ args = 0, pretend = 0, frame = 0
- 2123 @ frame_needed = 0, uses_anonymous_args = 0
- 2124 @ link register save eliminated.
- 2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* Prevent unused argument(s) compilation warning */
- 2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(USBx);
- 2125 .loc 1 2776 3 view .LVU706
- 2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** UNUSED(psetup);
- 2126 .loc 1 2777 3 view .LVU707
- 2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /* NOTE : - This function is not required by USB Device FS peripheral, it is used
- 2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** only by USB OTG FS peripheral.
- 2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** - This function is added to ensure compatibility across platforms.
- 2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 2127 .loc 1 2782 3 view .LVU708
- 2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2128 .loc 1 2783 1 is_stmt 0 view .LVU709
- 2129 0000 0020 movs r0, #0
- 2130 .LVL215:
- 2131 .loc 1 2783 1 view .LVU710
- 2132 0002 7047 bx lr
- 2133 .cfi_endproc
- 2134 .LFE88:
- 2136 .section .text.USB_ActivateRemoteWakeup,"ax",%progbits
- 2137 .align 1
- 2138 .global USB_ActivateRemoteWakeup
- 2139 .syntax unified
- 2140 .thumb
- 2141 .thumb_func
- 2143 USB_ActivateRemoteWakeup:
- 2144 .LVL216:
- 2145 .LFB89:
- 2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_ActivateRemoteWakeup : active remote wakeup signalling
- 2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_ActivateRemoteWakeup(USB_TypeDef *USBx)
- 2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- ARM GAS /tmp/ccGUz1hM.s page 91
- 2146 .loc 1 2791 1 is_stmt 1 view -0
- 2147 .cfi_startproc
- 2148 @ args = 0, pretend = 0, frame = 0
- 2149 @ frame_needed = 0, uses_anonymous_args = 0
- 2150 @ link register save eliminated.
- 2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR |= (uint16_t)USB_CNTR_RESUME;
- 2151 .loc 1 2792 3 view .LVU712
- 2152 .loc 1 2792 14 is_stmt 0 view .LVU713
- 2153 0000 B0F84030 ldrh r3, [r0, #64]
- 2154 0004 9BB2 uxth r3, r3
- 2155 0006 43F01003 orr r3, r3, #16
- 2156 000a A0F84030 strh r3, [r0, #64] @ movhi
- 2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 2157 .loc 1 2794 3 is_stmt 1 view .LVU714
- 2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2158 .loc 1 2795 1 is_stmt 0 view .LVU715
- 2159 000e 0020 movs r0, #0
- 2160 .LVL217:
- 2161 .loc 1 2795 1 view .LVU716
- 2162 0010 7047 bx lr
- 2163 .cfi_endproc
- 2164 .LFE89:
- 2166 .section .text.USB_DeActivateRemoteWakeup,"ax",%progbits
- 2167 .align 1
- 2168 .global USB_DeActivateRemoteWakeup
- 2169 .syntax unified
- 2170 .thumb
- 2171 .thumb_func
- 2173 USB_DeActivateRemoteWakeup:
- 2174 .LVL218:
- 2175 .LFB90:
- 2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief USB_DeActivateRemoteWakeup de-active remote wakeup signalling
- 2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx Selected device
- 2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval HAL status
- 2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** HAL_StatusTypeDef USB_DeActivateRemoteWakeup(USB_TypeDef *USBx)
- 2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2176 .loc 1 2803 1 is_stmt 1 view -0
- 2177 .cfi_startproc
- 2178 @ args = 0, pretend = 0, frame = 0
- 2179 @ frame_needed = 0, uses_anonymous_args = 0
- 2180 @ link register save eliminated.
- 2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** USBx->CNTR &= (uint16_t)(~USB_CNTR_RESUME);
- 2181 .loc 1 2804 3 view .LVU718
- 2182 .loc 1 2804 14 is_stmt 0 view .LVU719
- 2183 0000 B0F84030 ldrh r3, [r0, #64]
- 2184 0004 9BB2 uxth r3, r3
- 2185 0006 23F01003 bic r3, r3, #16
- 2186 000a 9BB2 uxth r3, r3
- 2187 000c A0F84030 strh r3, [r0, #64] @ movhi
- 2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** return HAL_OK;
- 2188 .loc 1 2806 3 is_stmt 1 view .LVU720
- 2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 92
- 2189 .loc 1 2807 1 is_stmt 0 view .LVU721
- 2190 0010 0020 movs r0, #0
- 2191 .LVL219:
- 2192 .loc 1 2807 1 view .LVU722
- 2193 0012 7047 bx lr
- 2194 .cfi_endproc
- 2195 .LFE90:
- 2197 .section .text.USB_WritePMA,"ax",%progbits
- 2198 .align 1
- 2199 .global USB_WritePMA
- 2200 .syntax unified
- 2201 .thumb
- 2202 .thumb_func
- 2204 USB_WritePMA:
- 2205 .LVL220:
- 2206 .LFB91:
- 2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Copy a buffer from user memory area to packet memory area (PMA)
- 2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB peripheral instance register address.
- 2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param pbUsrBuf pointer to user memory area.
- 2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wPMABufAddr address into PMA.
- 2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wNBytes no. of bytes to be copied.
- 2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
- 2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 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
- 2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2207 .loc 1 2818 1 is_stmt 1 view -0
- 2208 .cfi_startproc
- 2209 @ args = 0, pretend = 0, frame = 0
- 2210 @ frame_needed = 0, uses_anonymous_args = 0
- 2211 @ link register save eliminated.
- 2212 .loc 1 2818 1 is_stmt 0 view .LVU724
- 2213 0000 10B4 push {r4}
- 2214 .LCFI5:
- 2215 .cfi_def_cfa_offset 4
- 2216 .cfi_offset 4, -4
- 2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t n = ((uint32_t)wNBytes + 1U) >> 1;
- 2217 .loc 1 2819 3 is_stmt 1 view .LVU725
- 2218 .loc 1 2819 35 is_stmt 0 view .LVU726
- 2219 0002 5C1C adds r4, r3, #1
- 2220 .loc 1 2819 12 view .LVU727
- 2221 0004 6408 lsrs r4, r4, #1
- 2222 .LVL221:
- 2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t BaseAddr = (uint32_t)USBx;
- 2223 .loc 1 2820 3 is_stmt 1 view .LVU728
- 2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count;
- 2224 .loc 1 2821 3 view .LVU729
- 2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t WrVal;
- 2225 .loc 1 2822 3 view .LVU730
- 2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint16_t *pdwVal;
- 2226 .loc 1 2823 3 view .LVU731
- 2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pBuf = pbUsrBuf;
- 2227 .loc 1 2824 3 view .LVU732
- 2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal = (__IO uint16_t *)(BaseAddr + 0x400U + ((uint32_t)wPMABufAddr * PMA_ACCESS));
- 2228 .loc 1 2826 3 view .LVU733
- ARM GAS /tmp/ccGUz1hM.s page 93
- 2229 .loc 1 2826 48 is_stmt 0 view .LVU734
- 2230 0006 00EB4202 add r2, r0, r2, lsl #1
- 2231 .LVL222:
- 2232 .loc 1 2826 48 view .LVU735
- 2233 000a 02F58062 add r2, r2, #1024
- 2234 .LVL223:
- 2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (count = n; count != 0U; count--)
- 2235 .loc 1 2828 3 is_stmt 1 view .LVU736
- 2236 .loc 1 2828 3 is_stmt 0 view .LVU737
- 2237 000e 07E0 b .L81
- 2238 .LVL224:
- 2239 .L82:
- 2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** WrVal = pBuf[0];
- 2240 .loc 1 2830 5 is_stmt 1 discriminator 3 view .LVU738
- 2241 .loc 1 2830 17 is_stmt 0 discriminator 3 view .LVU739
- 2242 0010 0B78 ldrb r3, [r1] @ zero_extendqisi2
- 2243 .LVL225:
- 2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** WrVal |= (uint16_t)pBuf[1] << 8;
- 2244 .loc 1 2831 5 is_stmt 1 discriminator 3 view .LVU740
- 2245 .loc 1 2831 28 is_stmt 0 discriminator 3 view .LVU741
- 2246 0012 4878 ldrb r0, [r1, #1] @ zero_extendqisi2
- 2247 .loc 1 2831 11 discriminator 3 view .LVU742
- 2248 0014 43EA0023 orr r3, r3, r0, lsl #8
- 2249 .LVL226:
- 2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pdwVal = (WrVal & 0xFFFFU);
- 2250 .loc 1 2832 5 is_stmt 1 discriminator 3 view .LVU743
- 2251 .loc 1 2832 13 is_stmt 0 discriminator 3 view .LVU744
- 2252 0018 22F8043B strh r3, [r2], #4 @ movhi
- 2253 .LVL227:
- 2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
- 2254 .loc 1 2833 5 is_stmt 1 discriminator 3 view .LVU745
- 2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if PMA_ACCESS > 1U
- 2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
- 2255 .loc 1 2836 5 discriminator 3 view .LVU746
- 2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* PMA_ACCESS */
- 2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
- 2256 .loc 1 2839 5 discriminator 3 view .LVU747
- 2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
- 2257 .loc 1 2840 5 discriminator 3 view .LVU748
- 2258 .loc 1 2840 9 is_stmt 0 discriminator 3 view .LVU749
- 2259 001c 0231 adds r1, r1, #2
- 2260 .LVL228:
- 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2261 .loc 1 2828 32 is_stmt 1 discriminator 3 view .LVU750
- 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2262 .loc 1 2828 37 is_stmt 0 discriminator 3 view .LVU751
- 2263 001e 013C subs r4, r4, #1
- 2264 .LVL229:
- 2265 .L81:
- 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2266 .loc 1 2828 19 is_stmt 1 discriminator 1 view .LVU752
- 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2267 .loc 1 2828 3 is_stmt 0 discriminator 1 view .LVU753
- ARM GAS /tmp/ccGUz1hM.s page 94
- 2268 0020 002C cmp r4, #0
- 2269 0022 F5D1 bne .L82
- 2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2270 .loc 1 2842 1 view .LVU754
- 2271 0024 10BC pop {r4}
- 2272 .LCFI6:
- 2273 .cfi_restore 4
- 2274 .cfi_def_cfa_offset 0
- 2275 .LVL230:
- 2276 .loc 1 2842 1 view .LVU755
- 2277 0026 7047 bx lr
- 2278 .cfi_endproc
- 2279 .LFE91:
- 2281 .section .text.USB_EPStartXfer,"ax",%progbits
- 2282 .align 1
- 2283 .global USB_EPStartXfer
- 2284 .syntax unified
- 2285 .thumb
- 2286 .thumb_func
- 2288 USB_EPStartXfer:
- 2289 .LVL231:
- 2290 .LFB74:
- 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t len;
- 2291 .loc 1 2283 1 is_stmt 1 view -0
- 2292 .cfi_startproc
- 2293 @ args = 0, pretend = 0, frame = 0
- 2294 @ frame_needed = 0, uses_anonymous_args = 0
- 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t len;
- 2295 .loc 1 2283 1 is_stmt 0 view .LVU757
- 2296 0000 70B5 push {r4, r5, r6, lr}
- 2297 .LCFI7:
- 2298 .cfi_def_cfa_offset 16
- 2299 .cfi_offset 4, -16
- 2300 .cfi_offset 5, -12
- 2301 .cfi_offset 6, -8
- 2302 .cfi_offset 14, -4
- 2303 0002 0546 mov r5, r0
- 2304 0004 0C46 mov r4, r1
- 2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if (USE_USB_DOUBLE_BUFFER == 1U)
- 2305 .loc 1 2284 3 is_stmt 1 view .LVU758
- 2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint16_t wEPVal;
- 2306 .loc 1 2286 3 view .LVU759
- 2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* (USE_USB_DOUBLE_BUFFER == 1U) */
- 2307 .loc 1 2287 3 view .LVU760
- 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2308 .loc 1 2291 3 view .LVU761
- 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2309 .loc 1 2291 9 is_stmt 0 view .LVU762
- 2310 0006 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
- 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2311 .loc 1 2291 6 view .LVU763
- 2312 0008 012A cmp r2, #1
- 2313 000a 3BD0 beq .L169
- 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2314 .loc 1 2427 5 is_stmt 1 view .LVU764
- 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- ARM GAS /tmp/ccGUz1hM.s page 95
- 2315 .loc 1 2427 11 is_stmt 0 view .LVU765
- 2316 000c 0B7B ldrb r3, [r1, #12] @ zero_extendqisi2
- 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2317 .loc 1 2427 8 view .LVU766
- 2318 000e 002B cmp r3, #0
- 2319 0010 40F0A682 bne .L134
- 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2320 .loc 1 2430 7 is_stmt 1 view .LVU767
- 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2321 .loc 1 2430 13 is_stmt 0 view .LVU768
- 2322 0014 8B69 ldr r3, [r1, #24]
- 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2323 .loc 1 2430 28 view .LVU769
- 2324 0016 0A69 ldr r2, [r1, #16]
- 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2325 .loc 1 2430 10 view .LVU770
- 2326 0018 9342 cmp r3, r2
- 2327 001a 40F28482 bls .L135
- 2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
- 2328 .loc 1 2432 9 is_stmt 1 view .LVU771
- 2329 .LVL232:
- 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2330 .loc 1 2433 9 view .LVU772
- 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2331 .loc 1 2433 22 is_stmt 0 view .LVU773
- 2332 001e 9B1A subs r3, r3, r2
- 2333 0020 8B61 str r3, [r1, #24]
- 2334 .L136:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2335 .loc 1 2441 7 is_stmt 1 view .LVU774
- 2336 .LBB66:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2337 .loc 1 2441 7 view .LVU775
- 2338 .LVL233:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2339 .loc 1 2441 7 view .LVU776
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2340 .loc 1 2441 7 view .LVU777
- 2341 0022 B5F85030 ldrh r3, [r5, #80]
- 2342 0026 9BB2 uxth r3, r3
- 2343 0028 2B44 add r3, r3, r5
- 2344 .LVL234:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2345 .loc 1 2441 7 view .LVU778
- 2346 002a 2178 ldrb r1, [r4] @ zero_extendqisi2
- 2347 .LVL235:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2348 .loc 1 2441 7 is_stmt 0 view .LVU779
- 2349 002c 03EB0113 add r3, r3, r1, lsl #4
- 2350 .LVL236:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2351 .loc 1 2441 7 is_stmt 1 view .LVU780
- 2352 .LBB67:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2353 .loc 1 2441 7 view .LVU781
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2354 .loc 1 2441 7 view .LVU782
- ARM GAS /tmp/ccGUz1hM.s page 96
- 2355 0030 B3F80C14 ldrh r1, [r3, #1036]
- 2356 0034 C1F30901 ubfx r1, r1, #0, #10
- 2357 0038 A3F80C14 strh r1, [r3, #1036] @ movhi
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2358 .loc 1 2441 7 view .LVU783
- 2359 003c 3E2A cmp r2, #62
- 2360 003e 40F27682 bls .L137
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2361 .loc 1 2441 7 discriminator 1 view .LVU784
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2362 .loc 1 2441 7 discriminator 1 view .LVU785
- 2363 0042 5109 lsrs r1, r2, #5
- 2364 .LVL237:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2365 .loc 1 2441 7 discriminator 1 view .LVU786
- 2366 0044 12F01F0F tst r2, #31
- 2367 0048 00D1 bne .L138
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2368 .loc 1 2441 7 discriminator 3 view .LVU787
- 2369 004a 0139 subs r1, r1, #1
- 2370 .LVL238:
- 2371 .L138:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2372 .loc 1 2441 7 discriminator 5 view .LVU788
- 2373 004c B3F80C24 ldrh r2, [r3, #1036]
- 2374 .LVL239:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2375 .loc 1 2441 7 is_stmt 0 discriminator 5 view .LVU789
- 2376 0050 92B2 uxth r2, r2
- 2377 0052 8902 lsls r1, r1, #10
- 2378 .LVL240:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2379 .loc 1 2441 7 discriminator 5 view .LVU790
- 2380 0054 89B2 uxth r1, r1
- 2381 0056 0A43 orrs r2, r2, r1
- 2382 0058 42F40042 orr r2, r2, #32768
- 2383 005c A3F80C24 strh r2, [r3, #1036] @ movhi
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2384 .loc 1 2441 7 is_stmt 1 discriminator 5 view .LVU791
- 2385 .LVL241:
- 2386 .L139:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2387 .loc 1 2441 7 is_stmt 0 discriminator 5 view .LVU792
- 2388 .LBE67:
- 2389 .LBE66:
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2390 .loc 1 2489 5 is_stmt 1 view .LVU793
- 2391 .LBB69:
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2392 .loc 1 2489 5 view .LVU794
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2393 .loc 1 2489 5 view .LVU795
- 2394 0060 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2395 0062 35F82230 ldrh r3, [r5, r2, lsl #2]
- 2396 0066 9BB2 uxth r3, r3
- 2397 0068 23F48043 bic r3, r3, #16384
- 2398 006c 23F07003 bic r3, r3, #112
- ARM GAS /tmp/ccGUz1hM.s page 97
- 2399 .LVL242:
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2400 .loc 1 2489 5 view .LVU796
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2401 .loc 1 2489 5 view .LVU797
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2402 .loc 1 2489 5 view .LVU798
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2403 .loc 1 2489 5 view .LVU799
- 2404 0070 83F44053 eor r3, r3, #12288
- 2405 .LVL243:
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2406 .loc 1 2489 5 view .LVU800
- 2407 0074 43F40043 orr r3, r3, #32768
- 2408 .LVL244:
- 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2409 .loc 1 2489 5 is_stmt 0 view .LVU801
- 2410 0078 43F08003 orr r3, r3, #128
- 2411 007c 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
- 2412 .LBE69:
- 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2413 .loc 1 2492 10 view .LVU802
- 2414 0080 0020 movs r0, #0
- 2415 .L133:
- 2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2416 .loc 1 2493 1 view .LVU803
- 2417 0082 70BD pop {r4, r5, r6, pc}
- 2418 .LVL245:
- 2419 .L169:
- 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2420 .loc 1 2294 5 is_stmt 1 view .LVU804
- 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2421 .loc 1 2294 11 is_stmt 0 view .LVU805
- 2422 0084 8E69 ldr r6, [r1, #24]
- 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2423 .loc 1 2294 26 view .LVU806
- 2424 0086 0969 ldr r1, [r1, #16]
- 2425 .LVL246:
- 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2426 .loc 1 2294 8 view .LVU807
- 2427 0088 8E42 cmp r6, r1
- 2428 008a 00D9 bls .L86
- 2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2429 .loc 1 2296 11 view .LVU808
- 2430 008c 0E46 mov r6, r1
- 2431 .L86:
- 2432 .LVL247:
- 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2433 .loc 1 2304 5 is_stmt 1 view .LVU809
- 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2434 .loc 1 2304 11 is_stmt 0 view .LVU810
- 2435 008e 237B ldrb r3, [r4, #12] @ zero_extendqisi2
- 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2436 .loc 1 2304 8 view .LVU811
- 2437 0090 73B3 cbz r3, .L170
- 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2438 .loc 1 2313 7 is_stmt 1 view .LVU812
- ARM GAS /tmp/ccGUz1hM.s page 98
- 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2439 .loc 1 2313 13 is_stmt 0 view .LVU813
- 2440 0092 E378 ldrb r3, [r4, #3] @ zero_extendqisi2
- 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2441 .loc 1 2313 10 view .LVU814
- 2442 0094 022B cmp r3, #2
- 2443 0096 4DD0 beq .L171
- 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2444 .loc 1 2398 9 is_stmt 1 view .LVU815
- 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2445 .loc 1 2398 25 is_stmt 0 view .LVU816
- 2446 0098 236A ldr r3, [r4, #32]
- 2447 009a 9B1B subs r3, r3, r6
- 2448 009c 2362 str r3, [r4, #32]
- 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2449 .loc 1 2401 9 is_stmt 1 view .LVU817
- 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2450 .loc 1 2401 14 is_stmt 0 view .LVU818
- 2451 009e 2178 ldrb r1, [r4] @ zero_extendqisi2
- 2452 00a0 35F82130 ldrh r3, [r5, r1, lsl #2]
- 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2453 .loc 1 2401 12 view .LVU819
- 2454 00a4 13F0400F tst r3, #64
- 2455 00a8 00F0F581 beq .L120
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2456 .loc 1 2404 11 is_stmt 1 view .LVU820
- 2457 .LBB70:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2458 .loc 1 2404 11 view .LVU821
- 2459 .LVL248:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2460 .loc 1 2404 11 view .LVU822
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2461 .loc 1 2404 11 view .LVU823
- 2462 00ac 002A cmp r2, #0
- 2463 00ae 40F0E281 bne .L121
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2464 .loc 1 2404 11 discriminator 1 view .LVU824
- 2465 .LBB71:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2466 .loc 1 2404 11 discriminator 1 view .LVU825
- 2467 .LVL249:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2468 .loc 1 2404 11 discriminator 1 view .LVU826
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2469 .loc 1 2404 11 discriminator 1 view .LVU827
- 2470 00b2 B5F85030 ldrh r3, [r5, #80]
- 2471 00b6 9BB2 uxth r3, r3
- 2472 00b8 2B44 add r3, r3, r5
- 2473 .LVL250:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2474 .loc 1 2404 11 discriminator 1 view .LVU828
- 2475 00ba 03EB0113 add r3, r3, r1, lsl #4
- 2476 .LVL251:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2477 .loc 1 2404 11 discriminator 1 view .LVU829
- 2478 .LBB72:
- ARM GAS /tmp/ccGUz1hM.s page 99
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2479 .loc 1 2404 11 discriminator 1 view .LVU830
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2480 .loc 1 2404 11 discriminator 1 view .LVU831
- 2481 00be B3F80C24 ldrh r2, [r3, #1036]
- 2482 00c2 C2F30902 ubfx r2, r2, #0, #10
- 2483 00c6 A3F80C24 strh r2, [r3, #1036] @ movhi
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2484 .loc 1 2404 11 discriminator 1 view .LVU832
- 2485 00ca 3E2E cmp r6, #62
- 2486 00cc 40F2BA81 bls .L122
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2487 .loc 1 2404 11 discriminator 3 view .LVU833
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2488 .loc 1 2404 11 discriminator 3 view .LVU834
- 2489 00d0 7109 lsrs r1, r6, #5
- 2490 .LVL252:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2491 .loc 1 2404 11 discriminator 3 view .LVU835
- 2492 00d2 16F01F0F tst r6, #31
- 2493 00d6 00D1 bne .L123
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2494 .loc 1 2404 11 discriminator 5 view .LVU836
- 2495 00d8 0139 subs r1, r1, #1
- 2496 .LVL253:
- 2497 .L123:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2498 .loc 1 2404 11 discriminator 7 view .LVU837
- 2499 00da B3F80C24 ldrh r2, [r3, #1036]
- 2500 00de 92B2 uxth r2, r2
- 2501 00e0 8902 lsls r1, r1, #10
- 2502 .LVL254:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2503 .loc 1 2404 11 is_stmt 0 discriminator 7 view .LVU838
- 2504 00e2 89B2 uxth r1, r1
- 2505 00e4 0A43 orrs r2, r2, r1
- 2506 00e6 42F40042 orr r2, r2, #32768
- 2507 00ea A3F80C24 strh r2, [r3, #1036] @ movhi
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2508 .loc 1 2404 11 is_stmt 1 discriminator 7 view .LVU839
- 2509 00ee CBE1 b .L124
- 2510 .LVL255:
- 2511 .L170:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2512 .loc 1 2404 11 is_stmt 0 discriminator 7 view .LVU840
- 2513 .LBE72:
- 2514 .LBE71:
- 2515 .LBE70:
- 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
- 2516 .loc 1 2306 7 is_stmt 1 view .LVU841
- 2517 00f0 B6B2 uxth r6, r6
- 2518 .LVL256:
- 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
- 2519 .loc 1 2306 7 is_stmt 0 view .LVU842
- 2520 00f2 3346 mov r3, r6
- 2521 00f4 E288 ldrh r2, [r4, #6]
- 2522 00f6 6169 ldr r1, [r4, #20]
- ARM GAS /tmp/ccGUz1hM.s page 100
- 2523 00f8 2846 mov r0, r5
- 2524 .LVL257:
- 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** PCD_SET_EP_TX_CNT(USBx, ep->num, len);
- 2525 .loc 1 2306 7 view .LVU843
- 2526 00fa FFF7FEFF bl USB_WritePMA
- 2527 .LVL258:
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2528 .loc 1 2307 7 is_stmt 1 view .LVU844
- 2529 .LBB75:
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2530 .loc 1 2307 7 view .LVU845
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2531 .loc 1 2307 7 view .LVU846
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2532 .loc 1 2307 7 view .LVU847
- 2533 00fe B5F85030 ldrh r3, [r5, #80]
- 2534 0102 9BB2 uxth r3, r3
- 2535 0104 2B44 add r3, r3, r5
- 2536 .LVL259:
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2537 .loc 1 2307 7 view .LVU848
- 2538 0106 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2539 0108 03EB0213 add r3, r3, r2, lsl #4
- 2540 .LVL260:
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2541 .loc 1 2307 7 view .LVU849
- 2542 010c A3F80464 strh r6, [r3, #1028] @ movhi
- 2543 .LBE75:
- 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2544 .loc 1 2307 7 view .LVU850
- 2545 .LVL261:
- 2546 .L88:
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2547 .loc 1 2423 5 view .LVU851
- 2548 .LBB76:
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2549 .loc 1 2423 5 view .LVU852
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2550 .loc 1 2423 5 view .LVU853
- 2551 0110 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2552 0112 35F82230 ldrh r3, [r5, r2, lsl #2]
- 2553 0116 9BB2 uxth r3, r3
- 2554 0118 23F4E043 bic r3, r3, #28672
- 2555 011c 23F04003 bic r3, r3, #64
- 2556 .LVL262:
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2557 .loc 1 2423 5 view .LVU854
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2558 .loc 1 2423 5 view .LVU855
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2559 .loc 1 2423 5 view .LVU856
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2560 .loc 1 2423 5 view .LVU857
- 2561 0120 83F03003 eor r3, r3, #48
- 2562 .LVL263:
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2563 .loc 1 2423 5 view .LVU858
- ARM GAS /tmp/ccGUz1hM.s page 101
- 2564 0124 43F40043 orr r3, r3, #32768
- 2565 .LVL264:
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2566 .loc 1 2423 5 is_stmt 0 view .LVU859
- 2567 0128 43F08003 orr r3, r3, #128
- 2568 012c 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
- 2569 .LBE76:
- 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2570 .loc 1 2423 5 is_stmt 1 view .LVU860
- 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2571 .loc 1 2492 10 is_stmt 0 view .LVU861
- 2572 0130 0020 movs r0, #0
- 2573 0132 A6E7 b .L133
- 2574 .LVL265:
- 2575 .L171:
- 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2576 .loc 1 2315 9 is_stmt 1 view .LVU862
- 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2577 .loc 1 2315 15 is_stmt 0 view .LVU863
- 2578 0134 236A ldr r3, [r4, #32]
- 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2579 .loc 1 2315 12 view .LVU864
- 2580 0136 9942 cmp r1, r3
- 2581 0138 80F06681 bcs .L90
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2582 .loc 1 2318 11 is_stmt 1 view .LVU865
- 2583 .LBB77:
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2584 .loc 1 2318 11 view .LVU866
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2585 .loc 1 2318 11 view .LVU867
- 2586 013c 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2587 013e 35F82230 ldrh r3, [r5, r2, lsl #2]
- 2588 0142 9BB2 uxth r3, r3
- 2589 0144 23F4E043 bic r3, r3, #28672
- 2590 0148 23F07003 bic r3, r3, #112
- 2591 .LVL266:
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2592 .loc 1 2318 11 view .LVU868
- 2593 014c 43F40143 orr r3, r3, #33024
- 2594 .LVL267:
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2595 .loc 1 2318 11 is_stmt 0 view .LVU869
- 2596 0150 43F08003 orr r3, r3, #128
- 2597 0154 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
- 2598 .LBE77:
- 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2599 .loc 1 2318 11 is_stmt 1 view .LVU870
- 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2600 .loc 1 2321 11 view .LVU871
- 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2601 .loc 1 2321 27 is_stmt 0 view .LVU872
- 2602 0158 236A ldr r3, [r4, #32]
- 2603 015a 9B1B subs r3, r3, r6
- 2604 015c 2362 str r3, [r4, #32]
- 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2605 .loc 1 2324 11 is_stmt 1 view .LVU873
- ARM GAS /tmp/ccGUz1hM.s page 102
- 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2606 .loc 1 2324 16 is_stmt 0 view .LVU874
- 2607 015e 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2608 0160 35F82230 ldrh r3, [r5, r2, lsl #2]
- 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2609 .loc 1 2324 14 view .LVU875
- 2610 0164 13F0400F tst r3, #64
- 2611 0168 00F0A780 beq .L91
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2612 .loc 1 2327 13 is_stmt 1 view .LVU876
- 2613 .LBB78:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2614 .loc 1 2327 13 view .LVU877
- 2615 .LVL268:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2616 .loc 1 2327 13 view .LVU878
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2617 .loc 1 2327 13 view .LVU879
- 2618 016c 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
- 2619 016e B3BB cbnz r3, .L92
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2620 .loc 1 2327 13 discriminator 1 view .LVU880
- 2621 .LBB79:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2622 .loc 1 2327 13 discriminator 1 view .LVU881
- 2623 .LVL269:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2624 .loc 1 2327 13 discriminator 1 view .LVU882
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2625 .loc 1 2327 13 discriminator 1 view .LVU883
- 2626 0170 B5F85030 ldrh r3, [r5, #80]
- 2627 0174 9BB2 uxth r3, r3
- 2628 0176 2B44 add r3, r3, r5
- 2629 .LVL270:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2630 .loc 1 2327 13 discriminator 1 view .LVU884
- 2631 0178 03EB0213 add r3, r3, r2, lsl #4
- 2632 .LVL271:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2633 .loc 1 2327 13 discriminator 1 view .LVU885
- 2634 .LBB80:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2635 .loc 1 2327 13 discriminator 1 view .LVU886
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2636 .loc 1 2327 13 discriminator 1 view .LVU887
- 2637 017c B3F80C24 ldrh r2, [r3, #1036]
- 2638 0180 C2F30902 ubfx r2, r2, #0, #10
- 2639 0184 A3F80C24 strh r2, [r3, #1036] @ movhi
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2640 .loc 1 2327 13 discriminator 1 view .LVU888
- 2641 0188 3E2E cmp r6, #62
- 2642 018a 0FD9 bls .L93
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2643 .loc 1 2327 13 discriminator 3 view .LVU889
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2644 .loc 1 2327 13 discriminator 3 view .LVU890
- 2645 018c 7109 lsrs r1, r6, #5
- ARM GAS /tmp/ccGUz1hM.s page 103
- 2646 .LVL272:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2647 .loc 1 2327 13 discriminator 3 view .LVU891
- 2648 018e 16F01F0F tst r6, #31
- 2649 0192 00D1 bne .L94
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2650 .loc 1 2327 13 discriminator 5 view .LVU892
- 2651 0194 0139 subs r1, r1, #1
- 2652 .LVL273:
- 2653 .L94:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2654 .loc 1 2327 13 discriminator 7 view .LVU893
- 2655 0196 B3F80C24 ldrh r2, [r3, #1036]
- 2656 019a 92B2 uxth r2, r2
- 2657 019c 8902 lsls r1, r1, #10
- 2658 .LVL274:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2659 .loc 1 2327 13 is_stmt 0 discriminator 7 view .LVU894
- 2660 019e 89B2 uxth r1, r1
- 2661 01a0 0A43 orrs r2, r2, r1
- 2662 01a2 42F40042 orr r2, r2, #32768
- 2663 01a6 A3F80C24 strh r2, [r3, #1036] @ movhi
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2664 .loc 1 2327 13 is_stmt 1 discriminator 7 view .LVU895
- 2665 01aa 1AE0 b .L95
- 2666 .L93:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2667 .loc 1 2327 13 discriminator 4 view .LVU896
- 2668 01ac 4EB9 cbnz r6, .L96
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2669 .loc 1 2327 13 discriminator 9 view .LVU897
- 2670 01ae B3F80C24 ldrh r2, [r3, #1036]
- 2671 01b2 6FEA4242 mvn r2, r2, lsl #17
- 2672 01b6 6FEA5242 mvn r2, r2, lsr #17
- 2673 01ba 92B2 uxth r2, r2
- 2674 01bc A3F80C24 strh r2, [r3, #1036] @ movhi
- 2675 01c0 0FE0 b .L95
- 2676 .L96:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2677 .loc 1 2327 13 discriminator 10 view .LVU898
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2678 .loc 1 2327 13 discriminator 10 view .LVU899
- 2679 01c2 7208 lsrs r2, r6, #1
- 2680 .LVL275:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2681 .loc 1 2327 13 discriminator 10 view .LVU900
- 2682 01c4 16F0010F tst r6, #1
- 2683 01c8 00D0 beq .L97
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2684 .loc 1 2327 13 discriminator 12 view .LVU901
- 2685 01ca 0132 adds r2, r2, #1
- 2686 .LVL276:
- 2687 .L97:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2688 .loc 1 2327 13 discriminator 14 view .LVU902
- 2689 01cc B3F80C14 ldrh r1, [r3, #1036]
- 2690 01d0 89B2 uxth r1, r1
- ARM GAS /tmp/ccGUz1hM.s page 104
- 2691 01d2 9202 lsls r2, r2, #10
- 2692 .LVL277:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2693 .loc 1 2327 13 is_stmt 0 discriminator 14 view .LVU903
- 2694 01d4 92B2 uxth r2, r2
- 2695 01d6 0A43 orrs r2, r2, r1
- 2696 01d8 A3F80C24 strh r2, [r3, #1036] @ movhi
- 2697 01dc 01E0 b .L95
- 2698 .LVL278:
- 2699 .L92:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2700 .loc 1 2327 13 discriminator 14 view .LVU904
- 2701 .LBE80:
- 2702 .LBE79:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2703 .loc 1 2327 13 is_stmt 1 discriminator 2 view .LVU905
- 2704 01de 012B cmp r3, #1
- 2705 01e0 30D0 beq .L172
- 2706 .LVL279:
- 2707 .L95:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2708 .loc 1 2327 13 is_stmt 0 discriminator 2 view .LVU906
- 2709 .LBE78:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2710 .loc 1 2327 13 is_stmt 1 discriminator 18 view .LVU907
- 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2711 .loc 1 2328 13 discriminator 18 view .LVU908
- 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
- 2712 .loc 1 2331 13 discriminator 18 view .LVU909
- 2713 01e2 B3B2 uxth r3, r6
- 2714 01e4 6289 ldrh r2, [r4, #10]
- 2715 01e6 6169 ldr r1, [r4, #20]
- 2716 01e8 2846 mov r0, r5
- 2717 .LVL280:
- 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
- 2718 .loc 1 2331 13 is_stmt 0 discriminator 18 view .LVU910
- 2719 01ea FFF7FEFF bl USB_WritePMA
- 2720 .LVL281:
- 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2721 .loc 1 2332 13 is_stmt 1 discriminator 18 view .LVU911
- 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2722 .loc 1 2332 27 is_stmt 0 discriminator 18 view .LVU912
- 2723 01ee 6369 ldr r3, [r4, #20]
- 2724 01f0 3344 add r3, r3, r6
- 2725 01f2 6361 str r3, [r4, #20]
- 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2726 .loc 1 2334 13 is_stmt 1 discriminator 18 view .LVU913
- 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2727 .loc 1 2334 19 is_stmt 0 discriminator 18 view .LVU914
- 2728 01f4 236A ldr r3, [r4, #32]
- 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2729 .loc 1 2334 37 discriminator 18 view .LVU915
- 2730 01f6 2269 ldr r2, [r4, #16]
- 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2731 .loc 1 2334 16 discriminator 18 view .LVU916
- 2732 01f8 9342 cmp r3, r2
- 2733 01fa 2DD9 bls .L98
- ARM GAS /tmp/ccGUz1hM.s page 105
- 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2734 .loc 1 2336 15 is_stmt 1 view .LVU917
- 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2735 .loc 1 2336 31 is_stmt 0 view .LVU918
- 2736 01fc 9B1B subs r3, r3, r6
- 2737 01fe 2362 str r3, [r4, #32]
- 2738 .L99:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2739 .loc 1 2345 13 is_stmt 1 view .LVU919
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2740 .loc 1 2345 13 view .LVU920
- 2741 0200 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
- 2742 0202 002B cmp r3, #0
- 2743 0204 45D1 bne .L100
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2744 .loc 1 2345 13 discriminator 1 view .LVU921
- 2745 .LBB81:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2746 .loc 1 2345 13 discriminator 1 view .LVU922
- 2747 .LVL282:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2748 .loc 1 2345 13 discriminator 1 view .LVU923
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2749 .loc 1 2345 13 discriminator 1 view .LVU924
- 2750 0206 B5F85030 ldrh r3, [r5, #80]
- 2751 020a 9BB2 uxth r3, r3
- 2752 020c 2B44 add r3, r3, r5
- 2753 .LVL283:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2754 .loc 1 2345 13 discriminator 1 view .LVU925
- 2755 020e 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2756 0210 03EB0213 add r3, r3, r2, lsl #4
- 2757 .LVL284:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2758 .loc 1 2345 13 discriminator 1 view .LVU926
- 2759 .LBB82:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2760 .loc 1 2345 13 discriminator 1 view .LVU927
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2761 .loc 1 2345 13 discriminator 1 view .LVU928
- 2762 0214 B3F80424 ldrh r2, [r3, #1028]
- 2763 0218 C2F30902 ubfx r2, r2, #0, #10
- 2764 021c A3F80424 strh r2, [r3, #1028] @ movhi
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2765 .loc 1 2345 13 discriminator 1 view .LVU929
- 2766 0220 3E2E cmp r6, #62
- 2767 0222 1DD9 bls .L101
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2768 .loc 1 2345 13 discriminator 3 view .LVU930
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2769 .loc 1 2345 13 discriminator 3 view .LVU931
- 2770 0224 7109 lsrs r1, r6, #5
- 2771 .LVL285:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2772 .loc 1 2345 13 discriminator 3 view .LVU932
- 2773 0226 16F01F0F tst r6, #31
- 2774 022a 00D1 bne .L102
- ARM GAS /tmp/ccGUz1hM.s page 106
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2775 .loc 1 2345 13 discriminator 5 view .LVU933
- 2776 022c 0139 subs r1, r1, #1
- 2777 .LVL286:
- 2778 .L102:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2779 .loc 1 2345 13 discriminator 7 view .LVU934
- 2780 022e B3F80424 ldrh r2, [r3, #1028]
- 2781 0232 92B2 uxth r2, r2
- 2782 0234 8902 lsls r1, r1, #10
- 2783 .LVL287:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2784 .loc 1 2345 13 is_stmt 0 discriminator 7 view .LVU935
- 2785 0236 89B2 uxth r1, r1
- 2786 0238 0A43 orrs r2, r2, r1
- 2787 023a 42F40042 orr r2, r2, #32768
- 2788 023e A3F80424 strh r2, [r3, #1028] @ movhi
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2789 .loc 1 2345 13 is_stmt 1 discriminator 7 view .LVU936
- 2790 0242 28E0 b .L103
- 2791 .LVL288:
- 2792 .L172:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2793 .loc 1 2345 13 is_stmt 0 discriminator 7 view .LVU937
- 2794 .LBE82:
- 2795 .LBE81:
- 2796 .LBB84:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2797 .loc 1 2327 13 is_stmt 1 discriminator 16 view .LVU938
- 2798 0244 B5F85030 ldrh r3, [r5, #80]
- 2799 0248 9BB2 uxth r3, r3
- 2800 024a 2B44 add r3, r3, r5
- 2801 .LVL289:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2802 .loc 1 2327 13 discriminator 16 view .LVU939
- 2803 024c 03EB0213 add r3, r3, r2, lsl #4
- 2804 .LVL290:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2805 .loc 1 2327 13 discriminator 16 view .LVU940
- 2806 0250 B2B2 uxth r2, r6
- 2807 0252 A3F80C24 strh r2, [r3, #1036] @ movhi
- 2808 0256 C4E7 b .L95
- 2809 .LVL291:
- 2810 .L98:
- 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 2811 .loc 1 2327 13 is_stmt 0 discriminator 16 view .LVU941
- 2812 .LBE84:
- 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
- 2813 .loc 1 2340 15 is_stmt 1 view .LVU942
- 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2814 .loc 1 2341 15 view .LVU943
- 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2815 .loc 1 2341 31 is_stmt 0 view .LVU944
- 2816 0258 0022 movs r2, #0
- 2817 025a 2262 str r2, [r4, #32]
- 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
- 2818 .loc 1 2340 19 view .LVU945
- ARM GAS /tmp/ccGUz1hM.s page 107
- 2819 025c 1E46 mov r6, r3
- 2820 025e CFE7 b .L99
- 2821 .LVL292:
- 2822 .L101:
- 2823 .LBB85:
- 2824 .LBB83:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2825 .loc 1 2345 13 is_stmt 1 discriminator 4 view .LVU946
- 2826 0260 4EB9 cbnz r6, .L104
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2827 .loc 1 2345 13 discriminator 9 view .LVU947
- 2828 0262 B3F80424 ldrh r2, [r3, #1028]
- 2829 0266 6FEA4242 mvn r2, r2, lsl #17
- 2830 026a 6FEA5242 mvn r2, r2, lsr #17
- 2831 026e 92B2 uxth r2, r2
- 2832 0270 A3F80424 strh r2, [r3, #1028] @ movhi
- 2833 0274 0FE0 b .L103
- 2834 .L104:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2835 .loc 1 2345 13 discriminator 10 view .LVU948
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2836 .loc 1 2345 13 discriminator 10 view .LVU949
- 2837 0276 7208 lsrs r2, r6, #1
- 2838 .LVL293:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2839 .loc 1 2345 13 discriminator 10 view .LVU950
- 2840 0278 16F0010F tst r6, #1
- 2841 027c 00D0 beq .L105
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2842 .loc 1 2345 13 discriminator 12 view .LVU951
- 2843 027e 0132 adds r2, r2, #1
- 2844 .LVL294:
- 2845 .L105:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2846 .loc 1 2345 13 discriminator 14 view .LVU952
- 2847 0280 B3F80414 ldrh r1, [r3, #1028]
- 2848 0284 89B2 uxth r1, r1
- 2849 0286 9202 lsls r2, r2, #10
- 2850 .LVL295:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2851 .loc 1 2345 13 is_stmt 0 discriminator 14 view .LVU953
- 2852 0288 92B2 uxth r2, r2
- 2853 028a 0A43 orrs r2, r2, r1
- 2854 028c A3F80424 strh r2, [r3, #1028] @ movhi
- 2855 0290 01E0 b .L103
- 2856 .LVL296:
- 2857 .L100:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2858 .loc 1 2345 13 discriminator 14 view .LVU954
- 2859 .LBE83:
- 2860 .LBE85:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2861 .loc 1 2345 13 is_stmt 1 discriminator 2 view .LVU955
- 2862 0292 012B cmp r3, #1
- 2863 0294 06D0 beq .L173
- 2864 .L103:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- ARM GAS /tmp/ccGUz1hM.s page 108
- 2865 .loc 1 2345 13 discriminator 18 view .LVU956
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2866 .loc 1 2345 13 discriminator 18 view .LVU957
- 2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2867 .loc 1 2346 13 discriminator 18 view .LVU958
- 2868 .LVL297:
- 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2869 .loc 1 2349 13 discriminator 18 view .LVU959
- 2870 0296 B3B2 uxth r3, r6
- 2871 0298 2289 ldrh r2, [r4, #8]
- 2872 029a 6169 ldr r1, [r4, #20]
- 2873 029c 2846 mov r0, r5
- 2874 029e FFF7FEFF bl USB_WritePMA
- 2875 .LVL298:
- 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2876 .loc 1 2349 13 is_stmt 0 discriminator 18 view .LVU960
- 2877 02a2 35E7 b .L88
- 2878 .L173:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2879 .loc 1 2345 13 is_stmt 1 discriminator 16 view .LVU961
- 2880 .LBB86:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2881 .loc 1 2345 13 discriminator 16 view .LVU962
- 2882 .LVL299:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2883 .loc 1 2345 13 discriminator 16 view .LVU963
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2884 .loc 1 2345 13 discriminator 16 view .LVU964
- 2885 02a4 B5F85030 ldrh r3, [r5, #80]
- 2886 02a8 9BB2 uxth r3, r3
- 2887 02aa 2B44 add r3, r3, r5
- 2888 .LVL300:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2889 .loc 1 2345 13 discriminator 16 view .LVU965
- 2890 02ac 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2891 02ae 03EB0213 add r3, r3, r2, lsl #4
- 2892 .LVL301:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2893 .loc 1 2345 13 discriminator 16 view .LVU966
- 2894 02b2 B2B2 uxth r2, r6
- 2895 02b4 A3F80424 strh r2, [r3, #1028] @ movhi
- 2896 02b8 EDE7 b .L103
- 2897 .LVL302:
- 2898 .L91:
- 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2899 .loc 1 2345 13 is_stmt 0 discriminator 16 view .LVU967
- 2900 .LBE86:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2901 .loc 1 2354 13 is_stmt 1 view .LVU968
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2902 .loc 1 2354 13 view .LVU969
- 2903 02ba 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
- 2904 02bc B3BB cbnz r3, .L106
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2905 .loc 1 2354 13 discriminator 1 view .LVU970
- 2906 .LBB87:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- ARM GAS /tmp/ccGUz1hM.s page 109
- 2907 .loc 1 2354 13 discriminator 1 view .LVU971
- 2908 .LVL303:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2909 .loc 1 2354 13 discriminator 1 view .LVU972
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2910 .loc 1 2354 13 discriminator 1 view .LVU973
- 2911 02be B5F85030 ldrh r3, [r5, #80]
- 2912 02c2 9BB2 uxth r3, r3
- 2913 02c4 2B44 add r3, r3, r5
- 2914 .LVL304:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2915 .loc 1 2354 13 discriminator 1 view .LVU974
- 2916 02c6 03EB0213 add r3, r3, r2, lsl #4
- 2917 .LVL305:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2918 .loc 1 2354 13 discriminator 1 view .LVU975
- 2919 .LBB88:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2920 .loc 1 2354 13 discriminator 1 view .LVU976
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2921 .loc 1 2354 13 discriminator 1 view .LVU977
- 2922 02ca B3F80424 ldrh r2, [r3, #1028]
- 2923 02ce C2F30902 ubfx r2, r2, #0, #10
- 2924 02d2 A3F80424 strh r2, [r3, #1028] @ movhi
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2925 .loc 1 2354 13 discriminator 1 view .LVU978
- 2926 02d6 3E2E cmp r6, #62
- 2927 02d8 0FD9 bls .L107
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2928 .loc 1 2354 13 discriminator 3 view .LVU979
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2929 .loc 1 2354 13 discriminator 3 view .LVU980
- 2930 02da 7109 lsrs r1, r6, #5
- 2931 .LVL306:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2932 .loc 1 2354 13 discriminator 3 view .LVU981
- 2933 02dc 16F01F0F tst r6, #31
- 2934 02e0 00D1 bne .L108
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2935 .loc 1 2354 13 discriminator 5 view .LVU982
- 2936 02e2 0139 subs r1, r1, #1
- 2937 .LVL307:
- 2938 .L108:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2939 .loc 1 2354 13 discriminator 7 view .LVU983
- 2940 02e4 B3F80424 ldrh r2, [r3, #1028]
- 2941 02e8 92B2 uxth r2, r2
- 2942 02ea 8902 lsls r1, r1, #10
- 2943 .LVL308:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2944 .loc 1 2354 13 is_stmt 0 discriminator 7 view .LVU984
- 2945 02ec 89B2 uxth r1, r1
- 2946 02ee 0A43 orrs r2, r2, r1
- 2947 02f0 42F40042 orr r2, r2, #32768
- 2948 02f4 A3F80424 strh r2, [r3, #1028] @ movhi
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2949 .loc 1 2354 13 is_stmt 1 discriminator 7 view .LVU985
- ARM GAS /tmp/ccGUz1hM.s page 110
- 2950 02f8 1AE0 b .L109
- 2951 .L107:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2952 .loc 1 2354 13 discriminator 4 view .LVU986
- 2953 02fa 4EB9 cbnz r6, .L110
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2954 .loc 1 2354 13 discriminator 9 view .LVU987
- 2955 02fc B3F80424 ldrh r2, [r3, #1028]
- 2956 0300 6FEA4242 mvn r2, r2, lsl #17
- 2957 0304 6FEA5242 mvn r2, r2, lsr #17
- 2958 0308 92B2 uxth r2, r2
- 2959 030a A3F80424 strh r2, [r3, #1028] @ movhi
- 2960 030e 0FE0 b .L109
- 2961 .L110:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2962 .loc 1 2354 13 discriminator 10 view .LVU988
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2963 .loc 1 2354 13 discriminator 10 view .LVU989
- 2964 0310 7208 lsrs r2, r6, #1
- 2965 .LVL309:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2966 .loc 1 2354 13 discriminator 10 view .LVU990
- 2967 0312 16F0010F tst r6, #1
- 2968 0316 00D0 beq .L111
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2969 .loc 1 2354 13 discriminator 12 view .LVU991
- 2970 0318 0132 adds r2, r2, #1
- 2971 .LVL310:
- 2972 .L111:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2973 .loc 1 2354 13 discriminator 14 view .LVU992
- 2974 031a B3F80414 ldrh r1, [r3, #1028]
- 2975 031e 89B2 uxth r1, r1
- 2976 0320 9202 lsls r2, r2, #10
- 2977 .LVL311:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2978 .loc 1 2354 13 is_stmt 0 discriminator 14 view .LVU993
- 2979 0322 92B2 uxth r2, r2
- 2980 0324 0A43 orrs r2, r2, r1
- 2981 0326 A3F80424 strh r2, [r3, #1028] @ movhi
- 2982 032a 01E0 b .L109
- 2983 .LVL312:
- 2984 .L106:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2985 .loc 1 2354 13 discriminator 14 view .LVU994
- 2986 .LBE88:
- 2987 .LBE87:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2988 .loc 1 2354 13 is_stmt 1 discriminator 2 view .LVU995
- 2989 032c 012B cmp r3, #1
- 2990 032e 30D0 beq .L174
- 2991 .L109:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2992 .loc 1 2354 13 discriminator 18 view .LVU996
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 2993 .loc 1 2354 13 discriminator 18 view .LVU997
- 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- ARM GAS /tmp/ccGUz1hM.s page 111
- 2994 .loc 1 2355 13 discriminator 18 view .LVU998
- 2995 .LVL313:
- 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
- 2996 .loc 1 2358 13 discriminator 18 view .LVU999
- 2997 0330 B3B2 uxth r3, r6
- 2998 0332 2289 ldrh r2, [r4, #8]
- 2999 0334 6169 ldr r1, [r4, #20]
- 3000 0336 2846 mov r0, r5
- 3001 .LVL314:
- 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_buff += len;
- 3002 .loc 1 2358 13 is_stmt 0 discriminator 18 view .LVU1000
- 3003 0338 FFF7FEFF bl USB_WritePMA
- 3004 .LVL315:
- 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3005 .loc 1 2359 13 is_stmt 1 discriminator 18 view .LVU1001
- 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3006 .loc 1 2359 27 is_stmt 0 discriminator 18 view .LVU1002
- 3007 033c 6369 ldr r3, [r4, #20]
- 3008 033e 3344 add r3, r3, r6
- 3009 0340 6361 str r3, [r4, #20]
- 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3010 .loc 1 2361 13 is_stmt 1 discriminator 18 view .LVU1003
- 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3011 .loc 1 2361 19 is_stmt 0 discriminator 18 view .LVU1004
- 3012 0342 236A ldr r3, [r4, #32]
- 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3013 .loc 1 2361 37 discriminator 18 view .LVU1005
- 3014 0344 2269 ldr r2, [r4, #16]
- 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3015 .loc 1 2361 16 discriminator 18 view .LVU1006
- 3016 0346 9342 cmp r3, r2
- 3017 0348 2DD9 bls .L112
- 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3018 .loc 1 2363 15 is_stmt 1 view .LVU1007
- 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3019 .loc 1 2363 31 is_stmt 0 view .LVU1008
- 3020 034a 9B1B subs r3, r3, r6
- 3021 034c 2362 str r3, [r4, #32]
- 3022 .L113:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3023 .loc 1 2372 13 is_stmt 1 view .LVU1009
- 3024 .LBB89:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3025 .loc 1 2372 13 view .LVU1010
- 3026 .LVL316:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3027 .loc 1 2372 13 view .LVU1011
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3028 .loc 1 2372 13 view .LVU1012
- 3029 034e 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
- 3030 0350 002B cmp r3, #0
- 3031 0352 45D1 bne .L114
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3032 .loc 1 2372 13 discriminator 1 view .LVU1013
- 3033 .LBB90:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3034 .loc 1 2372 13 discriminator 1 view .LVU1014
- ARM GAS /tmp/ccGUz1hM.s page 112
- 3035 .LVL317:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3036 .loc 1 2372 13 discriminator 1 view .LVU1015
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3037 .loc 1 2372 13 discriminator 1 view .LVU1016
- 3038 0354 B5F85030 ldrh r3, [r5, #80]
- 3039 0358 9BB2 uxth r3, r3
- 3040 035a 2B44 add r3, r3, r5
- 3041 .LVL318:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3042 .loc 1 2372 13 discriminator 1 view .LVU1017
- 3043 035c 2278 ldrb r2, [r4] @ zero_extendqisi2
- 3044 035e 03EB0213 add r3, r3, r2, lsl #4
- 3045 .LVL319:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3046 .loc 1 2372 13 discriminator 1 view .LVU1018
- 3047 .LBB91:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3048 .loc 1 2372 13 discriminator 1 view .LVU1019
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3049 .loc 1 2372 13 discriminator 1 view .LVU1020
- 3050 0362 B3F80C24 ldrh r2, [r3, #1036]
- 3051 0366 C2F30902 ubfx r2, r2, #0, #10
- 3052 036a A3F80C24 strh r2, [r3, #1036] @ movhi
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3053 .loc 1 2372 13 discriminator 1 view .LVU1021
- 3054 036e 3E2E cmp r6, #62
- 3055 0370 1DD9 bls .L115
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3056 .loc 1 2372 13 discriminator 3 view .LVU1022
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3057 .loc 1 2372 13 discriminator 3 view .LVU1023
- 3058 0372 7109 lsrs r1, r6, #5
- 3059 .LVL320:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3060 .loc 1 2372 13 discriminator 3 view .LVU1024
- 3061 0374 16F01F0F tst r6, #31
- 3062 0378 00D1 bne .L116
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3063 .loc 1 2372 13 discriminator 5 view .LVU1025
- 3064 037a 0139 subs r1, r1, #1
- 3065 .LVL321:
- 3066 .L116:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3067 .loc 1 2372 13 discriminator 7 view .LVU1026
- 3068 037c B3F80C24 ldrh r2, [r3, #1036]
- 3069 0380 92B2 uxth r2, r2
- 3070 0382 8902 lsls r1, r1, #10
- 3071 .LVL322:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3072 .loc 1 2372 13 is_stmt 0 discriminator 7 view .LVU1027
- 3073 0384 89B2 uxth r1, r1
- 3074 0386 0A43 orrs r2, r2, r1
- 3075 0388 42F40042 orr r2, r2, #32768
- 3076 038c A3F80C24 strh r2, [r3, #1036] @ movhi
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3077 .loc 1 2372 13 is_stmt 1 discriminator 7 view .LVU1028
- ARM GAS /tmp/ccGUz1hM.s page 113
- 3078 0390 28E0 b .L117
- 3079 .LVL323:
- 3080 .L174:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3081 .loc 1 2372 13 is_stmt 0 discriminator 7 view .LVU1029
- 3082 .LBE91:
- 3083 .LBE90:
- 3084 .LBE89:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3085 .loc 1 2354 13 is_stmt 1 discriminator 16 view .LVU1030
- 3086 .LBB94:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3087 .loc 1 2354 13 discriminator 16 view .LVU1031
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3088 .loc 1 2354 13 discriminator 16 view .LVU1032
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3089 .loc 1 2354 13 discriminator 16 view .LVU1033
- 3090 0392 B5F85030 ldrh r3, [r5, #80]
- 3091 0396 9BB2 uxth r3, r3
- 3092 0398 2B44 add r3, r3, r5
- 3093 .LVL324:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3094 .loc 1 2354 13 discriminator 16 view .LVU1034
- 3095 039a 03EB0213 add r3, r3, r2, lsl #4
- 3096 .LVL325:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3097 .loc 1 2354 13 discriminator 16 view .LVU1035
- 3098 039e B2B2 uxth r2, r6
- 3099 03a0 A3F80424 strh r2, [r3, #1028] @ movhi
- 3100 03a4 C4E7 b .L109
- 3101 .LVL326:
- 3102 .L112:
- 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3103 .loc 1 2354 13 is_stmt 0 discriminator 16 view .LVU1036
- 3104 .LBE94:
- 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
- 3105 .loc 1 2367 15 is_stmt 1 view .LVU1037
- 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3106 .loc 1 2368 15 view .LVU1038
- 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3107 .loc 1 2368 31 is_stmt 0 view .LVU1039
- 3108 03a6 0022 movs r2, #0
- 3109 03a8 2262 str r2, [r4, #32]
- 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len_db = 0U;
- 3110 .loc 1 2367 19 view .LVU1040
- 3111 03aa 1E46 mov r6, r3
- 3112 03ac CFE7 b .L113
- 3113 .LVL327:
- 3114 .L115:
- 3115 .LBB95:
- 3116 .LBB93:
- 3117 .LBB92:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3118 .loc 1 2372 13 is_stmt 1 discriminator 4 view .LVU1041
- 3119 03ae 4EB9 cbnz r6, .L118
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3120 .loc 1 2372 13 discriminator 9 view .LVU1042
- ARM GAS /tmp/ccGUz1hM.s page 114
- 3121 03b0 B3F80C24 ldrh r2, [r3, #1036]
- 3122 03b4 6FEA4242 mvn r2, r2, lsl #17
- 3123 03b8 6FEA5242 mvn r2, r2, lsr #17
- 3124 03bc 92B2 uxth r2, r2
- 3125 03be A3F80C24 strh r2, [r3, #1036] @ movhi
- 3126 03c2 0FE0 b .L117
- 3127 .L118:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3128 .loc 1 2372 13 discriminator 10 view .LVU1043
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3129 .loc 1 2372 13 discriminator 10 view .LVU1044
- 3130 03c4 7208 lsrs r2, r6, #1
- 3131 .LVL328:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3132 .loc 1 2372 13 discriminator 10 view .LVU1045
- 3133 03c6 16F0010F tst r6, #1
- 3134 03ca 00D0 beq .L119
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3135 .loc 1 2372 13 discriminator 12 view .LVU1046
- 3136 03cc 0132 adds r2, r2, #1
- 3137 .LVL329:
- 3138 .L119:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3139 .loc 1 2372 13 discriminator 14 view .LVU1047
- 3140 03ce B3F80C14 ldrh r1, [r3, #1036]
- 3141 03d2 89B2 uxth r1, r1
- 3142 03d4 9202 lsls r2, r2, #10
- 3143 .LVL330:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3144 .loc 1 2372 13 is_stmt 0 discriminator 14 view .LVU1048
- 3145 03d6 92B2 uxth r2, r2
- 3146 03d8 0A43 orrs r2, r2, r1
- 3147 03da A3F80C24 strh r2, [r3, #1036] @ movhi
- 3148 03de 01E0 b .L117
- 3149 .LVL331:
- 3150 .L114:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3151 .loc 1 2372 13 discriminator 14 view .LVU1049
- 3152 .LBE92:
- 3153 .LBE93:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3154 .loc 1 2372 13 is_stmt 1 discriminator 2 view .LVU1050
- 3155 03e0 012B cmp r3, #1
- 3156 03e2 06D0 beq .L175
- 3157 .LVL332:
- 3158 .L117:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3159 .loc 1 2372 13 is_stmt 0 discriminator 2 view .LVU1051
- 3160 .LBE95:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3161 .loc 1 2372 13 is_stmt 1 discriminator 18 view .LVU1052
- 2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3162 .loc 1 2373 13 discriminator 18 view .LVU1053
- 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3163 .loc 1 2376 13 discriminator 18 view .LVU1054
- 3164 03e4 B3B2 uxth r3, r6
- 3165 03e6 6289 ldrh r2, [r4, #10]
- ARM GAS /tmp/ccGUz1hM.s page 115
- 3166 03e8 6169 ldr r1, [r4, #20]
- 3167 03ea 2846 mov r0, r5
- 3168 03ec FFF7FEFF bl USB_WritePMA
- 3169 .LVL333:
- 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3170 .loc 1 2376 13 is_stmt 0 discriminator 18 view .LVU1055
- 3171 03f0 8EE6 b .L88
- 3172 .LVL334:
- 3173 .L175:
- 3174 .LBB96:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3175 .loc 1 2372 13 is_stmt 1 discriminator 16 view .LVU1056
- 3176 03f2 B5F85030 ldrh r3, [r5, #80]
- 3177 03f6 9BB2 uxth r3, r3
- 3178 03f8 2B44 add r3, r3, r5
- 3179 .LVL335:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3180 .loc 1 2372 13 discriminator 16 view .LVU1057
- 3181 03fa 2278 ldrb r2, [r4] @ zero_extendqisi2
- 3182 03fc 03EB0213 add r3, r3, r2, lsl #4
- 3183 .LVL336:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3184 .loc 1 2372 13 discriminator 16 view .LVU1058
- 3185 0400 B2B2 uxth r2, r6
- 3186 0402 A3F80C24 strh r2, [r3, #1036] @ movhi
- 3187 0406 EDE7 b .L117
- 3188 .LVL337:
- 3189 .L90:
- 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3190 .loc 1 2372 13 is_stmt 0 discriminator 16 view .LVU1059
- 3191 .LBE96:
- 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3192 .loc 1 2382 11 is_stmt 1 view .LVU1060
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3193 .loc 1 2385 11 view .LVU1061
- 3194 .LBB97:
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3195 .loc 1 2385 11 view .LVU1062
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3196 .loc 1 2385 11 view .LVU1063
- 3197 0408 2178 ldrb r1, [r4] @ zero_extendqisi2
- 3198 040a 35F82120 ldrh r2, [r5, r1, lsl #2]
- 3199 040e 92B2 uxth r2, r2
- 3200 0410 22F4E242 bic r2, r2, #28928
- 3201 0414 22F07002 bic r2, r2, #112
- 3202 .LVL338:
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3203 .loc 1 2385 11 view .LVU1064
- 3204 0418 42F40042 orr r2, r2, #32768
- 3205 .LVL339:
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3206 .loc 1 2385 11 is_stmt 0 view .LVU1065
- 3207 041c 42F08002 orr r2, r2, #128
- 3208 0420 25F82120 strh r2, [r5, r1, lsl #2] @ movhi
- 3209 .LBE97:
- 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3210 .loc 1 2385 11 is_stmt 1 view .LVU1066
- ARM GAS /tmp/ccGUz1hM.s page 116
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3211 .loc 1 2388 11 view .LVU1067
- 3212 .LBB98:
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3213 .loc 1 2388 11 view .LVU1068
- 3214 .LVL340:
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3215 .loc 1 2388 11 view .LVU1069
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3216 .loc 1 2388 11 view .LVU1070
- 3217 0424 B5F85020 ldrh r2, [r5, #80]
- 3218 0428 92B2 uxth r2, r2
- 3219 042a 2A44 add r2, r2, r5
- 3220 .LVL341:
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3221 .loc 1 2388 11 view .LVU1071
- 3222 042c 2178 ldrb r1, [r4] @ zero_extendqisi2
- 3223 042e 02EB0112 add r2, r2, r1, lsl #4
- 3224 .LVL342:
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3225 .loc 1 2388 11 view .LVU1072
- 3226 0432 9BB2 uxth r3, r3
- 3227 .LVL343:
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3228 .loc 1 2388 11 is_stmt 0 view .LVU1073
- 3229 0434 A2F80434 strh r3, [r2, #1028] @ movhi
- 3230 .LBE98:
- 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3231 .loc 1 2388 11 is_stmt 1 view .LVU1074
- 2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3232 .loc 1 2389 11 view .LVU1075
- 3233 .LVL344:
- 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3234 .loc 1 2392 11 view .LVU1076
- 3235 0438 2289 ldrh r2, [r4, #8]
- 3236 .LVL345:
- 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3237 .loc 1 2392 11 is_stmt 0 view .LVU1077
- 3238 043a 6169 ldr r1, [r4, #20]
- 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3239 .loc 1 2392 11 view .LVU1078
- 3240 043c 2846 mov r0, r5
- 3241 .LVL346:
- 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3242 .loc 1 2392 11 view .LVU1079
- 3243 043e FFF7FEFF bl USB_WritePMA
- 3244 .LVL347:
- 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3245 .loc 1 2392 11 view .LVU1080
- 3246 0442 65E6 b .L88
- 3247 .LVL348:
- 3248 .L122:
- 3249 .LBB99:
- 3250 .LBB74:
- 3251 .LBB73:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3252 .loc 1 2404 11 is_stmt 1 discriminator 4 view .LVU1081
- ARM GAS /tmp/ccGUz1hM.s page 117
- 3253 0444 4EB9 cbnz r6, .L125
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3254 .loc 1 2404 11 discriminator 9 view .LVU1082
- 3255 0446 B3F80C24 ldrh r2, [r3, #1036]
- 3256 044a 6FEA4242 mvn r2, r2, lsl #17
- 3257 044e 6FEA5242 mvn r2, r2, lsr #17
- 3258 0452 92B2 uxth r2, r2
- 3259 0454 A3F80C24 strh r2, [r3, #1036] @ movhi
- 3260 0458 16E0 b .L124
- 3261 .L125:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3262 .loc 1 2404 11 discriminator 10 view .LVU1083
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3263 .loc 1 2404 11 discriminator 10 view .LVU1084
- 3264 045a 7208 lsrs r2, r6, #1
- 3265 .LVL349:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3266 .loc 1 2404 11 discriminator 10 view .LVU1085
- 3267 045c 16F0010F tst r6, #1
- 3268 0460 00D0 beq .L126
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3269 .loc 1 2404 11 discriminator 12 view .LVU1086
- 3270 0462 0132 adds r2, r2, #1
- 3271 .LVL350:
- 3272 .L126:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3273 .loc 1 2404 11 discriminator 14 view .LVU1087
- 3274 0464 B3F80C14 ldrh r1, [r3, #1036]
- 3275 0468 89B2 uxth r1, r1
- 3276 046a 9202 lsls r2, r2, #10
- 3277 .LVL351:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3278 .loc 1 2404 11 is_stmt 0 discriminator 14 view .LVU1088
- 3279 046c 92B2 uxth r2, r2
- 3280 046e 0A43 orrs r2, r2, r1
- 3281 0470 A3F80C24 strh r2, [r3, #1036] @ movhi
- 3282 0474 08E0 b .L124
- 3283 .LVL352:
- 3284 .L121:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3285 .loc 1 2404 11 discriminator 14 view .LVU1089
- 3286 .LBE73:
- 3287 .LBE74:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3288 .loc 1 2404 11 is_stmt 1 discriminator 16 view .LVU1090
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3289 .loc 1 2404 11 discriminator 16 view .LVU1091
- 3290 0476 B5F85030 ldrh r3, [r5, #80]
- 3291 047a 9BB2 uxth r3, r3
- 3292 047c 2B44 add r3, r3, r5
- 3293 .LVL353:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3294 .loc 1 2404 11 discriminator 16 view .LVU1092
- 3295 047e 03EB0113 add r3, r3, r1, lsl #4
- 3296 .LVL354:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3297 .loc 1 2404 11 discriminator 16 view .LVU1093
- ARM GAS /tmp/ccGUz1hM.s page 118
- 3298 0482 B2B2 uxth r2, r6
- 3299 0484 A3F80C24 strh r2, [r3, #1036] @ movhi
- 3300 .LVL355:
- 3301 .L124:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3302 .loc 1 2404 11 is_stmt 0 discriminator 16 view .LVU1094
- 3303 .LBE99:
- 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr1;
- 3304 .loc 1 2404 11 is_stmt 1 discriminator 18 view .LVU1095
- 2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3305 .loc 1 2405 11 discriminator 18 view .LVU1096
- 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3306 .loc 1 2408 11 discriminator 18 view .LVU1097
- 3307 0488 B3B2 uxth r3, r6
- 3308 048a 6289 ldrh r2, [r4, #10]
- 3309 048c 6169 ldr r1, [r4, #20]
- 3310 048e 2846 mov r0, r5
- 3311 .LVL356:
- 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3312 .loc 1 2408 11 is_stmt 0 discriminator 18 view .LVU1098
- 3313 0490 FFF7FEFF bl USB_WritePMA
- 3314 .LVL357:
- 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3315 .loc 1 2408 11 discriminator 18 view .LVU1099
- 3316 0494 3CE6 b .L88
- 3317 .LVL358:
- 3318 .L120:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3319 .loc 1 2413 11 is_stmt 1 view .LVU1100
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3320 .loc 1 2413 11 view .LVU1101
- 3321 0496 B2BB cbnz r2, .L127
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3322 .loc 1 2413 11 discriminator 1 view .LVU1102
- 3323 .LBB100:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3324 .loc 1 2413 11 discriminator 1 view .LVU1103
- 3325 .LVL359:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3326 .loc 1 2413 11 discriminator 1 view .LVU1104
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3327 .loc 1 2413 11 discriminator 1 view .LVU1105
- 3328 0498 B5F85030 ldrh r3, [r5, #80]
- 3329 049c 9BB2 uxth r3, r3
- 3330 049e 2B44 add r3, r3, r5
- 3331 .LVL360:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3332 .loc 1 2413 11 discriminator 1 view .LVU1106
- 3333 04a0 03EB0113 add r3, r3, r1, lsl #4
- 3334 .LVL361:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3335 .loc 1 2413 11 discriminator 1 view .LVU1107
- 3336 .LBB101:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3337 .loc 1 2413 11 discriminator 1 view .LVU1108
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3338 .loc 1 2413 11 discriminator 1 view .LVU1109
- ARM GAS /tmp/ccGUz1hM.s page 119
- 3339 04a4 B3F80424 ldrh r2, [r3, #1028]
- 3340 04a8 C2F30902 ubfx r2, r2, #0, #10
- 3341 04ac A3F80424 strh r2, [r3, #1028] @ movhi
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3342 .loc 1 2413 11 discriminator 1 view .LVU1110
- 3343 04b0 3E2E cmp r6, #62
- 3344 04b2 0FD9 bls .L128
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3345 .loc 1 2413 11 discriminator 3 view .LVU1111
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3346 .loc 1 2413 11 discriminator 3 view .LVU1112
- 3347 04b4 7109 lsrs r1, r6, #5
- 3348 .LVL362:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3349 .loc 1 2413 11 discriminator 3 view .LVU1113
- 3350 04b6 16F01F0F tst r6, #31
- 3351 04ba 00D1 bne .L129
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3352 .loc 1 2413 11 discriminator 5 view .LVU1114
- 3353 04bc 0139 subs r1, r1, #1
- 3354 .LVL363:
- 3355 .L129:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3356 .loc 1 2413 11 discriminator 7 view .LVU1115
- 3357 04be B3F80424 ldrh r2, [r3, #1028]
- 3358 04c2 92B2 uxth r2, r2
- 3359 04c4 8902 lsls r1, r1, #10
- 3360 .LVL364:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3361 .loc 1 2413 11 is_stmt 0 discriminator 7 view .LVU1116
- 3362 04c6 89B2 uxth r1, r1
- 3363 04c8 0A43 orrs r2, r2, r1
- 3364 04ca 42F40042 orr r2, r2, #32768
- 3365 04ce A3F80424 strh r2, [r3, #1028] @ movhi
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3366 .loc 1 2413 11 is_stmt 1 discriminator 7 view .LVU1117
- 3367 04d2 21E0 b .L130
- 3368 .L128:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3369 .loc 1 2413 11 discriminator 4 view .LVU1118
- 3370 04d4 4EB9 cbnz r6, .L131
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3371 .loc 1 2413 11 discriminator 9 view .LVU1119
- 3372 04d6 B3F80424 ldrh r2, [r3, #1028]
- 3373 04da 6FEA4242 mvn r2, r2, lsl #17
- 3374 04de 6FEA5242 mvn r2, r2, lsr #17
- 3375 04e2 92B2 uxth r2, r2
- 3376 04e4 A3F80424 strh r2, [r3, #1028] @ movhi
- 3377 04e8 16E0 b .L130
- 3378 .L131:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3379 .loc 1 2413 11 discriminator 10 view .LVU1120
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3380 .loc 1 2413 11 discriminator 10 view .LVU1121
- 3381 04ea 7208 lsrs r2, r6, #1
- 3382 .LVL365:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- ARM GAS /tmp/ccGUz1hM.s page 120
- 3383 .loc 1 2413 11 discriminator 10 view .LVU1122
- 3384 04ec 16F0010F tst r6, #1
- 3385 04f0 00D0 beq .L132
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3386 .loc 1 2413 11 discriminator 12 view .LVU1123
- 3387 04f2 0132 adds r2, r2, #1
- 3388 .LVL366:
- 3389 .L132:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3390 .loc 1 2413 11 discriminator 14 view .LVU1124
- 3391 04f4 B3F80414 ldrh r1, [r3, #1028]
- 3392 04f8 89B2 uxth r1, r1
- 3393 04fa 9202 lsls r2, r2, #10
- 3394 .LVL367:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3395 .loc 1 2413 11 is_stmt 0 discriminator 14 view .LVU1125
- 3396 04fc 92B2 uxth r2, r2
- 3397 04fe 0A43 orrs r2, r2, r1
- 3398 0500 A3F80424 strh r2, [r3, #1028] @ movhi
- 3399 0504 08E0 b .L130
- 3400 .LVL368:
- 3401 .L127:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3402 .loc 1 2413 11 discriminator 14 view .LVU1126
- 3403 .LBE101:
- 3404 .LBE100:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3405 .loc 1 2413 11 is_stmt 1 discriminator 16 view .LVU1127
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3406 .loc 1 2413 11 discriminator 16 view .LVU1128
- 3407 .LBB102:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3408 .loc 1 2413 11 discriminator 16 view .LVU1129
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3409 .loc 1 2413 11 discriminator 16 view .LVU1130
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3410 .loc 1 2413 11 discriminator 16 view .LVU1131
- 3411 0506 B5F85030 ldrh r3, [r5, #80]
- 3412 050a 9BB2 uxth r3, r3
- 3413 050c 2B44 add r3, r3, r5
- 3414 .LVL369:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3415 .loc 1 2413 11 discriminator 16 view .LVU1132
- 3416 050e 03EB0113 add r3, r3, r1, lsl #4
- 3417 .LVL370:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3418 .loc 1 2413 11 discriminator 16 view .LVU1133
- 3419 0512 B2B2 uxth r2, r6
- 3420 0514 A3F80424 strh r2, [r3, #1028] @ movhi
- 3421 .LVL371:
- 3422 .L130:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3423 .loc 1 2413 11 is_stmt 0 discriminator 16 view .LVU1134
- 3424 .LBE102:
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- 3425 .loc 1 2413 11 is_stmt 1 discriminator 18 view .LVU1135
- 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pmabuffer = ep->pmaaddr0;
- ARM GAS /tmp/ccGUz1hM.s page 121
- 3426 .loc 1 2413 11 discriminator 18 view .LVU1136
- 2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3427 .loc 1 2414 11 discriminator 18 view .LVU1137
- 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3428 .loc 1 2417 11 discriminator 18 view .LVU1138
- 3429 0518 B3B2 uxth r3, r6
- 3430 051a 2289 ldrh r2, [r4, #8]
- 3431 051c 6169 ldr r1, [r4, #20]
- 3432 051e 2846 mov r0, r5
- 3433 .LVL372:
- 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3434 .loc 1 2417 11 is_stmt 0 discriminator 18 view .LVU1139
- 3435 0520 FFF7FEFF bl USB_WritePMA
- 3436 .LVL373:
- 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3437 .loc 1 2417 11 discriminator 18 view .LVU1140
- 3438 0524 F4E5 b .L88
- 3439 .LVL374:
- 3440 .L135:
- 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
- 3441 .loc 1 2437 9 is_stmt 1 view .LVU1141
- 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3442 .loc 1 2438 9 view .LVU1142
- 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3443 .loc 1 2438 22 is_stmt 0 view .LVU1143
- 3444 0526 0022 movs r2, #0
- 3445 0528 8A61 str r2, [r1, #24]
- 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
- 3446 .loc 1 2437 13 view .LVU1144
- 3447 052a 1A46 mov r2, r3
- 3448 052c 79E5 b .L136
- 3449 .LVL375:
- 3450 .L137:
- 3451 .LBB103:
- 3452 .LBB68:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3453 .loc 1 2441 7 is_stmt 1 discriminator 2 view .LVU1145
- 3454 052e 4AB9 cbnz r2, .L140
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3455 .loc 1 2441 7 discriminator 7 view .LVU1146
- 3456 0530 B3F80C24 ldrh r2, [r3, #1036]
- 3457 .LVL376:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3458 .loc 1 2441 7 is_stmt 0 discriminator 7 view .LVU1147
- 3459 0534 6FEA4242 mvn r2, r2, lsl #17
- 3460 0538 6FEA5242 mvn r2, r2, lsr #17
- 3461 053c 92B2 uxth r2, r2
- 3462 053e A3F80C24 strh r2, [r3, #1036] @ movhi
- 3463 0542 8DE5 b .L139
- 3464 .LVL377:
- 3465 .L140:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3466 .loc 1 2441 7 is_stmt 1 discriminator 8 view .LVU1148
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3467 .loc 1 2441 7 discriminator 8 view .LVU1149
- 3468 0544 5108 lsrs r1, r2, #1
- 3469 .LVL378:
- ARM GAS /tmp/ccGUz1hM.s page 122
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3470 .loc 1 2441 7 discriminator 8 view .LVU1150
- 3471 0546 12F0010F tst r2, #1
- 3472 054a 00D0 beq .L141
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3473 .loc 1 2441 7 discriminator 10 view .LVU1151
- 3474 054c 0131 adds r1, r1, #1
- 3475 .LVL379:
- 3476 .L141:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3477 .loc 1 2441 7 discriminator 12 view .LVU1152
- 3478 054e B3F80C24 ldrh r2, [r3, #1036]
- 3479 .LVL380:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3480 .loc 1 2441 7 is_stmt 0 discriminator 12 view .LVU1153
- 3481 0552 92B2 uxth r2, r2
- 3482 0554 8902 lsls r1, r1, #10
- 3483 .LVL381:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3484 .loc 1 2441 7 discriminator 12 view .LVU1154
- 3485 0556 89B2 uxth r1, r1
- 3486 0558 1143 orrs r1, r1, r2
- 3487 055a A3F80C14 strh r1, [r3, #1036] @ movhi
- 3488 055e 7FE5 b .L139
- 3489 .LVL382:
- 3490 .L134:
- 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3491 .loc 1 2441 7 discriminator 12 view .LVU1155
- 3492 .LBE68:
- 3493 .LBE103:
- 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3494 .loc 1 2448 7 is_stmt 1 view .LVU1156
- 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3495 .loc 1 2448 13 is_stmt 0 view .LVU1157
- 3496 0560 CB78 ldrb r3, [r1, #3] @ zero_extendqisi2
- 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3497 .loc 1 2448 10 view .LVU1158
- 3498 0562 022B cmp r3, #2
- 3499 0564 4DD0 beq .L176
- 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3500 .loc 1 2467 12 is_stmt 1 view .LVU1159
- 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3501 .loc 1 2467 15 is_stmt 0 view .LVU1160
- 3502 0566 012B cmp r3, #1
- 3503 0568 40F02F81 bne .L167
- 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3504 .loc 1 2470 9 is_stmt 1 view .LVU1161
- 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3505 .loc 1 2470 15 is_stmt 0 view .LVU1162
- 3506 056c 8969 ldr r1, [r1, #24]
- 3507 .LVL383:
- 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3508 .loc 1 2470 30 view .LVU1163
- 3509 056e 2369 ldr r3, [r4, #16]
- 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3510 .loc 1 2470 12 view .LVU1164
- 3511 0570 9942 cmp r1, r3
- ARM GAS /tmp/ccGUz1hM.s page 123
- 3512 0572 40F2E680 bls .L155
- 2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len -= len;
- 3513 .loc 1 2472 11 is_stmt 1 view .LVU1165
- 3514 .LVL384:
- 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3515 .loc 1 2473 11 view .LVU1166
- 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3516 .loc 1 2473 24 is_stmt 0 view .LVU1167
- 3517 0576 C91A subs r1, r1, r3
- 3518 0578 A161 str r1, [r4, #24]
- 3519 .L156:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3520 .loc 1 2480 9 is_stmt 1 view .LVU1168
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3521 .loc 1 2480 9 view .LVU1169
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3522 .loc 1 2480 9 view .LVU1170
- 3523 057a F2B9 cbnz r2, .L157
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3524 .loc 1 2480 9 discriminator 1 view .LVU1171
- 3525 .LBB104:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3526 .loc 1 2480 9 discriminator 1 view .LVU1172
- 3527 .LVL385:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3528 .loc 1 2480 9 discriminator 1 view .LVU1173
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3529 .loc 1 2480 9 discriminator 1 view .LVU1174
- 3530 057c B5F85020 ldrh r2, [r5, #80]
- 3531 0580 92B2 uxth r2, r2
- 3532 0582 2A44 add r2, r2, r5
- 3533 .LVL386:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3534 .loc 1 2480 9 discriminator 1 view .LVU1175
- 3535 0584 2178 ldrb r1, [r4] @ zero_extendqisi2
- 3536 0586 02EB0112 add r2, r2, r1, lsl #4
- 3537 .LVL387:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3538 .loc 1 2480 9 discriminator 1 view .LVU1176
- 3539 .LBB105:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3540 .loc 1 2480 9 discriminator 1 view .LVU1177
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3541 .loc 1 2480 9 discriminator 1 view .LVU1178
- 3542 058a B2F80414 ldrh r1, [r2, #1028]
- 3543 058e C1F30901 ubfx r1, r1, #0, #10
- 3544 0592 A2F80414 strh r1, [r2, #1028] @ movhi
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3545 .loc 1 2480 9 discriminator 1 view .LVU1179
- 3546 0596 3E2B cmp r3, #62
- 3547 0598 40F2D780 bls .L158
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3548 .loc 1 2480 9 discriminator 3 view .LVU1180
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3549 .loc 1 2480 9 discriminator 3 view .LVU1181
- 3550 059c 5809 lsrs r0, r3, #5
- 3551 .LVL388:
- ARM GAS /tmp/ccGUz1hM.s page 124
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3552 .loc 1 2480 9 discriminator 3 view .LVU1182
- 3553 059e 13F01F0F tst r3, #31
- 3554 05a2 00D1 bne .L159
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3555 .loc 1 2480 9 discriminator 5 view .LVU1183
- 3556 05a4 0138 subs r0, r0, #1
- 3557 .LVL389:
- 3558 .L159:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3559 .loc 1 2480 9 discriminator 7 view .LVU1184
- 3560 05a6 B2F80414 ldrh r1, [r2, #1028]
- 3561 05aa 89B2 uxth r1, r1
- 3562 05ac 8002 lsls r0, r0, #10
- 3563 .LVL390:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3564 .loc 1 2480 9 is_stmt 0 discriminator 7 view .LVU1185
- 3565 05ae 80B2 uxth r0, r0
- 3566 05b0 0143 orrs r1, r1, r0
- 3567 05b2 41F40041 orr r1, r1, #32768
- 3568 05b6 A2F80414 strh r1, [r2, #1028] @ movhi
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3569 .loc 1 2480 9 is_stmt 1 discriminator 7 view .LVU1186
- 3570 .LVL391:
- 3571 .L157:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3572 .loc 1 2480 9 is_stmt 0 discriminator 7 view .LVU1187
- 3573 .LBE105:
- 3574 .LBE104:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3575 .loc 1 2480 9 is_stmt 1 discriminator 18 view .LVU1188
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3576 .loc 1 2480 9 discriminator 18 view .LVU1189
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3577 .loc 1 2480 9 discriminator 18 view .LVU1190
- 3578 .LBB107:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3579 .loc 1 2480 9 discriminator 18 view .LVU1191
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3580 .loc 1 2480 9 discriminator 18 view .LVU1192
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3581 .loc 1 2480 9 discriminator 18 view .LVU1193
- 3582 05ba 6278 ldrb r2, [r4, #1] @ zero_extendqisi2
- 3583 05bc 002A cmp r2, #0
- 3584 05be 40F0F680 bne .L162
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3585 .loc 1 2480 9 discriminator 19 view .LVU1194
- 3586 .LBB108:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3587 .loc 1 2480 9 discriminator 19 view .LVU1195
- 3588 .LVL392:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3589 .loc 1 2480 9 discriminator 19 view .LVU1196
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3590 .loc 1 2480 9 discriminator 19 view .LVU1197
- 3591 05c2 B5F85020 ldrh r2, [r5, #80]
- 3592 05c6 92B2 uxth r2, r2
- ARM GAS /tmp/ccGUz1hM.s page 125
- 3593 05c8 2A44 add r2, r2, r5
- 3594 .LVL393:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3595 .loc 1 2480 9 discriminator 19 view .LVU1198
- 3596 05ca 2178 ldrb r1, [r4] @ zero_extendqisi2
- 3597 05cc 02EB0112 add r2, r2, r1, lsl #4
- 3598 .LVL394:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3599 .loc 1 2480 9 discriminator 19 view .LVU1199
- 3600 .LBB109:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3601 .loc 1 2480 9 discriminator 19 view .LVU1200
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3602 .loc 1 2480 9 discriminator 19 view .LVU1201
- 3603 05d0 B2F80C14 ldrh r1, [r2, #1036]
- 3604 05d4 C1F30901 ubfx r1, r1, #0, #10
- 3605 05d8 A2F80C14 strh r1, [r2, #1036] @ movhi
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3606 .loc 1 2480 9 discriminator 19 view .LVU1202
- 3607 05dc 3E2B cmp r3, #62
- 3608 05de 40F2CD80 bls .L163
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3609 .loc 1 2480 9 discriminator 21 view .LVU1203
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3610 .loc 1 2480 9 discriminator 21 view .LVU1204
- 3611 05e2 5909 lsrs r1, r3, #5
- 3612 .LVL395:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3613 .loc 1 2480 9 discriminator 21 view .LVU1205
- 3614 05e4 13F01F0F tst r3, #31
- 3615 05e8 00D1 bne .L164
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3616 .loc 1 2480 9 discriminator 23 view .LVU1206
- 3617 05ea 0139 subs r1, r1, #1
- 3618 .LVL396:
- 3619 .L164:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3620 .loc 1 2480 9 discriminator 25 view .LVU1207
- 3621 05ec B2F80C34 ldrh r3, [r2, #1036]
- 3622 .LVL397:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3623 .loc 1 2480 9 is_stmt 0 discriminator 25 view .LVU1208
- 3624 05f0 9BB2 uxth r3, r3
- 3625 05f2 8902 lsls r1, r1, #10
- 3626 .LVL398:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3627 .loc 1 2480 9 discriminator 25 view .LVU1209
- 3628 05f4 89B2 uxth r1, r1
- 3629 05f6 0B43 orrs r3, r3, r1
- 3630 05f8 43F40043 orr r3, r3, #32768
- 3631 05fc A2F80C34 strh r3, [r2, #1036] @ movhi
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3632 .loc 1 2480 9 is_stmt 1 discriminator 25 view .LVU1210
- 3633 0600 2EE5 b .L139
- 3634 .LVL399:
- 3635 .L176:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 126
- 3636 .loc 1 2480 9 is_stmt 0 discriminator 25 view .LVU1211
- 3637 .LBE109:
- 3638 .LBE108:
- 3639 .LBE107:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3640 .loc 1 2450 9 is_stmt 1 view .LVU1212
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3641 .loc 1 2450 9 view .LVU1213
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3642 .loc 1 2450 9 view .LVU1214
- 3643 0602 F2B9 cbnz r2, .L143
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3644 .loc 1 2450 9 discriminator 1 view .LVU1215
- 3645 .LBB112:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3646 .loc 1 2450 9 discriminator 1 view .LVU1216
- 3647 .LVL400:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3648 .loc 1 2450 9 discriminator 1 view .LVU1217
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3649 .loc 1 2450 9 discriminator 1 view .LVU1218
- 3650 0604 B0F85030 ldrh r3, [r0, #80]
- 3651 0608 9BB2 uxth r3, r3
- 3652 060a 0344 add r3, r3, r0
- 3653 .LVL401:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3654 .loc 1 2450 9 discriminator 1 view .LVU1219
- 3655 060c 0A78 ldrb r2, [r1] @ zero_extendqisi2
- 3656 060e 03EB0213 add r3, r3, r2, lsl #4
- 3657 .LVL402:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3658 .loc 1 2450 9 discriminator 1 view .LVU1220
- 3659 .LBB113:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3660 .loc 1 2450 9 discriminator 1 view .LVU1221
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3661 .loc 1 2450 9 discriminator 1 view .LVU1222
- 3662 0612 B3F80424 ldrh r2, [r3, #1028]
- 3663 0616 C2F30902 ubfx r2, r2, #0, #10
- 3664 061a A3F80424 strh r2, [r3, #1028] @ movhi
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3665 .loc 1 2450 9 discriminator 1 view .LVU1223
- 3666 061e 0A69 ldr r2, [r1, #16]
- 3667 0620 3E2A cmp r2, #62
- 3668 0622 31D9 bls .L144
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3669 .loc 1 2450 9 discriminator 3 view .LVU1224
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3670 .loc 1 2450 9 discriminator 3 view .LVU1225
- 3671 0624 5109 lsrs r1, r2, #5
- 3672 .LVL403:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3673 .loc 1 2450 9 discriminator 3 view .LVU1226
- 3674 0626 12F01F0F tst r2, #31
- 3675 062a 00D1 bne .L145
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3676 .loc 1 2450 9 discriminator 5 view .LVU1227
- ARM GAS /tmp/ccGUz1hM.s page 127
- 3677 062c 0139 subs r1, r1, #1
- 3678 .LVL404:
- 3679 .L145:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3680 .loc 1 2450 9 discriminator 7 view .LVU1228
- 3681 062e B3F80424 ldrh r2, [r3, #1028]
- 3682 0632 92B2 uxth r2, r2
- 3683 0634 8902 lsls r1, r1, #10
- 3684 .LVL405:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3685 .loc 1 2450 9 is_stmt 0 discriminator 7 view .LVU1229
- 3686 0636 89B2 uxth r1, r1
- 3687 0638 0A43 orrs r2, r2, r1
- 3688 063a 42F40042 orr r2, r2, #32768
- 3689 063e A3F80424 strh r2, [r3, #1028] @ movhi
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3690 .loc 1 2450 9 is_stmt 1 discriminator 7 view .LVU1230
- 3691 .LVL406:
- 3692 .L143:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3693 .loc 1 2450 9 is_stmt 0 discriminator 7 view .LVU1231
- 3694 .LBE113:
- 3695 .LBE112:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3696 .loc 1 2450 9 is_stmt 1 discriminator 18 view .LVU1232
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3697 .loc 1 2450 9 discriminator 18 view .LVU1233
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3698 .loc 1 2450 9 discriminator 18 view .LVU1234
- 3699 .LBB115:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3700 .loc 1 2450 9 discriminator 18 view .LVU1235
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3701 .loc 1 2450 9 discriminator 18 view .LVU1236
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3702 .loc 1 2450 9 discriminator 18 view .LVU1237
- 3703 0642 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
- 3704 0644 002B cmp r3, #0
- 3705 0646 51D1 bne .L148
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3706 .loc 1 2450 9 discriminator 19 view .LVU1238
- 3707 .LBB116:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3708 .loc 1 2450 9 discriminator 19 view .LVU1239
- 3709 .LVL407:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3710 .loc 1 2450 9 discriminator 19 view .LVU1240
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3711 .loc 1 2450 9 discriminator 19 view .LVU1241
- 3712 0648 B5F85030 ldrh r3, [r5, #80]
- 3713 064c 9BB2 uxth r3, r3
- 3714 064e 2B44 add r3, r3, r5
- 3715 .LVL408:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3716 .loc 1 2450 9 discriminator 19 view .LVU1242
- 3717 0650 2278 ldrb r2, [r4] @ zero_extendqisi2
- 3718 0652 03EB0213 add r3, r3, r2, lsl #4
- ARM GAS /tmp/ccGUz1hM.s page 128
- 3719 .LVL409:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3720 .loc 1 2450 9 discriminator 19 view .LVU1243
- 3721 .LBB117:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3722 .loc 1 2450 9 discriminator 19 view .LVU1244
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3723 .loc 1 2450 9 discriminator 19 view .LVU1245
- 3724 0656 B3F80C24 ldrh r2, [r3, #1036]
- 3725 065a C2F30902 ubfx r2, r2, #0, #10
- 3726 065e A3F80C24 strh r2, [r3, #1036] @ movhi
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3727 .loc 1 2450 9 discriminator 19 view .LVU1246
- 3728 0662 2269 ldr r2, [r4, #16]
- 3729 0664 3E2A cmp r2, #62
- 3730 0666 28D9 bls .L149
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3731 .loc 1 2450 9 discriminator 21 view .LVU1247
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3732 .loc 1 2450 9 discriminator 21 view .LVU1248
- 3733 0668 5109 lsrs r1, r2, #5
- 3734 .LVL410:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3735 .loc 1 2450 9 discriminator 21 view .LVU1249
- 3736 066a 12F01F0F tst r2, #31
- 3737 066e 00D1 bne .L150
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3738 .loc 1 2450 9 discriminator 23 view .LVU1250
- 3739 0670 0139 subs r1, r1, #1
- 3740 .LVL411:
- 3741 .L150:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3742 .loc 1 2450 9 discriminator 25 view .LVU1251
- 3743 0672 B3F80C24 ldrh r2, [r3, #1036]
- 3744 0676 92B2 uxth r2, r2
- 3745 0678 8902 lsls r1, r1, #10
- 3746 .LVL412:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3747 .loc 1 2450 9 is_stmt 0 discriminator 25 view .LVU1252
- 3748 067a 89B2 uxth r1, r1
- 3749 067c 0A43 orrs r2, r2, r1
- 3750 067e 42F40042 orr r2, r2, #32768
- 3751 0682 A3F80C24 strh r2, [r3, #1036] @ movhi
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3752 .loc 1 2450 9 is_stmt 1 discriminator 25 view .LVU1253
- 3753 0686 33E0 b .L151
- 3754 .LVL413:
- 3755 .L144:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3756 .loc 1 2450 9 is_stmt 0 discriminator 25 view .LVU1254
- 3757 .LBE117:
- 3758 .LBE116:
- 3759 .LBE115:
- 3760 .LBB120:
- 3761 .LBB114:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3762 .loc 1 2450 9 is_stmt 1 discriminator 4 view .LVU1255
- ARM GAS /tmp/ccGUz1hM.s page 129
- 3763 0688 4AB9 cbnz r2, .L146
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3764 .loc 1 2450 9 discriminator 9 view .LVU1256
- 3765 068a B3F80424 ldrh r2, [r3, #1028]
- 3766 068e 6FEA4242 mvn r2, r2, lsl #17
- 3767 0692 6FEA5242 mvn r2, r2, lsr #17
- 3768 0696 92B2 uxth r2, r2
- 3769 0698 A3F80424 strh r2, [r3, #1028] @ movhi
- 3770 069c D1E7 b .L143
- 3771 .L146:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3772 .loc 1 2450 9 discriminator 10 view .LVU1257
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3773 .loc 1 2450 9 discriminator 10 view .LVU1258
- 3774 069e 5108 lsrs r1, r2, #1
- 3775 .LVL414:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3776 .loc 1 2450 9 discriminator 10 view .LVU1259
- 3777 06a0 12F0010F tst r2, #1
- 3778 06a4 00D0 beq .L147
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3779 .loc 1 2450 9 discriminator 12 view .LVU1260
- 3780 06a6 0131 adds r1, r1, #1
- 3781 .LVL415:
- 3782 .L147:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3783 .loc 1 2450 9 discriminator 14 view .LVU1261
- 3784 06a8 B3F80424 ldrh r2, [r3, #1028]
- 3785 06ac 90B2 uxth r0, r2
- 3786 .LVL416:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3787 .loc 1 2450 9 is_stmt 0 discriminator 14 view .LVU1262
- 3788 06ae 8A02 lsls r2, r1, #10
- 3789 06b0 92B2 uxth r2, r2
- 3790 06b2 0243 orrs r2, r2, r0
- 3791 06b4 A3F80424 strh r2, [r3, #1028] @ movhi
- 3792 06b8 C3E7 b .L143
- 3793 .LVL417:
- 3794 .L149:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3795 .loc 1 2450 9 discriminator 14 view .LVU1263
- 3796 .LBE114:
- 3797 .LBE120:
- 3798 .LBB121:
- 3799 .LBB119:
- 3800 .LBB118:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3801 .loc 1 2450 9 is_stmt 1 discriminator 22 view .LVU1264
- 3802 06ba 4AB9 cbnz r2, .L152
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3803 .loc 1 2450 9 discriminator 27 view .LVU1265
- 3804 06bc B3F80C24 ldrh r2, [r3, #1036]
- 3805 06c0 6FEA4242 mvn r2, r2, lsl #17
- 3806 06c4 6FEA5242 mvn r2, r2, lsr #17
- 3807 06c8 92B2 uxth r2, r2
- 3808 06ca A3F80C24 strh r2, [r3, #1036] @ movhi
- 3809 06ce 0FE0 b .L151
- ARM GAS /tmp/ccGUz1hM.s page 130
- 3810 .L152:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3811 .loc 1 2450 9 discriminator 28 view .LVU1266
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3812 .loc 1 2450 9 discriminator 28 view .LVU1267
- 3813 06d0 5108 lsrs r1, r2, #1
- 3814 .LVL418:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3815 .loc 1 2450 9 discriminator 28 view .LVU1268
- 3816 06d2 12F0010F tst r2, #1
- 3817 06d6 00D0 beq .L153
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3818 .loc 1 2450 9 discriminator 30 view .LVU1269
- 3819 06d8 0131 adds r1, r1, #1
- 3820 .LVL419:
- 3821 .L153:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3822 .loc 1 2450 9 discriminator 32 view .LVU1270
- 3823 06da B3F80C24 ldrh r2, [r3, #1036]
- 3824 06de 90B2 uxth r0, r2
- 3825 06e0 8A02 lsls r2, r1, #10
- 3826 06e2 92B2 uxth r2, r2
- 3827 06e4 0243 orrs r2, r2, r0
- 3828 06e6 A3F80C24 strh r2, [r3, #1036] @ movhi
- 3829 06ea 01E0 b .L151
- 3830 .LVL420:
- 3831 .L148:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3832 .loc 1 2450 9 is_stmt 0 discriminator 32 view .LVU1271
- 3833 .LBE118:
- 3834 .LBE119:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3835 .loc 1 2450 9 is_stmt 1 discriminator 20 view .LVU1272
- 3836 06ec 012B cmp r3, #1
- 3837 06ee 1DD0 beq .L177
- 3838 .LVL421:
- 3839 .L151:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3840 .loc 1 2450 9 is_stmt 0 discriminator 20 view .LVU1273
- 3841 .LBE121:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3842 .loc 1 2450 9 is_stmt 1 discriminator 36 view .LVU1274
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3843 .loc 1 2450 9 discriminator 36 view .LVU1275
- 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3844 .loc 1 2453 9 discriminator 36 view .LVU1276
- 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3845 .loc 1 2453 15 is_stmt 0 discriminator 36 view .LVU1277
- 3846 06f0 E369 ldr r3, [r4, #28]
- 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 3847 .loc 1 2453 12 discriminator 36 view .LVU1278
- 3848 06f2 002B cmp r3, #0
- 3849 06f4 3FF4B4AC beq .L139
- 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3850 .loc 1 2456 11 is_stmt 1 view .LVU1279
- 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3851 .loc 1 2456 20 is_stmt 0 view .LVU1280
- ARM GAS /tmp/ccGUz1hM.s page 131
- 3852 06f8 2278 ldrb r2, [r4] @ zero_extendqisi2
- 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3853 .loc 1 2456 18 view .LVU1281
- 3854 06fa 35F82210 ldrh r1, [r5, r2, lsl #2]
- 3855 .LVL422:
- 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
- 3856 .loc 1 2459 11 is_stmt 1 view .LVU1282
- 3857 06fe 44F24003 movw r3, #16448
- 3858 0702 03EA0100 and r0, r3, r1
- 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
- 3859 .loc 1 2459 14 is_stmt 0 view .LVU1283
- 3860 0706 8B43 bics r3, r3, r1
- 3861 0708 02D0 beq .L154
- 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U)))
- 3862 .loc 1 2459 88 discriminator 1 view .LVU1284
- 3863 070a 0028 cmp r0, #0
- 3864 070c 7FF4A8AC bne .L139
- 3865 .L154:
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3866 .loc 1 2462 13 is_stmt 1 discriminator 1 view .LVU1285
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3867 .loc 1 2462 13 discriminator 1 view .LVU1286
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3868 .loc 1 2462 13 discriminator 1 view .LVU1287
- 3869 .LBB122:
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3870 .loc 1 2462 13 discriminator 1 view .LVU1288
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3871 .loc 1 2462 13 discriminator 1 view .LVU1289
- 3872 0710 35F82230 ldrh r3, [r5, r2, lsl #2]
- 3873 0714 9BB2 uxth r3, r3
- 3874 0716 23F4E043 bic r3, r3, #28672
- 3875 071a 23F07003 bic r3, r3, #112
- 3876 .LVL423:
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3877 .loc 1 2462 13 discriminator 1 view .LVU1290
- 3878 071e 43F40043 orr r3, r3, #32768
- 3879 .LVL424:
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3880 .loc 1 2462 13 is_stmt 0 discriminator 1 view .LVU1291
- 3881 0722 43F0C003 orr r3, r3, #192
- 3882 0726 25F82230 strh r3, [r5, r2, lsl #2] @ movhi
- 3883 .LBE122:
- 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3884 .loc 1 2462 13 is_stmt 1 discriminator 1 view .LVU1292
- 3885 072a 99E4 b .L139
- 3886 .LVL425:
- 3887 .L177:
- 3888 .LBB123:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3889 .loc 1 2450 9 discriminator 34 view .LVU1293
- 3890 072c B5F85030 ldrh r3, [r5, #80]
- 3891 0730 9BB2 uxth r3, r3
- 3892 0732 2B44 add r3, r3, r5
- 3893 .LVL426:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3894 .loc 1 2450 9 discriminator 34 view .LVU1294
- ARM GAS /tmp/ccGUz1hM.s page 132
- 3895 0734 2278 ldrb r2, [r4] @ zero_extendqisi2
- 3896 0736 03EB0213 add r3, r3, r2, lsl #4
- 3897 .LVL427:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3898 .loc 1 2450 9 discriminator 34 view .LVU1295
- 3899 073a 228A ldrh r2, [r4, #16]
- 3900 073c A3F80C24 strh r2, [r3, #1036] @ movhi
- 3901 0740 D6E7 b .L151
- 3902 .LVL428:
- 3903 .L155:
- 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 3904 .loc 1 2450 9 is_stmt 0 discriminator 34 view .LVU1296
- 3905 .LBE123:
- 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
- 3906 .loc 1 2477 11 is_stmt 1 view .LVU1297
- 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3907 .loc 1 2478 11 view .LVU1298
- 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3908 .loc 1 2478 24 is_stmt 0 view .LVU1299
- 3909 0742 0023 movs r3, #0
- 3910 0744 A361 str r3, [r4, #24]
- 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** ep->xfer_len = 0U;
- 3911 .loc 1 2477 15 view .LVU1300
- 3912 0746 0B46 mov r3, r1
- 3913 0748 17E7 b .L156
- 3914 .LVL429:
- 3915 .L158:
- 3916 .LBB124:
- 3917 .LBB106:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3918 .loc 1 2480 9 is_stmt 1 discriminator 4 view .LVU1301
- 3919 074a 4BB9 cbnz r3, .L160
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3920 .loc 1 2480 9 discriminator 9 view .LVU1302
- 3921 074c B2F80414 ldrh r1, [r2, #1028]
- 3922 0750 6FEA4141 mvn r1, r1, lsl #17
- 3923 0754 6FEA5141 mvn r1, r1, lsr #17
- 3924 0758 89B2 uxth r1, r1
- 3925 075a A2F80414 strh r1, [r2, #1028] @ movhi
- 3926 075e 2CE7 b .L157
- 3927 .L160:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3928 .loc 1 2480 9 discriminator 10 view .LVU1303
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3929 .loc 1 2480 9 discriminator 10 view .LVU1304
- 3930 0760 5908 lsrs r1, r3, #1
- 3931 .LVL430:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3932 .loc 1 2480 9 discriminator 10 view .LVU1305
- 3933 0762 13F0010F tst r3, #1
- 3934 0766 00D0 beq .L161
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3935 .loc 1 2480 9 discriminator 12 view .LVU1306
- 3936 0768 0131 adds r1, r1, #1
- 3937 .LVL431:
- 3938 .L161:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- ARM GAS /tmp/ccGUz1hM.s page 133
- 3939 .loc 1 2480 9 discriminator 14 view .LVU1307
- 3940 076a B2F80404 ldrh r0, [r2, #1028]
- 3941 .LVL432:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3942 .loc 1 2480 9 is_stmt 0 discriminator 14 view .LVU1308
- 3943 076e 80B2 uxth r0, r0
- 3944 0770 8902 lsls r1, r1, #10
- 3945 .LVL433:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3946 .loc 1 2480 9 discriminator 14 view .LVU1309
- 3947 0772 89B2 uxth r1, r1
- 3948 0774 0143 orrs r1, r1, r0
- 3949 0776 A2F80414 strh r1, [r2, #1028] @ movhi
- 3950 077a 1EE7 b .L157
- 3951 .LVL434:
- 3952 .L163:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3953 .loc 1 2480 9 discriminator 14 view .LVU1310
- 3954 .LBE106:
- 3955 .LBE124:
- 3956 .LBB125:
- 3957 .LBB111:
- 3958 .LBB110:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3959 .loc 1 2480 9 is_stmt 1 discriminator 22 view .LVU1311
- 3960 077c 4BB9 cbnz r3, .L165
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3961 .loc 1 2480 9 discriminator 27 view .LVU1312
- 3962 077e B2F80C34 ldrh r3, [r2, #1036]
- 3963 .LVL435:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3964 .loc 1 2480 9 is_stmt 0 discriminator 27 view .LVU1313
- 3965 0782 6FEA4343 mvn r3, r3, lsl #17
- 3966 0786 6FEA5343 mvn r3, r3, lsr #17
- 3967 078a 9BB2 uxth r3, r3
- 3968 078c A2F80C34 strh r3, [r2, #1036] @ movhi
- 3969 0790 66E4 b .L139
- 3970 .LVL436:
- 3971 .L165:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3972 .loc 1 2480 9 is_stmt 1 discriminator 28 view .LVU1314
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3973 .loc 1 2480 9 discriminator 28 view .LVU1315
- 3974 0792 5908 lsrs r1, r3, #1
- 3975 .LVL437:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3976 .loc 1 2480 9 discriminator 28 view .LVU1316
- 3977 0794 13F0010F tst r3, #1
- 3978 0798 00D0 beq .L166
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3979 .loc 1 2480 9 discriminator 30 view .LVU1317
- 3980 079a 0131 adds r1, r1, #1
- 3981 .LVL438:
- 3982 .L166:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3983 .loc 1 2480 9 discriminator 32 view .LVU1318
- 3984 079c B2F80C34 ldrh r3, [r2, #1036]
- ARM GAS /tmp/ccGUz1hM.s page 134
- 3985 .LVL439:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3986 .loc 1 2480 9 is_stmt 0 discriminator 32 view .LVU1319
- 3987 07a0 98B2 uxth r0, r3
- 3988 07a2 8B02 lsls r3, r1, #10
- 3989 07a4 9BB2 uxth r3, r3
- 3990 07a6 0343 orrs r3, r3, r0
- 3991 07a8 A2F80C34 strh r3, [r2, #1036] @ movhi
- 3992 07ac 58E4 b .L139
- 3993 .LVL440:
- 3994 .L162:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3995 .loc 1 2480 9 discriminator 32 view .LVU1320
- 3996 .LBE110:
- 3997 .LBE111:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 3998 .loc 1 2480 9 is_stmt 1 discriminator 20 view .LVU1321
- 3999 07ae 012A cmp r2, #1
- 4000 07b0 7FF456AC bne .L139
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4001 .loc 1 2480 9 discriminator 34 view .LVU1322
- 4002 07b4 B5F85020 ldrh r2, [r5, #80]
- 4003 07b8 92B2 uxth r2, r2
- 4004 07ba 2A44 add r2, r2, r5
- 4005 .LVL441:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4006 .loc 1 2480 9 discriminator 34 view .LVU1323
- 4007 07bc 2178 ldrb r1, [r4] @ zero_extendqisi2
- 4008 07be 02EB0112 add r2, r2, r1, lsl #4
- 4009 .LVL442:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4010 .loc 1 2480 9 discriminator 34 view .LVU1324
- 4011 07c2 9BB2 uxth r3, r3
- 4012 .LVL443:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4013 .loc 1 2480 9 is_stmt 0 discriminator 34 view .LVU1325
- 4014 07c4 A2F80C34 strh r3, [r2, #1036] @ movhi
- 4015 07c8 4AE4 b .L139
- 4016 .LVL444:
- 4017 .L167:
- 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4018 .loc 1 2480 9 discriminator 34 view .LVU1326
- 4019 .LBE125:
- 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4020 .loc 1 2484 16 view .LVU1327
- 4021 07ca 0120 movs r0, #1
- 4022 .LVL445:
- 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4023 .loc 1 2484 16 view .LVU1328
- 4024 07cc 59E4 b .L133
- 4025 .cfi_endproc
- 4026 .LFE74:
- 4028 .section .text.USB_ReadPMA,"ax",%progbits
- 4029 .align 1
- 4030 .global USB_ReadPMA
- 4031 .syntax unified
- 4032 .thumb
- ARM GAS /tmp/ccGUz1hM.s page 135
- 4033 .thumb_func
- 4035 USB_ReadPMA:
- 4036 .LVL446:
- 4037 .LFB92:
- 2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** /**
- 2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @brief Copy data from packet memory area (PMA) to user memory buffer
- 2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param USBx USB peripheral instance register address.
- 2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param pbUsrBuf pointer to user memory area.
- 2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wPMABufAddr address into PMA.
- 2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @param wNBytes no. of bytes to be copied.
- 2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** * @retval None
- 2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** */
- 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
- 2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 4038 .loc 1 2853 1 is_stmt 1 view -0
- 4039 .cfi_startproc
- 4040 @ args = 0, pretend = 0, frame = 0
- 4041 @ frame_needed = 0, uses_anonymous_args = 0
- 4042 @ link register save eliminated.
- 4043 .loc 1 2853 1 is_stmt 0 view .LVU1330
- 4044 0000 10B4 push {r4}
- 4045 .LCFI8:
- 4046 .cfi_def_cfa_offset 4
- 4047 .cfi_offset 4, -4
- 2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t n = (uint32_t)wNBytes >> 1;
- 4048 .loc 1 2854 3 is_stmt 1 view .LVU1331
- 4049 .loc 1 2854 34 is_stmt 0 view .LVU1332
- 4050 0002 5C08 lsrs r4, r3, #1
- 4051 .LVL447:
- 2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t BaseAddr = (uint32_t)USBx;
- 4052 .loc 1 2855 3 is_stmt 1 view .LVU1333
- 2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t count;
- 4053 .loc 1 2856 3 view .LVU1334
- 2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint32_t RdVal;
- 4054 .loc 1 2857 3 view .LVU1335
- 2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** __IO uint16_t *pdwVal;
- 4055 .loc 1 2858 3 view .LVU1336
- 2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** uint8_t *pBuf = pbUsrBuf;
- 4056 .loc 1 2859 3 view .LVU1337
- 2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal = (__IO uint16_t *)(BaseAddr + 0x400U + ((uint32_t)wPMABufAddr * PMA_ACCESS));
- 4057 .loc 1 2861 3 view .LVU1338
- 4058 .loc 1 2861 48 is_stmt 0 view .LVU1339
- 4059 0004 00EB4200 add r0, r0, r2, lsl #1
- 4060 .LVL448:
- 4061 .loc 1 2861 48 view .LVU1340
- 4062 0008 00F58060 add r0, r0, #1024
- 4063 .LVL449:
- 2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** for (count = n; count != 0U; count--)
- 4064 .loc 1 2863 3 is_stmt 1 view .LVU1341
- 4065 .loc 1 2863 3 is_stmt 0 view .LVU1342
- 4066 000c 07E0 b .L179
- 4067 .LVL450:
- 4068 .L180:
- 2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- ARM GAS /tmp/ccGUz1hM.s page 136
- 2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** RdVal = *(__IO uint16_t *)pdwVal;
- 4069 .loc 1 2865 5 is_stmt 1 discriminator 3 view .LVU1343
- 4070 .loc 1 2865 13 is_stmt 0 discriminator 3 view .LVU1344
- 4071 000e 30F8042B ldrh r2, [r0], #4
- 4072 .LVL451:
- 2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
- 4073 .loc 1 2866 5 is_stmt 1 discriminator 3 view .LVU1345
- 2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pBuf = (uint8_t)((RdVal >> 0) & 0xFFU);
- 4074 .loc 1 2867 5 discriminator 3 view .LVU1346
- 4075 .loc 1 2867 11 is_stmt 0 discriminator 3 view .LVU1347
- 4076 0012 0A70 strb r2, [r1]
- 2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
- 4077 .loc 1 2868 5 is_stmt 1 discriminator 3 view .LVU1348
- 4078 .LVL452:
- 2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pBuf = (uint8_t)((RdVal >> 8) & 0xFFU);
- 4079 .loc 1 2869 5 discriminator 3 view .LVU1349
- 4080 .loc 1 2869 13 is_stmt 0 discriminator 3 view .LVU1350
- 4081 0014 C2F30722 ubfx r2, r2, #8, #8
- 4082 .LVL453:
- 4083 .loc 1 2869 11 discriminator 3 view .LVU1351
- 4084 0018 4A70 strb r2, [r1, #1]
- 2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pBuf++;
- 4085 .loc 1 2870 5 is_stmt 1 discriminator 3 view .LVU1352
- 4086 .loc 1 2870 9 is_stmt 0 discriminator 3 view .LVU1353
- 4087 001a 0231 adds r1, r1, #2
- 4088 .LVL454:
- 2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #if PMA_ACCESS > 1U
- 2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** pdwVal++;
- 4089 .loc 1 2873 5 is_stmt 1 discriminator 3 view .LVU1354
- 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 4090 .loc 1 2863 32 discriminator 3 view .LVU1355
- 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 4091 .loc 1 2863 37 is_stmt 0 discriminator 3 view .LVU1356
- 4092 001c 013C subs r4, r4, #1
- 4093 .LVL455:
- 4094 .L179:
- 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 4095 .loc 1 2863 19 is_stmt 1 discriminator 1 view .LVU1357
- 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 4096 .loc 1 2863 3 is_stmt 0 discriminator 1 view .LVU1358
- 4097 001e 002C cmp r4, #0
- 4098 0020 F5D1 bne .L180
- 2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** #endif /* PMA_ACCESS */
- 2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c ****
- 2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** if ((wNBytes % 2U) != 0U)
- 4099 .loc 1 2877 3 is_stmt 1 view .LVU1359
- 4100 .loc 1 2877 6 is_stmt 0 view .LVU1360
- 4101 0022 13F0010F tst r3, #1
- 4102 0026 01D0 beq .L178
- 2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** {
- 2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** RdVal = *pdwVal;
- 4103 .loc 1 2879 5 is_stmt 1 view .LVU1361
- 4104 .loc 1 2879 13 is_stmt 0 view .LVU1362
- 4105 0028 0388 ldrh r3, [r0]
- 4106 .LVL456:
- ARM GAS /tmp/ccGUz1hM.s page 137
- 2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** *pBuf = (uint8_t)((RdVal >> 0) & 0xFFU);
- 4107 .loc 1 2880 5 is_stmt 1 view .LVU1363
- 4108 .loc 1 2880 11 is_stmt 0 view .LVU1364
- 4109 002a 0B70 strb r3, [r1]
- 4110 .LVL457:
- 4111 .L178:
- 2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c **** }
- 4112 .loc 1 2882 1 view .LVU1365
- 4113 002c 10BC pop {r4}
- 4114 .LCFI9:
- 4115 .cfi_restore 4
- 4116 .cfi_def_cfa_offset 0
- 4117 .LVL458:
- 4118 .loc 1 2882 1 view .LVU1366
- 4119 002e 7047 bx lr
- 4120 .cfi_endproc
- 4121 .LFE92:
- 4123 .text
- 4124 .Letext0:
- 4125 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
- 4126 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
- 4127 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
- 4128 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 4129 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h"
- ARM GAS /tmp/ccGUz1hM.s page 138
- DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_ll_usb.c
- /tmp/ccGUz1hM.s:18 .text.USB_CoreInit:0000000000000000 $t
- /tmp/ccGUz1hM.s:24 .text.USB_CoreInit:0000000000000000 USB_CoreInit
- /tmp/ccGUz1hM.s:54 .text.USB_EnableGlobalInt:0000000000000000 $t
- /tmp/ccGUz1hM.s:60 .text.USB_EnableGlobalInt:0000000000000000 USB_EnableGlobalInt
- /tmp/ccGUz1hM.s:90 .text.USB_DisableGlobalInt:0000000000000000 $t
- /tmp/ccGUz1hM.s:96 .text.USB_DisableGlobalInt:0000000000000000 USB_DisableGlobalInt
- /tmp/ccGUz1hM.s:123 .text.USB_SetCurrentMode:0000000000000000 $t
- /tmp/ccGUz1hM.s:129 .text.USB_SetCurrentMode:0000000000000000 USB_SetCurrentMode
- /tmp/ccGUz1hM.s:149 .text.USB_DevInit:0000000000000000 $t
- /tmp/ccGUz1hM.s:155 .text.USB_DevInit:0000000000000000 USB_DevInit
- /tmp/ccGUz1hM.s:197 .text.USB_FlushTxFifo:0000000000000000 $t
- /tmp/ccGUz1hM.s:203 .text.USB_FlushTxFifo:0000000000000000 USB_FlushTxFifo
- /tmp/ccGUz1hM.s:223 .text.USB_FlushRxFifo:0000000000000000 $t
- /tmp/ccGUz1hM.s:229 .text.USB_FlushRxFifo:0000000000000000 USB_FlushRxFifo
- /tmp/ccGUz1hM.s:248 .text.USB_ActivateEndpoint:0000000000000000 $t
- /tmp/ccGUz1hM.s:254 .text.USB_ActivateEndpoint:0000000000000000 USB_ActivateEndpoint
- /tmp/ccGUz1hM.s:290 .text.USB_ActivateEndpoint:0000000000000022 $d
- /tmp/ccGUz1hM.s:294 .text.USB_ActivateEndpoint:0000000000000026 $t
- /tmp/ccGUz1hM.s:1054 .text.USB_DeactivateEndpoint:0000000000000000 $t
- /tmp/ccGUz1hM.s:1060 .text.USB_DeactivateEndpoint:0000000000000000 USB_DeactivateEndpoint
- /tmp/ccGUz1hM.s:1455 .text.USB_EPSetStall:0000000000000000 $t
- /tmp/ccGUz1hM.s:1461 .text.USB_EPSetStall:0000000000000000 USB_EPSetStall
- /tmp/ccGUz1hM.s:1534 .text.USB_EPClearStall:0000000000000000 $t
- /tmp/ccGUz1hM.s:1540 .text.USB_EPClearStall:0000000000000000 USB_EPClearStall
- /tmp/ccGUz1hM.s:1692 .text.USB_EPStopXfer:0000000000000000 $t
- /tmp/ccGUz1hM.s:1698 .text.USB_EPStopXfer:0000000000000000 USB_EPStopXfer
- /tmp/ccGUz1hM.s:1839 .text.USB_StopDevice:0000000000000000 $t
- /tmp/ccGUz1hM.s:1845 .text.USB_StopDevice:0000000000000000 USB_StopDevice
- /tmp/ccGUz1hM.s:1876 .text.USB_SetDevAddress:0000000000000000 $t
- /tmp/ccGUz1hM.s:1882 .text.USB_SetDevAddress:0000000000000000 USB_SetDevAddress
- /tmp/ccGUz1hM.s:1908 .text.USB_DevConnect:0000000000000000 $t
- /tmp/ccGUz1hM.s:1914 .text.USB_DevConnect:0000000000000000 USB_DevConnect
- /tmp/ccGUz1hM.s:1933 .text.USB_DevDisconnect:0000000000000000 $t
- /tmp/ccGUz1hM.s:1939 .text.USB_DevDisconnect:0000000000000000 USB_DevDisconnect
- /tmp/ccGUz1hM.s:1958 .text.USB_ReadInterrupts:0000000000000000 $t
- /tmp/ccGUz1hM.s:1964 .text.USB_ReadInterrupts:0000000000000000 USB_ReadInterrupts
- /tmp/ccGUz1hM.s:1987 .text.USB_ReadDevAllOutEpInterrupt:0000000000000000 $t
- /tmp/ccGUz1hM.s:1993 .text.USB_ReadDevAllOutEpInterrupt:0000000000000000 USB_ReadDevAllOutEpInterrupt
- /tmp/ccGUz1hM.s:2012 .text.USB_ReadDevAllInEpInterrupt:0000000000000000 $t
- /tmp/ccGUz1hM.s:2018 .text.USB_ReadDevAllInEpInterrupt:0000000000000000 USB_ReadDevAllInEpInterrupt
- /tmp/ccGUz1hM.s:2037 .text.USB_ReadDevOutEPInterrupt:0000000000000000 $t
- /tmp/ccGUz1hM.s:2043 .text.USB_ReadDevOutEPInterrupt:0000000000000000 USB_ReadDevOutEPInterrupt
- /tmp/ccGUz1hM.s:2063 .text.USB_ReadDevInEPInterrupt:0000000000000000 $t
- /tmp/ccGUz1hM.s:2069 .text.USB_ReadDevInEPInterrupt:0000000000000000 USB_ReadDevInEPInterrupt
- /tmp/ccGUz1hM.s:2089 .text.USB_ClearInterrupts:0000000000000000 $t
- /tmp/ccGUz1hM.s:2095 .text.USB_ClearInterrupts:0000000000000000 USB_ClearInterrupts
- /tmp/ccGUz1hM.s:2111 .text.USB_EP0_OutStart:0000000000000000 $t
- /tmp/ccGUz1hM.s:2117 .text.USB_EP0_OutStart:0000000000000000 USB_EP0_OutStart
- /tmp/ccGUz1hM.s:2137 .text.USB_ActivateRemoteWakeup:0000000000000000 $t
- /tmp/ccGUz1hM.s:2143 .text.USB_ActivateRemoteWakeup:0000000000000000 USB_ActivateRemoteWakeup
- /tmp/ccGUz1hM.s:2167 .text.USB_DeActivateRemoteWakeup:0000000000000000 $t
- /tmp/ccGUz1hM.s:2173 .text.USB_DeActivateRemoteWakeup:0000000000000000 USB_DeActivateRemoteWakeup
- /tmp/ccGUz1hM.s:2198 .text.USB_WritePMA:0000000000000000 $t
- /tmp/ccGUz1hM.s:2204 .text.USB_WritePMA:0000000000000000 USB_WritePMA
- /tmp/ccGUz1hM.s:2282 .text.USB_EPStartXfer:0000000000000000 $t
- ARM GAS /tmp/ccGUz1hM.s page 139
- /tmp/ccGUz1hM.s:2288 .text.USB_EPStartXfer:0000000000000000 USB_EPStartXfer
- /tmp/ccGUz1hM.s:4029 .text.USB_ReadPMA:0000000000000000 $t
- /tmp/ccGUz1hM.s:4035 .text.USB_ReadPMA:0000000000000000 USB_ReadPMA
- NO UNDEFINED SYMBOLS
|