rtu.lst 761 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591
  1. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 1
  2. 1 .cpu cortex-m0plus
  3. 2 .arch armv6s-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 6
  12. 11 .eabi_attribute 34, 0
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "rtu.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .rodata.CHANNEL_OFFSET_TAB,"a"
  19. 18 .align 2
  20. 21 CHANNEL_OFFSET_TAB:
  21. 22 0000 081C3044 .ascii "\010\0340DXl\200"
  22. 22 586C80
  23. 23 .section .rodata.USART_PRESCALER_TAB,"a"
  24. 24 .align 2
  25. 27 USART_PRESCALER_TAB:
  26. 28 0000 01000000 .word 1
  27. 29 0004 02000000 .word 2
  28. 30 0008 04000000 .word 4
  29. 31 000c 06000000 .word 6
  30. 32 0010 08000000 .word 8
  31. 33 0014 0A000000 .word 10
  32. 34 0018 0C000000 .word 12
  33. 35 001c 10000000 .word 16
  34. 36 0020 20000000 .word 32
  35. 37 0024 40000000 .word 64
  36. 38 0028 80000000 .word 128
  37. 39 002c 00010000 .word 256
  38. 40 .section .text.LL_USART_IsActiveFlag_ORE,"ax",%progbits
  39. 41 .align 1
  40. 42 .syntax unified
  41. 43 .code 16
  42. 44 .thumb_func
  43. 46 LL_USART_IsActiveFlag_ORE:
  44. 47 .LFB579:
  45. 48 .file 1 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h"
  46. 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  47. 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
  48. 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @file stm32g0xx_ll_usart.h
  49. 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @author MCD Application Team
  50. 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Header file of USART LL module.
  51. 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
  52. 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @attention
  53. 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
  54. 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Copyright (c) 2018 STMicroelectronics.
  55. 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * All rights reserved.
  56. 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
  57. 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This software is licensed under terms that can be found in the LICENSE file
  58. 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * in the root directory of this software component.
  59. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 2
  60. 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  61. 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
  62. 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
  63. 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  64. 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  65. 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  66. 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifndef STM32G0xx_LL_USART_H
  67. 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define STM32G0xx_LL_USART_H
  68. 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  69. 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifdef __cplusplus
  70. 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** extern "C" {
  71. 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif
  72. 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  73. 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Includes ------------------------------------------------------------------*/
  74. 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #include "stm32g0xx.h"
  75. 29:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  76. 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @addtogroup STM32G0xx_LL_Driver
  77. 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  78. 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  79. 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  80. 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USART1) || defined(USART2) || defined(USART3) || defined(USART4) || defined(USART5) ||
  81. 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  82. 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL USART
  83. 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  84. 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  85. 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  86. 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private types -------------------------------------------------------------*/
  87. 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private variables ---------------------------------------------------------*/
  88. 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Variables USART Private Variables
  89. 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  90. 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  91. 45:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Array used to get the USART prescaler division decimal values versus @ref USART_LL_EC_PRESCALER
  92. 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** static const uint32_t USART_PRESCALER_TAB[] =
  93. 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  94. 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 1UL,
  95. 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 2UL,
  96. 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 4UL,
  97. 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 6UL,
  98. 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 8UL,
  99. 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 10UL,
  100. 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 12UL,
  101. 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 16UL,
  102. 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 32UL,
  103. 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 64UL,
  104. 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 128UL,
  105. 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 256UL
  106. 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** };
  107. 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  108. 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  109. 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  110. 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  111. 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private constants ---------------------------------------------------------*/
  112. 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Constants USART Private Constants
  113. 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  114. 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  115. 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  116. 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  117. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 3
  118. 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  119. 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private macros ------------------------------------------------------------*/
  120. 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
  121. 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Macros USART Private Macros
  122. 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  123. 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  124. 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  125. 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  126. 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  127. 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
  128. 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  129. 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported types ------------------------------------------------------------*/
  130. 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
  131. 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_ES_INIT USART Exported Init structures
  132. 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  133. 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  134. 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  135. 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  136. 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Init Structure definition
  137. 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  138. 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
  139. 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  140. 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t PrescalerValue; /*!< Specifies the Prescaler to compute the communication bau
  141. 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PRESCA
  142. 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  143. 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  144. 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetPrescaler().*/
  145. 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  146. 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate; /*!< This field defines expected Usart communication baud rat
  147. 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  148. 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  149. 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetBaudRate().*/
  150. 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  151. 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t DataWidth; /*!< Specifies the number of data bits transmitted or receive
  152. 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DATAWI
  153. 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  154. 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  155. 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetDataWidth().*/
  156. 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  157. 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits; /*!< Specifies the number of stop bits transmitted.
  158. 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_STOPBI
  159. 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  160. 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  161. 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetStopBitsLength().*/
  162. 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  163. 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t Parity; /*!< Specifies the parity mode.
  164. 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PARITY
  165. 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  166. 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  167. 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetParity().*/
  168. 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  169. 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t TransferDirection; /*!< Specifies whether the Receive and/or Transmit mode is en
  170. 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DIRECT
  171. 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  172. 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  173. 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetTransferDirection().*/
  174. 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  175. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 4
  176. 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t HardwareFlowControl; /*!< Specifies whether the hardware flow control mode is enab
  177. 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_HWCONT
  178. 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  179. 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  180. 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetHWFlowCtrl().*/
  181. 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  182. 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling; /*!< Specifies whether USART oversampling mode is 16 or 8.
  183. 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_OVERSA
  184. 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  185. 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
  186. 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetOverSampling().*/
  187. 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  188. 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_InitTypeDef;
  189. 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  190. 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  191. 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Clock Init Structure definition
  192. 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  193. 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
  194. 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  195. 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockOutput; /*!< Specifies whether the USART clock is enabled or disabled
  196. 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_CLOCK.
  197. 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  198. 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  199. 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** @ref LL_USART_EnableSCLKOutput() or @ref LL_USART_Disabl
  200. 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  201. 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  202. 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPolarity; /*!< Specifies the steady state of the serial clock.
  203. 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_POLARI
  204. 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  205. 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  206. 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPolarity().
  207. 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  208. 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  209. 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPhase; /*!< Specifies the clock transition on which the bit capture
  210. 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PHASE.
  211. 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  212. 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  213. 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPhase().
  214. 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  215. 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  216. 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t LastBitClockPulse; /*!< Specifies whether the clock pulse corresponding to the l
  217. 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data bit (MSB) has to be output on the SCLK pin in synch
  218. 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_LASTCL
  219. 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  220. 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
  221. 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetLastClkPulseOutput().
  222. 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
  223. 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  224. 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_ClockInitTypeDef;
  225. 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  226. 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  227. 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  228. 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  229. 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /* USE_FULL_LL_DRIVER */
  230. 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  231. 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported constants --------------------------------------------------------*/
  232. 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Constants USART Exported Constants
  233. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 5
  234. 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  235. 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  236. 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  237. 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLEAR_FLAG Clear Flags Defines
  238. 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_WriteReg function
  239. 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  240. 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  241. 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_PECF USART_ICR_PECF /*!< Parity error cle
  242. 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_FECF USART_ICR_FECF /*!< Framing error cl
  243. 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_NECF USART_ICR_NECF /*!< Noise error dete
  244. 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_ORECF USART_ICR_ORECF /*!< Overrun error cl
  245. 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_IDLECF USART_ICR_IDLECF /*!< Idle line detect
  246. 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TXFECF USART_ICR_TXFECF /*!< TX FIFO Empty cl
  247. 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCCF USART_ICR_TCCF /*!< Transmission com
  248. 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCBGTCF USART_ICR_TCBGTCF /*!< Transmission com
  249. 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_LBDCF USART_ICR_LBDCF /*!< LIN break detect
  250. 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CTSCF USART_ICR_CTSCF /*!< CTS clear flag *
  251. 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_RTOCF USART_ICR_RTOCF /*!< Receiver timeout
  252. 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_EOBCF USART_ICR_EOBCF /*!< End of block cle
  253. 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_UDRCF USART_ICR_UDRCF /*!< SPI Slave Underr
  254. 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CMCF USART_ICR_CMCF /*!< Character match
  255. 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_WUCF USART_ICR_WUCF /*!< Wakeup from Stop
  256. 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  257. 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  258. 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  259. 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  260. 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_GET_FLAG Get Flags Defines
  261. 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_ReadReg function
  262. 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  263. 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  264. 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_PE USART_ISR_PE /*!< Parity error fla
  265. 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_FE USART_ISR_FE /*!< Framing error fl
  266. 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_NE USART_ISR_NE /*!< Noise detected f
  267. 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ORE USART_ISR_ORE /*!< Overrun error fl
  268. 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_IDLE USART_ISR_IDLE /*!< Idle line detect
  269. 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXNE_RXFNE USART_ISR_RXNE_RXFNE /*!< Read data regist
  270. 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TC USART_ISR_TC /*!< Transmission com
  271. 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXE_TXFNF USART_ISR_TXE_TXFNF /*!< Transmit data re
  272. 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_LBDF USART_ISR_LBDF /*!< LIN break detect
  273. 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTSIF USART_ISR_CTSIF /*!< CTS interrupt fl
  274. 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTS USART_ISR_CTS /*!< CTS flag */
  275. 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RTOF USART_ISR_RTOF /*!< Receiver timeout
  276. 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_EOBF USART_ISR_EOBF /*!< End of block fla
  277. 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_UDR USART_ISR_UDR /*!< SPI Slave underr
  278. 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRE USART_ISR_ABRE /*!< Auto baud rate e
  279. 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRF USART_ISR_ABRF /*!< Auto baud rate f
  280. 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_BUSY USART_ISR_BUSY /*!< Busy flag */
  281. 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CMF USART_ISR_CMF /*!< Character match
  282. 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_SBKF USART_ISR_SBKF /*!< Send break flag
  283. 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RWU USART_ISR_RWU /*!< Receiver wakeup
  284. 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_WUF USART_ISR_WUF /*!< Wakeup from Stop
  285. 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TEACK USART_ISR_TEACK /*!< Transmit enable
  286. 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_REACK USART_ISR_REACK /*!< Receive enable a
  287. 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFE USART_ISR_TXFE /*!< TX FIFO empty fl
  288. 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFF USART_ISR_RXFF /*!< RX FIFO full fla
  289. 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TCBGT USART_ISR_TCBGT /*!< Transmission com
  290. 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFT USART_ISR_RXFT /*!< RX FIFO threshol
  291. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 6
  292. 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFT USART_ISR_TXFT /*!< TX FIFO threshol
  293. 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  294. 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  295. 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  296. 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  297. 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IT IT Defines
  298. 248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief IT defines which can be used with LL_USART_ReadReg and LL_USART_WriteReg functions
  299. 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  300. 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  301. 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_IDLEIE USART_CR1_IDLEIE /*!< IDLE interrupt e
  302. 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXNEIE_RXFNEIE USART_CR1_RXNEIE_RXFNEIE /*!< Read data regist
  303. 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TCIE USART_CR1_TCIE /*!< Transmission com
  304. 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXEIE_TXFNFIE USART_CR1_TXEIE_TXFNFIE /*!< Transmit data re
  305. 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_PEIE USART_CR1_PEIE /*!< Parity error */
  306. 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_CMIE USART_CR1_CMIE /*!< Character match
  307. 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RTOIE USART_CR1_RTOIE /*!< Receiver timeout
  308. 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_EOBIE USART_CR1_EOBIE /*!< End of Block int
  309. 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXFEIE USART_CR1_TXFEIE /*!< TX FIFO empty in
  310. 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXFFIE USART_CR1_RXFFIE /*!< RX FIFO full int
  311. 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR2_LBDIE USART_CR2_LBDIE /*!< LIN break detect
  312. 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_EIE USART_CR3_EIE /*!< Error interrupt
  313. 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_CTSIE USART_CR3_CTSIE /*!< CTS interrupt en
  314. 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_WUFIE USART_CR3_WUFIE /*!< Wakeup from Stop
  315. 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TXFTIE USART_CR3_TXFTIE /*!< TX FIFO threshol
  316. 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TCBGTIE USART_CR3_TCBGTIE /*!< Transmission com
  317. 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_RXFTIE USART_CR3_RXFTIE /*!< RX FIFO threshol
  318. 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  319. 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  320. 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  321. 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  322. 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_FIFOTHRESHOLD FIFO Threshold
  323. 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  324. 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  325. 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_8 0x00000000U /*!< FIFO reaches 1/8 of its depth */
  326. 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_4 0x00000001U /*!< FIFO reaches 1/4 of its depth */
  327. 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_2 0x00000002U /*!< FIFO reaches 1/2 of its depth */
  328. 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_3_4 0x00000003U /*!< FIFO reaches 3/4 of its depth */
  329. 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_7_8 0x00000004U /*!< FIFO reaches 7/8 of its depth */
  330. 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_8_8 0x00000005U /*!< FIFO becomes empty for TX and full
  331. 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  332. 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  333. 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  334. 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  335. 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DIRECTION Communication Direction
  336. 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  337. 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  338. 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_NONE 0x00000000U /*!< Transmitter
  339. 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_RX USART_CR1_RE /*!< Transmitter
  340. 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX USART_CR1_TE /*!< Transmitter
  341. 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< Transmitter
  342. 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  343. 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  344. 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  345. 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  346. 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PARITY Parity Control
  347. 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  348. 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  349. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 7
  350. 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_NONE 0x00000000U /*!< Parity co
  351. 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_EVEN USART_CR1_PCE /*!< Parity co
  352. 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_ODD (USART_CR1_PCE | USART_CR1_PS) /*!< Parity co
  353. 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  354. 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  355. 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  356. 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  357. 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP Wakeup
  358. 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  359. 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  360. 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_IDLELINE 0x00000000U /*!< USART wake up from Mute
  361. 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ADDRESSMARK USART_CR1_WAKE /*!< USART wake up from Mute
  362. 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  363. 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  364. 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  365. 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  366. 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DATAWIDTH Datawidth
  367. 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  368. 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  369. 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_7B USART_CR1_M1 /*!< 7 bits word length : S
  370. 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_8B 0x00000000U /*!< 8 bits word length : S
  371. 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_9B USART_CR1_M0 /*!< 9 bits word length : S
  372. 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  373. 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  374. 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  375. 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  376. 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_OVERSAMPLING Oversampling
  377. 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  378. 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  379. 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_16 0x00000000U /*!< Oversampling by 16 */
  380. 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_8 USART_CR1_OVER8 /*!< Oversampling by 8 */
  381. 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  382. 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  383. 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  384. 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  385. 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
  386. 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLOCK Clock Signal
  387. 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  388. 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  389. 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  390. 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_DISABLE 0x00000000U /*!< Clock signal not provid
  391. 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_ENABLE USART_CR2_CLKEN /*!< Clock signal provided *
  392. 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  393. 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  394. 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  395. 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
  396. 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  397. 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LASTCLKPULSE Last Clock Pulse
  398. 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  399. 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  400. 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_NO_OUTPUT 0x00000000U /*!< The clock pulse of the l
  401. 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_OUTPUT USART_CR2_LBCL /*!< The clock pulse of the l
  402. 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  403. 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  404. 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  405. 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  406. 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PHASE Clock Phase
  407. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 8
  408. 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  409. 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  410. 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_1EDGE 0x00000000U /*!< The first clock transiti
  411. 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_2EDGE USART_CR2_CPHA /*!< The second clock transit
  412. 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  413. 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  414. 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  415. 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  416. 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_POLARITY Clock Polarity
  417. 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  418. 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  419. 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_LOW 0x00000000U /*!< Steady low value on SCLK
  420. 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_HIGH USART_CR2_CPOL /*!< Steady high value on SCL
  421. 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  422. 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  423. 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  424. 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  425. 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PRESCALER Clock Source Prescaler
  426. 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  427. 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  428. 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV1 0x00000000U
  429. 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV2 (USART_PRESC_PRESCALER_0)
  430. 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV4 (USART_PRESC_PRESCALER_1)
  431. 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV6 (USART_PRESC_PRESCALER_1 | USART_PRESC_PRESCALER_0)
  432. 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV8 (USART_PRESC_PRESCALER_2)
  433. 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV10 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_0)
  434. 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV12 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1)
  435. 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV16 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1
  436. 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV32 (USART_PRESC_PRESCALER_3)
  437. 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV64 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_0)
  438. 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV128 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1)
  439. 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV256 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1
  440. 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  441. 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  442. 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  443. 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  444. 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_STOPBITS Stop Bits
  445. 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  446. 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  447. 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_0_5 USART_CR2_STOP_0 /*!< 0.5
  448. 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_1 0x00000000U /*!< 1 s
  449. 397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_1_5 (USART_CR2_STOP_0 | USART_CR2_STOP_1) /*!< 1.5
  450. 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_2 USART_CR2_STOP_1 /*!< 2 s
  451. 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  452. 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  453. 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  454. 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  455. 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXRX TX RX Pins Swap
  456. 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  457. 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  458. 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_STANDARD 0x00000000U /*!< TX/RX pins are used as d
  459. 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_SWAPPED (USART_CR2_SWAP) /*!< TX and RX pins functions
  460. 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  461. 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  462. 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  463. 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  464. 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_RXPIN_LEVEL RX Pin Active Level Inversion
  465. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 9
  466. 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  467. 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  468. 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_STANDARD 0x00000000U /*!< RX pin signal works usin
  469. 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_INVERTED (USART_CR2_RXINV) /*!< RX pin signal values are
  470. 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  471. 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  472. 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  473. 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  474. 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXPIN_LEVEL TX Pin Active Level Inversion
  475. 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  476. 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  477. 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_STANDARD 0x00000000U /*!< TX pin signal works usin
  478. 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_INVERTED (USART_CR2_TXINV) /*!< TX pin signal values are
  479. 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  480. 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  481. 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  482. 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  483. 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BINARY_LOGIC Binary Data Inversion
  484. 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  485. 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  486. 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_POSITIVE 0x00000000U /*!< Logical data from the da
  487. 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_NEGATIVE USART_CR2_DATAINV /*!< Logical data from the da
  488. 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  489. 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  490. 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  491. 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  492. 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BITORDER Bit Order
  493. 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  494. 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  495. 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_LSBFIRST 0x00000000U /*!< data is transmitted/rece
  496. 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_MSBFIRST USART_CR2_MSBFIRST /*!< data is transmitted/rece
  497. 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  498. 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  499. 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  500. 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  501. 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_AUTOBAUD_DETECT_ON Autobaud Detection
  502. 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  503. 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  504. 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_STARTBIT 0x00000000U /*!< Me
  505. 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE USART_CR2_ABRMODE_0 /*!< Fa
  506. 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME USART_CR2_ABRMODE_1 /*!< 0x
  507. 454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_55_FRAME (USART_CR2_ABRMODE_1 | USART_CR2_ABRMODE_0) /*!< 0x
  508. 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  509. 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  510. 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  511. 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  512. 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_ADDRESS_DETECT Address Length Detection
  513. 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  514. 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  515. 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_4B 0x00000000U /*!< 4-bit address detection
  516. 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_7B USART_CR2_ADDM7 /*!< 7-bit address detection
  517. 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  518. 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  519. 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  520. 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  521. 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_HWCONTROL Hardware Control
  522. 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  523. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 10
  524. 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  525. 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_NONE 0x00000000U /*!< CTS and R
  526. 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_RTS USART_CR3_RTSE /*!< RTS outpu
  527. 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_CTS USART_CR3_CTSE /*!< CTS mode
  528. 474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_RTS_CTS (USART_CR3_RTSE | USART_CR3_CTSE) /*!< CTS and R
  529. 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  530. 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  531. 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  532. 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  533. 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP_ON Wakeup Activation
  534. 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  535. 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  536. 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_ADDRESS 0x00000000U /*!< Wake u
  537. 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_STARTBIT USART_CR3_WUS_1 /*!< Wake u
  538. 484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_RXNE (USART_CR3_WUS_0 | USART_CR3_WUS_1) /*!< Wake u
  539. 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  540. 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  541. 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  542. 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  543. 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IRDA_POWER IrDA Power
  544. 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  545. 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  546. 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_NORMAL 0x00000000U /*!< IrDA normal power mode *
  547. 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_LOW USART_CR3_IRLP /*!< IrDA low power mode */
  548. 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  549. 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  550. 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  551. 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  552. 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LINBREAK_DETECT LIN Break Detection Length
  553. 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  554. 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  555. 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_10B 0x00000000U /*!< 10-bit break detection m
  556. 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_11B USART_CR2_LBDL /*!< 11-bit break detection m
  557. 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  558. 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  559. 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  560. 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  561. 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DE_POLARITY Driver Enable Polarity
  562. 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  563. 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  564. 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_HIGH 0x00000000U /*!< DE signal is active high
  565. 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_LOW USART_CR3_DEP /*!< DE signal is active low
  566. 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  567. 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  568. 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  569. 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  570. 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DMA_REG_DATA DMA Register Data
  571. 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  572. 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  573. 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_TRANSMIT 0x00000000U /*!< Get address of data regis
  574. 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_RECEIVE 0x00000001U /*!< Get address of data regis
  575. 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  576. 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  577. 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  578. 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  579. 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  580. 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  581. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 11
  582. 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  583. 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  584. 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported macro ------------------------------------------------------------*/
  585. 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Macros USART Exported Macros
  586. 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  587. 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  588. 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  589. 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_WRITE_READ Common Write and read registers Macros
  590. 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  591. 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  592. 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  593. 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  594. 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write a value in USART register
  595. 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
  596. 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be written
  597. 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __VALUE__ Value to be written in the register
  598. 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  599. 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  600. 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VAL
  601. 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  602. 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  603. 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read a value in USART register
  604. 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
  605. 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be read
  606. 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Register value
  607. 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  608. 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
  609. 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  610. 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  611. 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  612. 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  613. 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_Exported_Macros_Helper Exported_Macros_Helper
  614. 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  615. 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  616. 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  617. 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  618. 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
  619. 564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * expected Baud Rate in 8 bits sampling mode (32 bits value of USARTDIV is returned)
  620. 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
  621. 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
  622. 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  623. 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  624. 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  625. 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  626. 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  627. 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  628. 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  629. 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  630. 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  631. 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  632. 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  633. 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  634. 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
  635. 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_8 case
  636. 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  637. 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING8(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
  638. 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))*2U)\
  639. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 12
  640. 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
  641. 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  642. 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  643. 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
  644. 588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * expected Baud Rate in 16 bits sampling mode (32 bits value of USARTDIV is returned)
  645. 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
  646. 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
  647. 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  648. 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  649. 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  650. 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  651. 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  652. 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  653. 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  654. 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  655. 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  656. 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  657. 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  658. 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  659. 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
  660. 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_16 case
  661. 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  662. 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING16(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
  663. 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))\
  664. 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
  665. 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  666. 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  667. 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  668. 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  669. 613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  670. 614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  671. 615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  672. 616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  673. 617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  674. 618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported functions --------------------------------------------------------*/
  675. 619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  676. 620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Functions USART Exported Functions
  677. 621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  678. 622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  679. 623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  680. 624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration Configuration functions
  681. 625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  682. 626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  683. 627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  684. 628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  685. 629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Enable
  686. 630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Enable
  687. 631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  688. 632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  689. 633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  690. 634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Enable(USART_TypeDef *USARTx)
  691. 635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  692. 636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_UE);
  693. 637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  694. 638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  695. 639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  696. 640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Disable (all USART prescalers and outputs are disabled)
  697. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 13
  698. 641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When USART is disabled, USART prescalers and outputs are stopped immediately,
  699. 642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * and current operations are discarded. The configuration of the USART is kept, but all t
  700. 643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * flags, in the USARTx_ISR are set to their default values.
  701. 644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Disable
  702. 645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  703. 646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  704. 647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  705. 648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Disable(USART_TypeDef *USARTx)
  706. 649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  707. 650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_UE);
  708. 651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  709. 652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  710. 653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  711. 654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled
  712. 655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_IsEnabled
  713. 656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  714. 657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  715. 658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  716. 659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabled(const USART_TypeDef *USARTx)
  717. 660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  718. 661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL);
  719. 662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  720. 663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  721. 664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  722. 665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Enable
  723. 666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  724. 667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  725. 668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_EnableFIFO
  726. 669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  727. 670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  728. 671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  729. 672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableFIFO(USART_TypeDef *USARTx)
  730. 673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  731. 674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_FIFOEN);
  732. 675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  733. 676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  734. 677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  735. 678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Disable
  736. 679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  737. 680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  738. 681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_DisableFIFO
  739. 682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  740. 683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  741. 684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  742. 685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableFIFO(USART_TypeDef *USARTx)
  743. 686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  744. 687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_FIFOEN);
  745. 688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  746. 689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  747. 690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  748. 691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if FIFO Mode is enabled
  749. 692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  750. 693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  751. 694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_IsEnabledFIFO
  752. 695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  753. 696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  754. 697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  755. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 14
  756. 698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledFIFO(const USART_TypeDef *USARTx)
  757. 699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  758. 700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL);
  759. 701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  760. 702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  761. 703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  762. 704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX FIFO Threshold
  763. 705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  764. 706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  765. 707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_SetTXFIFOThreshold
  766. 708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  767. 709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
  768. 710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  769. 711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  770. 712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  771. 713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  772. 714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  773. 715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  774. 716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  775. 717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  776. 718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
  777. 719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  778. 720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos);
  779. 721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  780. 722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  781. 723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  782. 724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return TX FIFO Threshold Configuration
  783. 725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  784. 726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  785. 727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_GetTXFIFOThreshold
  786. 728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  787. 729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  788. 730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  789. 731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  790. 732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  791. 733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  792. 734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  793. 735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  794. 736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  795. 737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXFIFOThreshold(const USART_TypeDef *USARTx)
  796. 738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  797. 739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos);
  798. 740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  799. 741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  800. 742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  801. 743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX FIFO Threshold
  802. 744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  803. 745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  804. 746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_SetRXFIFOThreshold
  805. 747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  806. 748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
  807. 749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  808. 750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  809. 751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  810. 752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  811. 753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  812. 754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  813. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 15
  814. 755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  815. 756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  816. 757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
  817. 758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  818. 759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos);
  819. 760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  820. 761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  821. 762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  822. 763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return RX FIFO Threshold Configuration
  823. 764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  824. 765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  825. 766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_GetRXFIFOThreshold
  826. 767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  827. 768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  828. 769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  829. 770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  830. 771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  831. 772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  832. 773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  833. 774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  834. 775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  835. 776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXFIFOThreshold(const USART_TypeDef *USARTx)
  836. 777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  837. 778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos);
  838. 779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  839. 780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  840. 781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  841. 782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX and RX FIFOs Threshold
  842. 783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  843. 784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  844. 785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_ConfigFIFOsThreshold\n
  845. 786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 RXFTCFG LL_USART_ConfigFIFOsThreshold
  846. 787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  847. 788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TXThreshold This parameter can be one of the following values:
  848. 789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  849. 790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  850. 791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  851. 792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  852. 793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  853. 794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  854. 795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param RXThreshold This parameter can be one of the following values:
  855. 796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
  856. 797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
  857. 798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
  858. 799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
  859. 800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
  860. 801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
  861. 802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  862. 803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  863. 804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigFIFOsThreshold(USART_TypeDef *USARTx, uint32_t TXThreshold, uin
  864. 805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  865. 806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG | USART_CR3_RXFTCFG, (TXThreshold << USART_CR3_T
  866. 807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (RXThreshold << USART_CR3_RXFTCFG_Pos));
  867. 808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  868. 809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  869. 810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  870. 811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART enabled in STOP Mode.
  871. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 16
  872. 812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When this function is enabled, USART is able to wake up the MCU from Stop mode, provide
  873. 813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * USART clock selection is HSI or LSE in RCC.
  874. 814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  875. 815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  876. 816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_EnableInStopMode
  877. 817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  878. 818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  879. 819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  880. 820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableInStopMode(USART_TypeDef *USARTx)
  881. 821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  882. 822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_UESM);
  883. 823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  884. 824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  885. 825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  886. 826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART disabled in STOP Mode.
  887. 827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When this function is disabled, USART is not able to wake up the MCU from Stop mode
  888. 828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  889. 829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  890. 830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_DisableInStopMode
  891. 831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  892. 832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  893. 833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  894. 834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableInStopMode(USART_TypeDef *USARTx)
  895. 835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  896. 836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_UESM);
  897. 837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  898. 838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  899. 839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  900. 840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled in STOP Mode (able to wake up MCU from Stop mode or not)
  901. 841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  902. 842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  903. 843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_IsEnabledInStopMode
  904. 844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  905. 845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  906. 846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  907. 847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledInStopMode(const USART_TypeDef *USARTx)
  908. 848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  909. 849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL);
  910. 850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  911. 851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  912. 852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  913. 853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Enable (Receiver is enabled and begins searching for a start bit)
  914. 854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_EnableDirectionRx
  915. 855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  916. 856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  917. 857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  918. 858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx)
  919. 859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  920. 860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE);
  921. 861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  922. 862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  923. 863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  924. 864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Disable
  925. 865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_DisableDirectionRx
  926. 866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  927. 867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  928. 868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  929. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 17
  930. 869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx)
  931. 870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  932. 871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE);
  933. 872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  934. 873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  935. 874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  936. 875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Enable
  937. 876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_EnableDirectionTx
  938. 877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  939. 878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  940. 879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  941. 880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx)
  942. 881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  943. 882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TE);
  944. 883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  945. 884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  946. 885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  947. 886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Disable
  948. 887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_DisableDirectionTx
  949. 888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  950. 889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  951. 890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  952. 891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx)
  953. 892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  954. 893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TE);
  955. 894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  956. 895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  957. 896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  958. 897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure simultaneously enabled/disabled states
  959. 898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * of Transmitter and Receiver
  960. 899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_SetTransferDirection\n
  961. 900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_SetTransferDirection
  962. 901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  963. 902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TransferDirection This parameter can be one of the following values:
  964. 903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
  965. 904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
  966. 905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
  967. 906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
  968. 907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  969. 908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  970. 909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32_t TransferDirectio
  971. 910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  972. 911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection);
  973. 912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  974. 913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  975. 914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  976. 915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return enabled/disabled states of Transmitter and Receiver
  977. 916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_GetTransferDirection\n
  978. 917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_GetTransferDirection
  979. 918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  980. 919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  981. 920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
  982. 921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
  983. 922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
  984. 923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
  985. 924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  986. 925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferDirection(const USART_TypeDef *USARTx)
  987. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 18
  988. 926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  989. 927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE));
  990. 928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  991. 929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  992. 930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  993. 931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Parity (enabled/disabled and parity mode if enabled).
  994. 932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This function selects if hardware parity control (generation and detection) is enabled
  995. 933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * When the parity control is enabled (Odd or Even), computed parity bit is inserted at th
  996. 934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (9th or 8th bit depending on data width) and parity is checked on the received data.
  997. 935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_SetParity\n
  998. 936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_SetParity
  999. 937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1000. 938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
  1001. 939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1002. 940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1003. 941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1004. 942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1005. 943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1006. 944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetParity(USART_TypeDef *USARTx, uint32_t Parity)
  1007. 945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1008. 946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE, Parity);
  1009. 947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1010. 948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1011. 949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1012. 950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Parity configuration (enabled/disabled and parity mode if enabled)
  1013. 951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_GetParity\n
  1014. 952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_GetParity
  1015. 953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1016. 954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1017. 955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1018. 956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1019. 957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1020. 958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1021. 959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetParity(const USART_TypeDef *USARTx)
  1022. 960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1023. 961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE));
  1024. 962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1025. 963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1026. 964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1027. 965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Wake Up method from Mute mode.
  1028. 966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_SetWakeUpMethod
  1029. 967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1030. 968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Method This parameter can be one of the following values:
  1031. 969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
  1032. 970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
  1033. 971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1034. 972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1035. 973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWakeUpMethod(USART_TypeDef *USARTx, uint32_t Method)
  1036. 974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1037. 975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_WAKE, Method);
  1038. 976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1039. 977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1040. 978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1041. 979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Receiver Wake Up method from Mute mode
  1042. 980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_GetWakeUpMethod
  1043. 981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1044. 982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1045. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 19
  1046. 983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
  1047. 984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
  1048. 985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1049. 986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(const USART_TypeDef *USARTx)
  1050. 987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1051. 988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE));
  1052. 989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1053. 990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1054. 991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1055. 992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Word length (i.e. nb of data bits, excluding start and stop bits)
  1056. 993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_SetDataWidth\n
  1057. 994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_SetDataWidth
  1058. 995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1059. 996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
  1060. 997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1061. 998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1062. 999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1063. 1000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1064. 1001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1065. 1002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDataWidth(USART_TypeDef *USARTx, uint32_t DataWidth)
  1066. 1003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1067. 1004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_M, DataWidth);
  1068. 1005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1069. 1006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1070. 1007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1071. 1008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Word length (i.e. nb of data bits, excluding start and stop bits)
  1072. 1009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_GetDataWidth\n
  1073. 1010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_GetDataWidth
  1074. 1011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1075. 1012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1076. 1013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1077. 1014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1078. 1015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1079. 1016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1080. 1017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDataWidth(const USART_TypeDef *USARTx)
  1081. 1018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1082. 1019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M));
  1083. 1020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1084. 1021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1085. 1022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1086. 1023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Allow switch between Mute Mode and Active mode
  1087. 1024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_EnableMuteMode
  1088. 1025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1089. 1026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1090. 1027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1091. 1028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableMuteMode(USART_TypeDef *USARTx)
  1092. 1029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1093. 1030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_MME);
  1094. 1031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1095. 1032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1096. 1033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1097. 1034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Prevent Mute Mode use. Set Receiver in active mode permanently.
  1098. 1035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_DisableMuteMode
  1099. 1036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1100. 1037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1101. 1038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1102. 1039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableMuteMode(USART_TypeDef *USARTx)
  1103. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 20
  1104. 1040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1105. 1041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_MME);
  1106. 1042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1107. 1043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1108. 1044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1109. 1045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if switch between Mute Mode and Active mode is allowed
  1110. 1046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_IsEnabledMuteMode
  1111. 1047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1112. 1048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1113. 1049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1114. 1050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledMuteMode(const USART_TypeDef *USARTx)
  1115. 1051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1116. 1052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)) ? 1UL : 0UL);
  1117. 1053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1118. 1054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1119. 1055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1120. 1056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Oversampling to 8-bit or 16-bit mode
  1121. 1057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_SetOverSampling
  1122. 1058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1123. 1059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  1124. 1060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1125. 1061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1126. 1062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1127. 1063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1128. 1064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetOverSampling(USART_TypeDef *USARTx, uint32_t OverSampling)
  1129. 1065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1130. 1066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_OVER8, OverSampling);
  1131. 1067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1132. 1068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1133. 1069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1134. 1070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Oversampling mode
  1135. 1071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_GetOverSampling
  1136. 1072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1137. 1073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1138. 1074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1139. 1075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1140. 1076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1141. 1077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetOverSampling(const USART_TypeDef *USARTx)
  1142. 1078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1143. 1079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8));
  1144. 1080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1145. 1081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1146. 1082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1147. 1083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure if Clock pulse of the last data bit is output to the SCLK pin or not
  1148. 1084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1149. 1085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1150. 1086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_SetLastClkPulseOutput
  1151. 1087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1152. 1088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LastBitClockPulse This parameter can be one of the following values:
  1153. 1089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1154. 1090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1155. 1091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1156. 1092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1157. 1093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint32_t LastBitClockPul
  1158. 1094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1159. 1095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBCL, LastBitClockPulse);
  1160. 1096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1161. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 21
  1162. 1097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1163. 1098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1164. 1099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Clock pulse of the last data bit output configuration
  1165. 1100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Last bit Clock pulse output to the SCLK pin or not)
  1166. 1101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1167. 1102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1168. 1103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_GetLastClkPulseOutput
  1169. 1104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1170. 1105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1171. 1106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1172. 1107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1173. 1108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1174. 1109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(const USART_TypeDef *USARTx)
  1175. 1110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1176. 1111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL));
  1177. 1112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1178. 1113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1179. 1114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1180. 1115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select the phase of the clock output on the SCLK pin in synchronous mode
  1181. 1116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1182. 1117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1183. 1118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_SetClockPhase
  1184. 1119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1185. 1120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPhase This parameter can be one of the following values:
  1186. 1121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1187. 1122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1188. 1123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1189. 1124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1190. 1125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t ClockPhase)
  1191. 1126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1192. 1127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA, ClockPhase);
  1193. 1128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1194. 1129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1195. 1130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1196. 1131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return phase of the clock output on the SCLK pin in synchronous mode
  1197. 1132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1198. 1133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1199. 1134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_GetClockPhase
  1200. 1135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1201. 1136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1202. 1137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1203. 1138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1204. 1139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1205. 1140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPhase(const USART_TypeDef *USARTx)
  1206. 1141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1207. 1142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA));
  1208. 1143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1209. 1144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1210. 1145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1211. 1146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select the polarity of the clock output on the SCLK pin in synchronous mode
  1212. 1147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1213. 1148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1214. 1149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_SetClockPolarity
  1215. 1150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1216. 1151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPolarity This parameter can be one of the following values:
  1217. 1152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1218. 1153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1219. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 22
  1220. 1154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1221. 1155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1222. 1156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t ClockPolarity)
  1223. 1157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1224. 1158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPOL, ClockPolarity);
  1225. 1159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1226. 1160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1227. 1161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1228. 1162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return polarity of the clock output on the SCLK pin in synchronous mode
  1229. 1163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1230. 1164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1231. 1165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_GetClockPolarity
  1232. 1166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1233. 1167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1234. 1168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1235. 1169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1236. 1170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1237. 1171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPolarity(const USART_TypeDef *USARTx)
  1238. 1172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1239. 1173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL));
  1240. 1174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1241. 1175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1242. 1176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1243. 1177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock signal format (Phase Polarity and choice about output of last bit clock
  1244. 1178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1245. 1179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1246. 1180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  1247. 1181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Phase configuration using @ref LL_USART_SetClockPhase() function
  1248. 1182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Polarity configuration using @ref LL_USART_SetClockPolarity() function
  1249. 1183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Output of Last bit Clock pulse configuration using @ref LL_USART_SetLastClkPulseOutpu
  1250. 1184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_ConfigClock\n
  1251. 1185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CPOL LL_USART_ConfigClock\n
  1252. 1186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LBCL LL_USART_ConfigClock
  1253. 1187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1254. 1188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Phase This parameter can be one of the following values:
  1255. 1189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
  1256. 1190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  1257. 1191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
  1258. 1192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
  1259. 1193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
  1260. 1194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LBCPOutput This parameter can be one of the following values:
  1261. 1195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
  1262. 1196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
  1263. 1197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1264. 1198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1265. 1199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity,
  1266. 1200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1267. 1201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA | USART_CR2_CPOL | USART_CR2_LBCL, Phase | Polarity | LBCP
  1268. 1202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1269. 1203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1270. 1204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1271. 1205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock source prescaler for baudrate generator and oversampling
  1272. 1206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  1273. 1207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  1274. 1208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_SetPrescaler
  1275. 1209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1276. 1210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1277. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 23
  1278. 1211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1279. 1212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1280. 1213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1281. 1214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1282. 1215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1283. 1216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1284. 1217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1285. 1218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1286. 1219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1287. 1220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1288. 1221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1289. 1222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1290. 1223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1291. 1224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1292. 1225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  1293. 1226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1294. 1227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->PRESC, USART_PRESC_PRESCALER, (uint16_t)PrescalerValue);
  1295. 1228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1296. 1229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1297. 1230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1298. 1231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the Clock source prescaler for baudrate generator and oversampling
  1299. 1232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  1300. 1233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  1301. 1234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_GetPrescaler
  1302. 1235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1303. 1236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1304. 1237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1305. 1238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1306. 1239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1307. 1240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1308. 1241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1309. 1242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1310. 1243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1311. 1244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1312. 1245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1313. 1246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1314. 1247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1315. 1248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1316. 1249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1317. 1250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetPrescaler(const USART_TypeDef *USARTx)
  1318. 1251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1319. 1252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->PRESC, USART_PRESC_PRESCALER));
  1320. 1253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1321. 1254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1322. 1255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1323. 1256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Clock output on SCLK pin
  1324. 1257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1325. 1258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1326. 1259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_EnableSCLKOutput
  1327. 1260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1328. 1261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1329. 1262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1330. 1263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSCLKOutput(USART_TypeDef *USARTx)
  1331. 1264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1332. 1265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
  1333. 1266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1334. 1267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1335. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 24
  1336. 1268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1337. 1269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Clock output on SCLK pin
  1338. 1270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1339. 1271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1340. 1272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_DisableSCLKOutput
  1341. 1273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1342. 1274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1343. 1275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1344. 1276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx)
  1345. 1277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1346. 1278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN);
  1347. 1279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1348. 1280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1349. 1281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1350. 1282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Clock output on SCLK pin is enabled
  1351. 1283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  1352. 1284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  1353. 1285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_IsEnabledSCLKOutput
  1354. 1286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1355. 1287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1356. 1288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1357. 1289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(const USART_TypeDef *USARTx)
  1358. 1290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1359. 1291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)) ? 1UL : 0UL);
  1360. 1292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1361. 1293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1362. 1294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1363. 1295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set the length of the stop bits
  1364. 1296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_SetStopBitsLength
  1365. 1297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1366. 1298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
  1367. 1299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1368. 1300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1369. 1301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1370. 1302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1371. 1303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1372. 1304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1373. 1305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetStopBitsLength(USART_TypeDef *USARTx, uint32_t StopBits)
  1374. 1306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1375. 1307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
  1376. 1308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1377. 1309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1378. 1310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1379. 1311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the length of the stop bits
  1380. 1312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_GetStopBitsLength
  1381. 1313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1382. 1314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1383. 1315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1384. 1316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1385. 1317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1386. 1318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1387. 1319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1388. 1320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(const USART_TypeDef *USARTx)
  1389. 1321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1390. 1322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_STOP));
  1391. 1323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1392. 1324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1393. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 25
  1394. 1325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1395. 1326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Character frame format (Datawidth, Parity control, Stop Bits)
  1396. 1327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  1397. 1328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Data Width configuration using @ref LL_USART_SetDataWidth() function
  1398. 1329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Parity Control and mode configuration using @ref LL_USART_SetParity() function
  1399. 1330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Stop bits configuration using @ref LL_USART_SetStopBitsLength() function
  1400. 1331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_ConfigCharacter\n
  1401. 1332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_ConfigCharacter\n
  1402. 1333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M0 LL_USART_ConfigCharacter\n
  1403. 1334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_ConfigCharacter\n
  1404. 1335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigCharacter
  1405. 1336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1406. 1337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
  1407. 1338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
  1408. 1339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
  1409. 1340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
  1410. 1341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
  1411. 1342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
  1412. 1343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
  1413. 1344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
  1414. 1345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
  1415. 1346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
  1416. 1347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
  1417. 1348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
  1418. 1349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
  1419. 1350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1420. 1351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1421. 1352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigCharacter(USART_TypeDef *USARTx, uint32_t DataWidth, uint32_t P
  1422. 1353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits)
  1423. 1354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1424. 1355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE | USART_CR1_M, Parity | DataWidth);
  1425. 1356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
  1426. 1357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1427. 1358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1428. 1359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1429. 1360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX/RX pins swapping setting.
  1430. 1361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_SetTXRXSwap
  1431. 1362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1432. 1363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param SwapConfig This parameter can be one of the following values:
  1433. 1364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
  1434. 1365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
  1435. 1366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1436. 1367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1437. 1368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXRXSwap(USART_TypeDef *USARTx, uint32_t SwapConfig)
  1438. 1369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1439. 1370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_SWAP, SwapConfig);
  1440. 1371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1441. 1372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1442. 1373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1443. 1374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX/RX pins swapping configuration.
  1444. 1375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_GetTXRXSwap
  1445. 1376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1446. 1377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1447. 1378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
  1448. 1379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
  1449. 1380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1450. 1381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXRXSwap(const USART_TypeDef *USARTx)
  1451. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 26
  1452. 1382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1453. 1383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_SWAP));
  1454. 1384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1455. 1385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1456. 1386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1457. 1387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX pin active level logic
  1458. 1388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_SetRXPinLevel
  1459. 1389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1460. 1390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
  1461. 1391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
  1462. 1392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
  1463. 1393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1464. 1394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1465. 1395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
  1466. 1396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1467. 1397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_RXINV, PinInvMethod);
  1468. 1398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1469. 1399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1470. 1400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1471. 1401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve RX pin active level logic configuration
  1472. 1402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_GetRXPinLevel
  1473. 1403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1474. 1404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1475. 1405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
  1476. 1406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
  1477. 1407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1478. 1408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXPinLevel(const USART_TypeDef *USARTx)
  1479. 1409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1480. 1410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_RXINV));
  1481. 1411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1482. 1412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1483. 1413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1484. 1414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX pin active level logic
  1485. 1415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_SetTXPinLevel
  1486. 1416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1487. 1417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
  1488. 1418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
  1489. 1419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
  1490. 1420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1491. 1421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1492. 1422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
  1493. 1423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1494. 1424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_TXINV, PinInvMethod);
  1495. 1425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1496. 1426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1497. 1427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1498. 1428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX pin active level logic configuration
  1499. 1429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_GetTXPinLevel
  1500. 1430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1501. 1431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1502. 1432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
  1503. 1433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
  1504. 1434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1505. 1435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXPinLevel(const USART_TypeDef *USARTx)
  1506. 1436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1507. 1437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_TXINV));
  1508. 1438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1509. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 27
  1510. 1439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1511. 1440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1512. 1441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Binary data logic.
  1513. 1442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Allow to define how Logical data from the data register are send/received :
  1514. 1443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * either in positive/direct logic (1=H, 0=L) or in negative/inverse logic (1=L, 0=H)
  1515. 1444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_SetBinaryDataLogic
  1516. 1445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1517. 1446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataLogic This parameter can be one of the following values:
  1518. 1447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
  1519. 1448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
  1520. 1449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1521. 1450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1522. 1451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBinaryDataLogic(USART_TypeDef *USARTx, uint32_t DataLogic)
  1523. 1452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1524. 1453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_DATAINV, DataLogic);
  1525. 1454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1526. 1455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1527. 1456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1528. 1457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Binary data configuration
  1529. 1458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_GetBinaryDataLogic
  1530. 1459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1531. 1460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1532. 1461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
  1533. 1462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
  1534. 1463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1535. 1464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBinaryDataLogic(const USART_TypeDef *USARTx)
  1536. 1465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1537. 1466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_DATAINV));
  1538. 1467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1539. 1468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1540. 1469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1541. 1470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure transfer bit order (either Less or Most Significant Bit First)
  1542. 1471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note MSB First means data is transmitted/received with the MSB first, following the start bi
  1543. 1472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LSB First means data is transmitted/received with data bit 0 first, following the start
  1544. 1473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_SetTransferBitOrder
  1545. 1474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1546. 1475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BitOrder This parameter can be one of the following values:
  1547. 1476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
  1548. 1477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
  1549. 1478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1550. 1479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1551. 1480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferBitOrder(USART_TypeDef *USARTx, uint32_t BitOrder)
  1552. 1481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1553. 1482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_MSBFIRST, BitOrder);
  1554. 1483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1555. 1484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1556. 1485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1557. 1486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return transfer bit order (either Less or Most Significant Bit First)
  1558. 1487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note MSB First means data is transmitted/received with the MSB first, following the start bi
  1559. 1488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LSB First means data is transmitted/received with data bit 0 first, following the start
  1560. 1489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_GetTransferBitOrder
  1561. 1490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1562. 1491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1563. 1492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
  1564. 1493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
  1565. 1494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1566. 1495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferBitOrder(const USART_TypeDef *USARTx)
  1567. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 28
  1568. 1496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1569. 1497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_MSBFIRST));
  1570. 1498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1571. 1499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1572. 1500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1573. 1501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Auto Baud-Rate Detection
  1574. 1502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  1575. 1503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1576. 1504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_EnableAutoBaudRate
  1577. 1505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1578. 1506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1579. 1507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1580. 1508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableAutoBaudRate(USART_TypeDef *USARTx)
  1581. 1509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1582. 1510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_ABREN);
  1583. 1511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1584. 1512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1585. 1513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1586. 1514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Auto Baud-Rate Detection
  1587. 1515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  1588. 1516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1589. 1517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_DisableAutoBaudRate
  1590. 1518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1591. 1519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1592. 1520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1593. 1521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableAutoBaudRate(USART_TypeDef *USARTx)
  1594. 1522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1595. 1523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN);
  1596. 1524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1597. 1525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1598. 1526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1599. 1527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Auto Baud-Rate Detection mechanism is enabled
  1600. 1528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  1601. 1529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1602. 1530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_IsEnabledAutoBaud
  1603. 1531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1604. 1532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1605. 1533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1606. 1534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledAutoBaud(const USART_TypeDef *USARTx)
  1607. 1535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1608. 1536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_ABREN) == (USART_CR2_ABREN)) ? 1UL : 0UL);
  1609. 1537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1610. 1538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1611. 1539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1612. 1540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Auto Baud-Rate mode bits
  1613. 1541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  1614. 1542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1615. 1543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_SetAutoBaudRateMode
  1616. 1544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1617. 1545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoBaudRateMode This parameter can be one of the following values:
  1618. 1546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
  1619. 1547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
  1620. 1548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
  1621. 1549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
  1622. 1550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1623. 1551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1624. 1552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetAutoBaudRateMode(USART_TypeDef *USARTx, uint32_t AutoBaudRateMode)
  1625. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 29
  1626. 1553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1627. 1554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ABRMODE, AutoBaudRateMode);
  1628. 1555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1629. 1556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1630. 1557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1631. 1558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Auto Baud-Rate mode
  1632. 1559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  1633. 1560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  1634. 1561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_GetAutoBaudRateMode
  1635. 1562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1636. 1563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1637. 1564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
  1638. 1565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
  1639. 1566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
  1640. 1567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
  1641. 1568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1642. 1569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetAutoBaudRateMode(const USART_TypeDef *USARTx)
  1643. 1570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1644. 1571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ABRMODE));
  1645. 1572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1646. 1573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1647. 1574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1648. 1575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout
  1649. 1576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_EnableRxTimeout
  1650. 1577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1651. 1578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1652. 1579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1653. 1580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRxTimeout(USART_TypeDef *USARTx)
  1654. 1581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1655. 1582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_RTOEN);
  1656. 1583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1657. 1584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1658. 1585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1659. 1586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout
  1660. 1587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_DisableRxTimeout
  1661. 1588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1662. 1589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1663. 1590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1664. 1591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRxTimeout(USART_TypeDef *USARTx)
  1665. 1592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1666. 1593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN);
  1667. 1594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1668. 1595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1669. 1596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1670. 1597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Receiver Timeout feature is enabled
  1671. 1598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_IsEnabledRxTimeout
  1672. 1599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1673. 1600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1674. 1601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1675. 1602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledRxTimeout(const USART_TypeDef *USARTx)
  1676. 1603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1677. 1604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_RTOEN) == (USART_CR2_RTOEN)) ? 1UL : 0UL);
  1678. 1605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1679. 1606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1680. 1607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1681. 1608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Address of the USART node.
  1682. 1609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This is used in multiprocessor communication during Mute mode or Stop mode,
  1683. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 30
  1684. 1610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with address mark detection.
  1685. 1611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note 4bits address node is used when 4-bit Address Detection is selected in ADDM7.
  1686. 1612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (b7-b4 should be set to 0)
  1687. 1613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 8bits address node is used when 7-bit Address Detection is selected in ADDM7.
  1688. 1614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (This is used in multiprocessor communication during Mute mode or Stop mode,
  1689. 1615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with 7-bit address mark detection.
  1690. 1616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * The MSB of the character sent by the transmitter should be equal to 1.
  1691. 1617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * It may also be used for character detection during normal reception,
  1692. 1618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Mute mode inactive (for example, end of block detection in ModBus protocol).
  1693. 1619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In this case, the whole received character (8-bit) is compared to the ADD[7:0]
  1694. 1620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * value and CMF flag is set on match)
  1695. 1621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_ConfigNodeAddress\n
  1696. 1622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 ADDM7 LL_USART_ConfigNodeAddress
  1697. 1623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1698. 1624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AddressLen This parameter can be one of the following values:
  1699. 1625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
  1700. 1626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
  1701. 1627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param NodeAddress 4 or 7 bit Address of the USART node.
  1702. 1628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1703. 1629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1704. 1630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigNodeAddress(USART_TypeDef *USARTx, uint32_t AddressLen, uint32_
  1705. 1631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1706. 1632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ADD | USART_CR2_ADDM7,
  1707. 1633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (uint32_t)(AddressLen | (NodeAddress << USART_CR2_ADD_Pos)));
  1708. 1634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1709. 1635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1710. 1636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1711. 1637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return 8 bit Address of the USART node as set in ADD field of CR2.
  1712. 1638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note If 4-bit Address Detection is selected in ADDM7,
  1713. 1639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 4bits (b3-b0) of returned value are relevant (b31-b4 are not relevant)
  1714. 1640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If 7-bit Address Detection is selected in ADDM7,
  1715. 1641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 8bits (b7-b0) of returned value are relevant (b31-b8 are not relevant)
  1716. 1642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_GetNodeAddress
  1717. 1643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1718. 1644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of the USART node (Value between Min_Data=0 and Max_Data=255)
  1719. 1645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1720. 1646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddress(const USART_TypeDef *USARTx)
  1721. 1647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1722. 1648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADD) >> USART_CR2_ADD_Pos);
  1723. 1649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1724. 1650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1725. 1651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1726. 1652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Length of Node Address used in Address Detection mode (7-bit or 4-bit)
  1727. 1653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADDM7 LL_USART_GetNodeAddressLen
  1728. 1654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1729. 1655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1730. 1656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
  1731. 1657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
  1732. 1658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1733. 1659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddressLen(const USART_TypeDef *USARTx)
  1734. 1660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1735. 1661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADDM7));
  1736. 1662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1737. 1663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1738. 1664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1739. 1665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RTS HW Flow Control
  1740. 1666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  1741. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 31
  1742. 1667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1743. 1668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_EnableRTSHWFlowCtrl
  1744. 1669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1745. 1670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1746. 1671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1747. 1672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl(USART_TypeDef *USARTx)
  1748. 1673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1749. 1674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_RTSE);
  1750. 1675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1751. 1676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1752. 1677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1753. 1678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RTS HW Flow Control
  1754. 1679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  1755. 1680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1756. 1681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_DisableRTSHWFlowCtrl
  1757. 1682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1758. 1683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1759. 1684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1760. 1685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl(USART_TypeDef *USARTx)
  1761. 1686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1762. 1687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE);
  1763. 1688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1764. 1689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1765. 1690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1766. 1691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS HW Flow Control
  1767. 1692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  1768. 1693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1769. 1694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_EnableCTSHWFlowCtrl
  1770. 1695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1771. 1696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1772. 1697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1773. 1698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl(USART_TypeDef *USARTx)
  1774. 1699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1775. 1700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_CTSE);
  1776. 1701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1777. 1702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1778. 1703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1779. 1704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS HW Flow Control
  1780. 1705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  1781. 1706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1782. 1707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_DisableCTSHWFlowCtrl
  1783. 1708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1784. 1709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1785. 1710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1786. 1711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl(USART_TypeDef *USARTx)
  1787. 1712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1788. 1713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE);
  1789. 1714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1790. 1715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1791. 1716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1792. 1717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure HW Flow Control mode (both CTS and RTS)
  1793. 1718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  1794. 1719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1795. 1720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_SetHWFlowCtrl\n
  1796. 1721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_SetHWFlowCtrl
  1797. 1722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1798. 1723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param HardwareFlowControl This parameter can be one of the following values:
  1799. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 32
  1800. 1724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
  1801. 1725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
  1802. 1726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
  1803. 1727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
  1804. 1728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1805. 1729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1806. 1730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t HardwareFlowControl)
  1807. 1731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1808. 1732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl);
  1809. 1733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1810. 1734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1811. 1735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1812. 1736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return HW Flow Control configuration (both CTS and RTS)
  1813. 1737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  1814. 1738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  1815. 1739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_GetHWFlowCtrl\n
  1816. 1740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_GetHWFlowCtrl
  1817. 1741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1818. 1742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1819. 1743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
  1820. 1744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
  1821. 1745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
  1822. 1746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
  1823. 1747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1824. 1748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(const USART_TypeDef *USARTx)
  1825. 1749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1826. 1750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE));
  1827. 1751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1828. 1752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1829. 1753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1830. 1754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable One bit sampling method
  1831. 1755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_EnableOneBitSamp
  1832. 1756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1833. 1757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1834. 1758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1835. 1759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOneBitSamp(USART_TypeDef *USARTx)
  1836. 1760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1837. 1761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_ONEBIT);
  1838. 1762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1839. 1763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1840. 1764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1841. 1765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable One bit sampling method
  1842. 1766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_DisableOneBitSamp
  1843. 1767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1844. 1768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1845. 1769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1846. 1770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOneBitSamp(USART_TypeDef *USARTx)
  1847. 1771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1848. 1772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT);
  1849. 1773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1850. 1774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1851. 1775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1852. 1776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if One bit sampling method is enabled
  1853. 1777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_IsEnabledOneBitSamp
  1854. 1778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1855. 1779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1856. 1780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1857. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 33
  1858. 1781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(const USART_TypeDef *USARTx)
  1859. 1782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1860. 1783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)) ? 1UL : 0UL);
  1861. 1784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1862. 1785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1863. 1786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1864. 1787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Overrun detection
  1865. 1788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_EnableOverrunDetect
  1866. 1789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1867. 1790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1868. 1791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1869. 1792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOverrunDetect(USART_TypeDef *USARTx)
  1870. 1793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1871. 1794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_OVRDIS);
  1872. 1795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1873. 1796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1874. 1797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1875. 1798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Overrun detection
  1876. 1799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_DisableOverrunDetect
  1877. 1800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1878. 1801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1879. 1802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1880. 1803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOverrunDetect(USART_TypeDef *USARTx)
  1881. 1804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1882. 1805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_OVRDIS);
  1883. 1806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1884. 1807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1885. 1808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1886. 1809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Overrun detection is enabled
  1887. 1810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_IsEnabledOverrunDetect
  1888. 1811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1889. 1812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  1890. 1813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1891. 1814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOverrunDetect(const USART_TypeDef *USARTx)
  1892. 1815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1893. 1816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS) ? 1UL : 0UL);
  1894. 1817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1895. 1818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1896. 1819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1897. 1820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
  1898. 1821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  1899. 1822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  1900. 1823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_SetWKUPType
  1901. 1824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1902. 1825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Type This parameter can be one of the following values:
  1903. 1826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
  1904. 1827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
  1905. 1828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
  1906. 1829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1907. 1830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1908. 1831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWKUPType(USART_TypeDef *USARTx, uint32_t Type)
  1909. 1832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1910. 1833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_WUS, Type);
  1911. 1834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1912. 1835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1913. 1836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1914. 1837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
  1915. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 34
  1916. 1838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  1917. 1839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  1918. 1840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_GetWKUPType
  1919. 1841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1920. 1842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  1921. 1843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
  1922. 1844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
  1923. 1845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
  1924. 1846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1925. 1847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWKUPType(const USART_TypeDef *USARTx)
  1926. 1848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1927. 1849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_WUS));
  1928. 1850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1929. 1851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1930. 1852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1931. 1853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure USART BRR register for achieving expected Baud Rate value.
  1932. 1854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Compute and set USARTDIV value in BRR Register (full BRR content)
  1933. 1855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * according to used Peripheral Clock, Oversampling mode, and expected Baud Rate values
  1934. 1856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Peripheral clock and Baud rate values provided as function parameters should be valid
  1935. 1857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Baud rate value != 0)
  1936. 1858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In case of oversampling by 16 and 8, BRR content must be greater than or equal to 16d.
  1937. 1859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_SetBaudRate
  1938. 1860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1939. 1861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
  1940. 1862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1941. 1863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1942. 1864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1943. 1865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  1944. 1866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  1945. 1867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  1946. 1868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  1947. 1869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  1948. 1870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  1949. 1871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  1950. 1872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  1951. 1873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  1952. 1874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  1953. 1875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  1954. 1876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  1955. 1877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  1956. 1878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BaudRate Baud Rate
  1957. 1879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  1958. 1880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  1959. 1881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t Presc
  1960. 1882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling,
  1961. 1883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate)
  1962. 1884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1963. 1885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
  1964. 1886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrtemp;
  1965. 1887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1966. 1888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (PrescalerValue > LL_USART_PRESCALER_DIV256)
  1967. 1889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1968. 1890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not overstep the size of USART_PRESCALER_TAB */
  1969. 1891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1970. 1892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (BaudRate == 0U)
  1971. 1893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1972. 1894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Can Not divide per 0 */
  1973. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 35
  1974. 1895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1975. 1896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
  1976. 1897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1977. 1898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)(__LL_USART_DIV_SAMPLING8(PeriphClk, (uint8_t)PrescalerValue, BaudRate));
  1978. 1899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp = usartdiv & 0xFFF0U;
  1979. 1900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp |= (uint16_t)((usartdiv & (uint16_t)0x000FU) >> 1U);
  1980. 1901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = brrtemp;
  1981. 1902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1982. 1903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  1983. 1904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  1984. 1905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = (uint16_t)(__LL_USART_DIV_SAMPLING16(PeriphClk, (uint8_t)PrescalerValue, BaudRate
  1985. 1906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1986. 1907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  1987. 1908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  1988. 1909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  1989. 1910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return current Baud Rate value, according to USARTDIV present in BRR register
  1990. 1911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (full BRR content), and to used Peripheral Clock and Oversampling mode values
  1991. 1912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In case of non-initialized or invalid value stored in BRR register, value 0 will be ret
  1992. 1913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In case of oversampling by 16 and 8, BRR content must be greater than or equal to 16d.
  1993. 1914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_GetBaudRate
  1994. 1915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  1995. 1916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
  1996. 1917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
  1997. 1918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
  1998. 1919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
  1999. 1920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
  2000. 1921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
  2001. 1922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
  2002. 1923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
  2003. 1924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
  2004. 1925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
  2005. 1926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
  2006. 1927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
  2007. 1928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
  2008. 1929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
  2009. 1930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
  2010. 1931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
  2011. 1932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
  2012. 1933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Baud Rate
  2013. 1934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2014. 1935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBaudRate(const USART_TypeDef *USARTx, uint32_t PeriphClk, uint
  2015. 1936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling)
  2016. 1937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2017. 1938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
  2018. 1939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrresult = 0x0U;
  2019. 1940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t periphclkpresc = (uint32_t)(PeriphClk / (USART_PRESCALER_TAB[(uint8_t)PrescalerValue]));
  2020. 1941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2021. 1942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = USARTx->BRR;
  2022. 1943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2023. 1944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv == 0U)
  2024. 1945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2025. 1946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not perform a division by 0 */
  2026. 1947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2027. 1948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
  2028. 1949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2029. 1950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)((usartdiv & 0xFFF0U) | ((usartdiv & 0x0007U) << 1U)) ;
  2030. 1951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv != 0U)
  2031. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 36
  2032. 1952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2033. 1953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = (periphclkpresc * 2U) / usartdiv;
  2034. 1954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2035. 1955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2036. 1956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  2037. 1957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2038. 1958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if ((usartdiv & 0xFFFFU) != 0U)
  2039. 1959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2040. 1960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = periphclkpresc / usartdiv;
  2041. 1961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2042. 1962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2043. 1963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (brrresult);
  2044. 1964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2045. 1965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2046. 1966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2047. 1967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Time Out Value (expressed in nb of bits duration)
  2048. 1968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_SetRxTimeout
  2049. 1969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2050. 1970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Timeout Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
  2051. 1971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2052. 1972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2053. 1973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRxTimeout(USART_TypeDef *USARTx, uint32_t Timeout)
  2054. 1974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2055. 1975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_RTO, Timeout);
  2056. 1976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2057. 1977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2058. 1978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2059. 1979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Receiver Time Out Value (expressed in nb of bits duration)
  2060. 1980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_GetRxTimeout
  2061. 1981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2062. 1982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
  2063. 1983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2064. 1984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRxTimeout(const USART_TypeDef *USARTx)
  2065. 1985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2066. 1986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_RTO));
  2067. 1987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2068. 1988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2069. 1989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2070. 1990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Block Length value in reception
  2071. 1991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_SetBlockLength
  2072. 1992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2073. 1993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BlockLength Value between Min_Data=0x00 and Max_Data=0xFF
  2074. 1994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2075. 1995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2076. 1996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBlockLength(USART_TypeDef *USARTx, uint32_t BlockLength)
  2077. 1997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2078. 1998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_BLEN, BlockLength << USART_RTOR_BLEN_Pos);
  2079. 1999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2080. 2000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2081. 2001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2082. 2002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Block Length value in reception
  2083. 2003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_GetBlockLength
  2084. 2004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2085. 2005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
  2086. 2006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2087. 2007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBlockLength(const USART_TypeDef *USARTx)
  2088. 2008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2089. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 37
  2090. 2009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_BLEN) >> USART_RTOR_BLEN_Pos);
  2091. 2010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2092. 2011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2093. 2012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2094. 2013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2095. 2014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2096. 2015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2097. 2016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_IRDA Configuration functions related to Irda feature
  2098. 2017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2099. 2018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2100. 2019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2101. 2020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2102. 2021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IrDA mode
  2103. 2022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2104. 2023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2105. 2024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_EnableIrda
  2106. 2025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2107. 2026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2108. 2027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2109. 2028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIrda(USART_TypeDef *USARTx)
  2110. 2029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2111. 2030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
  2112. 2031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2113. 2032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2114. 2033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2115. 2034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IrDA mode
  2116. 2035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2117. 2036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2118. 2037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_DisableIrda
  2119. 2038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2120. 2039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2121. 2040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2122. 2041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx)
  2123. 2042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2124. 2043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_IREN);
  2125. 2044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2126. 2045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2127. 2046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2128. 2047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if IrDA mode is enabled
  2129. 2048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2130. 2049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2131. 2050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_IsEnabledIrda
  2132. 2051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2133. 2052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2134. 2053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2135. 2054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(const USART_TypeDef *USARTx)
  2136. 2055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2137. 2056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_IREN) == (USART_CR3_IREN)) ? 1UL : 0UL);
  2138. 2057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2139. 2058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2140. 2059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2141. 2060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure IrDA Power Mode (Normal or Low Power)
  2142. 2061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2143. 2062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2144. 2063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_SetIrdaPowerMode
  2145. 2064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2146. 2065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PowerMode This parameter can be one of the following values:
  2147. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 38
  2148. 2066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
  2149. 2067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_LOW
  2150. 2068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2151. 2069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2152. 2070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t PowerMode)
  2153. 2071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2154. 2072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_IRLP, PowerMode);
  2155. 2073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2156. 2074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2157. 2075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2158. 2076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve IrDA Power Mode configuration (Normal or Low Power)
  2159. 2077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2160. 2078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2161. 2079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_GetIrdaPowerMode
  2162. 2080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2163. 2081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2164. 2082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
  2165. 2083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
  2166. 2084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2167. 2085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(const USART_TypeDef *USARTx)
  2168. 2086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2169. 2087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_IRLP));
  2170. 2088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2171. 2089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2172. 2090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2173. 2091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Irda prescaler value, used for dividing the USART clock source
  2174. 2092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
  2175. 2093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2176. 2094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2177. 2095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetIrdaPrescaler
  2178. 2096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2179. 2097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0x00 and Max_Data=0xFF
  2180. 2098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2181. 2099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2182. 2100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  2183. 2101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2184. 2102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
  2185. 2103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2186. 2104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2187. 2105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2188. 2106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Irda prescaler value, used for dividing the USART clock source
  2189. 2107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
  2190. 2108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2191. 2109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2192. 2110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetIrdaPrescaler
  2193. 2111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2194. 2112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Irda prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF)
  2195. 2113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2196. 2114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(const USART_TypeDef *USARTx)
  2197. 2115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2198. 2116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
  2199. 2117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2200. 2118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2201. 2119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2202. 2120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2203. 2121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2204. 2122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2205. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 39
  2206. 2123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_Smartcard Configuration functions related to Smartcard feat
  2207. 2124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2208. 2125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2209. 2126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2210. 2127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2211. 2128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard NACK transmission
  2212. 2129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2213. 2130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2214. 2131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
  2215. 2132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2216. 2133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2217. 2134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2218. 2135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcardNACK(USART_TypeDef *USARTx)
  2219. 2136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2220. 2137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_NACK);
  2221. 2138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2222. 2139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2223. 2140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2224. 2141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard NACK transmission
  2225. 2142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2226. 2143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2227. 2144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
  2228. 2145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2229. 2146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2230. 2147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2231. 2148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx)
  2232. 2149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2233. 2150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_NACK);
  2234. 2151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2235. 2152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2236. 2153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2237. 2154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard NACK transmission is enabled
  2238. 2155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2239. 2156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2240. 2157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
  2241. 2158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2242. 2159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2243. 2160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2244. 2161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(const USART_TypeDef *USARTx)
  2245. 2162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2246. 2163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_NACK) == (USART_CR3_NACK)) ? 1UL : 0UL);
  2247. 2164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2248. 2165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2249. 2166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2250. 2167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard mode
  2251. 2168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2252. 2169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2253. 2170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_EnableSmartcard
  2254. 2171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2255. 2172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2256. 2173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2257. 2174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcard(USART_TypeDef *USARTx)
  2258. 2175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2259. 2176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
  2260. 2177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2261. 2178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2262. 2179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2263. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 40
  2264. 2180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard mode
  2265. 2181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2266. 2182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2267. 2183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_DisableSmartcard
  2268. 2184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2269. 2185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2270. 2186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2271. 2187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx)
  2272. 2188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2273. 2189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_SCEN);
  2274. 2190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2275. 2191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2276. 2192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2277. 2193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard mode is enabled
  2278. 2194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2279. 2195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2280. 2196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
  2281. 2197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2282. 2198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2283. 2199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2284. 2200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(const USART_TypeDef *USARTx)
  2285. 2201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2286. 2202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_SCEN) == (USART_CR3_SCEN)) ? 1UL : 0UL);
  2287. 2203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2288. 2204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2289. 2205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2290. 2206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
  2291. 2207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2292. 2208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2293. 2209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This bit-field specifies the number of retries in transmit and receive, in Smartcard mo
  2294. 2210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In transmission mode, it specifies the number of automatic retransmission retries, befo
  2295. 2211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * generating a transmission error (FE bit set).
  2296. 2212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In reception mode, it specifies the number or erroneous reception trials, before genera
  2297. 2213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * reception error (RXNE and PE bits set)
  2298. 2214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_SetSmartcardAutoRetryCount
  2299. 2215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2300. 2216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoRetryCount Value between Min_Data=0 and Max_Data=7
  2301. 2217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2302. 2218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2303. 2219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardAutoRetryCount(USART_TypeDef *USARTx, uint32_t AutoRetryC
  2304. 2220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2305. 2221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_SCARCNT, AutoRetryCount << USART_CR3_SCARCNT_Pos);
  2306. 2222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2307. 2223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2308. 2224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2309. 2225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
  2310. 2226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2311. 2227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2312. 2228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_GetSmartcardAutoRetryCount
  2313. 2229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2314. 2230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Auto-Retry Count value (Value between Min_Data=0 and Max_Data=7)
  2315. 2231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2316. 2232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardAutoRetryCount(const USART_TypeDef *USARTx)
  2317. 2233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2318. 2234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_SCARCNT) >> USART_CR3_SCARCNT_Pos);
  2319. 2235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2320. 2236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2321. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 41
  2322. 2237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2323. 2238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard prescaler value, used for dividing the USART clock
  2324. 2239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
  2325. 2240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2326. 2241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2327. 2242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
  2328. 2243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2329. 2244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0 and Max_Data=31
  2330. 2245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2331. 2246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2332. 2247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
  2333. 2248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2334. 2249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
  2335. 2250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2336. 2251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2337. 2252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2338. 2253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard prescaler value, used for dividing the USART clock
  2339. 2254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
  2340. 2255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2341. 2256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2342. 2257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
  2343. 2258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2344. 2259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard prescaler value (Value between Min_Data=0 and Max_Data=31)
  2345. 2260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2346. 2261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(const USART_TypeDef *USARTx)
  2347. 2262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2348. 2263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
  2349. 2264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2350. 2265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2351. 2266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2352. 2267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Guard time value, expressed in nb of baud clocks periods
  2353. 2268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
  2354. 2269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2355. 2270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2356. 2271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
  2357. 2272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2358. 2273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param GuardTime Value between Min_Data=0x00 and Max_Data=0xFF
  2359. 2274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2360. 2275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2361. 2276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint32_t GuardTime)
  2362. 2277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2363. 2278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_GT, (uint16_t)(GuardTime << USART_GTPR_GT_Pos));
  2364. 2279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2365. 2280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2366. 2281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2367. 2282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Guard time value, expressed in nb of baud clocks periods
  2368. 2283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
  2369. 2284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2370. 2285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2371. 2286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_GetSmartcardGuardTime
  2372. 2287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2373. 2288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Guard time value (Value between Min_Data=0x00 and Max_Data=0xFF)
  2374. 2289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2375. 2290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(const USART_TypeDef *USARTx)
  2376. 2291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2377. 2292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_GT) >> USART_GTPR_GT_Pos);
  2378. 2293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2379. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 42
  2380. 2294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2381. 2295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2382. 2296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2383. 2297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2384. 2298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2385. 2299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_HalfDuplex Configuration functions related to Half Duplex f
  2386. 2300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2387. 2301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2388. 2302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2389. 2303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2390. 2304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Single Wire Half-Duplex mode
  2391. 2305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
  2392. 2306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2393. 2307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_EnableHalfDuplex
  2394. 2308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2395. 2309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2396. 2310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2397. 2311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableHalfDuplex(USART_TypeDef *USARTx)
  2398. 2312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2399. 2313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2400. 2314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2401. 2315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2402. 2316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2403. 2317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Single Wire Half-Duplex mode
  2404. 2318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
  2405. 2319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2406. 2320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_DisableHalfDuplex
  2407. 2321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2408. 2322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2409. 2323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2410. 2324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx)
  2411. 2325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2412. 2326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2413. 2327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2414. 2328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2415. 2329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2416. 2330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Single Wire Half-Duplex mode is enabled
  2417. 2331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
  2418. 2332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2419. 2333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_IsEnabledHalfDuplex
  2420. 2334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2421. 2335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2422. 2336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2423. 2337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(const USART_TypeDef *USARTx)
  2424. 2338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2425. 2339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)) ? 1UL : 0UL);
  2426. 2340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2427. 2341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2428. 2342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2429. 2343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2430. 2344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2431. 2345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2432. 2346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_SPI_SLAVE Configuration functions related to SPI Slave feat
  2433. 2347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2434. 2348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2435. 2349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2436. 2350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Synchronous Slave mode
  2437. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 43
  2438. 2351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  2439. 2352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2440. 2353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_EnableSPISlave
  2441. 2354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2442. 2355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2443. 2356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2444. 2357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlave(USART_TypeDef *USARTx)
  2445. 2358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2446. 2359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_SLVEN);
  2447. 2360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2448. 2361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2449. 2362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2450. 2363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Synchronous Slave mode
  2451. 2364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  2452. 2365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2453. 2366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_DisableSPISlave
  2454. 2367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2455. 2368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2456. 2369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2457. 2370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlave(USART_TypeDef *USARTx)
  2458. 2371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2459. 2372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_SLVEN);
  2460. 2373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2461. 2374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2462. 2375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2463. 2376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Synchronous Slave mode is enabled
  2464. 2377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  2465. 2378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2466. 2379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_IsEnabledSPISlave
  2467. 2380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2468. 2381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2469. 2382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2470. 2383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave(const USART_TypeDef *USARTx)
  2471. 2384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2472. 2385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_SLVEN) == (USART_CR2_SLVEN)) ? 1UL : 0UL);
  2473. 2386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2474. 2387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2475. 2388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2476. 2389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Slave Selection using NSS input pin
  2477. 2390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  2478. 2391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2479. 2392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave Selection depends on NSS input pin
  2480. 2393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (The slave is selected when NSS is low and deselected when NSS is high).
  2481. 2394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_EnableSPISlaveSelect
  2482. 2395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2483. 2396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2484. 2397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2485. 2398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlaveSelect(USART_TypeDef *USARTx)
  2486. 2399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2487. 2400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
  2488. 2401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2489. 2402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2490. 2403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2491. 2404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Slave Selection using NSS input pin
  2492. 2405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  2493. 2406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2494. 2407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave will be always selected and NSS input pin will be ignored.
  2495. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 44
  2496. 2408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_DisableSPISlaveSelect
  2497. 2409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2498. 2410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2499. 2411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2500. 2412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlaveSelect(USART_TypeDef *USARTx)
  2501. 2413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2502. 2414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
  2503. 2415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2504. 2416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2505. 2417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2506. 2418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Slave Selection depends on NSS input pin
  2507. 2419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  2508. 2420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  2509. 2421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_IsEnabledSPISlaveSelect
  2510. 2422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2511. 2423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2512. 2424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2513. 2425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect(const USART_TypeDef *USARTx)
  2514. 2426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2515. 2427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_DIS_NSS) != (USART_CR2_DIS_NSS)) ? 1UL : 0UL);
  2516. 2428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2517. 2429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2518. 2430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2519. 2431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2520. 2432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2521. 2433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2522. 2434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_LIN Configuration functions related to LIN feature
  2523. 2435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2524. 2436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2525. 2437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2526. 2438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2527. 2439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set LIN Break Detection Length
  2528. 2440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  2529. 2441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2530. 2442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
  2531. 2443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2532. 2444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LINBDLength This parameter can be one of the following values:
  2533. 2445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
  2534. 2446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
  2535. 2447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2536. 2448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2537. 2449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint32_t LINBDLength)
  2538. 2450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2539. 2451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBDL, LINBDLength);
  2540. 2452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2541. 2453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2542. 2454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2543. 2455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return LIN Break Detection Length
  2544. 2456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  2545. 2457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2546. 2458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
  2547. 2459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2548. 2460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2549. 2461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
  2550. 2462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
  2551. 2463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2552. 2464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(const USART_TypeDef *USARTx)
  2553. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 45
  2554. 2465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2555. 2466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBDL));
  2556. 2467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2557. 2468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2558. 2469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2559. 2470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN mode
  2560. 2471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  2561. 2472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2562. 2473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_EnableLIN
  2563. 2474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2564. 2475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2565. 2476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2566. 2477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableLIN(USART_TypeDef *USARTx)
  2567. 2478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2568. 2479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
  2569. 2480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2570. 2481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2571. 2482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2572. 2483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN mode
  2573. 2484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  2574. 2485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2575. 2486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_DisableLIN
  2576. 2487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2577. 2488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2578. 2489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2579. 2490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx)
  2580. 2491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2581. 2492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LINEN);
  2582. 2493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2583. 2494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2584. 2495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2585. 2496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if LIN mode is enabled
  2586. 2497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  2587. 2498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2588. 2499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
  2589. 2500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2590. 2501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2591. 2502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2592. 2503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(const USART_TypeDef *USARTx)
  2593. 2504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2594. 2505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LINEN) == (USART_CR2_LINEN)) ? 1UL : 0UL);
  2595. 2506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2596. 2507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2597. 2508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2598. 2509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2599. 2510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2600. 2511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2601. 2512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_DE Configuration functions related to Driver Enable feature
  2602. 2513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2603. 2514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2604. 2515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2605. 2516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2606. 2517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits)
  2607. 2518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2608. 2519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2609. 2520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_SetDEDeassertionTime
  2610. 2521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2611. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 46
  2612. 2522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
  2613. 2523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2614. 2524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2615. 2525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEDeassertionTime(USART_TypeDef *USARTx, uint32_t Time)
  2616. 2526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2617. 2527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos);
  2618. 2528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2619. 2529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2620. 2530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2621. 2531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEDT (Driver Enable De-Assertion Time)
  2622. 2532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2623. 2533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2624. 2534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_GetDEDeassertionTime
  2625. 2535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2626. 2536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Time value expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31
  2627. 2537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2628. 2538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime(const USART_TypeDef *USARTx)
  2629. 2539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2630. 2540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEDT) >> USART_CR1_DEDT_Pos);
  2631. 2541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2632. 2542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2633. 2543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2634. 2544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).
  2635. 2545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2636. 2546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2637. 2547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_SetDEAssertionTime
  2638. 2548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2639. 2549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
  2640. 2550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2641. 2551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2642. 2552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEAssertionTime(USART_TypeDef *USARTx, uint32_t Time)
  2643. 2553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2644. 2554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
  2645. 2555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2646. 2556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2647. 2557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2648. 2558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEAT (Driver Enable Assertion Time)
  2649. 2559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2650. 2560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2651. 2561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_GetDEAssertionTime
  2652. 2562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2653. 2563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Time value expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31
  2654. 2564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2655. 2565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime(const USART_TypeDef *USARTx)
  2656. 2566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2657. 2567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEAT) >> USART_CR1_DEAT_Pos);
  2658. 2568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2659. 2569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2660. 2570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2661. 2571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Driver Enable (DE) Mode
  2662. 2572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2663. 2573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2664. 2574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_EnableDEMode
  2665. 2575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2666. 2576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2667. 2577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2668. 2578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDEMode(USART_TypeDef *USARTx)
  2669. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 47
  2670. 2579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2671. 2580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DEM);
  2672. 2581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2673. 2582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2674. 2583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2675. 2584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Driver Enable (DE) Mode
  2676. 2585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2677. 2586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2678. 2587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_DisableDEMode
  2679. 2588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2680. 2589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2681. 2590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2682. 2591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDEMode(USART_TypeDef *USARTx)
  2683. 2592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2684. 2593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DEM);
  2685. 2594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2686. 2595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2687. 2596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2688. 2597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Driver Enable (DE) Mode is enabled
  2689. 2598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2690. 2599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2691. 2600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_IsEnabledDEMode
  2692. 2601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2693. 2602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  2694. 2603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2695. 2604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode(const USART_TypeDef *USARTx)
  2696. 2605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2697. 2606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DEM) == (USART_CR3_DEM)) ? 1UL : 0UL);
  2698. 2607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2699. 2608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2700. 2609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2701. 2610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select Driver Enable Polarity
  2702. 2611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2703. 2612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2704. 2613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_SetDESignalPolarity
  2705. 2614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2706. 2615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
  2707. 2616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
  2708. 2617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
  2709. 2618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2710. 2619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2711. 2620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDESignalPolarity(USART_TypeDef *USARTx, uint32_t Polarity)
  2712. 2621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2713. 2622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_DEP, Polarity);
  2714. 2623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2715. 2624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2716. 2625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2717. 2626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Driver Enable Polarity
  2718. 2627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not
  2719. 2628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
  2720. 2629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_GetDESignalPolarity
  2721. 2630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2722. 2631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
  2723. 2632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
  2724. 2633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
  2725. 2634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2726. 2635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity(const USART_TypeDef *USARTx)
  2727. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 48
  2728. 2636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2729. 2637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_DEP));
  2730. 2638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2731. 2639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2732. 2640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2733. 2641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  2734. 2642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2735. 2643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2736. 2644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_AdvancedConfiguration Advanced Configurations services
  2737. 2645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  2738. 2646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2739. 2647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2740. 2648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2741. 2649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Asynchronous Mode (UART)
  2742. 2650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In UART mode, the following bits must be kept cleared:
  2743. 2651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2744. 2652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2745. 2653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2746. 2654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2747. 2655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2748. 2656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2749. 2657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2750. 2658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2751. 2659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2752. 2660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2753. 2661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2754. 2662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Asynchronous Mode
  2755. 2663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2756. 2664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2757. 2665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigAsyncMode\n
  2758. 2666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigAsyncMode\n
  2759. 2667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigAsyncMode\n
  2760. 2668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigAsyncMode\n
  2761. 2669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigAsyncMode
  2762. 2670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2763. 2671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2764. 2672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2765. 2673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigAsyncMode(USART_TypeDef *USARTx)
  2766. 2674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2767. 2675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Asynchronous mode, the following bits must be kept cleared:
  2768. 2676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, CLKEN bits in the USART_CR2 register,
  2769. 2677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
  2770. 2678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2771. 2679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  2772. 2680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
  2773. 2681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2774. 2682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2775. 2683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2776. 2684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Synchronous Mode
  2777. 2685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Synchronous mode, the following bits must be kept cleared:
  2778. 2686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2779. 2687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2780. 2688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2781. 2689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2782. 2690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the USART in Synchronous mode.
  2783. 2691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
  2784. 2692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
  2785. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 49
  2786. 2693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2787. 2694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2788. 2695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2789. 2696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2790. 2697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2791. 2698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
  2792. 2699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Synchronous Mode
  2793. 2700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, Clock Polarity, ...) should be set using
  2794. 2701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2795. 2702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSyncMode\n
  2796. 2703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSyncMode\n
  2797. 2704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSyncMode\n
  2798. 2705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigSyncMode\n
  2799. 2706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSyncMode
  2800. 2707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2801. 2708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2802. 2709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2803. 2710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSyncMode(USART_TypeDef *USARTx)
  2804. 2711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2805. 2712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Synchronous mode, the following bits must be kept cleared:
  2806. 2713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
  2807. 2714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
  2808. 2715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2809. 2716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
  2810. 2717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
  2811. 2718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Synchronous mode */
  2812. 2719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
  2813. 2720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2814. 2721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2815. 2722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2816. 2723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in LIN Mode
  2817. 2724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In LIN mode, the following bits must be kept cleared:
  2818. 2725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
  2819. 2726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2820. 2727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2821. 2728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2822. 2729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also set the UART/USART in LIN mode.
  2823. 2730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  2824. 2731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  2825. 2732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2826. 2733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2827. 2734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2828. 2735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2829. 2736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2830. 2737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2831. 2738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set LINEN in CR2 using @ref LL_USART_EnableLIN() function
  2832. 2739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to LIN Mode
  2833. 2740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, LIN Break Detection Length, ...) should be set using
  2834. 2741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2835. 2742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_ConfigLINMode\n
  2836. 2743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigLINMode\n
  2837. 2744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LINEN LL_USART_ConfigLINMode\n
  2838. 2745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigLINMode\n
  2839. 2746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigLINMode\n
  2840. 2747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigLINMode
  2841. 2748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2842. 2749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2843. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 50
  2844. 2750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2845. 2751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigLINMode(USART_TypeDef *USARTx)
  2846. 2752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2847. 2753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In LIN mode, the following bits must be kept cleared:
  2848. 2754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - STOP and CLKEN bits in the USART_CR2 register,
  2849. 2755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
  2850. 2756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2851. 2757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_CLKEN | USART_CR2_STOP));
  2852. 2758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_SCEN | USART_CR3_HDSEL));
  2853. 2759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Set the UART/USART in LIN mode */
  2854. 2760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
  2855. 2761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2856. 2762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2857. 2763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2858. 2764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Half Duplex Mode
  2859. 2765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Half Duplex mode, the following bits must be kept cleared:
  2860. 2766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2861. 2767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2862. 2768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2863. 2769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2864. 2770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in Half Duplex mode.
  2865. 2771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not
  2866. 2772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
  2867. 2773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2868. 2774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2869. 2775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2870. 2776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2871. 2777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2872. 2778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set HDSEL in CR3 using @ref LL_USART_EnableHalfDuplex() function
  2873. 2779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Half Duplex Mode
  2874. 2780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2875. 2781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2876. 2782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigHalfDuplexMode\n
  2877. 2783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigHalfDuplexMode\n
  2878. 2784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigHalfDuplexMode\n
  2879. 2785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigHalfDuplexMode\n
  2880. 2786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigHalfDuplexMode
  2881. 2787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2882. 2788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2883. 2789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2884. 2790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigHalfDuplexMode(USART_TypeDef *USARTx)
  2885. 2791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2886. 2792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Half Duplex mode, the following bits must be kept cleared:
  2887. 2793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
  2888. 2794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and IREN bits in the USART_CR3 register.
  2889. 2795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2890. 2796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  2891. 2797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN));
  2892. 2798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Half Duplex mode */
  2893. 2799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
  2894. 2800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2895. 2801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2896. 2802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2897. 2803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Smartcard Mode
  2898. 2804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Smartcard mode, the following bits must be kept cleared:
  2899. 2805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2900. 2806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2901. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 51
  2902. 2807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2903. 2808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also configures Stop bits to 1.5 bits and
  2904. 2809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * sets the USART in Smartcard mode (SCEN bit).
  2905. 2810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Clock Output is also enabled (CLKEN).
  2906. 2811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  2907. 2812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  2908. 2813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2909. 2814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2910. 2815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2911. 2816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2912. 2817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2913. 2818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
  2914. 2819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set SCEN in CR3 using @ref LL_USART_EnableSmartcard() function
  2915. 2820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Smartcard Mode
  2916. 2821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
  2917. 2822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2918. 2823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSmartcardMode\n
  2919. 2824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigSmartcardMode\n
  2920. 2825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSmartcardMode\n
  2921. 2826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSmartcardMode\n
  2922. 2827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSmartcardMode
  2923. 2828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2924. 2829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2925. 2830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2926. 2831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSmartcardMode(USART_TypeDef *USARTx)
  2927. 2832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2928. 2833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Smartcard mode, the following bits must be kept cleared:
  2929. 2834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
  2930. 2835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN and HDSEL bits in the USART_CR3 register.
  2931. 2836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2932. 2837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
  2933. 2838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_HDSEL));
  2934. 2839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Configure Stop bits to 1.5 bits */
  2935. 2840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Synchronous mode is activated by default */
  2936. 2841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, (USART_CR2_STOP_0 | USART_CR2_STOP_1 | USART_CR2_CLKEN));
  2937. 2842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Smartcard mode */
  2938. 2843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
  2939. 2844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2940. 2845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2941. 2846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2942. 2847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Irda Mode
  2943. 2848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In IRDA mode, the following bits must be kept cleared:
  2944. 2849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2945. 2850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
  2946. 2851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2947. 2852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2948. 2853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in IRDA mode (IREN bit).
  2949. 2854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
  2950. 2855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
  2951. 2856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2952. 2857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2953. 2858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2954. 2859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2955. 2860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2956. 2861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
  2957. 2862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set IREN in CR3 using @ref LL_USART_EnableIrda() function
  2958. 2863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Irda Mode
  2959. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 52
  2960. 2864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Power mode, ...) should be set using
  2961. 2865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  2962. 2866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigIrdaMode\n
  2963. 2867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigIrdaMode\n
  2964. 2868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigIrdaMode\n
  2965. 2869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigIrdaMode\n
  2966. 2870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigIrdaMode\n
  2967. 2871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigIrdaMode
  2968. 2872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  2969. 2873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  2970. 2874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2971. 2875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigIrdaMode(USART_TypeDef *USARTx)
  2972. 2876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  2973. 2877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In IRDA mode, the following bits must be kept cleared:
  2974. 2878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, STOP and CLKEN bits in the USART_CR2 register,
  2975. 2879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and HDSEL bits in the USART_CR3 register.
  2976. 2880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  2977. 2881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP));
  2978. 2882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL));
  2979. 2883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in IRDA mode */
  2980. 2884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
  2981. 2885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  2982. 2886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  2983. 2887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  2984. 2888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Multi processor Mode
  2985. 2889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (several USARTs connected in a network, one of the USARTs can be the master,
  2986. 2890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * its TX output connected to the RX inputs of the other slaves USARTs).
  2987. 2891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In MultiProcessor mode, the following bits must be kept cleared:
  2988. 2892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
  2989. 2893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
  2990. 2894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
  2991. 2895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
  2992. 2896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
  2993. 2897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
  2994. 2898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
  2995. 2899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
  2996. 2900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
  2997. 2901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
  2998. 2902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
  2999. 2903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Multi processor Mode
  3000. 2904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Wake Up Method, Node address, ...) should be set using
  3001. 2905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
  3002. 2906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigMultiProcessMode\n
  3003. 2907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigMultiProcessMode\n
  3004. 2908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigMultiProcessMode\n
  3005. 2909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigMultiProcessMode\n
  3006. 2910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigMultiProcessMode
  3007. 2911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3008. 2912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3009. 2913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3010. 2914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigMultiProcessMode(USART_TypeDef *USARTx)
  3011. 2915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3012. 2916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Multi Processor mode, the following bits must be kept cleared:
  3013. 2917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
  3014. 2918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
  3015. 2919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3016. 2920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
  3017. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 53
  3018. 2921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
  3019. 2922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3020. 2923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3021. 2924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3022. 2925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  3023. 2926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3024. 2927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3025. 2928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_FLAG_Management FLAG_Management
  3026. 2929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  3027. 2930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3028. 2931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3029. 2932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3030. 2933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Flag is set or not
  3031. 2934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR PE LL_USART_IsActiveFlag_PE
  3032. 2935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3033. 2936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3034. 2937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3035. 2938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(const USART_TypeDef *USARTx)
  3036. 2939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3037. 2940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_PE) == (USART_ISR_PE)) ? 1UL : 0UL);
  3038. 2941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3039. 2942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3040. 2943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3041. 2944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Framing Error Flag is set or not
  3042. 2945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR FE LL_USART_IsActiveFlag_FE
  3043. 2946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3044. 2947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3045. 2948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3046. 2949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(const USART_TypeDef *USARTx)
  3047. 2950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3048. 2951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_FE) == (USART_ISR_FE)) ? 1UL : 0UL);
  3049. 2952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3050. 2953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3051. 2954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3052. 2955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Noise error detected Flag is set or not
  3053. 2956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR NE LL_USART_IsActiveFlag_NE
  3054. 2957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3055. 2958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3056. 2959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3057. 2960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(const USART_TypeDef *USARTx)
  3058. 2961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3059. 2962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_NE) == (USART_ISR_NE)) ? 1UL : 0UL);
  3060. 2963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3061. 2964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3062. 2965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3063. 2966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART OverRun Error Flag is set or not
  3064. 2967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ORE LL_USART_IsActiveFlag_ORE
  3065. 2968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3066. 2969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3067. 2970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3068. 2971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(const USART_TypeDef *USARTx)
  3069. 2972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3070. 49 .loc 1 2972 1
  3071. 50 .cfi_startproc
  3072. 51 @ args = 0, pretend = 0, frame = 8
  3073. 52 @ frame_needed = 1, uses_anonymous_args = 0
  3074. 53 0000 80B5 push {r7, lr}
  3075. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 54
  3076. 54 .LCFI0:
  3077. 55 .cfi_def_cfa_offset 8
  3078. 56 .cfi_offset 7, -8
  3079. 57 .cfi_offset 14, -4
  3080. 58 0002 82B0 sub sp, sp, #8
  3081. 59 .LCFI1:
  3082. 60 .cfi_def_cfa_offset 16
  3083. 61 0004 00AF add r7, sp, #0
  3084. 62 .LCFI2:
  3085. 63 .cfi_def_cfa_register 7
  3086. 64 0006 7860 str r0, [r7, #4]
  3087. 2973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ORE) == (USART_ISR_ORE)) ? 1UL : 0UL);
  3088. 65 .loc 1 2973 12
  3089. 66 0008 7B68 ldr r3, [r7, #4]
  3090. 67 000a DB69 ldr r3, [r3, #28]
  3091. 68 000c 0822 movs r2, #8
  3092. 69 000e 1340 ands r3, r2
  3093. 70 .loc 1 2973 75
  3094. 71 0010 082B cmp r3, #8
  3095. 72 0012 01D1 bne .L2
  3096. 73 .loc 1 2973 75 is_stmt 0 discriminator 1
  3097. 74 0014 0123 movs r3, #1
  3098. 75 0016 00E0 b .L4
  3099. 76 .L2:
  3100. 77 .loc 1 2973 75 discriminator 2
  3101. 78 0018 0023 movs r3, #0
  3102. 79 .L4:
  3103. 2974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3104. 80 .loc 1 2974 1 is_stmt 1 discriminator 5
  3105. 81 001a 1800 movs r0, r3
  3106. 82 001c BD46 mov sp, r7
  3107. 83 001e 02B0 add sp, sp, #8
  3108. 84 @ sp needed
  3109. 85 0020 80BD pop {r7, pc}
  3110. 86 .cfi_endproc
  3111. 87 .LFE579:
  3112. 89 .section .text.LL_USART_IsActiveFlag_RXNE_RXFNE,"ax",%progbits
  3113. 90 .align 1
  3114. 91 .syntax unified
  3115. 92 .code 16
  3116. 93 .thumb_func
  3117. 95 LL_USART_IsActiveFlag_RXNE_RXFNE:
  3118. 96 .LFB581:
  3119. 2975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3120. 2976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3121. 2977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE line detected Flag is set or not
  3122. 2978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR IDLE LL_USART_IsActiveFlag_IDLE
  3123. 2979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3124. 2980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3125. 2981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3126. 2982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(const USART_TypeDef *USARTx)
  3127. 2983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3128. 2984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_IDLE) == (USART_ISR_IDLE)) ? 1UL : 0UL);
  3129. 2985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3130. 2986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3131. 2987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_RXNE LL_USART_IsActiveFlag_RXNE_RXFNE /* Redefinition for legacy pur
  3132. 2988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3133. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 55
  3134. 2989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3135. 2990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Read Data Register or USART RX FIFO Not Empty Flag is set or not
  3136. 2991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3137. 2992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3138. 2993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXNE_RXFNE LL_USART_IsActiveFlag_RXNE_RXFNE
  3139. 2994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3140. 2995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3141. 2996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3142. 2997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE_RXFNE(const USART_TypeDef *USARTx)
  3143. 2998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3144. 97 .loc 1 2998 1
  3145. 98 .cfi_startproc
  3146. 99 @ args = 0, pretend = 0, frame = 8
  3147. 100 @ frame_needed = 1, uses_anonymous_args = 0
  3148. 101 0000 80B5 push {r7, lr}
  3149. 102 .LCFI3:
  3150. 103 .cfi_def_cfa_offset 8
  3151. 104 .cfi_offset 7, -8
  3152. 105 .cfi_offset 14, -4
  3153. 106 0002 82B0 sub sp, sp, #8
  3154. 107 .LCFI4:
  3155. 108 .cfi_def_cfa_offset 16
  3156. 109 0004 00AF add r7, sp, #0
  3157. 110 .LCFI5:
  3158. 111 .cfi_def_cfa_register 7
  3159. 112 0006 7860 str r0, [r7, #4]
  3160. 2999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXNE_RXFNE) == (USART_ISR_RXNE_RXFNE)) ? 1UL : 0UL);
  3161. 113 .loc 1 2999 12
  3162. 114 0008 7B68 ldr r3, [r7, #4]
  3163. 115 000a DB69 ldr r3, [r3, #28]
  3164. 116 000c 2022 movs r2, #32
  3165. 117 000e 1340 ands r3, r2
  3166. 118 .loc 1 2999 89
  3167. 119 0010 202B cmp r3, #32
  3168. 120 0012 01D1 bne .L6
  3169. 121 .loc 1 2999 89 is_stmt 0 discriminator 1
  3170. 122 0014 0123 movs r3, #1
  3171. 123 0016 00E0 b .L8
  3172. 124 .L6:
  3173. 125 .loc 1 2999 89 discriminator 2
  3174. 126 0018 0023 movs r3, #0
  3175. 127 .L8:
  3176. 3000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3177. 128 .loc 1 3000 1 is_stmt 1 discriminator 5
  3178. 129 001a 1800 movs r0, r3
  3179. 130 001c BD46 mov sp, r7
  3180. 131 001e 02B0 add sp, sp, #8
  3181. 132 @ sp needed
  3182. 133 0020 80BD pop {r7, pc}
  3183. 134 .cfi_endproc
  3184. 135 .LFE581:
  3185. 137 .section .text.LL_USART_IsActiveFlag_TC,"ax",%progbits
  3186. 138 .align 1
  3187. 139 .syntax unified
  3188. 140 .code 16
  3189. 141 .thumb_func
  3190. 143 LL_USART_IsActiveFlag_TC:
  3191. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 56
  3192. 144 .LFB582:
  3193. 3001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3194. 3002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3195. 3003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Flag is set or not
  3196. 3004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TC LL_USART_IsActiveFlag_TC
  3197. 3005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3198. 3006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3199. 3007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3200. 3008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(const USART_TypeDef *USARTx)
  3201. 3009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3202. 145 .loc 1 3009 1
  3203. 146 .cfi_startproc
  3204. 147 @ args = 0, pretend = 0, frame = 8
  3205. 148 @ frame_needed = 1, uses_anonymous_args = 0
  3206. 149 0000 80B5 push {r7, lr}
  3207. 150 .LCFI6:
  3208. 151 .cfi_def_cfa_offset 8
  3209. 152 .cfi_offset 7, -8
  3210. 153 .cfi_offset 14, -4
  3211. 154 0002 82B0 sub sp, sp, #8
  3212. 155 .LCFI7:
  3213. 156 .cfi_def_cfa_offset 16
  3214. 157 0004 00AF add r7, sp, #0
  3215. 158 .LCFI8:
  3216. 159 .cfi_def_cfa_register 7
  3217. 160 0006 7860 str r0, [r7, #4]
  3218. 3010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TC) == (USART_ISR_TC)) ? 1UL : 0UL);
  3219. 161 .loc 1 3010 12
  3220. 162 0008 7B68 ldr r3, [r7, #4]
  3221. 163 000a DB69 ldr r3, [r3, #28]
  3222. 164 000c 4022 movs r2, #64
  3223. 165 000e 1340 ands r3, r2
  3224. 166 .loc 1 3010 73
  3225. 167 0010 402B cmp r3, #64
  3226. 168 0012 01D1 bne .L10
  3227. 169 .loc 1 3010 73 is_stmt 0 discriminator 1
  3228. 170 0014 0123 movs r3, #1
  3229. 171 0016 00E0 b .L12
  3230. 172 .L10:
  3231. 173 .loc 1 3010 73 discriminator 2
  3232. 174 0018 0023 movs r3, #0
  3233. 175 .L12:
  3234. 3011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3235. 176 .loc 1 3011 1 is_stmt 1 discriminator 5
  3236. 177 001a 1800 movs r0, r3
  3237. 178 001c BD46 mov sp, r7
  3238. 179 001e 02B0 add sp, sp, #8
  3239. 180 @ sp needed
  3240. 181 0020 80BD pop {r7, pc}
  3241. 182 .cfi_endproc
  3242. 183 .LFE582:
  3243. 185 .section .text.LL_USART_ClearFlag_ORE,"ax",%progbits
  3244. 186 .align 1
  3245. 187 .syntax unified
  3246. 188 .code 16
  3247. 189 .thumb_func
  3248. 191 LL_USART_ClearFlag_ORE:
  3249. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 57
  3250. 192 .LFB607:
  3251. 3012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3252. 3013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_TXE LL_USART_IsActiveFlag_TXE_TXFNF /* Redefinition for legacy purpo
  3253. 3014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3254. 3015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3255. 3016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Data Register Empty or USART TX FIFO Not Full Flag is set o
  3256. 3017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3257. 3018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3258. 3019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXE_TXFNF LL_USART_IsActiveFlag_TXE_TXFNF
  3259. 3020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3260. 3021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3261. 3022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3262. 3023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE_TXFNF(const USART_TypeDef *USARTx)
  3263. 3024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3264. 3025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXE_TXFNF) == (USART_ISR_TXE_TXFNF)) ? 1UL : 0UL);
  3265. 3026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3266. 3027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3267. 3028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3268. 3029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Flag is set or not
  3269. 3030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  3270. 3031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3271. 3032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR LBDF LL_USART_IsActiveFlag_LBD
  3272. 3033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3273. 3034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3274. 3035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3275. 3036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(const USART_TypeDef *USARTx)
  3276. 3037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3277. 3038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_LBDF) == (USART_ISR_LBDF)) ? 1UL : 0UL);
  3278. 3039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3279. 3040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3280. 3041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3281. 3042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS interrupt Flag is set or not
  3282. 3043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  3283. 3044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3284. 3045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTSIF LL_USART_IsActiveFlag_nCTS
  3285. 3046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3286. 3047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3287. 3048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3288. 3049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(const USART_TypeDef *USARTx)
  3289. 3050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3290. 3051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTSIF) == (USART_ISR_CTSIF)) ? 1UL : 0UL);
  3291. 3052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3292. 3053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3293. 3054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3294. 3055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Flag is set or not
  3295. 3056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  3296. 3057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3297. 3058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTS LL_USART_IsActiveFlag_CTS
  3298. 3059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3299. 3060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3300. 3061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3301. 3062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CTS(const USART_TypeDef *USARTx)
  3302. 3063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3303. 3064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTS) == (USART_ISR_CTS)) ? 1UL : 0UL);
  3304. 3065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3305. 3066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3306. 3067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3307. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 58
  3308. 3068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Time Out Flag is set or not
  3309. 3069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RTOF LL_USART_IsActiveFlag_RTO
  3310. 3070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3311. 3071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3312. 3072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3313. 3073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RTO(const USART_TypeDef *USARTx)
  3314. 3074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3315. 3075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RTOF) == (USART_ISR_RTOF)) ? 1UL : 0UL);
  3316. 3076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3317. 3077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3318. 3078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3319. 3079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Flag is set or not
  3320. 3080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3321. 3081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3322. 3082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR EOBF LL_USART_IsActiveFlag_EOB
  3323. 3083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3324. 3084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3325. 3085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3326. 3086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_EOB(const USART_TypeDef *USARTx)
  3327. 3087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3328. 3088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_EOBF) == (USART_ISR_EOBF)) ? 1UL : 0UL);
  3329. 3089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3330. 3090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3331. 3091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3332. 3092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the SPI Slave Underrun error flag is set or not
  3333. 3093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  3334. 3094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  3335. 3095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR UDR LL_USART_IsActiveFlag_UDR
  3336. 3096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3337. 3097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3338. 3098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3339. 3099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_UDR(const USART_TypeDef *USARTx)
  3340. 3100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3341. 3101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_UDR) == (USART_ISR_UDR)) ? 1UL : 0UL);
  3342. 3102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3343. 3103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3344. 3104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3345. 3105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Error Flag is set or not
  3346. 3106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  3347. 3107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  3348. 3108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRE LL_USART_IsActiveFlag_ABRE
  3349. 3109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3350. 3110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3351. 3111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3352. 3112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABRE(const USART_TypeDef *USARTx)
  3353. 3113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3354. 3114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRE) == (USART_ISR_ABRE)) ? 1UL : 0UL);
  3355. 3115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3356. 3116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3357. 3117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3358. 3118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Flag is set or not
  3359. 3119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(USARTx) can be used to check whether or
  3360. 3120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
  3361. 3121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRF LL_USART_IsActiveFlag_ABR
  3362. 3122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3363. 3123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3364. 3124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3365. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 59
  3366. 3125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABR(const USART_TypeDef *USARTx)
  3367. 3126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3368. 3127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRF) == (USART_ISR_ABRF)) ? 1UL : 0UL);
  3369. 3128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3370. 3129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3371. 3130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3372. 3131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Busy Flag is set or not
  3373. 3132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR BUSY LL_USART_IsActiveFlag_BUSY
  3374. 3133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3375. 3134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3376. 3135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3377. 3136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_BUSY(const USART_TypeDef *USARTx)
  3378. 3137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3379. 3138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_BUSY) == (USART_ISR_BUSY)) ? 1UL : 0UL);
  3380. 3139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3381. 3140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3382. 3141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3383. 3142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Flag is set or not
  3384. 3143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CMF LL_USART_IsActiveFlag_CM
  3385. 3144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3386. 3145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3387. 3146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3388. 3147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CM(const USART_TypeDef *USARTx)
  3389. 3148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3390. 3149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CMF) == (USART_ISR_CMF)) ? 1UL : 0UL);
  3391. 3150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3392. 3151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3393. 3152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3394. 3153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Send Break Flag is set or not
  3395. 3154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR SBKF LL_USART_IsActiveFlag_SBK
  3396. 3155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3397. 3156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3398. 3157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3399. 3158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(const USART_TypeDef *USARTx)
  3400. 3159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3401. 3160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_SBKF) == (USART_ISR_SBKF)) ? 1UL : 0UL);
  3402. 3161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3403. 3162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3404. 3163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3405. 3164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Wake Up from mute mode Flag is set or not
  3406. 3165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RWU LL_USART_IsActiveFlag_RWU
  3407. 3166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3408. 3167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3409. 3168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3410. 3169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(const USART_TypeDef *USARTx)
  3411. 3170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3412. 3171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RWU) == (USART_ISR_RWU)) ? 1UL : 0UL);
  3413. 3172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3414. 3173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3415. 3174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3416. 3175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Wake Up from stop mode Flag is set or not
  3417. 3176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  3418. 3177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3419. 3178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR WUF LL_USART_IsActiveFlag_WKUP
  3420. 3179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3421. 3180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3422. 3181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3423. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 60
  3424. 3182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_WKUP(const USART_TypeDef *USARTx)
  3425. 3183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3426. 3184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_WUF) == (USART_ISR_WUF)) ? 1UL : 0UL);
  3427. 3185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3428. 3186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3429. 3187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3430. 3188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Enable Acknowledge Flag is set or not
  3431. 3189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TEACK LL_USART_IsActiveFlag_TEACK
  3432. 3190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3433. 3191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3434. 3192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3435. 3193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TEACK(const USART_TypeDef *USARTx)
  3436. 3194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3437. 3195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TEACK) == (USART_ISR_TEACK)) ? 1UL : 0UL);
  3438. 3196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3439. 3197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3440. 3198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3441. 3199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Enable Acknowledge Flag is set or not
  3442. 3200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR REACK LL_USART_IsActiveFlag_REACK
  3443. 3201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3444. 3202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3445. 3203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3446. 3204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_REACK(const USART_TypeDef *USARTx)
  3447. 3205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3448. 3206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_REACK) == (USART_ISR_REACK)) ? 1UL : 0UL);
  3449. 3207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3450. 3208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3451. 3209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3452. 3210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Flag is set or not
  3453. 3211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3454. 3212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3455. 3213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFE LL_USART_IsActiveFlag_TXFE
  3456. 3214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3457. 3215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3458. 3216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3459. 3217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFE(const USART_TypeDef *USARTx)
  3460. 3218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3461. 3219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFE) == (USART_ISR_TXFE)) ? 1UL : 0UL);
  3462. 3220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3463. 3221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3464. 3222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3465. 3223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Flag is set or not
  3466. 3224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3467. 3225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3468. 3226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFF LL_USART_IsActiveFlag_RXFF
  3469. 3227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3470. 3228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3471. 3229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3472. 3230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFF(const USART_TypeDef *USARTx)
  3473. 3231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3474. 3232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFF) == (USART_ISR_RXFF)) ? 1UL : 0UL);
  3475. 3233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3476. 3234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3477. 3235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3478. 3236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Flag is set or not
  3479. 3237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TCBGT LL_USART_IsActiveFlag_TCBGT
  3480. 3238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3481. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 61
  3482. 3239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3483. 3240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3484. 3241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TCBGT(const USART_TypeDef *USARTx)
  3485. 3242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3486. 3243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TCBGT) == (USART_ISR_TCBGT)) ? 1UL : 0UL);
  3487. 3244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3488. 3245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3489. 3246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3490. 3247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Threshold Flag is set or not
  3491. 3248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3492. 3249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3493. 3250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFT LL_USART_IsActiveFlag_TXFT
  3494. 3251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3495. 3252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3496. 3253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3497. 3254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFT(const USART_TypeDef *USARTx)
  3498. 3255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3499. 3256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFT) == (USART_ISR_TXFT)) ? 1UL : 0UL);
  3500. 3257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3501. 3258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3502. 3259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3503. 3260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Threshold Flag is set or not
  3504. 3261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3505. 3262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3506. 3263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFT LL_USART_IsActiveFlag_RXFT
  3507. 3264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3508. 3265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  3509. 3266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3510. 3267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFT(const USART_TypeDef *USARTx)
  3511. 3268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3512. 3269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFT) == (USART_ISR_RXFT)) ? 1UL : 0UL);
  3513. 3270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3514. 3271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3515. 3272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3516. 3273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Parity Error Flag
  3517. 3274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR PECF LL_USART_ClearFlag_PE
  3518. 3275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3519. 3276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3520. 3277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3521. 3278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_PE(USART_TypeDef *USARTx)
  3522. 3279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3523. 3280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_PECF);
  3524. 3281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3525. 3282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3526. 3283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3527. 3284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Framing Error Flag
  3528. 3285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR FECF LL_USART_ClearFlag_FE
  3529. 3286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3530. 3287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3531. 3288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3532. 3289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_FE(USART_TypeDef *USARTx)
  3533. 3290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3534. 3291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_FECF);
  3535. 3292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3536. 3293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3537. 3294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3538. 3295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Noise Error detected Flag
  3539. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 62
  3540. 3296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR NECF LL_USART_ClearFlag_NE
  3541. 3297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3542. 3298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3543. 3299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3544. 3300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_NE(USART_TypeDef *USARTx)
  3545. 3301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3546. 3302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_NECF);
  3547. 3303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3548. 3304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3549. 3305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3550. 3306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear OverRun Error Flag
  3551. 3307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR ORECF LL_USART_ClearFlag_ORE
  3552. 3308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3553. 3309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3554. 3310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3555. 3311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_ORE(USART_TypeDef *USARTx)
  3556. 3312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3557. 193 .loc 1 3312 1
  3558. 194 .cfi_startproc
  3559. 195 @ args = 0, pretend = 0, frame = 8
  3560. 196 @ frame_needed = 1, uses_anonymous_args = 0
  3561. 197 0000 80B5 push {r7, lr}
  3562. 198 .LCFI9:
  3563. 199 .cfi_def_cfa_offset 8
  3564. 200 .cfi_offset 7, -8
  3565. 201 .cfi_offset 14, -4
  3566. 202 0002 82B0 sub sp, sp, #8
  3567. 203 .LCFI10:
  3568. 204 .cfi_def_cfa_offset 16
  3569. 205 0004 00AF add r7, sp, #0
  3570. 206 .LCFI11:
  3571. 207 .cfi_def_cfa_register 7
  3572. 208 0006 7860 str r0, [r7, #4]
  3573. 3313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_ORECF);
  3574. 209 .loc 1 3313 3
  3575. 210 0008 7B68 ldr r3, [r7, #4]
  3576. 211 000a 0822 movs r2, #8
  3577. 212 000c 1A62 str r2, [r3, #32]
  3578. 3314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3579. 213 .loc 1 3314 1
  3580. 214 000e C046 nop
  3581. 215 0010 BD46 mov sp, r7
  3582. 216 0012 02B0 add sp, sp, #8
  3583. 217 @ sp needed
  3584. 218 0014 80BD pop {r7, pc}
  3585. 219 .cfi_endproc
  3586. 220 .LFE607:
  3587. 222 .section .text.LL_USART_ClearFlag_TC,"ax",%progbits
  3588. 223 .align 1
  3589. 224 .syntax unified
  3590. 225 .code 16
  3591. 226 .thumb_func
  3592. 228 LL_USART_ClearFlag_TC:
  3593. 229 .LFB610:
  3594. 3315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3595. 3316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3596. 3317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear IDLE line detected Flag
  3597. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 63
  3598. 3318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR IDLECF LL_USART_ClearFlag_IDLE
  3599. 3319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3600. 3320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3601. 3321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3602. 3322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_IDLE(USART_TypeDef *USARTx)
  3603. 3323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3604. 3324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_IDLECF);
  3605. 3325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3606. 3326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3607. 3327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3608. 3328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear TX FIFO Empty Flag
  3609. 3329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3610. 3330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3611. 3331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TXFECF LL_USART_ClearFlag_TXFE
  3612. 3332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3613. 3333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3614. 3334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3615. 3335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TXFE(USART_TypeDef *USARTx)
  3616. 3336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3617. 3337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TXFECF);
  3618. 3338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3619. 3339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3620. 3340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3621. 3341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Transmission Complete Flag
  3622. 3342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCCF LL_USART_ClearFlag_TC
  3623. 3343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3624. 3344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3625. 3345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3626. 3346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TC(USART_TypeDef *USARTx)
  3627. 3347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3628. 230 .loc 1 3347 1
  3629. 231 .cfi_startproc
  3630. 232 @ args = 0, pretend = 0, frame = 8
  3631. 233 @ frame_needed = 1, uses_anonymous_args = 0
  3632. 234 0000 80B5 push {r7, lr}
  3633. 235 .LCFI12:
  3634. 236 .cfi_def_cfa_offset 8
  3635. 237 .cfi_offset 7, -8
  3636. 238 .cfi_offset 14, -4
  3637. 239 0002 82B0 sub sp, sp, #8
  3638. 240 .LCFI13:
  3639. 241 .cfi_def_cfa_offset 16
  3640. 242 0004 00AF add r7, sp, #0
  3641. 243 .LCFI14:
  3642. 244 .cfi_def_cfa_register 7
  3643. 245 0006 7860 str r0, [r7, #4]
  3644. 3348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCCF);
  3645. 246 .loc 1 3348 3
  3646. 247 0008 7B68 ldr r3, [r7, #4]
  3647. 248 000a 4022 movs r2, #64
  3648. 249 000c 1A62 str r2, [r3, #32]
  3649. 3349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3650. 250 .loc 1 3349 1
  3651. 251 000e C046 nop
  3652. 252 0010 BD46 mov sp, r7
  3653. 253 0012 02B0 add sp, sp, #8
  3654. 254 @ sp needed
  3655. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 64
  3656. 255 0014 80BD pop {r7, pc}
  3657. 256 .cfi_endproc
  3658. 257 .LFE610:
  3659. 259 .section .text.LL_USART_EnableIT_RXNE_RXFNE,"ax",%progbits
  3660. 260 .align 1
  3661. 261 .syntax unified
  3662. 262 .code 16
  3663. 263 .thumb_func
  3664. 265 LL_USART_EnableIT_RXNE_RXFNE:
  3665. 266 .LFB620:
  3666. 3350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3667. 3351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3668. 3352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Smartcard Transmission Complete Before Guard Time Flag
  3669. 3353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCBGTCF LL_USART_ClearFlag_TCBGT
  3670. 3354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3671. 3355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3672. 3356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3673. 3357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TCBGT(USART_TypeDef *USARTx)
  3674. 3358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3675. 3359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCBGTCF);
  3676. 3360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3677. 3361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3678. 3362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3679. 3363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear LIN Break Detection Flag
  3680. 3364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  3681. 3365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  3682. 3366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR LBDCF LL_USART_ClearFlag_LBD
  3683. 3367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3684. 3368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3685. 3369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3686. 3370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_LBD(USART_TypeDef *USARTx)
  3687. 3371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3688. 3372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_LBDCF);
  3689. 3373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3690. 3374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3691. 3375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3692. 3376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear CTS Interrupt Flag
  3693. 3377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  3694. 3378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  3695. 3379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CTSCF LL_USART_ClearFlag_nCTS
  3696. 3380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3697. 3381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3698. 3382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3699. 3383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_nCTS(USART_TypeDef *USARTx)
  3700. 3384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3701. 3385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CTSCF);
  3702. 3386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3703. 3387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3704. 3388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3705. 3389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Receiver Time Out Flag
  3706. 3390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR RTOCF LL_USART_ClearFlag_RTO
  3707. 3391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3708. 3392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3709. 3393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3710. 3394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_RTO(USART_TypeDef *USARTx)
  3711. 3395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3712. 3396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_RTOCF);
  3713. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 65
  3714. 3397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3715. 3398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3716. 3399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3717. 3400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear End Of Block Flag
  3718. 3401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  3719. 3402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  3720. 3403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR EOBCF LL_USART_ClearFlag_EOB
  3721. 3404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3722. 3405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3723. 3406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3724. 3407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_EOB(USART_TypeDef *USARTx)
  3725. 3408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3726. 3409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_EOBCF);
  3727. 3410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3728. 3411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3729. 3412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3730. 3413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear SPI Slave Underrun Flag
  3731. 3414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not
  3732. 3415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
  3733. 3416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR UDRCF LL_USART_ClearFlag_UDR
  3734. 3417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3735. 3418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3736. 3419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3737. 3420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_UDR(USART_TypeDef *USARTx)
  3738. 3421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3739. 3422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_UDRCF);
  3740. 3423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3741. 3424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3742. 3425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3743. 3426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Character Match Flag
  3744. 3427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CMCF LL_USART_ClearFlag_CM
  3745. 3428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3746. 3429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3747. 3430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3748. 3431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_CM(USART_TypeDef *USARTx)
  3749. 3432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3750. 3433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CMCF);
  3751. 3434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3752. 3435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3753. 3436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3754. 3437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Wake Up from stop mode Flag
  3755. 3438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  3756. 3439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  3757. 3440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR WUCF LL_USART_ClearFlag_WKUP
  3758. 3441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3759. 3442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3760. 3443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3761. 3444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_WKUP(USART_TypeDef *USARTx)
  3762. 3445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3763. 3446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_WUCF);
  3764. 3447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3765. 3448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3766. 3449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3767. 3450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  3768. 3451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3769. 3452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3770. 3453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_IT_Management IT_Management
  3771. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 66
  3772. 3454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  3773. 3455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3774. 3456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3775. 3457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3776. 3458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IDLE Interrupt
  3777. 3459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_EnableIT_IDLE
  3778. 3460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3779. 3461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3780. 3462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3781. 3463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx)
  3782. 3464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3783. 3465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_IDLEIE);
  3784. 3466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  3785. 3467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3786. 3468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_RXNE LL_USART_EnableIT_RXNE_RXFNE /* Redefinition for legacy purpose */
  3787. 3469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  3788. 3470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  3789. 3471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX Not Empty and RX FIFO Not Empty Interrupt
  3790. 3472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  3791. 3473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  3792. 3474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_EnableIT_RXNE_RXFNE
  3793. 3475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  3794. 3476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  3795. 3477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  3796. 3478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
  3797. 3479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  3798. 267 .loc 1 3479 1
  3799. 268 .cfi_startproc
  3800. 269 @ args = 0, pretend = 0, frame = 24
  3801. 270 @ frame_needed = 1, uses_anonymous_args = 0
  3802. 271 0000 80B5 push {r7, lr}
  3803. 272 .LCFI15:
  3804. 273 .cfi_def_cfa_offset 8
  3805. 274 .cfi_offset 7, -8
  3806. 275 .cfi_offset 14, -4
  3807. 276 0002 86B0 sub sp, sp, #24
  3808. 277 .LCFI16:
  3809. 278 .cfi_def_cfa_offset 32
  3810. 279 0004 00AF add r7, sp, #0
  3811. 280 .LCFI17:
  3812. 281 .cfi_def_cfa_register 7
  3813. 282 0006 7860 str r0, [r7, #4]
  3814. 283 .LBB30:
  3815. 284 .LBB31:
  3816. 285 .LBB32:
  3817. 286 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
  3818. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  3819. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  3820. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  3821. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.2.0
  3822. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 08. May 2019
  3823. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  3824. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  3825. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2019 Arm Limited. All rights reserved.
  3826. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3827. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  3828. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3829. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 67
  3830. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  3831. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  3832. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  3833. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3834. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  3835. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3836. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  3837. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  3838. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  3839. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  3840. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  3841. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3842. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3843. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  3844. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  3845. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3846. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  3847. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3848. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  3849. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  3850. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  3851. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3852. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  3853. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  3854. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  3855. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3856. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3857. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  3858. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  3859. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  3860. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3861. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  3862. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  3863. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3864. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  3865. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  3866. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3867. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  3868. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  3869. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3870. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  3871. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  3872. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3873. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  3874. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  3875. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3876. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  3877. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  3878. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3879. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  3880. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  3881. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3882. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  3883. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  3884. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3885. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  3886. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  3887. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 68
  3888. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3889. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  3890. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3891. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3892. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3893. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  3894. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3895. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  3896. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3897. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  3898. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3899. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3900. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3901. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  3902. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3903. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  3904. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3905. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  3906. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3907. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3908. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3909. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  3910. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3911. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  3912. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3913. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  3914. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3915. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3916. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3917. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  3918. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3919. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  3920. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3921. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  3922. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3923. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3924. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3925. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  3926. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3927. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  3928. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3929. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  3930. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  3931. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3932. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  3933. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  3934. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3935. 116:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __COMPILER_BARRIER
  3936. 117:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
  3937. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3938. 119:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3939. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ######################### Startup and Lowlevel Init ######################## */
  3940. 121:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3941. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PROGRAM_START
  3942. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3943. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3944. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Initializes data and bss sections
  3945. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 69
  3946. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details This default implementations initialized all data and additional bss
  3947. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** sections relying on .copy.table and .zero.table specified properly
  3948. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** in the used linker script.
  3949. 129:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3950. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3951. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE __NO_RETURN void __cmsis_start(void)
  3952. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3953. 133:Drivers/CMSIS/Include/cmsis_gcc.h **** extern void _start(void) __NO_RETURN;
  3954. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3955. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
  3956. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t const* src;
  3957. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
  3958. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
  3959. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** } __copy_table_t;
  3960. 140:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3961. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
  3962. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
  3963. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
  3964. 144:Drivers/CMSIS/Include/cmsis_gcc.h **** } __zero_table_t;
  3965. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3966. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_start__;
  3967. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_end__;
  3968. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_start__;
  3969. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_end__;
  3970. 150:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3971. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable
  3972. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
  3973. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = pTable->src[i];
  3974. 154:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3975. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3976. 156:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3977. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable
  3978. 158:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
  3979. 159:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = 0u;
  3980. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3981. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3982. 162:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3983. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** _start();
  3984. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3985. 165:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3986. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PROGRAM_START __cmsis_start
  3987. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3988. 168:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3989. 169:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INITIAL_SP
  3990. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INITIAL_SP __StackTop
  3991. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3992. 172:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3993. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STACK_LIMIT
  3994. 174:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STACK_LIMIT __StackLimit
  3995. 175:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3996. 176:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3997. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE
  3998. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE __Vectors
  3999. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4000. 180:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4001. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE_ATTRIBUTE
  4002. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section(".vectors")))
  4003. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 70
  4004. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4005. 184:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4006. 185:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  4007. 186:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  4008. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  4009. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  4010. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4011. 190:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4012. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4013. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  4014. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  4015. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  4016. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4017. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  4018. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4019. 198:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  4020. 199:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4021. 200:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4022. 201:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4023. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4024. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  4025. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  4026. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  4027. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4028. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  4029. 208:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4030. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  4031. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4032. 211:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4033. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4034. 213:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4035. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  4036. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  4037. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  4038. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4039. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  4040. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4041. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4042. 221:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4043. 222:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  4044. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4045. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4046. 225:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4047. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4048. 227:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4049. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4050. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  4051. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  4052. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  4053. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4054. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  4055. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4056. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4057. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4058. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  4059. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4060. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4061. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 71
  4062. 240:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4063. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4064. 242:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4065. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4066. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  4067. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  4068. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  4069. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4070. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  4071. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4072. 250:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  4073. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4074. 252:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4075. 253:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4076. 254:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4077. 255:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4078. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  4079. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  4080. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  4081. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4082. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  4083. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4084. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  4085. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4086. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4087. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4088. 266:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4089. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4090. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  4091. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  4092. 270:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  4093. 271:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4094. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  4095. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4096. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4097. 275:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4098. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  4099. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4100. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4101. 279:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4102. 280:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4103. 281:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4104. 282:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  4105. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  4106. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  4107. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4108. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  4109. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4110. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4111. 289:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4112. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  4113. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4114. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4115. 293:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4116. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4117. 295:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4118. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  4119. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 72
  4120. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  4121. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  4122. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4123. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  4124. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4125. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4126. 303:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4127. 304:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  4128. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4129. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4130. 307:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4131. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4132. 309:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4133. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  4134. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  4135. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  4136. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4137. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  4138. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4139. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4140. 317:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4141. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  4142. 319:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4143. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4144. 321:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4145. 322:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4146. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4147. 324:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4148. 325:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  4149. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  4150. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  4151. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4152. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  4153. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4154. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4155. 332:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4156. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  4157. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4158. 335:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4159. 336:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4160. 337:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4161. 338:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4162. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4163. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  4164. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  4165. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  4166. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4167. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  4168. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4169. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  4170. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4171. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4172. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4173. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4174. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4175. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  4176. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  4177. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 73
  4178. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  4179. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4180. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  4181. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4182. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  4183. 359:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4184. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4185. 361:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4186. 362:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4187. 363:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4188. 364:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  4189. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  4190. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  4191. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4192. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  4193. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4194. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4195. 371:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4196. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  4197. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4198. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4199. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4200. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4201. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4202. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4203. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  4204. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  4205. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  4206. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4207. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  4208. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4209. 385:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4210. 386:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4211. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  4212. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4213. 389:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4214. 390:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4215. 391:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4216. 392:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4217. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4218. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  4219. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  4220. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  4221. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4222. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  4223. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4224. 400:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  4225. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4226. 402:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4227. 403:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4228. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4229. 405:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4230. 406:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  4231. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  4232. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  4233. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4234. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  4235. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 74
  4236. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4237. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  4238. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4239. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4240. 415:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4241. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4242. 417:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4243. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4244. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  4245. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  4246. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  4247. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4248. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  4249. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4250. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4251. 426:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4252. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  4253. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4254. 429:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4255. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4256. 431:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4257. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4258. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  4259. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  4260. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  4261. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4262. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  4263. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4264. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  4265. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4266. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4267. 442:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4268. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4269. 444:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4270. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  4271. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  4272. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  4273. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4274. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  4275. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4276. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4277. 452:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4278. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  4279. 287 .loc 2 453 3
  4280. 288 .syntax divided
  4281. 289 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4282. 290 0008 EFF31083 MRS r3, primask
  4283. 291 @ 0 "" 2
  4284. 292 .thumb
  4285. 293 .syntax unified
  4286. 294 000c BB60 str r3, [r7, #8]
  4287. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4288. 295 .loc 2 454 9
  4289. 296 000e BB68 ldr r3, [r7, #8]
  4290. 297 .LBE32:
  4291. 298 .LBE31:
  4292. 3480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
  4293. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 75
  4294. 299 .loc 1 3480 3
  4295. 300 0010 7B61 str r3, [r7, #20]
  4296. 301 0012 0123 movs r3, #1
  4297. 302 0014 FB60 str r3, [r7, #12]
  4298. 303 .LBB33:
  4299. 304 .LBB34:
  4300. 455:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4301. 456:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4302. 457:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4303. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4304. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4305. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  4306. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  4307. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  4308. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4309. 464:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  4310. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4311. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4312. 467:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4313. 468:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  4314. 469:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4315. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4316. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4317. 472:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4318. 473:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4319. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4320. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  4321. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  4322. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  4323. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4324. 479:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  4325. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4326. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  4327. 305 .loc 2 481 3
  4328. 306 0016 FB68 ldr r3, [r7, #12]
  4329. 307 .syntax divided
  4330. 308 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4331. 309 0018 83F31088 MSR primask, r3
  4332. 310 @ 0 "" 2
  4333. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4334. 311 .loc 2 482 1
  4335. 312 .thumb
  4336. 313 .syntax unified
  4337. 314 001c C046 nop
  4338. 315 .LBE34:
  4339. 316 .LBE33:
  4340. 317 .loc 1 3480 3
  4341. 318 001e 7B68 ldr r3, [r7, #4]
  4342. 319 0020 1B68 ldr r3, [r3]
  4343. 320 0022 2022 movs r2, #32
  4344. 321 0024 1A43 orrs r2, r3
  4345. 322 0026 7B68 ldr r3, [r7, #4]
  4346. 323 0028 1A60 str r2, [r3]
  4347. 324 002a 7B69 ldr r3, [r7, #20]
  4348. 325 002c 3B61 str r3, [r7, #16]
  4349. 326 .LBB35:
  4350. 327 .LBB36:
  4351. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 76
  4352. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4353. 328 .loc 2 481 3
  4354. 329 002e 3B69 ldr r3, [r7, #16]
  4355. 330 .syntax divided
  4356. 331 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4357. 332 0030 83F31088 MSR primask, r3
  4358. 333 @ 0 "" 2
  4359. 334 .loc 2 482 1
  4360. 335 .thumb
  4361. 336 .syntax unified
  4362. 337 0034 C046 nop
  4363. 338 .LBE36:
  4364. 339 .LBE35:
  4365. 340 .LBE30:
  4366. 3481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4367. 341 .loc 1 3481 1
  4368. 342 0036 C046 nop
  4369. 343 0038 BD46 mov sp, r7
  4370. 344 003a 06B0 add sp, sp, #24
  4371. 345 @ sp needed
  4372. 346 003c 80BD pop {r7, pc}
  4373. 347 .cfi_endproc
  4374. 348 .LFE620:
  4375. 350 .section .text.LL_USART_DisableIT_RXNE_RXFNE,"ax",%progbits
  4376. 351 .align 1
  4377. 352 .syntax unified
  4378. 353 .code 16
  4379. 354 .thumb_func
  4380. 356 LL_USART_DisableIT_RXNE_RXFNE:
  4381. 357 .LFB637:
  4382. 3482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4383. 3483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4384. 3484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Transmission Complete Interrupt
  4385. 3485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_EnableIT_TC
  4386. 3486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4387. 3487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4388. 3488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4389. 3489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx)
  4390. 3490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4391. 3491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TCIE);
  4392. 3492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4393. 3493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4394. 3494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_TXE LL_USART_EnableIT_TXE_TXFNF /* Redefinition for legacy purpose */
  4395. 3495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4396. 3496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4397. 3497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX Empty and TX FIFO Not Full Interrupt
  4398. 3498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4399. 3499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4400. 3500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_EnableIT_TXE_TXFNF
  4401. 3501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4402. 3502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4403. 3503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4404. 3504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXE_TXFNF(USART_TypeDef *USARTx)
  4405. 3505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4406. 3506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
  4407. 3507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4408. 3508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4409. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 77
  4410. 3509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4411. 3510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Parity Error Interrupt
  4412. 3511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_EnableIT_PE
  4413. 3512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4414. 3513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4415. 3514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4416. 3515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_PE(USART_TypeDef *USARTx)
  4417. 3516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4418. 3517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_PEIE);
  4419. 3518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4420. 3519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4421. 3520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4422. 3521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Character Match Interrupt
  4423. 3522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_EnableIT_CM
  4424. 3523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4425. 3524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4426. 3525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4427. 3526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CM(USART_TypeDef *USARTx)
  4428. 3527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4429. 3528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_CMIE);
  4430. 3529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4431. 3530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4432. 3531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4433. 3532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout Interrupt
  4434. 3533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_EnableIT_RTO
  4435. 3534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4436. 3535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4437. 3536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4438. 3537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RTO(USART_TypeDef *USARTx)
  4439. 3538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4440. 3539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RTOIE);
  4441. 3540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4442. 3541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4443. 3542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4444. 3543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable End Of Block Interrupt
  4445. 3544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4446. 3545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4447. 3546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_EnableIT_EOB
  4448. 3547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4449. 3548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4450. 3549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4451. 3550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_EOB(USART_TypeDef *USARTx)
  4452. 3551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4453. 3552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_EOBIE);
  4454. 3553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4455. 3554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4456. 3555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4457. 3556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Empty Interrupt
  4458. 3557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4459. 3558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4460. 3559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_EnableIT_TXFE
  4461. 3560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4462. 3561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4463. 3562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4464. 3563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFE(USART_TypeDef *USARTx)
  4465. 3564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4466. 3565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXFEIE);
  4467. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 78
  4468. 3566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4469. 3567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4470. 3568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4471. 3569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Full Interrupt
  4472. 3570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_EnableIT_RXFF
  4473. 3571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4474. 3572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4475. 3573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4476. 3574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFF(USART_TypeDef *USARTx)
  4477. 3575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4478. 3576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXFFIE);
  4479. 3577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4480. 3578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4481. 3579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4482. 3580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN Break Detection Interrupt
  4483. 3581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  4484. 3582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  4485. 3583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_EnableIT_LBD
  4486. 3584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4487. 3585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4488. 3586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4489. 3587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_LBD(USART_TypeDef *USARTx)
  4490. 3588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4491. 3589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LBDIE);
  4492. 3590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4493. 3591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4494. 3592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4495. 3593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Error Interrupt
  4496. 3594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a fram
  4497. 3595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_ISR register).
  4498. 3596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
  4499. 3597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_ISR register.
  4500. 3598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_EnableIT_ERROR
  4501. 3599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4502. 3600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4503. 3601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4504. 3602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx)
  4505. 3603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4506. 3604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_EIE);
  4507. 3605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4508. 3606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4509. 3607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4510. 3608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS Interrupt
  4511. 3609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  4512. 3610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  4513. 3611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_EnableIT_CTS
  4514. 3612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4515. 3613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4516. 3614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4517. 3615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx)
  4518. 3616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4519. 3617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_CTSIE);
  4520. 3618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4521. 3619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4522. 3620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4523. 3621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Wake Up from Stop Mode Interrupt
  4524. 3622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  4525. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 79
  4526. 3623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  4527. 3624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_EnableIT_WKUP
  4528. 3625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4529. 3626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4530. 3627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4531. 3628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_WKUP(USART_TypeDef *USARTx)
  4532. 3629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4533. 3630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_WUFIE);
  4534. 3631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4535. 3632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4536. 3633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4537. 3634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Threshold Interrupt
  4538. 3635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4539. 3636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4540. 3637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_EnableIT_TXFT
  4541. 3638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4542. 3639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4543. 3640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4544. 3641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFT(USART_TypeDef *USARTx)
  4545. 3642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4546. 3643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TXFTIE);
  4547. 3644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4548. 3645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4549. 3646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4550. 3647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard Transmission Complete Before Guard Time Interrupt
  4551. 3648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4552. 3649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4553. 3650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_EnableIT_TCBGT
  4554. 3651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4555. 3652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4556. 3653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4557. 3654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TCBGT(USART_TypeDef *USARTx)
  4558. 3655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4559. 3656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
  4560. 3657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4561. 3658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4562. 3659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4563. 3660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Threshold Interrupt
  4564. 3661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4565. 3662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4566. 3663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_EnableIT_RXFT
  4567. 3664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4568. 3665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4569. 3666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4570. 3667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFT(USART_TypeDef *USARTx)
  4571. 3668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4572. 3669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_RXFTIE);
  4573. 3670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4574. 3671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4575. 3672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4576. 3673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IDLE Interrupt
  4577. 3674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_DisableIT_IDLE
  4578. 3675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4579. 3676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4580. 3677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4581. 3678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx)
  4582. 3679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4583. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 80
  4584. 3680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE);
  4585. 3681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4586. 3682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4587. 3683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_RXNE LL_USART_DisableIT_RXNE_RXFNE /* Redefinition for legacy purpose *
  4588. 3684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4589. 3685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4590. 3686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX Not Empty and RX FIFO Not Empty Interrupt
  4591. 3687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4592. 3688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4593. 3689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_DisableIT_RXNE_RXFNE
  4594. 3690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4595. 3691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4596. 3692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4597. 3693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
  4598. 3694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4599. 358 .loc 1 3694 1
  4600. 359 .cfi_startproc
  4601. 360 @ args = 0, pretend = 0, frame = 24
  4602. 361 @ frame_needed = 1, uses_anonymous_args = 0
  4603. 362 0000 80B5 push {r7, lr}
  4604. 363 .LCFI18:
  4605. 364 .cfi_def_cfa_offset 8
  4606. 365 .cfi_offset 7, -8
  4607. 366 .cfi_offset 14, -4
  4608. 367 0002 86B0 sub sp, sp, #24
  4609. 368 .LCFI19:
  4610. 369 .cfi_def_cfa_offset 32
  4611. 370 0004 00AF add r7, sp, #0
  4612. 371 .LCFI20:
  4613. 372 .cfi_def_cfa_register 7
  4614. 373 0006 7860 str r0, [r7, #4]
  4615. 374 .LBB37:
  4616. 375 .LBB38:
  4617. 376 .LBB39:
  4618. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4619. 377 .loc 2 453 3
  4620. 378 .syntax divided
  4621. 379 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4622. 380 0008 EFF31083 MRS r3, primask
  4623. 381 @ 0 "" 2
  4624. 382 .thumb
  4625. 383 .syntax unified
  4626. 384 000c BB60 str r3, [r7, #8]
  4627. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4628. 385 .loc 2 454 9
  4629. 386 000e BB68 ldr r3, [r7, #8]
  4630. 387 .LBE39:
  4631. 388 .LBE38:
  4632. 3695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
  4633. 389 .loc 1 3695 3
  4634. 390 0010 7B61 str r3, [r7, #20]
  4635. 391 0012 0123 movs r3, #1
  4636. 392 0014 FB60 str r3, [r7, #12]
  4637. 393 .LBB40:
  4638. 394 .LBB41:
  4639. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4640. 395 .loc 2 481 3
  4641. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 81
  4642. 396 0016 FB68 ldr r3, [r7, #12]
  4643. 397 .syntax divided
  4644. 398 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4645. 399 0018 83F31088 MSR primask, r3
  4646. 400 @ 0 "" 2
  4647. 401 .loc 2 482 1
  4648. 402 .thumb
  4649. 403 .syntax unified
  4650. 404 001c C046 nop
  4651. 405 .LBE41:
  4652. 406 .LBE40:
  4653. 407 .loc 1 3695 3
  4654. 408 001e 7B68 ldr r3, [r7, #4]
  4655. 409 0020 1B68 ldr r3, [r3]
  4656. 410 0022 2022 movs r2, #32
  4657. 411 0024 9343 bics r3, r2
  4658. 412 0026 1A00 movs r2, r3
  4659. 413 0028 7B68 ldr r3, [r7, #4]
  4660. 414 002a 1A60 str r2, [r3]
  4661. 415 002c 7B69 ldr r3, [r7, #20]
  4662. 416 002e 3B61 str r3, [r7, #16]
  4663. 417 .LBB42:
  4664. 418 .LBB43:
  4665. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4666. 419 .loc 2 481 3
  4667. 420 0030 3B69 ldr r3, [r7, #16]
  4668. 421 .syntax divided
  4669. 422 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4670. 423 0032 83F31088 MSR primask, r3
  4671. 424 @ 0 "" 2
  4672. 425 .loc 2 482 1
  4673. 426 .thumb
  4674. 427 .syntax unified
  4675. 428 0036 C046 nop
  4676. 429 .LBE43:
  4677. 430 .LBE42:
  4678. 431 .LBE37:
  4679. 3696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4680. 432 .loc 1 3696 1
  4681. 433 0038 C046 nop
  4682. 434 003a BD46 mov sp, r7
  4683. 435 003c 06B0 add sp, sp, #24
  4684. 436 @ sp needed
  4685. 437 003e 80BD pop {r7, pc}
  4686. 438 .cfi_endproc
  4687. 439 .LFE637:
  4688. 441 .section .text.LL_USART_DisableIT_TC,"ax",%progbits
  4689. 442 .align 1
  4690. 443 .syntax unified
  4691. 444 .code 16
  4692. 445 .thumb_func
  4693. 447 LL_USART_DisableIT_TC:
  4694. 448 .LFB638:
  4695. 3697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4696. 3698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4697. 3699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Transmission Complete Interrupt
  4698. 3700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_DisableIT_TC
  4699. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 82
  4700. 3701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4701. 3702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4702. 3703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4703. 3704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx)
  4704. 3705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4705. 449 .loc 1 3705 1
  4706. 450 .cfi_startproc
  4707. 451 @ args = 0, pretend = 0, frame = 24
  4708. 452 @ frame_needed = 1, uses_anonymous_args = 0
  4709. 453 0000 80B5 push {r7, lr}
  4710. 454 .LCFI21:
  4711. 455 .cfi_def_cfa_offset 8
  4712. 456 .cfi_offset 7, -8
  4713. 457 .cfi_offset 14, -4
  4714. 458 0002 86B0 sub sp, sp, #24
  4715. 459 .LCFI22:
  4716. 460 .cfi_def_cfa_offset 32
  4717. 461 0004 00AF add r7, sp, #0
  4718. 462 .LCFI23:
  4719. 463 .cfi_def_cfa_register 7
  4720. 464 0006 7860 str r0, [r7, #4]
  4721. 465 .LBB44:
  4722. 466 .LBB45:
  4723. 467 .LBB46:
  4724. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4725. 468 .loc 2 453 3
  4726. 469 .syntax divided
  4727. 470 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4728. 471 0008 EFF31083 MRS r3, primask
  4729. 472 @ 0 "" 2
  4730. 473 .thumb
  4731. 474 .syntax unified
  4732. 475 000c BB60 str r3, [r7, #8]
  4733. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4734. 476 .loc 2 454 9
  4735. 477 000e BB68 ldr r3, [r7, #8]
  4736. 478 .LBE46:
  4737. 479 .LBE45:
  4738. 3706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE);
  4739. 480 .loc 1 3706 3
  4740. 481 0010 7B61 str r3, [r7, #20]
  4741. 482 0012 0123 movs r3, #1
  4742. 483 0014 FB60 str r3, [r7, #12]
  4743. 484 .LBB47:
  4744. 485 .LBB48:
  4745. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4746. 486 .loc 2 481 3
  4747. 487 0016 FB68 ldr r3, [r7, #12]
  4748. 488 .syntax divided
  4749. 489 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4750. 490 0018 83F31088 MSR primask, r3
  4751. 491 @ 0 "" 2
  4752. 492 .loc 2 482 1
  4753. 493 .thumb
  4754. 494 .syntax unified
  4755. 495 001c C046 nop
  4756. 496 .LBE48:
  4757. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 83
  4758. 497 .LBE47:
  4759. 498 .loc 1 3706 3
  4760. 499 001e 7B68 ldr r3, [r7, #4]
  4761. 500 0020 1B68 ldr r3, [r3]
  4762. 501 0022 4022 movs r2, #64
  4763. 502 0024 9343 bics r3, r2
  4764. 503 0026 1A00 movs r2, r3
  4765. 504 0028 7B68 ldr r3, [r7, #4]
  4766. 505 002a 1A60 str r2, [r3]
  4767. 506 002c 7B69 ldr r3, [r7, #20]
  4768. 507 002e 3B61 str r3, [r7, #16]
  4769. 508 .LBB49:
  4770. 509 .LBB50:
  4771. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4772. 510 .loc 2 481 3
  4773. 511 0030 3B69 ldr r3, [r7, #16]
  4774. 512 .syntax divided
  4775. 513 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4776. 514 0032 83F31088 MSR primask, r3
  4777. 515 @ 0 "" 2
  4778. 516 .loc 2 482 1
  4779. 517 .thumb
  4780. 518 .syntax unified
  4781. 519 0036 C046 nop
  4782. 520 .LBE50:
  4783. 521 .LBE49:
  4784. 522 .LBE44:
  4785. 3707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4786. 523 .loc 1 3707 1
  4787. 524 0038 C046 nop
  4788. 525 003a BD46 mov sp, r7
  4789. 526 003c 06B0 add sp, sp, #24
  4790. 527 @ sp needed
  4791. 528 003e 80BD pop {r7, pc}
  4792. 529 .cfi_endproc
  4793. 530 .LFE638:
  4794. 532 .section .text.LL_USART_DisableIT_ERROR,"ax",%progbits
  4795. 533 .align 1
  4796. 534 .syntax unified
  4797. 535 .code 16
  4798. 536 .thumb_func
  4799. 538 LL_USART_DisableIT_ERROR:
  4800. 539 .LFB647:
  4801. 3708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4802. 3709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_TXE LL_USART_DisableIT_TXE_TXFNF /* Redefinition for legacy purpose */
  4803. 3710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4804. 3711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4805. 3712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX Empty and TX FIFO Not Full Interrupt
  4806. 3713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4807. 3714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4808. 3715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_DisableIT_TXE_TXFNF
  4809. 3716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4810. 3717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4811. 3718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4812. 3719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXE_TXFNF(USART_TypeDef *USARTx)
  4813. 3720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4814. 3721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
  4815. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 84
  4816. 3722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4817. 3723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4818. 3724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4819. 3725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Parity Error Interrupt
  4820. 3726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_DisableIT_PE
  4821. 3727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4822. 3728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4823. 3729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4824. 3730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_PE(USART_TypeDef *USARTx)
  4825. 3731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4826. 3732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE);
  4827. 3733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4828. 3734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4829. 3735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4830. 3736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Character Match Interrupt
  4831. 3737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_DisableIT_CM
  4832. 3738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4833. 3739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4834. 3740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4835. 3741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CM(USART_TypeDef *USARTx)
  4836. 3742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4837. 3743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_CMIE);
  4838. 3744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4839. 3745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4840. 3746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4841. 3747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout Interrupt
  4842. 3748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_DisableIT_RTO
  4843. 3749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4844. 3750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4845. 3751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4846. 3752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RTO(USART_TypeDef *USARTx)
  4847. 3753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4848. 3754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RTOIE);
  4849. 3755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4850. 3756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4851. 3757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4852. 3758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable End Of Block Interrupt
  4853. 3759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  4854. 3760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  4855. 3761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_DisableIT_EOB
  4856. 3762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4857. 3763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4858. 3764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4859. 3765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_EOB(USART_TypeDef *USARTx)
  4860. 3766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4861. 3767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_EOBIE);
  4862. 3768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4863. 3769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4864. 3770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4865. 3771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Empty Interrupt
  4866. 3772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4867. 3773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4868. 3774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_DisableIT_TXFE
  4869. 3775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4870. 3776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4871. 3777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4872. 3778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFE(USART_TypeDef *USARTx)
  4873. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 85
  4874. 3779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4875. 3780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXFEIE);
  4876. 3781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4877. 3782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4878. 3783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4879. 3784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Full Interrupt
  4880. 3785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  4881. 3786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  4882. 3787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_DisableIT_RXFF
  4883. 3788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4884. 3789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4885. 3790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4886. 3791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFF(USART_TypeDef *USARTx)
  4887. 3792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4888. 3793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXFFIE);
  4889. 3794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4890. 3795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4891. 3796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4892. 3797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN Break Detection Interrupt
  4893. 3798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  4894. 3799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  4895. 3800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_DisableIT_LBD
  4896. 3801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4897. 3802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4898. 3803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4899. 3804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_LBD(USART_TypeDef *USARTx)
  4900. 3805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4901. 3806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LBDIE);
  4902. 3807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4903. 3808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  4904. 3809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  4905. 3810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Error Interrupt
  4906. 3811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a fram
  4907. 3812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_ISR register).
  4908. 3813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
  4909. 3814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_ISR register.
  4910. 3815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_DisableIT_ERROR
  4911. 3816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  4912. 3817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  4913. 3818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  4914. 3819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx)
  4915. 3820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  4916. 540 .loc 1 3820 1
  4917. 541 .cfi_startproc
  4918. 542 @ args = 0, pretend = 0, frame = 24
  4919. 543 @ frame_needed = 1, uses_anonymous_args = 0
  4920. 544 0000 80B5 push {r7, lr}
  4921. 545 .LCFI24:
  4922. 546 .cfi_def_cfa_offset 8
  4923. 547 .cfi_offset 7, -8
  4924. 548 .cfi_offset 14, -4
  4925. 549 0002 86B0 sub sp, sp, #24
  4926. 550 .LCFI25:
  4927. 551 .cfi_def_cfa_offset 32
  4928. 552 0004 00AF add r7, sp, #0
  4929. 553 .LCFI26:
  4930. 554 .cfi_def_cfa_register 7
  4931. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 86
  4932. 555 0006 7860 str r0, [r7, #4]
  4933. 556 .LBB51:
  4934. 557 .LBB52:
  4935. 558 .LBB53:
  4936. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4937. 559 .loc 2 453 3
  4938. 560 .syntax divided
  4939. 561 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4940. 562 0008 EFF31083 MRS r3, primask
  4941. 563 @ 0 "" 2
  4942. 564 .thumb
  4943. 565 .syntax unified
  4944. 566 000c BB60 str r3, [r7, #8]
  4945. 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4946. 567 .loc 2 454 9
  4947. 568 000e BB68 ldr r3, [r7, #8]
  4948. 569 .LBE53:
  4949. 570 .LBE52:
  4950. 3821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_EIE);
  4951. 571 .loc 1 3821 3
  4952. 572 0010 7B61 str r3, [r7, #20]
  4953. 573 0012 0123 movs r3, #1
  4954. 574 0014 FB60 str r3, [r7, #12]
  4955. 575 .LBB54:
  4956. 576 .LBB55:
  4957. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4958. 577 .loc 2 481 3
  4959. 578 0016 FB68 ldr r3, [r7, #12]
  4960. 579 .syntax divided
  4961. 580 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4962. 581 0018 83F31088 MSR primask, r3
  4963. 582 @ 0 "" 2
  4964. 583 .loc 2 482 1
  4965. 584 .thumb
  4966. 585 .syntax unified
  4967. 586 001c C046 nop
  4968. 587 .LBE55:
  4969. 588 .LBE54:
  4970. 589 .loc 1 3821 3
  4971. 590 001e 7B68 ldr r3, [r7, #4]
  4972. 591 0020 9B68 ldr r3, [r3, #8]
  4973. 592 0022 0122 movs r2, #1
  4974. 593 0024 9343 bics r3, r2
  4975. 594 0026 1A00 movs r2, r3
  4976. 595 0028 7B68 ldr r3, [r7, #4]
  4977. 596 002a 9A60 str r2, [r3, #8]
  4978. 597 002c 7B69 ldr r3, [r7, #20]
  4979. 598 002e 3B61 str r3, [r7, #16]
  4980. 599 .LBB56:
  4981. 600 .LBB57:
  4982. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4983. 601 .loc 2 481 3
  4984. 602 0030 3B69 ldr r3, [r7, #16]
  4985. 603 .syntax divided
  4986. 604 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4987. 605 0032 83F31088 MSR primask, r3
  4988. 606 @ 0 "" 2
  4989. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 87
  4990. 607 .loc 2 482 1
  4991. 608 .thumb
  4992. 609 .syntax unified
  4993. 610 0036 C046 nop
  4994. 611 .LBE57:
  4995. 612 .LBE56:
  4996. 613 .LBE51:
  4997. 3822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  4998. 614 .loc 1 3822 1
  4999. 615 0038 C046 nop
  5000. 616 003a BD46 mov sp, r7
  5001. 617 003c 06B0 add sp, sp, #24
  5002. 618 @ sp needed
  5003. 619 003e 80BD pop {r7, pc}
  5004. 620 .cfi_endproc
  5005. 621 .LFE647:
  5006. 623 .section .text.LL_USART_IsEnabledIT_RXNE_RXFNE,"ax",%progbits
  5007. 624 .align 1
  5008. 625 .syntax unified
  5009. 626 .code 16
  5010. 627 .thumb_func
  5011. 629 LL_USART_IsEnabledIT_RXNE_RXFNE:
  5012. 630 .LFB654:
  5013. 3823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5014. 3824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5015. 3825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS Interrupt
  5016. 3826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  5017. 3827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  5018. 3828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_DisableIT_CTS
  5019. 3829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5020. 3830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5021. 3831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5022. 3832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx)
  5023. 3833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5024. 3834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE);
  5025. 3835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5026. 3836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5027. 3837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5028. 3838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Wake Up from Stop Mode Interrupt
  5029. 3839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  5030. 3840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  5031. 3841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_DisableIT_WKUP
  5032. 3842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5033. 3843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5034. 3844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5035. 3845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_WKUP(USART_TypeDef *USARTx)
  5036. 3846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5037. 3847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_WUFIE);
  5038. 3848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5039. 3849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5040. 3850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5041. 3851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Threshold Interrupt
  5042. 3852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5043. 3853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5044. 3854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_DisableIT_TXFT
  5045. 3855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5046. 3856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5047. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 88
  5048. 3857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5049. 3858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFT(USART_TypeDef *USARTx)
  5050. 3859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5051. 3860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TXFTIE);
  5052. 3861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5053. 3862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5054. 3863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5055. 3864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard Transmission Complete Before Guard Time Interrupt
  5056. 3865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  5057. 3866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  5058. 3867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_DisableIT_TCBGT
  5059. 3868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5060. 3869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5061. 3870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5062. 3871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TCBGT(USART_TypeDef *USARTx)
  5063. 3872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5064. 3873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
  5065. 3874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5066. 3875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5067. 3876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5068. 3877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Threshold Interrupt
  5069. 3878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5070. 3879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5071. 3880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_DisableIT_RXFT
  5072. 3881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5073. 3882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5074. 3883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5075. 3884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFT(USART_TypeDef *USARTx)
  5076. 3885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5077. 3886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_RXFTIE);
  5078. 3887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5079. 3888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5080. 3889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5081. 3890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE Interrupt source is enabled or disabled.
  5082. 3891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_IsEnabledIT_IDLE
  5083. 3892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5084. 3893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5085. 3894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5086. 3895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(const USART_TypeDef *USARTx)
  5087. 3896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5088. 3897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)) ? 1UL : 0UL);
  5089. 3898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5090. 3899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5091. 3900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_RXNE LL_USART_IsEnabledIT_RXNE_RXFNE /* Redefinition for legacy purpo
  5092. 3901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5093. 3902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5094. 3903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX Not Empty and USART RX FIFO Not Empty Interrupt is enabled or dis
  5095. 3904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5096. 3905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5097. 3906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_IsEnabledIT_RXNE_RXFNE
  5098. 3907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5099. 3908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5100. 3909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5101. 3910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE_RXFNE(const USART_TypeDef *USARTx)
  5102. 3911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5103. 631 .loc 1 3911 1
  5104. 632 .cfi_startproc
  5105. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 89
  5106. 633 @ args = 0, pretend = 0, frame = 8
  5107. 634 @ frame_needed = 1, uses_anonymous_args = 0
  5108. 635 0000 80B5 push {r7, lr}
  5109. 636 .LCFI27:
  5110. 637 .cfi_def_cfa_offset 8
  5111. 638 .cfi_offset 7, -8
  5112. 639 .cfi_offset 14, -4
  5113. 640 0002 82B0 sub sp, sp, #8
  5114. 641 .LCFI28:
  5115. 642 .cfi_def_cfa_offset 16
  5116. 643 0004 00AF add r7, sp, #0
  5117. 644 .LCFI29:
  5118. 645 .cfi_def_cfa_register 7
  5119. 646 0006 7860 str r0, [r7, #4]
  5120. 3912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE) == (USART_CR1_RXNEIE_RXFNEIE)) ? 1UL : 0
  5121. 647 .loc 1 3912 12
  5122. 648 0008 7B68 ldr r3, [r7, #4]
  5123. 649 000a 1B68 ldr r3, [r3]
  5124. 650 000c 2022 movs r2, #32
  5125. 651 000e 1340 ands r3, r2
  5126. 652 .loc 1 3912 97
  5127. 653 0010 202B cmp r3, #32
  5128. 654 0012 01D1 bne .L24
  5129. 655 .loc 1 3912 97 is_stmt 0 discriminator 1
  5130. 656 0014 0123 movs r3, #1
  5131. 657 0016 00E0 b .L26
  5132. 658 .L24:
  5133. 659 .loc 1 3912 97 discriminator 2
  5134. 660 0018 0023 movs r3, #0
  5135. 661 .L26:
  5136. 3913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5137. 662 .loc 1 3913 1 is_stmt 1 discriminator 5
  5138. 663 001a 1800 movs r0, r3
  5139. 664 001c BD46 mov sp, r7
  5140. 665 001e 02B0 add sp, sp, #8
  5141. 666 @ sp needed
  5142. 667 0020 80BD pop {r7, pc}
  5143. 668 .cfi_endproc
  5144. 669 .LFE654:
  5145. 671 .section .text.LL_USART_IsEnabledIT_TC,"ax",%progbits
  5146. 672 .align 1
  5147. 673 .syntax unified
  5148. 674 .code 16
  5149. 675 .thumb_func
  5150. 677 LL_USART_IsEnabledIT_TC:
  5151. 678 .LFB655:
  5152. 3914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5153. 3915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5154. 3916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Interrupt is enabled or disabled.
  5155. 3917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_IsEnabledIT_TC
  5156. 3918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5157. 3919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5158. 3920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5159. 3921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(const USART_TypeDef *USARTx)
  5160. 3922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5161. 679 .loc 1 3922 1
  5162. 680 .cfi_startproc
  5163. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 90
  5164. 681 @ args = 0, pretend = 0, frame = 8
  5165. 682 @ frame_needed = 1, uses_anonymous_args = 0
  5166. 683 0000 80B5 push {r7, lr}
  5167. 684 .LCFI30:
  5168. 685 .cfi_def_cfa_offset 8
  5169. 686 .cfi_offset 7, -8
  5170. 687 .cfi_offset 14, -4
  5171. 688 0002 82B0 sub sp, sp, #8
  5172. 689 .LCFI31:
  5173. 690 .cfi_def_cfa_offset 16
  5174. 691 0004 00AF add r7, sp, #0
  5175. 692 .LCFI32:
  5176. 693 .cfi_def_cfa_register 7
  5177. 694 0006 7860 str r0, [r7, #4]
  5178. 3923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)) ? 1UL : 0UL);
  5179. 695 .loc 1 3923 12
  5180. 696 0008 7B68 ldr r3, [r7, #4]
  5181. 697 000a 1B68 ldr r3, [r3]
  5182. 698 000c 4022 movs r2, #64
  5183. 699 000e 1340 ands r3, r2
  5184. 700 .loc 1 3923 77
  5185. 701 0010 402B cmp r3, #64
  5186. 702 0012 01D1 bne .L28
  5187. 703 .loc 1 3923 77 is_stmt 0 discriminator 1
  5188. 704 0014 0123 movs r3, #1
  5189. 705 0016 00E0 b .L30
  5190. 706 .L28:
  5191. 707 .loc 1 3923 77 discriminator 2
  5192. 708 0018 0023 movs r3, #0
  5193. 709 .L30:
  5194. 3924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5195. 710 .loc 1 3924 1 is_stmt 1 discriminator 5
  5196. 711 001a 1800 movs r0, r3
  5197. 712 001c BD46 mov sp, r7
  5198. 713 001e 02B0 add sp, sp, #8
  5199. 714 @ sp needed
  5200. 715 0020 80BD pop {r7, pc}
  5201. 716 .cfi_endproc
  5202. 717 .LFE655:
  5203. 719 .section .text.LL_USART_ReceiveData8,"ax",%progbits
  5204. 720 .align 1
  5205. 721 .syntax unified
  5206. 722 .code 16
  5207. 723 .thumb_func
  5208. 725 LL_USART_ReceiveData8:
  5209. 726 .LFB680:
  5210. 3925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5211. 3926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_TXE LL_USART_IsEnabledIT_TXE_TXFNF /* Redefinition for legacy purpose
  5212. 3927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5213. 3928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5214. 3929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX Empty and USART TX FIFO Not Full Interrupt is enabled or disabled
  5215. 3930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5216. 3931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5217. 3932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_IsEnabledIT_TXE_TXFNF
  5218. 3933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5219. 3934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5220. 3935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5221. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 91
  5222. 3936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE_TXFNF(const USART_TypeDef *USARTx)
  5223. 3937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5224. 3938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE) == (USART_CR1_TXEIE_TXFNFIE)) ? 1UL : 0UL
  5225. 3939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5226. 3940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5227. 3941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5228. 3942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Interrupt is enabled or disabled.
  5229. 3943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_IsEnabledIT_PE
  5230. 3944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5231. 3945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5232. 3946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5233. 3947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(const USART_TypeDef *USARTx)
  5234. 3948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5235. 3949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)) ? 1UL : 0UL);
  5236. 3950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5237. 3951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5238. 3952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5239. 3953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Interrupt is enabled or disabled.
  5240. 3954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_IsEnabledIT_CM
  5241. 3955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5242. 3956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5243. 3957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5244. 3958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CM(const USART_TypeDef *USARTx)
  5245. 3959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5246. 3960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_CMIE) == (USART_CR1_CMIE)) ? 1UL : 0UL);
  5247. 3961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5248. 3962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5249. 3963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5250. 3964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Timeout Interrupt is enabled or disabled.
  5251. 3965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_IsEnabledIT_RTO
  5252. 3966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5253. 3967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5254. 3968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5255. 3969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RTO(const USART_TypeDef *USARTx)
  5256. 3970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5257. 3971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RTOIE) == (USART_CR1_RTOIE)) ? 1UL : 0UL);
  5258. 3972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5259. 3973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5260. 3974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5261. 3975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Interrupt is enabled or disabled.
  5262. 3976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  5263. 3977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  5264. 3978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_IsEnabledIT_EOB
  5265. 3979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5266. 3980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5267. 3981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5268. 3982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_EOB(const USART_TypeDef *USARTx)
  5269. 3983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5270. 3984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_EOBIE) == (USART_CR1_EOBIE)) ? 1UL : 0UL);
  5271. 3985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5272. 3986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5273. 3987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5274. 3988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Interrupt is enabled or disabled
  5275. 3989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5276. 3990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5277. 3991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_IsEnabledIT_TXFE
  5278. 3992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5279. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 92
  5280. 3993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5281. 3994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5282. 3995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFE(const USART_TypeDef *USARTx)
  5283. 3996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5284. 3997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXFEIE) == (USART_CR1_TXFEIE)) ? 1UL : 0UL);
  5285. 3998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5286. 3999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5287. 4000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5288. 4001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Interrupt is enabled or disabled
  5289. 4002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5290. 4003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5291. 4004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_IsEnabledIT_RXFF
  5292. 4005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5293. 4006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5294. 4007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5295. 4008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFF(const USART_TypeDef *USARTx)
  5296. 4009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5297. 4010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXFFIE) == (USART_CR1_RXFFIE)) ? 1UL : 0UL);
  5298. 4011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5299. 4012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5300. 4013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5301. 4014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Interrupt is enabled or disabled.
  5302. 4015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not
  5303. 4016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
  5304. 4017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_IsEnabledIT_LBD
  5305. 4018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5306. 4019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5307. 4020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5308. 4021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(const USART_TypeDef *USARTx)
  5309. 4022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5310. 4023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LBDIE) == (USART_CR2_LBDIE)) ? 1UL : 0UL);
  5311. 4024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5312. 4025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5313. 4026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5314. 4027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Error Interrupt is enabled or disabled.
  5315. 4028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_IsEnabledIT_ERROR
  5316. 4029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5317. 4030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5318. 4031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5319. 4032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(const USART_TypeDef *USARTx)
  5320. 4033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5321. 4034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)) ? 1UL : 0UL);
  5322. 4035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5323. 4036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5324. 4037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5325. 4038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Interrupt is enabled or disabled.
  5326. 4039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not
  5327. 4040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
  5328. 4041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_IsEnabledIT_CTS
  5329. 4042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5330. 4043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5331. 4044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5332. 4045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(const USART_TypeDef *USARTx)
  5333. 4046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5334. 4047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)) ? 1UL : 0UL);
  5335. 4048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5336. 4049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5337. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 93
  5338. 4050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5339. 4051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Wake Up from Stop Mode Interrupt is enabled or disabled.
  5340. 4052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_WAKEUP_FROMSTOP_INSTANCE(USARTx) can be used to check whether or not
  5341. 4053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
  5342. 4054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_IsEnabledIT_WKUP
  5343. 4055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5344. 4056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5345. 4057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5346. 4058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_WKUP(const USART_TypeDef *USARTx)
  5347. 4059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5348. 4060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_WUFIE) == (USART_CR3_WUFIE)) ? 1UL : 0UL);
  5349. 4061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5350. 4062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5351. 4063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5352. 4064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART TX FIFO Threshold Interrupt is enabled or disabled
  5353. 4065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5354. 4066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5355. 4067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_IsEnabledIT_TXFT
  5356. 4068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5357. 4069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5358. 4070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5359. 4071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFT(const USART_TypeDef *USARTx)
  5360. 4072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5361. 4073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TXFTIE) == (USART_CR3_TXFTIE)) ? 1UL : 0UL);
  5362. 4074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5363. 4075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5364. 4076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5365. 4077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Interrupt is enabled or
  5366. 4078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
  5367. 4079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
  5368. 4080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_IsEnabledIT_TCBGT
  5369. 4081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5370. 4082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5371. 4083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5372. 4084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TCBGT(const USART_TypeDef *USARTx)
  5373. 4085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5374. 4086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TCBGTIE) == (USART_CR3_TCBGTIE)) ? 1UL : 0UL);
  5375. 4087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5376. 4088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5377. 4089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5378. 4090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART RX FIFO Threshold Interrupt is enabled or disabled
  5379. 4091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_UART_FIFO_INSTANCE(USARTx) can be used to check whether or not
  5380. 4092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
  5381. 4093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_IsEnabledIT_RXFT
  5382. 4094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5383. 4095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5384. 4096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5385. 4097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFT(const USART_TypeDef *USARTx)
  5386. 4098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5387. 4099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_RXFTIE) == (USART_CR3_RXFTIE)) ? 1UL : 0UL);
  5388. 4100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5389. 4101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5390. 4102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5391. 4103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  5392. 4104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5393. 4105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5394. 4106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_DMA_Management DMA_Management
  5395. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 94
  5396. 4107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  5397. 4108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5398. 4109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5399. 4110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5400. 4111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for reception
  5401. 4112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_EnableDMAReq_RX
  5402. 4113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5403. 4114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5404. 4115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5405. 4116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx)
  5406. 4117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5407. 4118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAR);
  5408. 4119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5409. 4120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5410. 4121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5411. 4122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for reception
  5412. 4123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_DisableDMAReq_RX
  5413. 4124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5414. 4125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5415. 4126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5416. 4127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx)
  5417. 4128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5418. 4129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR);
  5419. 4130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5420. 4131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5421. 4132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5422. 4133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for reception
  5423. 4134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_IsEnabledDMAReq_RX
  5424. 4135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5425. 4136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5426. 4137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5427. 4138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(const USART_TypeDef *USARTx)
  5428. 4139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5429. 4140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)) ? 1UL : 0UL);
  5430. 4141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5431. 4142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5432. 4143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5433. 4144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for transmission
  5434. 4145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_EnableDMAReq_TX
  5435. 4146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5436. 4147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5437. 4148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5438. 4149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx)
  5439. 4150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5440. 4151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAT);
  5441. 4152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5442. 4153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5443. 4154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5444. 4155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for transmission
  5445. 4156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_DisableDMAReq_TX
  5446. 4157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5447. 4158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5448. 4159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5449. 4160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx)
  5450. 4161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5451. 4162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT);
  5452. 4163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5453. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 95
  5454. 4164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5455. 4165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5456. 4166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for transmission
  5457. 4167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_IsEnabledDMAReq_TX
  5458. 4168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5459. 4169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5460. 4170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5461. 4171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(const USART_TypeDef *USARTx)
  5462. 4172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5463. 4173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)) ? 1UL : 0UL);
  5464. 4174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5465. 4175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5466. 4176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5467. 4177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Disabling on Reception Error
  5468. 4178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_EnableDMADeactOnRxErr
  5469. 4179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5470. 4180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5471. 4181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5472. 4182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr(USART_TypeDef *USARTx)
  5473. 4183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5474. 4184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DDRE);
  5475. 4185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5476. 4186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5477. 4187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5478. 4188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Disabling on Reception Error
  5479. 4189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_DisableDMADeactOnRxErr
  5480. 4190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5481. 4191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5482. 4192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5483. 4193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr(USART_TypeDef *USARTx)
  5484. 4194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5485. 4195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DDRE);
  5486. 4196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5487. 4197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5488. 4198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5489. 4199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if DMA Disabling on Reception Error is disabled
  5490. 4200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_IsEnabledDMADeactOnRxErr
  5491. 4201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5492. 4202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
  5493. 4203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5494. 4204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr(const USART_TypeDef *USARTx)
  5495. 4205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5496. 4206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DDRE) == (USART_CR3_DDRE)) ? 1UL : 0UL);
  5497. 4207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5498. 4208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5499. 4209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5500. 4210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get the data register address used for DMA transfer
  5501. 4211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_DMA_GetRegAddr\n
  5502. 4212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_DMA_GetRegAddr
  5503. 4213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5504. 4214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Direction This parameter can be one of the following values:
  5505. 4215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_TRANSMIT
  5506. 4216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_RECEIVE
  5507. 4217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of data register
  5508. 4218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5509. 4219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr(const USART_TypeDef *USARTx, uint32_t Direction)
  5510. 4220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5511. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 96
  5512. 4221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t data_reg_addr;
  5513. 4222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5514. 4223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (Direction == LL_USART_DMA_REG_DATA_TRANSMIT)
  5515. 4224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5516. 4225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of TDR register */
  5517. 4226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->TDR);
  5518. 4227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5519. 4228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
  5520. 4229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5521. 4230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of RDR register */
  5522. 4231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->RDR);
  5523. 4232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5524. 4233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5525. 4234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return data_reg_addr;
  5526. 4235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5527. 4236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5528. 4237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5529. 4238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
  5530. 4239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5531. 4240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5532. 4241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Data_Management Data_Management
  5533. 4242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
  5534. 4243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5535. 4244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5536. 4245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5537. 4246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 8 bits)
  5538. 4247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData8
  5539. 4248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5540. 4249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
  5541. 4250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5542. 4251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint8_t LL_USART_ReceiveData8(const USART_TypeDef *USARTx)
  5543. 4252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5544. 727 .loc 1 4252 1
  5545. 728 .cfi_startproc
  5546. 729 @ args = 0, pretend = 0, frame = 8
  5547. 730 @ frame_needed = 1, uses_anonymous_args = 0
  5548. 731 0000 80B5 push {r7, lr}
  5549. 732 .LCFI33:
  5550. 733 .cfi_def_cfa_offset 8
  5551. 734 .cfi_offset 7, -8
  5552. 735 .cfi_offset 14, -4
  5553. 736 0002 82B0 sub sp, sp, #8
  5554. 737 .LCFI34:
  5555. 738 .cfi_def_cfa_offset 16
  5556. 739 0004 00AF add r7, sp, #0
  5557. 740 .LCFI35:
  5558. 741 .cfi_def_cfa_register 7
  5559. 742 0006 7860 str r0, [r7, #4]
  5560. 4253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint8_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR) & 0xFFU);
  5561. 743 .loc 1 4253 20
  5562. 744 0008 7B68 ldr r3, [r7, #4]
  5563. 745 000a 5B6A ldr r3, [r3, #36]
  5564. 746 .loc 1 4253 10
  5565. 747 000c DBB2 uxtb r3, r3
  5566. 4254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5567. 748 .loc 1 4254 1
  5568. 749 000e 1800 movs r0, r3
  5569. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 97
  5570. 750 0010 BD46 mov sp, r7
  5571. 751 0012 02B0 add sp, sp, #8
  5572. 752 @ sp needed
  5573. 753 0014 80BD pop {r7, pc}
  5574. 754 .cfi_endproc
  5575. 755 .LFE680:
  5576. 757 .section .text.LL_USART_TransmitData8,"ax",%progbits
  5577. 758 .align 1
  5578. 759 .syntax unified
  5579. 760 .code 16
  5580. 761 .thumb_func
  5581. 763 LL_USART_TransmitData8:
  5582. 764 .LFB682:
  5583. 4255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5584. 4256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5585. 4257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 9 bits)
  5586. 4258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData9
  5587. 4259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5588. 4260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x1FF
  5589. 4261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5590. 4262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint16_t LL_USART_ReceiveData9(const USART_TypeDef *USARTx)
  5591. 4263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5592. 4264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint16_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR));
  5593. 4265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5594. 4266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
  5595. 4267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
  5596. 4268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write in Transmitter Data Register (Transmit Data value, 8 bits)
  5597. 4269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_TransmitData8
  5598. 4270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
  5599. 4271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Value between Min_Data=0x00 and Max_Data=0xFF
  5600. 4272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
  5601. 4273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
  5602. 4274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_TransmitData8(USART_TypeDef *USARTx, uint8_t Value)
  5603. 4275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
  5604. 765 .loc 1 4275 1
  5605. 766 .cfi_startproc
  5606. 767 @ args = 0, pretend = 0, frame = 8
  5607. 768 @ frame_needed = 1, uses_anonymous_args = 0
  5608. 769 0000 80B5 push {r7, lr}
  5609. 770 .LCFI36:
  5610. 771 .cfi_def_cfa_offset 8
  5611. 772 .cfi_offset 7, -8
  5612. 773 .cfi_offset 14, -4
  5613. 774 0002 82B0 sub sp, sp, #8
  5614. 775 .LCFI37:
  5615. 776 .cfi_def_cfa_offset 16
  5616. 777 0004 00AF add r7, sp, #0
  5617. 778 .LCFI38:
  5618. 779 .cfi_def_cfa_register 7
  5619. 780 0006 7860 str r0, [r7, #4]
  5620. 781 0008 0A00 movs r2, r1
  5621. 782 000a FB1C adds r3, r7, #3
  5622. 783 000c 1A70 strb r2, [r3]
  5623. 4276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->TDR = Value;
  5624. 784 .loc 1 4276 15
  5625. 785 000e FB1C adds r3, r7, #3
  5626. 786 0010 1A78 ldrb r2, [r3]
  5627. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 98
  5628. 787 0012 7B68 ldr r3, [r7, #4]
  5629. 788 0014 9A62 str r2, [r3, #40]
  5630. 4277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
  5631. 789 .loc 1 4277 1
  5632. 790 0016 C046 nop
  5633. 791 0018 BD46 mov sp, r7
  5634. 792 001a 02B0 add sp, sp, #8
  5635. 793 @ sp needed
  5636. 794 001c 80BD pop {r7, pc}
  5637. 795 .cfi_endproc
  5638. 796 .LFE682:
  5639. 798 .section .text.LL_APB1_GRP1_DisableClock,"ax",%progbits
  5640. 799 .align 1
  5641. 800 .syntax unified
  5642. 801 .code 16
  5643. 802 .thumb_func
  5644. 804 LL_APB1_GRP1_DisableClock:
  5645. 805 .LFB698:
  5646. 806 .file 3 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h"
  5647. 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5648. 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
  5649. 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @file stm32g0xx_ll_bus.h
  5650. 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @author MCD Application Team
  5651. 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Header file of BUS LL module.
  5652. 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5653. 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @verbatim
  5654. 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ##### RCC Limitations #####
  5655. 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ==============================================================================
  5656. 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
  5657. 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral
  5658. 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write
  5659. 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** from/to registers.
  5660. 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping.
  5661. 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary
  5662. 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5663. 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
  5664. 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** Workarounds:
  5665. 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
  5666. 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function.
  5667. 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5668. 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @endverbatim
  5669. 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
  5670. 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @attention
  5671. 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
  5672. 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * Copyright (c) 2018 STMicroelectronics.
  5673. 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * All rights reserved.
  5674. 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
  5675. 29:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * This software is licensed under terms that can be found in the LICENSE file in
  5676. 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * the root directory of this software component.
  5677. 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  5678. 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
  5679. 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5680. 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5681. 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  5682. 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifndef STM32G0xx_LL_BUS_H
  5683. 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define STM32G0xx_LL_BUS_H
  5684. 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5685. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 99
  5686. 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifdef __cplusplus
  5687. 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** extern "C" {
  5688. 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif
  5689. 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5690. 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/
  5691. 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #include "stm32g0xx.h"
  5692. 45:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5693. 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @addtogroup STM32G0xx_LL_Driver
  5694. 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5695. 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5696. 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5697. 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RCC)
  5698. 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5699. 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL BUS
  5700. 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5701. 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5702. 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5703. 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/
  5704. 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/
  5705. 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5706. 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/
  5707. 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5708. 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/
  5709. 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5710. 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/
  5711. 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/
  5712. 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants
  5713. 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5714. 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5715. 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5716. 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH
  5717. 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5718. 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5719. 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5720. 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN
  5721. 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DMA2)
  5722. 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN
  5723. 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DMA2 */
  5724. 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLASHEN
  5725. 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBSMENR_SRAMSMEN
  5726. 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRC)
  5727. 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN
  5728. 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRC */
  5729. 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(AES)
  5730. 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRYP RCC_AHBENR_AESEN
  5731. 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* AES */
  5732. 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RNG)
  5733. 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_RNG RCC_AHBENR_RNGEN
  5734. 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* RNG */
  5735. 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5736. 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5737. 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5738. 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5739. 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5740. 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH
  5741. 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5742. 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5743. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 100
  5744. 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5745. 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM2)
  5746. 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APBENR1_TIM2EN
  5747. 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM2 */
  5748. 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM3)
  5749. 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APBENR1_TIM3EN
  5750. 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM3 */
  5751. 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM4)
  5752. 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APBENR1_TIM4EN
  5753. 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM4 */
  5754. 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM6)
  5755. 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APBENR1_TIM6EN
  5756. 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM6 */
  5757. 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM7)
  5758. 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APBENR1_TIM7EN
  5759. 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM7 */
  5760. 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART2)
  5761. 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART2 RCC_APBENR1_LPUART2EN
  5762. 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART2 */
  5763. 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART5)
  5764. 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART5 RCC_APBENR1_USART5EN
  5765. 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART5 */
  5766. 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART6)
  5767. 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART6 RCC_APBENR1_USART6EN
  5768. 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART6 */
  5769. 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_RTC RCC_APBENR1_RTCAPBEN
  5770. 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APBENR1_WWDGEN
  5771. 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(FDCAN1) || defined(FDCAN2)
  5772. 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_FDCAN RCC_APBENR1_FDCANEN
  5773. 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* FDCAN1 */
  5774. 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USB_DRD_FS)
  5775. 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APBENR1_USBEN
  5776. 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USB_DRD_FS */
  5777. 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APBENR1_SPI2EN
  5778. 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(SPI3)
  5779. 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APBENR1_SPI3EN
  5780. 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* SPI3 */
  5781. 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRS)
  5782. 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CRS RCC_APBENR1_CRSEN
  5783. 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRS */
  5784. 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APBENR1_USART2EN
  5785. 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART3)
  5786. 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APBENR1_USART3EN
  5787. 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART3 */
  5788. 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART4)
  5789. 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART4 RCC_APBENR1_USART4EN
  5790. 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART4 */
  5791. 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART1)
  5792. 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART1 RCC_APBENR1_LPUART1EN
  5793. 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART1 */
  5794. 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APBENR1_I2C1EN
  5795. 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APBENR1_I2C2EN
  5796. 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(I2C3)
  5797. 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APBENR1_I2C3EN
  5798. 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* I2C3 */
  5799. 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CEC)
  5800. 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APBENR1_CECEN
  5801. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 101
  5802. 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CEC */
  5803. 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD1)
  5804. 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD1 RCC_APBENR1_UCPD1EN
  5805. 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD1 */
  5806. 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD2)
  5807. 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD2 RCC_APBENR1_UCPD2EN
  5808. 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD2 */
  5809. 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DBGMCU RCC_APBENR1_DBGEN
  5810. 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APBENR1_PWREN
  5811. 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DAC1)
  5812. 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APBENR1_DAC1EN
  5813. 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DAC1 */
  5814. 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM2)
  5815. 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM2 RCC_APBENR1_LPTIM2EN
  5816. 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM2 */
  5817. 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM1)
  5818. 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APBENR1_LPTIM1EN
  5819. 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM1 */
  5820. 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5821. 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5822. 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5823. 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5824. 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH
  5825. 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5826. 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5827. 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5828. 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APBENR2_SYSCFGEN
  5829. 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APBENR2_TIM1EN
  5830. 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APBENR2_SPI1EN
  5831. 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APBENR2_USART1EN
  5832. 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM14)
  5833. 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM14 RCC_APBENR2_TIM14EN
  5834. 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM14 */
  5835. 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM15)
  5836. 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APBENR2_TIM15EN
  5837. 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM15 */
  5838. 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM16)
  5839. 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APBENR2_TIM16EN
  5840. 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM16 */
  5841. 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM17)
  5842. 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APBENR2_TIM17EN
  5843. 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM17 */
  5844. 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(ADC)
  5845. 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC RCC_APBENR2_ADCEN
  5846. 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* ADC */
  5847. 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5848. 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5849. 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5850. 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5851. 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_IOP_GRP1_PERIPH IOP GRP1 PERIPH
  5852. 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5853. 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5854. 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_ALL 0xFFFFFFFFU
  5855. 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOA RCC_IOPENR_GPIOAEN
  5856. 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOB RCC_IOPENR_GPIOBEN
  5857. 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOC RCC_IOPENR_GPIOCEN
  5858. 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOD RCC_IOPENR_GPIODEN
  5859. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 102
  5860. 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOE)
  5861. 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOE RCC_IOPENR_GPIOEEN
  5862. 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOE */
  5863. 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOF)
  5864. 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOF RCC_IOPENR_GPIOFEN
  5865. 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOF */
  5866. 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5867. 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5868. 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5869. 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5870. 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5871. 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  5872. 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5873. 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5874. 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/
  5875. 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/
  5876. 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions
  5877. 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5878. 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5879. 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5880. 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1
  5881. 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  5882. 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5883. 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5884. 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5885. 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock.
  5886. 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n
  5887. 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_EnableClock\n
  5888. 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n
  5889. 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_EnableClock\n
  5890. 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_EnableClock
  5891. 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5892. 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5893. 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5894. 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5895. 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  5896. 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  5897. 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  5898. 248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  5899. 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5900. 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs)
  5901. 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  5902. 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
  5903. 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs);
  5904. 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  5905. 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs);
  5906. 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
  5907. 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  5908. 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5909. 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5910. 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not
  5911. 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n
  5912. 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_IsEnabledClock\n
  5913. 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n
  5914. 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_IsEnabledClock\n
  5915. 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_IsEnabledClock
  5916. 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5917. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 103
  5918. 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5919. 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5920. 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5921. 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  5922. 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  5923. 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  5924. 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  5925. 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5926. 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
  5927. 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  5928. 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->AHBENR, Periphs) == Periphs) ? 1UL : 0UL);
  5929. 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  5930. 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5931. 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5932. 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock.
  5933. 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n
  5934. 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_DisableClock\n
  5935. 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n
  5936. 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_DisableClock\n
  5937. 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_DisableClock
  5938. 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5939. 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5940. 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5941. 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5942. 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  5943. 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  5944. 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  5945. 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  5946. 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5947. 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs)
  5948. 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  5949. 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs);
  5950. 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  5951. 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5952. 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5953. 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Force AHB1 peripherals reset.
  5954. 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ForceReset\n
  5955. 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ForceReset\n
  5956. 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ForceReset\n
  5957. 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ForceReset\n
  5958. 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ForceReset
  5959. 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5960. 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
  5961. 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5962. 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5963. 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5964. 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  5965. 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  5966. 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  5967. 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  5968. 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5969. 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs)
  5970. 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  5971. 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs);
  5972. 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  5973. 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5974. 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5975. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 104
  5976. 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Release AHB1 peripherals reset.
  5977. 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ReleaseReset\n
  5978. 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ReleaseReset\n
  5979. 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n
  5980. 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ReleaseReset\n
  5981. 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ReleaseReset
  5982. 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  5983. 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
  5984. 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  5985. 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  5986. 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  5987. 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  5988. 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  5989. 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  5990. 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  5991. 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  5992. 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs)
  5993. 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  5994. 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs);
  5995. 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  5996. 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  5997. 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  5998. 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripheral clocks in Sleep and Stop modes
  5999. 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6000. 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6001. 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6002. 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6003. 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
  6004. 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_EnableClockStopSleep
  6005. 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6006. 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6007. 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6008. 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  6009. 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6010. 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6011. 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6012. 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6013. 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6014. 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6015. 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClockStopSleep(uint32_t Periphs)
  6016. 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6017. 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
  6018. 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBSMENR, Periphs);
  6019. 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  6020. 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBSMENR, Periphs);
  6021. 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
  6022. 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6023. 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6024. 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6025. 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripheral clocks in Sleep and Stop modes
  6026. 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6027. 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6028. 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6029. 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6030. 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
  6031. 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_DisableClockStopSleep
  6032. 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6033. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 105
  6034. 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
  6035. 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
  6036. 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
  6037. 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
  6038. 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
  6039. 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
  6040. 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
  6041. 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6042. 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6043. 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClockStopSleep(uint32_t Periphs)
  6044. 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6045. 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBSMENR, Periphs);
  6046. 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6047. 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6048. 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6049. 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
  6050. 397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6051. 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6052. 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1
  6053. 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
  6054. 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6055. 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6056. 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6057. 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock.
  6058. 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_EnableClock\n
  6059. 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_EnableClock\n
  6060. 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_EnableClock\n
  6061. 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_EnableClock\n
  6062. 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_EnableClock\n
  6063. 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_EnableClock\n
  6064. 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_EnableClock\n
  6065. 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_EnableClock\n
  6066. 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_EnableClock\n
  6067. 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_EnableClock\n
  6068. 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_EnableClock\n
  6069. 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_EnableClock\n
  6070. 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_EnableClock\n
  6071. 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_EnableClock\n
  6072. 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_EnableClock\n
  6073. 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_EnableClock\n
  6074. 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_EnableClock\n
  6075. 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_EnableClock\n
  6076. 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_EnableClock\n
  6077. 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_EnableClock\n
  6078. 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_EnableClock\n
  6079. 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_EnableClock\n
  6080. 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_EnableClock\n
  6081. 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_EnableClock\n
  6082. 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_EnableClock\n
  6083. 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_EnableClock\n
  6084. 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_EnableClock\n
  6085. 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_EnableClock\n
  6086. 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_EnableClock
  6087. 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6088. 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
  6089. 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  6090. 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
  6091. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 106
  6092. 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
  6093. 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
  6094. 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
  6095. 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  6096. 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
  6097. 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
  6098. 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  6099. 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
  6100. 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
  6101. 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
  6102. 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
  6103. 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
  6104. 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
  6105. 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  6106. 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
  6107. 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
  6108. 454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
  6109. 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
  6110. 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
  6111. 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
  6112. 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
  6113. 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
  6114. 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  6115. 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
  6116. 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
  6117. 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
  6118. 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
  6119. 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6120. 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6121. 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
  6122. 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6123. 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
  6124. 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->APBENR1, Periphs);
  6125. 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
  6126. 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APBENR1, Periphs);
  6127. 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
  6128. 474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6129. 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6130. 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6131. 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not
  6132. 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_IsEnabledClock\n
  6133. 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_IsEnabledClock\n
  6134. 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_IsEnabledClock\n
  6135. 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_IsEnabledClock\n
  6136. 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_IsEnabledClock\n
  6137. 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_IsEnabledClock\n
  6138. 484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_IsEnabledClock\n
  6139. 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_IsEnabledClock\n
  6140. 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_IsEnabledClock\n
  6141. 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_IsEnabledClock\n
  6142. 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_IsEnabledClock\n
  6143. 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_IsEnabledClock\n
  6144. 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_IsEnabledClock\n
  6145. 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_IsEnabledClock\n
  6146. 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_IsEnabledClock\n
  6147. 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_IsEnabledClock\n
  6148. 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_IsEnabledClock\n
  6149. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 107
  6150. 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_IsEnabledClock\n
  6151. 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_IsEnabledClock\n
  6152. 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_IsEnabledClock\n
  6153. 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_IsEnabledClock\n
  6154. 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_IsEnabledClock\n
  6155. 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_IsEnabledClock\n
  6156. 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_IsEnabledClock\n
  6157. 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_IsEnabledClock\n
  6158. 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_IsEnabledClock\n
  6159. 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_IsEnabledClock\n
  6160. 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_IsEnabledClock\n
  6161. 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_IsEnabledClock
  6162. 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6163. 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
  6164. 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  6165. 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
  6166. 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
  6167. 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
  6168. 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
  6169. 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  6170. 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
  6171. 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
  6172. 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  6173. 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
  6174. 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
  6175. 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
  6176. 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
  6177. 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
  6178. 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
  6179. 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  6180. 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
  6181. 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
  6182. 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
  6183. 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
  6184. 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
  6185. 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
  6186. 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
  6187. 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
  6188. 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  6189. 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
  6190. 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
  6191. 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
  6192. 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
  6193. 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
  6194. 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6195. 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
  6196. 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6197. 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->APBENR1, Periphs) == (Periphs)) ? 1UL : 0UL);
  6198. 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6199. 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
  6200. 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
  6201. 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock.
  6202. 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_DisableClock\n
  6203. 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_DisableClock\n
  6204. 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_DisableClock\n
  6205. 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_DisableClock\n
  6206. 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_DisableClock\n
  6207. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 108
  6208. 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_DisableClock\n
  6209. 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_DisableClock\n
  6210. 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_DisableClock\n
  6211. 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_DisableClock\n
  6212. 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_DisableClock\n
  6213. 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_DisableClock\n
  6214. 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_DisableClock\n
  6215. 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_DisableClock\n
  6216. 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_DisableClock\n
  6217. 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_DisableClock\n
  6218. 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_DisableClock\n
  6219. 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_DisableClock\n
  6220. 564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_DisableClock\n
  6221. 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_DisableClock\n
  6222. 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_DisableClock\n
  6223. 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_DisableClock\n
  6224. 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_DisableClock\n
  6225. 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_DisableClock\n
  6226. 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_DisableClock\n
  6227. 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_DisableClock\n
  6228. 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_DisableClock\n
  6229. 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_DisableClock\n
  6230. 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_DisableClock\n
  6231. 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_DisableClock
  6232. 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
  6233. 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
  6234. 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
  6235. 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
  6236. 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
  6237. 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
  6238. 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
  6239. 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
  6240. 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
  6241. 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
  6242. 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
  6243. 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
  6244. 588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
  6245. 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
  6246. 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
  6247. 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
  6248. 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
  6249. 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
  6250. 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
  6251. 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
  6252. 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
  6253. 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
  6254. 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
  6255. 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
  6256. 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
  6257. 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
  6258. 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
  6259. 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
  6260. 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
  6261. 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
  6262. 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
  6263. 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
  6264. 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
  6265. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 109
  6266. 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs)
  6267. 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
  6268. 807 .loc 3 610 1
  6269. 808 .cfi_startproc
  6270. 809 @ args = 0, pretend = 0, frame = 8
  6271. 810 @ frame_needed = 1, uses_anonymous_args = 0
  6272. 811 0000 80B5 push {r7, lr}
  6273. 812 .LCFI39:
  6274. 813 .cfi_def_cfa_offset 8
  6275. 814 .cfi_offset 7, -8
  6276. 815 .cfi_offset 14, -4
  6277. 816 0002 82B0 sub sp, sp, #8
  6278. 817 .LCFI40:
  6279. 818 .cfi_def_cfa_offset 16
  6280. 819 0004 00AF add r7, sp, #0
  6281. 820 .LCFI41:
  6282. 821 .cfi_def_cfa_register 7
  6283. 822 0006 7860 str r0, [r7, #4]
  6284. 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->APBENR1, Periphs);
  6285. 823 .loc 3 611 3
  6286. 824 0008 054B ldr r3, .L35
  6287. 825 000a DA6B ldr r2, [r3, #60]
  6288. 826 000c 7B68 ldr r3, [r7, #4]
  6289. 827 000e D943 mvns r1, r3
  6290. 828 0010 034B ldr r3, .L35
  6291. 829 0012 0A40 ands r2, r1
  6292. 830 0014 DA63 str r2, [r3, #60]
  6293. 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
  6294. 831 .loc 3 612 1
  6295. 832 0016 C046 nop
  6296. 833 0018 BD46 mov sp, r7
  6297. 834 001a 02B0 add sp, sp, #8
  6298. 835 @ sp needed
  6299. 836 001c 80BD pop {r7, pc}
  6300. 837 .L36:
  6301. 838 001e C046 .align 2
  6302. 839 .L35:
  6303. 840 0020 00100240 .word 1073876992
  6304. 841 .cfi_endproc
  6305. 842 .LFE698:
  6306. 844 .global rtu_ctx
  6307. 845 .section .bss.rtu_ctx,"aw",%nobits
  6308. 846 .align 2
  6309. 849 rtu_ctx:
  6310. 850 0000 00000000 .space 232
  6311. 850 00000000
  6312. 850 00000000
  6313. 850 00000000
  6314. 850 00000000
  6315. 851 .section .bss.rtu_last_wakeup_hour,"aw",%nobits
  6316. 854 rtu_last_wakeup_hour:
  6317. 855 0000 00 .space 1
  6318. 856 .section .rodata
  6319. 857 .align 2
  6320. 858 .LC0:
  6321. 859 0000 72747500 .ascii "rtu\000"
  6322. 860 .section .text.rtu_init,"ax",%progbits
  6323. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 110
  6324. 861 .align 1
  6325. 862 .global rtu_init
  6326. 863 .syntax unified
  6327. 864 .code 16
  6328. 865 .thumb_func
  6329. 867 rtu_init:
  6330. 868 .LFB939:
  6331. 869 .file 4 "User/rtu.c"
  6332. 1:User/rtu.c **** #include "rtu.h"
  6333. 2:User/rtu.c **** #include "para.h"
  6334. 3:User/rtu.c **** #include "main.h"
  6335. 4:User/rtu.c **** #include "usart.h"
  6336. 5:User/rtu.c **** #include "pm.h"
  6337. 6:User/rtu.c **** #include "rtu.h"
  6338. 7:User/rtu.c **** #include "usart.h"
  6339. 8:User/rtu.c **** #include "crc.h"
  6340. 9:User/rtu.c **** #include "rec.h"
  6341. 10:User/rtu.c **** #include "string.h"
  6342. 11:User/rtu.c **** #include "app_rtc.h"
  6343. 12:User/rtu.c **** #include "sensor.h"
  6344. 13:User/rtu.c **** #include "ymodem.h"
  6345. 14:User/rtu.c ****
  6346. 15:User/rtu.c **** #define diff_abs(a, b) ((a > b) ? (a - b) : (b - a))
  6347. 16:User/rtu.c ****
  6348. 17:User/rtu.c **** #define CMD_STATUS_REQ 0x01 // 状�查询
  6349. 18:User/rtu.c **** #define CMD_UPLOAD_REC 0x02 // 上传记录
  6350. 19:User/rtu.c **** #define CMD_TIME_SYNC 0x03 // æ ¡æ—¶
  6351. 20:User/rtu.c **** #define CMD_PARA_SYNC 0x04 // �数�步
  6352. 21:User/rtu.c **** #define CMD_GET_REALTIME 0x05 // 获�实时数�
  6353. 22:User/rtu.c **** #define CMD_POWERDOWN_NOTICE 0x06 // 通知�将掉电
  6354. 23:User/rtu.c **** #define CMD_OTA_START 0x07 // 本地串� YMODEM �级
  6355. 24:User/rtu.c ****
  6356. 25:User/rtu.c **** typedef enum
  6357. 26:User/rtu.c **** {
  6358. 27:User/rtu.c **** RTU_STA_IDLE,
  6359. 28:User/rtu.c **** RTU_STA_GET_STATUS,
  6360. 29:User/rtu.c **** RTU_STA_CHK_ONLINE,
  6361. 30:User/rtu.c **** RTU_STA_CHK_PARA,
  6362. 31:User/rtu.c **** RTU_STA_CHK_OTA,
  6363. 32:User/rtu.c **** RTU_STA_TIME_SYNC,
  6364. 33:User/rtu.c **** RTU_STA_SND_REC,
  6365. 34:User/rtu.c **** RTU_STA_WAIT_RESP,
  6366. 35:User/rtu.c **** RTU_STA_WAIT_READY,
  6367. 36:User/rtu.c **** RTU_STA_NOTYIFY_POWER_DOWN
  6368. 37:User/rtu.c **** } rtu_sta_t;
  6369. 38:User/rtu.c ****
  6370. 39:User/rtu.c **** struct
  6371. 40:User/rtu.c **** {
  6372. 41:User/rtu.c **** uint8_t trig_src; // 0:计划 1:按键
  6373. 42:User/rtu.c **** rtu_sta_t tsk_sta;
  6374. 43:User/rtu.c **** rtu_sta_t next_sta;
  6375. 44:User/rtu.c **** uint8_t last_cmd;
  6376. 45:User/rtu.c **** uint32_t running_timer; // 总�行时间定时器
  6377. 46:User/rtu.c **** uint32_t tsk_timer;
  6378. 47:User/rtu.c **** uint32_t tsk_tmo;
  6379. 48:User/rtu.c **** int rx_len;
  6380. 49:User/rtu.c **** uint32_t rx_timer;
  6381. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 111
  6382. 50:User/rtu.c **** uint8_t rx_buf[128];
  6383. 51:User/rtu.c **** int online;
  6384. 52:User/rtu.c **** int ota_ongoing;
  6385. 53:User/rtu.c **** int time_syncd;
  6386. 54:User/rtu.c **** int ota_chked;
  6387. 55:User/rtu.c **** int para_chked;
  6388. 56:User/rtu.c **** int photo_ongoing;
  6389. 57:User/rtu.c **** int rec_ongoing;
  6390. 58:User/rtu.c **** uint8_t power_down_ongoing;
  6391. 59:User/rtu.c **** uint8_t power_down_cnt; // 切断rtu电�的倒计时,��秒
  6392. 60:User/rtu.c **** struct
  6393. 61:User/rtu.c **** {
  6394. 62:User/rtu.c **** uint16_t count;
  6395. 63:User/rtu.c **** uint16_t index[24];
  6396. 64:User/rtu.c **** } rec_pack;
  6397. 65:User/rtu.c **** } rtu_ctx;
  6398. 66:User/rtu.c **** static uint8_t rtu_last_wakeup_hour = 0;
  6399. 67:User/rtu.c ****
  6400. 68:User/rtu.c **** void rtu_init(uint8_t trig_src)
  6401. 69:User/rtu.c **** {
  6402. 870 .loc 4 69 1
  6403. 871 .cfi_startproc
  6404. 872 @ args = 0, pretend = 0, frame = 8
  6405. 873 @ frame_needed = 1, uses_anonymous_args = 0
  6406. 874 0000 80B5 push {r7, lr}
  6407. 875 .LCFI42:
  6408. 876 .cfi_def_cfa_offset 8
  6409. 877 .cfi_offset 7, -8
  6410. 878 .cfi_offset 14, -4
  6411. 879 0002 82B0 sub sp, sp, #8
  6412. 880 .LCFI43:
  6413. 881 .cfi_def_cfa_offset 16
  6414. 882 0004 00AF add r7, sp, #0
  6415. 883 .LCFI44:
  6416. 884 .cfi_def_cfa_register 7
  6417. 885 0006 0200 movs r2, r0
  6418. 886 0008 FB1D adds r3, r7, #7
  6419. 887 000a 1A70 strb r2, [r3]
  6420. 70:User/rtu.c **** if (pm_get_lock("rtu") < 0)
  6421. 888 .loc 4 70 9
  6422. 889 000c 184B ldr r3, .L41
  6423. 890 000e 1800 movs r0, r3
  6424. 891 0010 FFF7FEFF bl pm_get_lock
  6425. 892 0014 031E subs r3, r0, #0
  6426. 893 .loc 4 70 8
  6427. 894 0016 27DB blt .L40
  6428. 71:User/rtu.c **** {
  6429. 72:User/rtu.c **** return;
  6430. 73:User/rtu.c **** }
  6431. 74:User/rtu.c **** memset(&rtu_ctx, 0, sizeof(rtu_ctx));
  6432. 895 .loc 4 74 5
  6433. 896 0018 164B ldr r3, .L41+4
  6434. 897 001a E822 movs r2, #232
  6435. 898 001c 0021 movs r1, #0
  6436. 899 001e 1800 movs r0, r3
  6437. 900 0020 FFF7FEFF bl memset
  6438. 75:User/rtu.c ****
  6439. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 112
  6440. 76:User/rtu.c **** MX_USART2_UART_Init();
  6441. 901 .loc 4 76 5
  6442. 902 0024 FFF7FEFF bl MX_USART2_UART_Init
  6443. 77:User/rtu.c **** LL_USART_EnableIT_RXNE(COM_RTU);
  6444. 903 .loc 4 77 5
  6445. 904 0028 134B ldr r3, .L41+8
  6446. 905 002a 1800 movs r0, r3
  6447. 906 002c FFF7FEFF bl LL_USART_EnableIT_RXNE_RXFNE
  6448. 78:User/rtu.c ****
  6449. 79:User/rtu.c **** // 打开电�
  6450. 80:User/rtu.c **** HAL_GPIO_WritePin(PWR_RTU_GPIO_Port, PWR_RTU_Pin, GPIO_PIN_SET);
  6451. 907 .loc 4 80 5
  6452. 908 0030 A023 movs r3, #160
  6453. 909 0032 DB05 lsls r3, r3, #23
  6454. 910 0034 0122 movs r2, #1
  6455. 911 0036 0121 movs r1, #1
  6456. 912 0038 1800 movs r0, r3
  6457. 913 003a FFF7FEFF bl HAL_GPIO_WritePin
  6458. 81:User/rtu.c ****
  6459. 82:User/rtu.c **** rtu_ctx.running_timer = HAL_GetTick();
  6460. 914 .loc 4 82 29
  6461. 915 003e FFF7FEFF bl HAL_GetTick
  6462. 916 0042 0200 movs r2, r0
  6463. 917 .loc 4 82 27
  6464. 918 0044 0B4B ldr r3, .L41+4
  6465. 919 0046 5A60 str r2, [r3, #4]
  6466. 83:User/rtu.c ****
  6467. 84:User/rtu.c **** // 暂时�处�ota
  6468. 85:User/rtu.c **** rtu_ctx.ota_chked = 1;
  6469. 920 .loc 4 85 23
  6470. 921 0048 0A4B ldr r3, .L41+4
  6471. 922 004a A422 movs r2, #164
  6472. 923 004c 0121 movs r1, #1
  6473. 924 004e 9950 str r1, [r3, r2]
  6474. 86:User/rtu.c **** rtu_ctx.ota_ongoing = 0;
  6475. 925 .loc 4 86 25
  6476. 926 0050 084B ldr r3, .L41+4
  6477. 927 0052 9C22 movs r2, #156
  6478. 928 0054 0021 movs r1, #0
  6479. 929 0056 9950 str r1, [r3, r2]
  6480. 87:User/rtu.c ****
  6481. 88:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
  6482. 930 .loc 4 88 21
  6483. 931 0058 064B ldr r3, .L41+4
  6484. 932 005a 0122 movs r2, #1
  6485. 933 005c 5A70 strb r2, [r3, #1]
  6486. 89:User/rtu.c ****
  6487. 90:User/rtu.c **** rtu_ctx.trig_src = trig_src;
  6488. 934 .loc 4 90 22
  6489. 935 005e 054B ldr r3, .L41+4
  6490. 936 0060 FA1D adds r2, r7, #7
  6491. 937 0062 1278 ldrb r2, [r2]
  6492. 938 0064 1A70 strb r2, [r3]
  6493. 939 0066 00E0 b .L37
  6494. 940 .L40:
  6495. 72:User/rtu.c **** }
  6496. 941 .loc 4 72 9
  6497. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 113
  6498. 942 0068 C046 nop
  6499. 943 .L37:
  6500. 91:User/rtu.c **** }
  6501. 944 .loc 4 91 1
  6502. 945 006a BD46 mov sp, r7
  6503. 946 006c 02B0 add sp, sp, #8
  6504. 947 @ sp needed
  6505. 948 006e 80BD pop {r7, pc}
  6506. 949 .L42:
  6507. 950 .align 2
  6508. 951 .L41:
  6509. 952 0070 00000000 .word .LC0
  6510. 953 0074 00000000 .word rtu_ctx
  6511. 954 0078 00440040 .word 1073759232
  6512. 955 .cfi_endproc
  6513. 956 .LFE939:
  6514. 958 .section .text.rtu_deinit,"ax",%progbits
  6515. 959 .align 1
  6516. 960 .global rtu_deinit
  6517. 961 .syntax unified
  6518. 962 .code 16
  6519. 963 .thumb_func
  6520. 965 rtu_deinit:
  6521. 966 .LFB940:
  6522. 92:User/rtu.c ****
  6523. 93:User/rtu.c **** void rtu_deinit(void)
  6524. 94:User/rtu.c **** {
  6525. 967 .loc 4 94 1
  6526. 968 .cfi_startproc
  6527. 969 @ args = 0, pretend = 0, frame = 24
  6528. 970 @ frame_needed = 1, uses_anonymous_args = 0
  6529. 971 0000 80B5 push {r7, lr}
  6530. 972 .LCFI45:
  6531. 973 .cfi_def_cfa_offset 8
  6532. 974 .cfi_offset 7, -8
  6533. 975 .cfi_offset 14, -4
  6534. 976 0002 86B0 sub sp, sp, #24
  6535. 977 .LCFI46:
  6536. 978 .cfi_def_cfa_offset 32
  6537. 979 0004 00AF add r7, sp, #0
  6538. 980 .LCFI47:
  6539. 981 .cfi_def_cfa_register 7
  6540. 95:User/rtu.c **** // 关闭rtu电�
  6541. 96:User/rtu.c **** HAL_GPIO_WritePin(PWR_RTU_GPIO_Port, PWR_RTU_Pin, GPIO_PIN_RESET);
  6542. 982 .loc 4 96 5
  6543. 983 0006 A023 movs r3, #160
  6544. 984 0008 DB05 lsls r3, r3, #23
  6545. 985 000a 0022 movs r2, #0
  6546. 986 000c 0121 movs r1, #1
  6547. 987 000e 1800 movs r0, r3
  6548. 988 0010 FFF7FEFF bl HAL_GPIO_WritePin
  6549. 97:User/rtu.c ****
  6550. 98:User/rtu.c **** // 关闭所使用到的外设
  6551. 99:User/rtu.c **** LL_USART_DisableIT_RXNE(COM_RTU);
  6552. 989 .loc 4 99 5
  6553. 990 0014 154B ldr r3, .L44
  6554. 991 0016 1800 movs r0, r3
  6555. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 114
  6556. 992 0018 FFF7FEFF bl LL_USART_DisableIT_RXNE_RXFNE
  6557. 100:User/rtu.c **** LL_USART_DeInit(COM_RTU);
  6558. 993 .loc 4 100 5
  6559. 994 001c 134B ldr r3, .L44
  6560. 995 001e 1800 movs r0, r3
  6561. 996 0020 FFF7FEFF bl LL_USART_DeInit
  6562. 101:User/rtu.c **** LL_APB1_GRP1_DisableClock(LL_APB1_GRP1_PERIPH_USART2);
  6563. 997 .loc 4 101 5
  6564. 998 0024 8023 movs r3, #128
  6565. 999 0026 9B02 lsls r3, r3, #10
  6566. 1000 0028 1800 movs r0, r3
  6567. 1001 002a FFF7FEFF bl LL_APB1_GRP1_DisableClock
  6568. 102:User/rtu.c ****
  6569. 103:User/rtu.c **** // 串�输入设置为模拟输入
  6570. 104:User/rtu.c **** LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
  6571. 1002 .loc 4 104 25
  6572. 1003 002e 3B00 movs r3, r7
  6573. 1004 0030 1800 movs r0, r3
  6574. 1005 0032 1823 movs r3, #24
  6575. 1006 0034 1A00 movs r2, r3
  6576. 1007 0036 0021 movs r1, #0
  6577. 1008 0038 FFF7FEFF bl memset
  6578. 105:User/rtu.c **** GPIO_InitStruct.Pin = LL_GPIO_PIN_2 | LL_GPIO_PIN_3;
  6579. 1009 .loc 4 105 25
  6580. 1010 003c 3B00 movs r3, r7
  6581. 1011 003e 0C22 movs r2, #12
  6582. 1012 0040 1A60 str r2, [r3]
  6583. 106:User/rtu.c **** GPIO_InitStruct.Mode = LL_GPIO_MODE_ANALOG;
  6584. 1013 .loc 4 106 26
  6585. 1014 0042 3B00 movs r3, r7
  6586. 1015 0044 0322 movs r2, #3
  6587. 1016 0046 5A60 str r2, [r3, #4]
  6588. 107:User/rtu.c **** LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  6589. 1017 .loc 4 107 5
  6590. 1018 0048 3A00 movs r2, r7
  6591. 1019 004a A023 movs r3, #160
  6592. 1020 004c DB05 lsls r3, r3, #23
  6593. 1021 004e 1100 movs r1, r2
  6594. 1022 0050 1800 movs r0, r3
  6595. 1023 0052 FFF7FEFF bl LL_GPIO_Init
  6596. 108:User/rtu.c ****
  6597. 109:User/rtu.c **** // 释放功耗�
  6598. 110:User/rtu.c **** pm_release_lock("rtu");
  6599. 1024 .loc 4 110 5
  6600. 1025 0056 064B ldr r3, .L44+4
  6601. 1026 0058 1800 movs r0, r3
  6602. 1027 005a FFF7FEFF bl pm_release_lock
  6603. 111:User/rtu.c ****
  6604. 112:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_IDLE;
  6605. 1028 .loc 4 112 21
  6606. 1029 005e 054B ldr r3, .L44+8
  6607. 1030 0060 0022 movs r2, #0
  6608. 1031 0062 5A70 strb r2, [r3, #1]
  6609. 113:User/rtu.c **** }
  6610. 1032 .loc 4 113 1
  6611. 1033 0064 C046 nop
  6612. 1034 0066 BD46 mov sp, r7
  6613. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 115
  6614. 1035 0068 06B0 add sp, sp, #24
  6615. 1036 @ sp needed
  6616. 1037 006a 80BD pop {r7, pc}
  6617. 1038 .L45:
  6618. 1039 .align 2
  6619. 1040 .L44:
  6620. 1041 006c 00440040 .word 1073759232
  6621. 1042 0070 00000000 .word .LC0
  6622. 1043 0074 00000000 .word rtu_ctx
  6623. 1044 .cfi_endproc
  6624. 1045 .LFE940:
  6625. 1047 .section .text.rtu_write,"ax",%progbits
  6626. 1048 .align 1
  6627. 1049 .syntax unified
  6628. 1050 .code 16
  6629. 1051 .thumb_func
  6630. 1053 rtu_write:
  6631. 1054 .LFB941:
  6632. 114:User/rtu.c ****
  6633. 115:User/rtu.c **** static void rtu_write(uint8_t *buf, int sz)
  6634. 116:User/rtu.c **** {
  6635. 1055 .loc 4 116 1
  6636. 1056 .cfi_startproc
  6637. 1057 @ args = 0, pretend = 0, frame = 16
  6638. 1058 @ frame_needed = 1, uses_anonymous_args = 0
  6639. 1059 0000 80B5 push {r7, lr}
  6640. 1060 .LCFI48:
  6641. 1061 .cfi_def_cfa_offset 8
  6642. 1062 .cfi_offset 7, -8
  6643. 1063 .cfi_offset 14, -4
  6644. 1064 0002 84B0 sub sp, sp, #16
  6645. 1065 .LCFI49:
  6646. 1066 .cfi_def_cfa_offset 24
  6647. 1067 0004 00AF add r7, sp, #0
  6648. 1068 .LCFI50:
  6649. 1069 .cfi_def_cfa_register 7
  6650. 1070 0006 7860 str r0, [r7, #4]
  6651. 1071 0008 3960 str r1, [r7]
  6652. 117:User/rtu.c **** if (sz)
  6653. 1072 .loc 4 117 8
  6654. 1073 000a 3B68 ldr r3, [r7]
  6655. 1074 000c 002B cmp r3, #0
  6656. 1075 000e 19D0 beq .L51
  6657. 1076 .LBB58:
  6658. 118:User/rtu.c **** {
  6659. 119:User/rtu.c **** for (int i = 0; i < sz; i++)
  6660. 1077 .loc 4 119 18
  6661. 1078 0010 0023 movs r3, #0
  6662. 1079 0012 FB60 str r3, [r7, #12]
  6663. 1080 .loc 4 119 9
  6664. 1081 0014 12E0 b .L48
  6665. 1082 .L50:
  6666. 120:User/rtu.c **** {
  6667. 121:User/rtu.c **** LL_USART_TransmitData8(COM_RTU, buf[i]);
  6668. 1083 .loc 4 121 48
  6669. 1084 0016 FB68 ldr r3, [r7, #12]
  6670. 1085 0018 7A68 ldr r2, [r7, #4]
  6671. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 116
  6672. 1086 001a D318 adds r3, r2, r3
  6673. 1087 .loc 4 121 13
  6674. 1088 001c 1B78 ldrb r3, [r3]
  6675. 1089 001e 0B4A ldr r2, .L52
  6676. 1090 0020 1900 movs r1, r3
  6677. 1091 0022 1000 movs r0, r2
  6678. 1092 0024 FFF7FEFF bl LL_USART_TransmitData8
  6679. 122:User/rtu.c **** while (!LL_USART_IsActiveFlag_TC(COM_RTU))
  6680. 1093 .loc 4 122 19
  6681. 1094 0028 C046 nop
  6682. 1095 .L49:
  6683. 1096 .loc 4 122 21 discriminator 1
  6684. 1097 002a 084B ldr r3, .L52
  6685. 1098 002c 1800 movs r0, r3
  6686. 1099 002e FFF7FEFF bl LL_USART_IsActiveFlag_TC
  6687. 1100 0032 031E subs r3, r0, #0
  6688. 1101 .loc 4 122 19 discriminator 1
  6689. 1102 0034 F9D0 beq .L49
  6690. 119:User/rtu.c **** {
  6691. 1103 .loc 4 119 34 discriminator 2
  6692. 1104 0036 FB68 ldr r3, [r7, #12]
  6693. 1105 0038 0133 adds r3, r3, #1
  6694. 1106 003a FB60 str r3, [r7, #12]
  6695. 1107 .L48:
  6696. 119:User/rtu.c **** {
  6697. 1108 .loc 4 119 9 discriminator 1
  6698. 1109 003c FA68 ldr r2, [r7, #12]
  6699. 1110 003e 3B68 ldr r3, [r7]
  6700. 1111 0040 9A42 cmp r2, r3
  6701. 1112 0042 E8DB blt .L50
  6702. 1113 .L51:
  6703. 1114 .LBE58:
  6704. 123:User/rtu.c **** ;
  6705. 124:User/rtu.c **** }
  6706. 125:User/rtu.c **** }
  6707. 126:User/rtu.c **** }
  6708. 1115 .loc 4 126 1
  6709. 1116 0044 C046 nop
  6710. 1117 0046 BD46 mov sp, r7
  6711. 1118 0048 04B0 add sp, sp, #16
  6712. 1119 @ sp needed
  6713. 1120 004a 80BD pop {r7, pc}
  6714. 1121 .L53:
  6715. 1122 .align 2
  6716. 1123 .L52:
  6717. 1124 004c 00440040 .word 1073759232
  6718. 1125 .cfi_endproc
  6719. 1126 .LFE941:
  6720. 1128 .section .text.rtu_escape_data,"ax",%progbits
  6721. 1129 .align 1
  6722. 1130 .syntax unified
  6723. 1131 .code 16
  6724. 1132 .thumb_func
  6725. 1134 rtu_escape_data:
  6726. 1135 .LFB942:
  6727. 127:User/rtu.c ****
  6728. 128:User/rtu.c **** static int rtu_escape_data(uint8_t *src, int src_len, uint8_t *dst, int dst_size)
  6729. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 117
  6730. 129:User/rtu.c **** {
  6731. 1136 .loc 4 129 1
  6732. 1137 .cfi_startproc
  6733. 1138 @ args = 0, pretend = 0, frame = 24
  6734. 1139 @ frame_needed = 1, uses_anonymous_args = 0
  6735. 1140 0000 80B5 push {r7, lr}
  6736. 1141 .LCFI51:
  6737. 1142 .cfi_def_cfa_offset 8
  6738. 1143 .cfi_offset 7, -8
  6739. 1144 .cfi_offset 14, -4
  6740. 1145 0002 86B0 sub sp, sp, #24
  6741. 1146 .LCFI52:
  6742. 1147 .cfi_def_cfa_offset 32
  6743. 1148 0004 00AF add r7, sp, #0
  6744. 1149 .LCFI53:
  6745. 1150 .cfi_def_cfa_register 7
  6746. 1151 0006 F860 str r0, [r7, #12]
  6747. 1152 0008 B960 str r1, [r7, #8]
  6748. 1153 000a 7A60 str r2, [r7, #4]
  6749. 1154 000c 3B60 str r3, [r7]
  6750. 130:User/rtu.c **** int dst_len = 0;
  6751. 1155 .loc 4 130 9
  6752. 1156 000e 0023 movs r3, #0
  6753. 1157 0010 7B61 str r3, [r7, #20]
  6754. 1158 .LBB59:
  6755. 131:User/rtu.c ****
  6756. 132:User/rtu.c **** for (int i = 0; i < src_len && dst_len < dst_size - 1; i++)
  6757. 1159 .loc 4 132 14
  6758. 1160 0012 0023 movs r3, #0
  6759. 1161 0014 3B61 str r3, [r7, #16]
  6760. 1162 .loc 4 132 5
  6761. 1163 0016 45E0 b .L55
  6762. 1164 .L63:
  6763. 133:User/rtu.c **** {
  6764. 134:User/rtu.c **** if (src[i] == 0x7E)
  6765. 1165 .loc 4 134 16
  6766. 1166 0018 3B69 ldr r3, [r7, #16]
  6767. 1167 001a FA68 ldr r2, [r7, #12]
  6768. 1168 001c D318 adds r3, r2, r3
  6769. 1169 001e 1B78 ldrb r3, [r3]
  6770. 1170 .loc 4 134 12
  6771. 1171 0020 7E2B cmp r3, #126
  6772. 1172 0022 15D1 bne .L56
  6773. 135:User/rtu.c **** {
  6774. 136:User/rtu.c **** if (dst_len + 2 <= dst_size)
  6775. 1173 .loc 4 136 29
  6776. 1174 0024 7B69 ldr r3, [r7, #20]
  6777. 1175 0026 0133 adds r3, r3, #1
  6778. 1176 .loc 4 136 16
  6779. 1177 0028 3A68 ldr r2, [r7]
  6780. 1178 002a 9A42 cmp r2, r3
  6781. 1179 002c 0DDD ble .L57
  6782. 137:User/rtu.c **** {
  6783. 138:User/rtu.c **** *dst++ = 0x7D;
  6784. 1180 .loc 4 138 21
  6785. 1181 002e 7B68 ldr r3, [r7, #4]
  6786. 1182 0030 5A1C adds r2, r3, #1
  6787. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 118
  6788. 1183 0032 7A60 str r2, [r7, #4]
  6789. 1184 .loc 4 138 24
  6790. 1185 0034 7D22 movs r2, #125
  6791. 1186 0036 1A70 strb r2, [r3]
  6792. 139:User/rtu.c **** *dst++ = 0x5E;
  6793. 1187 .loc 4 139 21
  6794. 1188 0038 7B68 ldr r3, [r7, #4]
  6795. 1189 003a 5A1C adds r2, r3, #1
  6796. 1190 003c 7A60 str r2, [r7, #4]
  6797. 1191 .loc 4 139 24
  6798. 1192 003e 5E22 movs r2, #94
  6799. 1193 0040 1A70 strb r2, [r3]
  6800. 140:User/rtu.c **** dst_len += 2;
  6801. 1194 .loc 4 140 25
  6802. 1195 0042 7B69 ldr r3, [r7, #20]
  6803. 1196 0044 0233 adds r3, r3, #2
  6804. 1197 0046 7B61 str r3, [r7, #20]
  6805. 1198 0048 29E0 b .L58
  6806. 1199 .L57:
  6807. 141:User/rtu.c **** }
  6808. 142:User/rtu.c **** else
  6809. 143:User/rtu.c **** {
  6810. 144:User/rtu.c **** return -1; // �足空间进行转义
  6811. 1200 .loc 4 144 24
  6812. 1201 004a 0123 movs r3, #1
  6813. 1202 004c 5B42 rsbs r3, r3, #0
  6814. 1203 004e 33E0 b .L59
  6815. 1204 .L56:
  6816. 145:User/rtu.c **** }
  6817. 146:User/rtu.c **** }
  6818. 147:User/rtu.c **** else if (src[i] == 0x7D)
  6819. 1205 .loc 4 147 21
  6820. 1206 0050 3B69 ldr r3, [r7, #16]
  6821. 1207 0052 FA68 ldr r2, [r7, #12]
  6822. 1208 0054 D318 adds r3, r2, r3
  6823. 1209 0056 1B78 ldrb r3, [r3]
  6824. 1210 .loc 4 147 17
  6825. 1211 0058 7D2B cmp r3, #125
  6826. 1212 005a 15D1 bne .L60
  6827. 148:User/rtu.c **** {
  6828. 149:User/rtu.c **** if (dst_len + 2 <= dst_size)
  6829. 1213 .loc 4 149 29
  6830. 1214 005c 7B69 ldr r3, [r7, #20]
  6831. 1215 005e 0133 adds r3, r3, #1
  6832. 1216 .loc 4 149 16
  6833. 1217 0060 3A68 ldr r2, [r7]
  6834. 1218 0062 9A42 cmp r2, r3
  6835. 1219 0064 0DDD ble .L61
  6836. 150:User/rtu.c **** {
  6837. 151:User/rtu.c **** *dst++ = 0x7D;
  6838. 1220 .loc 4 151 21
  6839. 1221 0066 7B68 ldr r3, [r7, #4]
  6840. 1222 0068 5A1C adds r2, r3, #1
  6841. 1223 006a 7A60 str r2, [r7, #4]
  6842. 1224 .loc 4 151 24
  6843. 1225 006c 7D22 movs r2, #125
  6844. 1226 006e 1A70 strb r2, [r3]
  6845. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 119
  6846. 152:User/rtu.c **** *dst++ = 0x5D;
  6847. 1227 .loc 4 152 21
  6848. 1228 0070 7B68 ldr r3, [r7, #4]
  6849. 1229 0072 5A1C adds r2, r3, #1
  6850. 1230 0074 7A60 str r2, [r7, #4]
  6851. 1231 .loc 4 152 24
  6852. 1232 0076 5D22 movs r2, #93
  6853. 1233 0078 1A70 strb r2, [r3]
  6854. 153:User/rtu.c **** dst_len += 2;
  6855. 1234 .loc 4 153 25
  6856. 1235 007a 7B69 ldr r3, [r7, #20]
  6857. 1236 007c 0233 adds r3, r3, #2
  6858. 1237 007e 7B61 str r3, [r7, #20]
  6859. 1238 0080 0DE0 b .L58
  6860. 1239 .L61:
  6861. 154:User/rtu.c **** }
  6862. 155:User/rtu.c **** else
  6863. 156:User/rtu.c **** {
  6864. 157:User/rtu.c **** return -1; // �足空间进行转义
  6865. 1240 .loc 4 157 24
  6866. 1241 0082 0123 movs r3, #1
  6867. 1242 0084 5B42 rsbs r3, r3, #0
  6868. 1243 0086 17E0 b .L59
  6869. 1244 .L60:
  6870. 158:User/rtu.c **** }
  6871. 159:User/rtu.c **** }
  6872. 160:User/rtu.c **** else
  6873. 161:User/rtu.c **** {
  6874. 162:User/rtu.c **** *dst++ = src[i];
  6875. 1245 .loc 4 162 25
  6876. 1246 0088 3B69 ldr r3, [r7, #16]
  6877. 1247 008a FA68 ldr r2, [r7, #12]
  6878. 1248 008c D218 adds r2, r2, r3
  6879. 1249 .loc 4 162 17
  6880. 1250 008e 7B68 ldr r3, [r7, #4]
  6881. 1251 0090 591C adds r1, r3, #1
  6882. 1252 0092 7960 str r1, [r7, #4]
  6883. 1253 .loc 4 162 25
  6884. 1254 0094 1278 ldrb r2, [r2]
  6885. 1255 .loc 4 162 20
  6886. 1256 0096 1A70 strb r2, [r3]
  6887. 163:User/rtu.c **** dst_len++;
  6888. 1257 .loc 4 163 20
  6889. 1258 0098 7B69 ldr r3, [r7, #20]
  6890. 1259 009a 0133 adds r3, r3, #1
  6891. 1260 009c 7B61 str r3, [r7, #20]
  6892. 1261 .L58:
  6893. 132:User/rtu.c **** {
  6894. 1262 .loc 4 132 61 discriminator 2
  6895. 1263 009e 3B69 ldr r3, [r7, #16]
  6896. 1264 00a0 0133 adds r3, r3, #1
  6897. 1265 00a2 3B61 str r3, [r7, #16]
  6898. 1266 .L55:
  6899. 132:User/rtu.c **** {
  6900. 1267 .loc 4 132 5 discriminator 1
  6901. 1268 00a4 3A69 ldr r2, [r7, #16]
  6902. 1269 00a6 BB68 ldr r3, [r7, #8]
  6903. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 120
  6904. 1270 00a8 9A42 cmp r2, r3
  6905. 1271 00aa 04DA bge .L62
  6906. 132:User/rtu.c **** {
  6907. 1272 .loc 4 132 55 discriminator 3
  6908. 1273 00ac 3B68 ldr r3, [r7]
  6909. 1274 00ae 013B subs r3, r3, #1
  6910. 132:User/rtu.c **** {
  6911. 1275 .loc 4 132 33 discriminator 3
  6912. 1276 00b0 7A69 ldr r2, [r7, #20]
  6913. 1277 00b2 9A42 cmp r2, r3
  6914. 1278 00b4 B0DB blt .L63
  6915. 1279 .L62:
  6916. 1280 .LBE59:
  6917. 164:User/rtu.c **** }
  6918. 165:User/rtu.c **** }
  6919. 166:User/rtu.c ****
  6920. 167:User/rtu.c **** return dst_len;
  6921. 1281 .loc 4 167 12
  6922. 1282 00b6 7B69 ldr r3, [r7, #20]
  6923. 1283 .L59:
  6924. 168:User/rtu.c **** }
  6925. 1284 .loc 4 168 1
  6926. 1285 00b8 1800 movs r0, r3
  6927. 1286 00ba BD46 mov sp, r7
  6928. 1287 00bc 06B0 add sp, sp, #24
  6929. 1288 @ sp needed
  6930. 1289 00be 80BD pop {r7, pc}
  6931. 1290 .cfi_endproc
  6932. 1291 .LFE942:
  6933. 1293 .section .text.rtu_send_pkt,"ax",%progbits
  6934. 1294 .align 1
  6935. 1295 .global rtu_send_pkt
  6936. 1296 .syntax unified
  6937. 1297 .code 16
  6938. 1298 .thumb_func
  6939. 1300 rtu_send_pkt:
  6940. 1301 .LFB943:
  6941. 169:User/rtu.c ****
  6942. 170:User/rtu.c **** int rtu_send_pkt(uint8_t addr, uint8_t cmd, uint8_t *msg, uint16_t len)
  6943. 171:User/rtu.c **** {
  6944. 1302 .loc 4 171 1
  6945. 1303 .cfi_startproc
  6946. 1304 @ args = 0, pretend = 0, frame = 1048
  6947. 1305 @ frame_needed = 1, uses_anonymous_args = 0
  6948. 1306 0000 F0B5 push {r4, r5, r6, r7, lr}
  6949. 1307 .LCFI54:
  6950. 1308 .cfi_def_cfa_offset 20
  6951. 1309 .cfi_offset 4, -20
  6952. 1310 .cfi_offset 5, -16
  6953. 1311 .cfi_offset 6, -12
  6954. 1312 .cfi_offset 7, -8
  6955. 1313 .cfi_offset 14, -4
  6956. 1314 0002 714C ldr r4, .L69
  6957. 1315 0004 A544 add sp, sp, r4
  6958. 1316 .LCFI55:
  6959. 1317 .cfi_def_cfa_offset 1072
  6960. 1318 0006 00AF add r7, sp, #0
  6961. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 121
  6962. 1319 .LCFI56:
  6963. 1320 .cfi_def_cfa_register 7
  6964. 1321 0008 0400 movs r4, r0
  6965. 1322 000a 0800 movs r0, r1
  6966. 1323 000c 3A60 str r2, [r7]
  6967. 1324 000e 1900 movs r1, r3
  6968. 1325 0010 6E4B ldr r3, .L69+4
  6969. 1326 0012 8325 movs r5, #131
  6970. 1327 0014 ED00 lsls r5, r5, #3
  6971. 1328 0016 5B19 adds r3, r3, r5
  6972. 1329 0018 DB19 adds r3, r3, r7
  6973. 1330 001a 221C adds r2, r4, #0
  6974. 1331 001c 1A70 strb r2, [r3]
  6975. 1332 001e 6C4B ldr r3, .L69+8
  6976. 1333 0020 2C00 movs r4, r5
  6977. 1334 0022 1B19 adds r3, r3, r4
  6978. 1335 0024 DB19 adds r3, r3, r7
  6979. 1336 0026 021C adds r2, r0, #0
  6980. 1337 0028 1A70 strb r2, [r3]
  6981. 1338 002a 6A4B ldr r3, .L69+12
  6982. 1339 002c 2000 movs r0, r4
  6983. 1340 002e 1B18 adds r3, r3, r0
  6984. 1341 0030 DB19 adds r3, r3, r7
  6985. 1342 0032 0A1C adds r2, r1, #0
  6986. 1343 0034 1A80 strh r2, [r3]
  6987. 172:User/rtu.c **** uint8_t buf[512];
  6988. 173:User/rtu.c **** uint8_t escaped_buf[512];
  6989. 174:User/rtu.c **** uint16_t crc;
  6990. 175:User/rtu.c **** int escaped_len;
  6991. 176:User/rtu.c ****
  6992. 177:User/rtu.c **** int data_len = 0;
  6993. 1344 .loc 4 177 9
  6994. 1345 0036 0023 movs r3, #0
  6995. 1346 0038 674C ldr r4, .L69+16
  6996. 1347 003a 3A19 adds r2, r7, r4
  6997. 1348 003c 1360 str r3, [r2]
  6998. 178:User/rtu.c ****
  6999. 179:User/rtu.c **** buf[data_len++] = addr;
  7000. 1349 .loc 4 179 17
  7001. 1350 003e 3B19 adds r3, r7, r4
  7002. 1351 0040 1B68 ldr r3, [r3]
  7003. 1352 0042 5A1C adds r2, r3, #1
  7004. 1353 0044 3919 adds r1, r7, r4
  7005. 1354 0046 0A60 str r2, [r1]
  7006. 1355 .loc 4 179 21
  7007. 1356 0048 644A ldr r2, .L69+20
  7008. 1357 004a 1218 adds r2, r2, r0
  7009. 1358 004c D219 adds r2, r2, r7
  7010. 1359 004e 5F49 ldr r1, .L69+4
  7011. 1360 0050 0918 adds r1, r1, r0
  7012. 1361 0052 C919 adds r1, r1, r7
  7013. 1362 0054 0978 ldrb r1, [r1]
  7014. 1363 0056 D154 strb r1, [r2, r3]
  7015. 180:User/rtu.c **** buf[data_len++] = cmd;
  7016. 1364 .loc 4 180 17
  7017. 1365 0058 3B19 adds r3, r7, r4
  7018. 1366 005a 1B68 ldr r3, [r3]
  7019. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 122
  7020. 1367 005c 5A1C adds r2, r3, #1
  7021. 1368 005e 3919 adds r1, r7, r4
  7022. 1369 0060 0A60 str r2, [r1]
  7023. 1370 .loc 4 180 21
  7024. 1371 0062 5E4A ldr r2, .L69+20
  7025. 1372 0064 1218 adds r2, r2, r0
  7026. 1373 0066 D219 adds r2, r2, r7
  7027. 1374 0068 5949 ldr r1, .L69+8
  7028. 1375 006a 0918 adds r1, r1, r0
  7029. 1376 006c C919 adds r1, r1, r7
  7030. 1377 006e 0978 ldrb r1, [r1]
  7031. 1378 0070 D154 strb r1, [r2, r3]
  7032. 181:User/rtu.c **** if (len && msg)
  7033. 1379 .loc 4 181 8
  7034. 1380 0072 584B ldr r3, .L69+12
  7035. 1381 0074 0100 movs r1, r0
  7036. 1382 0076 1B18 adds r3, r3, r0
  7037. 1383 0078 DB19 adds r3, r3, r7
  7038. 1384 007a 1B88 ldrh r3, [r3]
  7039. 1385 007c 002B cmp r3, #0
  7040. 1386 007e 1BD0 beq .L65
  7041. 1387 .loc 4 181 13 discriminator 1
  7042. 1388 0080 3B68 ldr r3, [r7]
  7043. 1389 0082 002B cmp r3, #0
  7044. 1390 0084 18D0 beq .L65
  7045. 182:User/rtu.c **** {
  7046. 183:User/rtu.c **** memcpy(buf + data_len, msg, len);
  7047. 1391 .loc 4 183 9
  7048. 1392 0086 2500 movs r5, r4
  7049. 1393 0088 3B19 adds r3, r7, r4
  7050. 1394 008a 1B68 ldr r3, [r3]
  7051. 1395 008c 8222 movs r2, #130
  7052. 1396 008e 9200 lsls r2, r2, #2
  7053. 1397 0090 BA18 adds r2, r7, r2
  7054. 1398 0092 D018 adds r0, r2, r3
  7055. 1399 0094 4F4B ldr r3, .L69+12
  7056. 1400 0096 0C00 movs r4, r1
  7057. 1401 0098 5B18 adds r3, r3, r1
  7058. 1402 009a DB19 adds r3, r3, r7
  7059. 1403 009c 1A88 ldrh r2, [r3]
  7060. 1404 009e 3B68 ldr r3, [r7]
  7061. 1405 00a0 1900 movs r1, r3
  7062. 1406 00a2 FFF7FEFF bl memcpy
  7063. 184:User/rtu.c **** data_len += len;
  7064. 1407 .loc 4 184 18
  7065. 1408 00a6 4B4B ldr r3, .L69+12
  7066. 1409 00a8 1B19 adds r3, r3, r4
  7067. 1410 00aa DB19 adds r3, r3, r7
  7068. 1411 00ac 1B88 ldrh r3, [r3]
  7069. 1412 00ae 7A19 adds r2, r7, r5
  7070. 1413 00b0 1268 ldr r2, [r2]
  7071. 1414 00b2 D318 adds r3, r2, r3
  7072. 1415 00b4 7A19 adds r2, r7, r5
  7073. 1416 00b6 1360 str r3, [r2]
  7074. 1417 .L65:
  7075. 185:User/rtu.c **** }
  7076. 186:User/rtu.c **** crc = CRC16(buf, data_len);
  7077. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 123
  7078. 1418 .loc 4 186 11
  7079. 1419 00b8 474D ldr r5, .L69+16
  7080. 1420 00ba 7B19 adds r3, r7, r5
  7081. 1421 00bc 1B68 ldr r3, [r3]
  7082. 1422 00be 9AB2 uxth r2, r3
  7083. 1423 00c0 474E ldr r6, .L69+24
  7084. 1424 00c2 BC19 adds r4, r7, r6
  7085. 1425 00c4 8223 movs r3, #130
  7086. 1426 00c6 9B00 lsls r3, r3, #2
  7087. 1427 00c8 FB18 adds r3, r7, r3
  7088. 1428 00ca 1100 movs r1, r2
  7089. 1429 00cc 1800 movs r0, r3
  7090. 1430 00ce FFF7FEFF bl CRC16
  7091. 1431 00d2 0300 movs r3, r0
  7092. 1432 00d4 2380 strh r3, [r4]
  7093. 187:User/rtu.c **** buf[data_len++] = crc & 0xFF;
  7094. 1433 .loc 4 187 17
  7095. 1434 00d6 2800 movs r0, r5
  7096. 1435 00d8 3A18 adds r2, r7, r0
  7097. 1436 00da 1368 ldr r3, [r2]
  7098. 1437 00dc 5A1C adds r2, r3, #1
  7099. 1438 00de 3918 adds r1, r7, r0
  7100. 1439 00e0 0A60 str r2, [r1]
  7101. 1440 .loc 4 187 21
  7102. 1441 00e2 BA19 adds r2, r7, r6
  7103. 1442 00e4 1288 ldrh r2, [r2]
  7104. 1443 00e6 D1B2 uxtb r1, r2
  7105. 1444 00e8 3C4A ldr r2, .L69+20
  7106. 1445 00ea 8324 movs r4, #131
  7107. 1446 00ec E400 lsls r4, r4, #3
  7108. 1447 00ee 1219 adds r2, r2, r4
  7109. 1448 00f0 D219 adds r2, r2, r7
  7110. 1449 00f2 D154 strb r1, [r2, r3]
  7111. 188:User/rtu.c **** buf[data_len++] = crc >> 8;
  7112. 1450 .loc 4 188 21
  7113. 1451 00f4 BB19 adds r3, r7, r6
  7114. 1452 00f6 1B88 ldrh r3, [r3]
  7115. 1453 00f8 1B0A lsrs r3, r3, #8
  7116. 1454 00fa 99B2 uxth r1, r3
  7117. 1455 .loc 4 188 17
  7118. 1456 00fc 3A18 adds r2, r7, r0
  7119. 1457 00fe 1368 ldr r3, [r2]
  7120. 1458 0100 5A1C adds r2, r3, #1
  7121. 1459 0102 3D18 adds r5, r7, r0
  7122. 1460 0104 2A60 str r2, [r5]
  7123. 1461 .loc 4 188 21
  7124. 1462 0106 C9B2 uxtb r1, r1
  7125. 1463 0108 344A ldr r2, .L69+20
  7126. 1464 010a 1219 adds r2, r2, r4
  7127. 1465 010c D219 adds r2, r2, r7
  7128. 1466 010e D154 strb r1, [r2, r3]
  7129. 189:User/rtu.c ****
  7130. 190:User/rtu.c **** // 对帧头和帧尾之间的所有数�进行转义
  7131. 191:User/rtu.c **** escaped_len = rtu_escape_data(buf, data_len, escaped_buf, sizeof(escaped_buf));
  7132. 1467 .loc 4 191 19
  7133. 1468 0110 8023 movs r3, #128
  7134. 1469 0112 9B00 lsls r3, r3, #2
  7135. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 124
  7136. 1470 0114 0822 movs r2, #8
  7137. 1471 0116 BA18 adds r2, r7, r2
  7138. 1472 0118 3918 adds r1, r7, r0
  7139. 1473 011a 0968 ldr r1, [r1]
  7140. 1474 011c 8220 movs r0, #130
  7141. 1475 011e 8000 lsls r0, r0, #2
  7142. 1476 0120 3818 adds r0, r7, r0
  7143. 1477 0122 FFF7FEFF bl rtu_escape_data
  7144. 1478 0126 0300 movs r3, r0
  7145. 1479 0128 2E4A ldr r2, .L69+28
  7146. 1480 012a B918 adds r1, r7, r2
  7147. 1481 012c 0B60 str r3, [r1]
  7148. 192:User/rtu.c **** if (escaped_len < 0)
  7149. 1482 .loc 4 192 8
  7150. 1483 012e BB18 adds r3, r7, r2
  7151. 1484 0130 1B68 ldr r3, [r3]
  7152. 1485 0132 002B cmp r3, #0
  7153. 1486 0134 02DA bge .L66
  7154. 193:User/rtu.c **** {
  7155. 194:User/rtu.c **** return -1;
  7156. 1487 .loc 4 194 16
  7157. 1488 0136 0123 movs r3, #1
  7158. 1489 0138 5B42 rsbs r3, r3, #0
  7159. 1490 013a 3FE0 b .L68
  7160. 1491 .L66:
  7161. 195:User/rtu.c **** }
  7162. 196:User/rtu.c ****
  7163. 197:User/rtu.c **** int frame_len = 0;
  7164. 1492 .loc 4 197 9
  7165. 1493 013c 0023 movs r3, #0
  7166. 1494 013e 8124 movs r4, #129
  7167. 1495 0140 E400 lsls r4, r4, #3
  7168. 1496 0142 3A19 adds r2, r7, r4
  7169. 1497 0144 1360 str r3, [r2]
  7170. 198:User/rtu.c ****
  7171. 199:User/rtu.c **** buf[frame_len++] = 0x7D;
  7172. 1498 .loc 4 199 18
  7173. 1499 0146 3B19 adds r3, r7, r4
  7174. 1500 0148 1B68 ldr r3, [r3]
  7175. 1501 014a 5A1C adds r2, r3, #1
  7176. 1502 014c 3919 adds r1, r7, r4
  7177. 1503 014e 0A60 str r2, [r1]
  7178. 1504 .loc 4 199 22
  7179. 1505 0150 224A ldr r2, .L69+20
  7180. 1506 0152 8325 movs r5, #131
  7181. 1507 0154 ED00 lsls r5, r5, #3
  7182. 1508 0156 5219 adds r2, r2, r5
  7183. 1509 0158 D219 adds r2, r2, r7
  7184. 1510 015a 7D21 movs r1, #125
  7185. 1511 015c D154 strb r1, [r2, r3]
  7186. 200:User/rtu.c **** memcpy(buf + frame_len, escaped_buf, escaped_len);
  7187. 1512 .loc 4 200 5
  7188. 1513 015e 3B19 adds r3, r7, r4
  7189. 1514 0160 1B68 ldr r3, [r3]
  7190. 1515 0162 8226 movs r6, #130
  7191. 1516 0164 B600 lsls r6, r6, #2
  7192. 1517 0166 BA19 adds r2, r7, r6
  7193. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 125
  7194. 1518 0168 D318 adds r3, r2, r3
  7195. 1519 016a 1E4A ldr r2, .L69+28
  7196. 1520 016c B918 adds r1, r7, r2
  7197. 1521 016e 0A68 ldr r2, [r1]
  7198. 1522 0170 0821 movs r1, #8
  7199. 1523 0172 7918 adds r1, r7, r1
  7200. 1524 0174 1800 movs r0, r3
  7201. 1525 0176 FFF7FEFF bl memcpy
  7202. 201:User/rtu.c **** frame_len += escaped_len;
  7203. 1526 .loc 4 201 15
  7204. 1527 017a 3919 adds r1, r7, r4
  7205. 1528 017c 0A68 ldr r2, [r1]
  7206. 1529 017e 194B ldr r3, .L69+28
  7207. 1530 0180 FB18 adds r3, r7, r3
  7208. 1531 0182 1B68 ldr r3, [r3]
  7209. 1532 0184 D318 adds r3, r2, r3
  7210. 1533 0186 2000 movs r0, r4
  7211. 1534 0188 3A18 adds r2, r7, r0
  7212. 1535 018a 1360 str r3, [r2]
  7213. 202:User/rtu.c **** buf[frame_len++] = 0x7E;
  7214. 1536 .loc 4 202 18
  7215. 1537 018c 3B18 adds r3, r7, r0
  7216. 1538 018e 1B68 ldr r3, [r3]
  7217. 1539 0190 5A1C adds r2, r3, #1
  7218. 1540 0192 3918 adds r1, r7, r0
  7219. 1541 0194 0A60 str r2, [r1]
  7220. 1542 .loc 4 202 22
  7221. 1543 0196 114A ldr r2, .L69+20
  7222. 1544 0198 5219 adds r2, r2, r5
  7223. 1545 019a D219 adds r2, r2, r7
  7224. 1546 019c 7E21 movs r1, #126
  7225. 1547 019e D154 strb r1, [r2, r3]
  7226. 203:User/rtu.c ****
  7227. 204:User/rtu.c **** rtu_write(buf, frame_len);
  7228. 1548 .loc 4 204 5
  7229. 1549 01a0 3B18 adds r3, r7, r0
  7230. 1550 01a2 1A68 ldr r2, [r3]
  7231. 1551 01a4 BB19 adds r3, r7, r6
  7232. 1552 01a6 1100 movs r1, r2
  7233. 1553 01a8 1800 movs r0, r3
  7234. 1554 01aa FFF7FEFF bl rtu_write
  7235. 205:User/rtu.c ****
  7236. 206:User/rtu.c **** rtu_ctx.last_cmd = cmd;
  7237. 1555 .loc 4 206 22
  7238. 1556 01ae 0E4B ldr r3, .L69+32
  7239. 1557 01b0 074A ldr r2, .L69+8
  7240. 1558 01b2 5219 adds r2, r2, r5
  7241. 1559 01b4 D219 adds r2, r2, r7
  7242. 1560 01b6 1278 ldrb r2, [r2]
  7243. 1561 01b8 DA70 strb r2, [r3, #3]
  7244. 207:User/rtu.c **** return 0;
  7245. 1562 .loc 4 207 12
  7246. 1563 01ba 0023 movs r3, #0
  7247. 1564 .L68:
  7248. 208:User/rtu.c **** }
  7249. 1565 .loc 4 208 1 discriminator 1
  7250. 1566 01bc 1800 movs r0, r3
  7251. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 126
  7252. 1567 01be BD46 mov sp, r7
  7253. 1568 01c0 0A4B ldr r3, .L69+36
  7254. 1569 01c2 9D44 add sp, sp, r3
  7255. 1570 @ sp needed
  7256. 1571 01c4 F0BD pop {r4, r5, r6, r7, pc}
  7257. 1572 .L70:
  7258. 1573 01c6 C046 .align 2
  7259. 1574 .L69:
  7260. 1575 01c8 E4FBFFFF .word -1052
  7261. 1576 01cc EFFBFFFF .word -1041
  7262. 1577 01d0 EEFBFFFF .word -1042
  7263. 1578 01d4 ECFBFFFF .word -1044
  7264. 1579 01d8 14040000 .word 1044
  7265. 1580 01dc F0FDFFFF .word -528
  7266. 1581 01e0 12040000 .word 1042
  7267. 1582 01e4 0C040000 .word 1036
  7268. 1583 01e8 00000000 .word rtu_ctx
  7269. 1584 01ec 1C040000 .word 1052
  7270. 1585 .cfi_endproc
  7271. 1586 .LFE943:
  7272. 1588 .section .text.rtu_read,"ax",%progbits
  7273. 1589 .align 1
  7274. 1590 .global rtu_read
  7275. 1591 .syntax unified
  7276. 1592 .code 16
  7277. 1593 .thumb_func
  7278. 1595 rtu_read:
  7279. 1596 .LFB944:
  7280. 209:User/rtu.c ****
  7281. 210:User/rtu.c **** int rtu_read(uint8_t *buf, int sz, int *len)
  7282. 211:User/rtu.c **** {
  7283. 1597 .loc 4 211 1
  7284. 1598 .cfi_startproc
  7285. 1599 @ args = 0, pretend = 0, frame = 24
  7286. 1600 @ frame_needed = 1, uses_anonymous_args = 0
  7287. 1601 0000 80B5 push {r7, lr}
  7288. 1602 .LCFI57:
  7289. 1603 .cfi_def_cfa_offset 8
  7290. 1604 .cfi_offset 7, -8
  7291. 1605 .cfi_offset 14, -4
  7292. 1606 0002 86B0 sub sp, sp, #24
  7293. 1607 .LCFI58:
  7294. 1608 .cfi_def_cfa_offset 32
  7295. 1609 0004 00AF add r7, sp, #0
  7296. 1610 .LCFI59:
  7297. 1611 .cfi_def_cfa_register 7
  7298. 1612 0006 F860 str r0, [r7, #12]
  7299. 1613 0008 B960 str r1, [r7, #8]
  7300. 1614 000a 7A60 str r2, [r7, #4]
  7301. 212:User/rtu.c **** if (rtu_ctx.rx_len > 0)
  7302. 1615 .loc 4 212 16
  7303. 1616 000c 154B ldr r3, .L75
  7304. 1617 000e 1B69 ldr r3, [r3, #16]
  7305. 1618 .loc 4 212 8
  7306. 1619 0010 002B cmp r3, #0
  7307. 1620 0012 22DD ble .L72
  7308. 1621 .LBB60:
  7309. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 127
  7310. 213:User/rtu.c **** {
  7311. 214:User/rtu.c **** int deltT = HAL_GetTick() - rtu_ctx.rx_timer;
  7312. 1622 .loc 4 214 21
  7313. 1623 0014 FFF7FEFF bl HAL_GetTick
  7314. 1624 0018 0200 movs r2, r0
  7315. 1625 .loc 4 214 44
  7316. 1626 001a 124B ldr r3, .L75
  7317. 1627 001c 5B69 ldr r3, [r3, #20]
  7318. 1628 .loc 4 214 35
  7319. 1629 001e D31A subs r3, r2, r3
  7320. 1630 .loc 4 214 13
  7321. 1631 0020 7B61 str r3, [r7, #20]
  7322. 215:User/rtu.c **** if (deltT > 20)
  7323. 1632 .loc 4 215 12
  7324. 1633 0022 7B69 ldr r3, [r7, #20]
  7325. 1634 0024 142B cmp r3, #20
  7326. 1635 0026 18DD ble .L72
  7327. 216:User/rtu.c **** {
  7328. 217:User/rtu.c **** *len = rtu_ctx.rx_len;
  7329. 1636 .loc 4 217 27
  7330. 1637 0028 0E4B ldr r3, .L75
  7331. 1638 002a 1A69 ldr r2, [r3, #16]
  7332. 1639 .loc 4 217 18
  7333. 1640 002c 7B68 ldr r3, [r7, #4]
  7334. 1641 002e 1A60 str r2, [r3]
  7335. 218:User/rtu.c **** if (*len > sz)
  7336. 1642 .loc 4 218 17
  7337. 1643 0030 7B68 ldr r3, [r7, #4]
  7338. 1644 0032 1B68 ldr r3, [r3]
  7339. 1645 .loc 4 218 16
  7340. 1646 0034 BA68 ldr r2, [r7, #8]
  7341. 1647 0036 9A42 cmp r2, r3
  7342. 1648 0038 02DA bge .L73
  7343. 219:User/rtu.c **** {
  7344. 220:User/rtu.c **** *len = sz;
  7345. 1649 .loc 4 220 22
  7346. 1650 003a 7B68 ldr r3, [r7, #4]
  7347. 1651 003c BA68 ldr r2, [r7, #8]
  7348. 1652 003e 1A60 str r2, [r3]
  7349. 1653 .L73:
  7350. 221:User/rtu.c **** }
  7351. 222:User/rtu.c **** memcpy(buf, (void *)rtu_ctx.rx_buf, rtu_ctx.rx_len);
  7352. 1654 .loc 4 222 56
  7353. 1655 0040 084B ldr r3, .L75
  7354. 1656 0042 1B69 ldr r3, [r3, #16]
  7355. 1657 .loc 4 222 13
  7356. 1658 0044 1A00 movs r2, r3
  7357. 1659 0046 0849 ldr r1, .L75+4
  7358. 1660 0048 FB68 ldr r3, [r7, #12]
  7359. 1661 004a 1800 movs r0, r3
  7360. 1662 004c FFF7FEFF bl memcpy
  7361. 223:User/rtu.c **** rtu_ctx.rx_len = 0;
  7362. 1663 .loc 4 223 28
  7363. 1664 0050 044B ldr r3, .L75
  7364. 1665 0052 0022 movs r2, #0
  7365. 1666 0054 1A61 str r2, [r3, #16]
  7366. 224:User/rtu.c **** return 0;
  7367. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 128
  7368. 1667 .loc 4 224 20
  7369. 1668 0056 0023 movs r3, #0
  7370. 1669 0058 00E0 b .L74
  7371. 1670 .L72:
  7372. 1671 .LBE60:
  7373. 225:User/rtu.c **** }
  7374. 226:User/rtu.c **** }
  7375. 227:User/rtu.c ****
  7376. 228:User/rtu.c **** return 1;
  7377. 1672 .loc 4 228 12
  7378. 1673 005a 0123 movs r3, #1
  7379. 1674 .L74:
  7380. 229:User/rtu.c **** }
  7381. 1675 .loc 4 229 1
  7382. 1676 005c 1800 movs r0, r3
  7383. 1677 005e BD46 mov sp, r7
  7384. 1678 0060 06B0 add sp, sp, #24
  7385. 1679 @ sp needed
  7386. 1680 0062 80BD pop {r7, pc}
  7387. 1681 .L76:
  7388. 1682 .align 2
  7389. 1683 .L75:
  7390. 1684 0064 00000000 .word rtu_ctx
  7391. 1685 0068 18000000 .word rtu_ctx+24
  7392. 1686 .cfi_endproc
  7393. 1687 .LFE944:
  7394. 1689 .section .text.rtu_parse_sta,"ax",%progbits
  7395. 1690 .align 1
  7396. 1691 .global rtu_parse_sta
  7397. 1692 .syntax unified
  7398. 1693 .code 16
  7399. 1694 .thumb_func
  7400. 1696 rtu_parse_sta:
  7401. 1697 .LFB945:
  7402. 230:User/rtu.c ****
  7403. 231:User/rtu.c **** void rtu_parse_sta(uint32_t sta)
  7404. 232:User/rtu.c **** {
  7405. 1698 .loc 4 232 1
  7406. 1699 .cfi_startproc
  7407. 1700 @ args = 0, pretend = 0, frame = 8
  7408. 1701 @ frame_needed = 1, uses_anonymous_args = 0
  7409. 1702 0000 80B5 push {r7, lr}
  7410. 1703 .LCFI60:
  7411. 1704 .cfi_def_cfa_offset 8
  7412. 1705 .cfi_offset 7, -8
  7413. 1706 .cfi_offset 14, -4
  7414. 1707 0002 82B0 sub sp, sp, #8
  7415. 1708 .LCFI61:
  7416. 1709 .cfi_def_cfa_offset 16
  7417. 1710 0004 00AF add r7, sp, #0
  7418. 1711 .LCFI62:
  7419. 1712 .cfi_def_cfa_register 7
  7420. 1713 0006 7860 str r0, [r7, #4]
  7421. 233:User/rtu.c **** rtu_ctx.online = (sta & 0x01) ? 1 : 0;
  7422. 1714 .loc 4 233 39
  7423. 1715 0008 7B68 ldr r3, [r7, #4]
  7424. 1716 000a 0122 movs r2, #1
  7425. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 129
  7426. 1717 000c 1A40 ands r2, r3
  7427. 1718 .loc 4 233 20
  7428. 1719 000e 0F4B ldr r3, .L78
  7429. 1720 0010 9821 movs r1, #152
  7430. 1721 0012 5A50 str r2, [r3, r1]
  7431. 234:User/rtu.c **** rtu_ctx.ota_ongoing = (sta & 0x02) ? 1 : 0;
  7432. 1722 .loc 4 234 44
  7433. 1723 0014 7B68 ldr r3, [r7, #4]
  7434. 1724 0016 5B08 lsrs r3, r3, #1
  7435. 1725 0018 1A00 movs r2, r3
  7436. 1726 001a 0123 movs r3, #1
  7437. 1727 001c 1A40 ands r2, r3
  7438. 1728 .loc 4 234 25
  7439. 1729 001e 0B4B ldr r3, .L78
  7440. 1730 0020 9C21 movs r1, #156
  7441. 1731 0022 5A50 str r2, [r3, r1]
  7442. 235:User/rtu.c **** rtu_ctx.photo_ongoing = (sta & 0x0c) >> 2;
  7443. 1732 .loc 4 235 42
  7444. 1733 0024 7B68 ldr r3, [r7, #4]
  7445. 1734 0026 9B08 lsrs r3, r3, #2
  7446. 1735 0028 1A00 movs r2, r3
  7447. 1736 002a 0323 movs r3, #3
  7448. 1737 002c 1A40 ands r2, r3
  7449. 1738 .loc 4 235 27
  7450. 1739 002e 074B ldr r3, .L78
  7451. 1740 0030 AC21 movs r1, #172
  7452. 1741 0032 5A50 str r2, [r3, r1]
  7453. 236:User/rtu.c **** rtu_ctx.rec_ongoing = (sta & 0x30) >> 4;
  7454. 1742 .loc 4 236 40
  7455. 1743 0034 7B68 ldr r3, [r7, #4]
  7456. 1744 0036 1B09 lsrs r3, r3, #4
  7457. 1745 0038 1A00 movs r2, r3
  7458. 1746 003a 0323 movs r3, #3
  7459. 1747 003c 1A40 ands r2, r3
  7460. 1748 .loc 4 236 25
  7461. 1749 003e 034B ldr r3, .L78
  7462. 1750 0040 B021 movs r1, #176
  7463. 1751 0042 5A50 str r2, [r3, r1]
  7464. 237:User/rtu.c **** }
  7465. 1752 .loc 4 237 1
  7466. 1753 0044 C046 nop
  7467. 1754 0046 BD46 mov sp, r7
  7468. 1755 0048 02B0 add sp, sp, #8
  7469. 1756 @ sp needed
  7470. 1757 004a 80BD pop {r7, pc}
  7471. 1758 .L79:
  7472. 1759 .align 2
  7473. 1760 .L78:
  7474. 1761 004c 00000000 .word rtu_ctx
  7475. 1762 .cfi_endproc
  7476. 1763 .LFE945:
  7477. 1765 .section .text.rtu_pack_rec,"ax",%progbits
  7478. 1766 .align 1
  7479. 1767 .global rtu_pack_rec
  7480. 1768 .syntax unified
  7481. 1769 .code 16
  7482. 1770 .thumb_func
  7483. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 130
  7484. 1772 rtu_pack_rec:
  7485. 1773 .LFB946:
  7486. 238:User/rtu.c ****
  7487. 239:User/rtu.c **** void rtu_pack_rec(uint8_t *buf, int sz)
  7488. 240:User/rtu.c **** {
  7489. 1774 .loc 4 240 1
  7490. 1775 .cfi_startproc
  7491. 1776 @ args = 0, pretend = 0, frame = 40
  7492. 1777 @ frame_needed = 1, uses_anonymous_args = 0
  7493. 1778 0000 B0B5 push {r4, r5, r7, lr}
  7494. 1779 .LCFI63:
  7495. 1780 .cfi_def_cfa_offset 16
  7496. 1781 .cfi_offset 4, -16
  7497. 1782 .cfi_offset 5, -12
  7498. 1783 .cfi_offset 7, -8
  7499. 1784 .cfi_offset 14, -4
  7500. 1785 0002 8AB0 sub sp, sp, #40
  7501. 1786 .LCFI64:
  7502. 1787 .cfi_def_cfa_offset 56
  7503. 1788 0004 00AF add r7, sp, #0
  7504. 1789 .LCFI65:
  7505. 1790 .cfi_def_cfa_register 7
  7506. 1791 0006 7860 str r0, [r7, #4]
  7507. 1792 0008 3960 str r1, [r7]
  7508. 241:User/rtu.c **** uint16_t start_index = 0;
  7509. 1793 .loc 4 241 14
  7510. 1794 000a 2623 movs r3, #38
  7511. 1795 000c FB18 adds r3, r7, r3
  7512. 1796 000e 0022 movs r2, #0
  7513. 1797 0010 1A80 strh r2, [r3]
  7514. 242:User/rtu.c **** rec_data_t rec;
  7515. 243:User/rtu.c ****
  7516. 244:User/rtu.c **** rtu_ctx.rec_pack.count = 0;
  7517. 1798 .loc 4 244 28
  7518. 1799 0012 664B ldr r3, .L92
  7519. 1800 0014 B622 movs r2, #182
  7520. 1801 0016 0021 movs r1, #0
  7521. 1802 0018 9952 strh r1, [r3, r2]
  7522. 245:User/rtu.c **** if (!buf)
  7523. 1803 .loc 4 245 8
  7524. 1804 001a 7B68 ldr r3, [r7, #4]
  7525. 1805 001c 002B cmp r3, #0
  7526. 1806 001e 00D1 bne .LCB1474
  7527. 1807 0020 BBE0 b .L89 @long jump
  7528. 1808 .LCB1474:
  7529. 1809 .LBB61:
  7530. 246:User/rtu.c **** {
  7531. 247:User/rtu.c **** return;
  7532. 248:User/rtu.c **** }
  7533. 249:User/rtu.c **** for (int i = 0; i < RECORD_MAX_COUNT; i++)
  7534. 1810 .loc 4 249 14
  7535. 1811 0022 0023 movs r3, #0
  7536. 1812 0024 3B62 str r3, [r7, #32]
  7537. 1813 .loc 4 249 5
  7538. 1814 0026 B3E0 b .L83
  7539. 1815 .L88:
  7540. 250:User/rtu.c **** {
  7541. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 131
  7542. 251:User/rtu.c **** if ((rtu_ctx.rec_pack.count + 1) * sizeof(rec_data_t) > sz)
  7543. 1816 .loc 4 251 30
  7544. 1817 0028 604B ldr r3, .L92
  7545. 1818 002a B622 movs r2, #182
  7546. 1819 002c 9B5A ldrh r3, [r3, r2]
  7547. 1820 .loc 4 251 37
  7548. 1821 002e 0133 adds r3, r3, #1
  7549. 1822 0030 1A00 movs r2, r3
  7550. 1823 .loc 4 251 42
  7551. 1824 0032 1300 movs r3, r2
  7552. 1825 0034 DB00 lsls r3, r3, #3
  7553. 1826 0036 9B1A subs r3, r3, r2
  7554. 1827 0038 5B00 lsls r3, r3, #1
  7555. 1828 003a 1A00 movs r2, r3
  7556. 1829 .loc 4 251 63
  7557. 1830 003c 3B68 ldr r3, [r7]
  7558. 1831 .loc 4 251 12
  7559. 1832 003e 9A42 cmp r2, r3
  7560. 1833 0040 00D9 bls .LCB1494
  7561. 1834 0042 ACE0 b .L90 @long jump
  7562. 1835 .LCB1494:
  7563. 252:User/rtu.c **** {
  7564. 253:User/rtu.c **** break;
  7565. 254:User/rtu.c **** }
  7566. 255:User/rtu.c **** if (rec_read(start_index, &rtu_ctx.rec_pack.index[rtu_ctx.rec_pack.count], &rec) == 0)
  7567. 1836 .loc 4 255 75
  7568. 1837 0044 594B ldr r3, .L92
  7569. 1838 0046 B622 movs r2, #182
  7570. 1839 0048 9B5A ldrh r3, [r3, r2]
  7571. 1840 .loc 4 255 13
  7572. 1841 004a 5833 adds r3, r3, #88
  7573. 1842 004c 5A00 lsls r2, r3, #1
  7574. 1843 004e 574B ldr r3, .L92
  7575. 1844 0050 D318 adds r3, r2, r3
  7576. 1845 0052 0833 adds r3, r3, #8
  7577. 1846 0054 1900 movs r1, r3
  7578. 1847 0056 0C24 movs r4, #12
  7579. 1848 0058 3A19 adds r2, r7, r4
  7580. 1849 005a 2625 movs r5, #38
  7581. 1850 005c 7B19 adds r3, r7, r5
  7582. 1851 005e 1B88 ldrh r3, [r3]
  7583. 1852 0060 1800 movs r0, r3
  7584. 1853 0062 FFF7FEFF bl rec_read
  7585. 1854 0066 031E subs r3, r0, #0
  7586. 1855 .loc 4 255 12
  7587. 1856 0068 00D0 beq .LCB1513
  7588. 1857 006a 9AE0 b .L91 @long jump
  7589. 1858 .LCB1513:
  7590. 1859 .LBB62:
  7591. 256:User/rtu.c **** {
  7592. 257:User/rtu.c **** uint8_t *p = &buf[sizeof(rec_data_t) * rtu_ctx.rec_pack.count];
  7593. 1860 .loc 4 257 68
  7594. 1861 006c 4F4B ldr r3, .L92
  7595. 1862 006e B622 movs r2, #182
  7596. 1863 0070 9B5A ldrh r3, [r3, r2]
  7597. 1864 0072 1A00 movs r2, r3
  7598. 1865 .loc 4 257 50
  7599. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 132
  7600. 1866 0074 1300 movs r3, r2
  7601. 1867 0076 DB00 lsls r3, r3, #3
  7602. 1868 0078 9B1A subs r3, r3, r2
  7603. 1869 007a 5B00 lsls r3, r3, #1
  7604. 1870 007c 1A00 movs r2, r3
  7605. 1871 .loc 4 257 22
  7606. 1872 007e 7B68 ldr r3, [r7, #4]
  7607. 1873 0080 9B18 adds r3, r3, r2
  7608. 1874 0082 FB61 str r3, [r7, #28]
  7609. 258:User/rtu.c ****
  7610. 259:User/rtu.c **** *p++ = rec.timestamp >> 24;
  7611. 1875 .loc 4 259 23
  7612. 1876 0084 2000 movs r0, r4
  7613. 1877 0086 3B18 adds r3, r7, r0
  7614. 1878 0088 1B68 ldr r3, [r3]
  7615. 1879 .loc 4 259 34
  7616. 1880 008a 190E lsrs r1, r3, #24
  7617. 1881 .loc 4 259 15
  7618. 1882 008c FB69 ldr r3, [r7, #28]
  7619. 1883 008e 5A1C adds r2, r3, #1
  7620. 1884 0090 FA61 str r2, [r7, #28]
  7621. 1885 .loc 4 259 18
  7622. 1886 0092 CAB2 uxtb r2, r1
  7623. 1887 0094 1A70 strb r2, [r3]
  7624. 260:User/rtu.c **** *p++ = rec.timestamp >> 16;
  7625. 1888 .loc 4 260 23
  7626. 1889 0096 3B18 adds r3, r7, r0
  7627. 1890 0098 1B68 ldr r3, [r3]
  7628. 1891 .loc 4 260 34
  7629. 1892 009a 190C lsrs r1, r3, #16
  7630. 1893 .loc 4 260 15
  7631. 1894 009c FB69 ldr r3, [r7, #28]
  7632. 1895 009e 5A1C adds r2, r3, #1
  7633. 1896 00a0 FA61 str r2, [r7, #28]
  7634. 1897 .loc 4 260 18
  7635. 1898 00a2 CAB2 uxtb r2, r1
  7636. 1899 00a4 1A70 strb r2, [r3]
  7637. 261:User/rtu.c **** *p++ = rec.timestamp >> 8;
  7638. 1900 .loc 4 261 23
  7639. 1901 00a6 3B18 adds r3, r7, r0
  7640. 1902 00a8 1B68 ldr r3, [r3]
  7641. 1903 .loc 4 261 34
  7642. 1904 00aa 190A lsrs r1, r3, #8
  7643. 1905 .loc 4 261 15
  7644. 1906 00ac FB69 ldr r3, [r7, #28]
  7645. 1907 00ae 5A1C adds r2, r3, #1
  7646. 1908 00b0 FA61 str r2, [r7, #28]
  7647. 1909 .loc 4 261 18
  7648. 1910 00b2 CAB2 uxtb r2, r1
  7649. 1911 00b4 1A70 strb r2, [r3]
  7650. 262:User/rtu.c **** *p++ = rec.timestamp;
  7651. 1912 .loc 4 262 23
  7652. 1913 00b6 3B18 adds r3, r7, r0
  7653. 1914 00b8 1968 ldr r1, [r3]
  7654. 1915 .loc 4 262 15
  7655. 1916 00ba FB69 ldr r3, [r7, #28]
  7656. 1917 00bc 5A1C adds r2, r3, #1
  7657. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 133
  7658. 1918 00be FA61 str r2, [r7, #28]
  7659. 1919 .loc 4 262 18
  7660. 1920 00c0 CAB2 uxtb r2, r1
  7661. 1921 00c2 1A70 strb r2, [r3]
  7662. 263:User/rtu.c **** *p++ = rec.temperature >> 8;
  7663. 1922 .loc 4 263 23
  7664. 1923 00c4 3B18 adds r3, r7, r0
  7665. 1924 00c6 9B88 ldrh r3, [r3, #4]
  7666. 1925 .loc 4 263 18
  7667. 1926 00c8 1B0A lsrs r3, r3, #8
  7668. 1927 00ca 99B2 uxth r1, r3
  7669. 1928 .loc 4 263 15
  7670. 1929 00cc FB69 ldr r3, [r7, #28]
  7671. 1930 00ce 5A1C adds r2, r3, #1
  7672. 1931 00d0 FA61 str r2, [r7, #28]
  7673. 1932 .loc 4 263 18
  7674. 1933 00d2 CAB2 uxtb r2, r1
  7675. 1934 00d4 1A70 strb r2, [r3]
  7676. 264:User/rtu.c **** *p++ = rec.temperature;
  7677. 1935 .loc 4 264 23
  7678. 1936 00d6 3B18 adds r3, r7, r0
  7679. 1937 00d8 9988 ldrh r1, [r3, #4]
  7680. 1938 .loc 4 264 15
  7681. 1939 00da FB69 ldr r3, [r7, #28]
  7682. 1940 00dc 5A1C adds r2, r3, #1
  7683. 1941 00de FA61 str r2, [r7, #28]
  7684. 1942 .loc 4 264 18
  7685. 1943 00e0 CAB2 uxtb r2, r1
  7686. 1944 00e2 1A70 strb r2, [r3]
  7687. 265:User/rtu.c **** *p++ = rec.humidity >> 8;
  7688. 1945 .loc 4 265 23
  7689. 1946 00e4 3B18 adds r3, r7, r0
  7690. 1947 00e6 DB88 ldrh r3, [r3, #6]
  7691. 1948 .loc 4 265 18
  7692. 1949 00e8 1B0A lsrs r3, r3, #8
  7693. 1950 00ea 99B2 uxth r1, r3
  7694. 1951 .loc 4 265 15
  7695. 1952 00ec FB69 ldr r3, [r7, #28]
  7696. 1953 00ee 5A1C adds r2, r3, #1
  7697. 1954 00f0 FA61 str r2, [r7, #28]
  7698. 1955 .loc 4 265 18
  7699. 1956 00f2 CAB2 uxtb r2, r1
  7700. 1957 00f4 1A70 strb r2, [r3]
  7701. 266:User/rtu.c **** *p++ = rec.humidity;
  7702. 1958 .loc 4 266 23
  7703. 1959 00f6 3B18 adds r3, r7, r0
  7704. 1960 00f8 D988 ldrh r1, [r3, #6]
  7705. 1961 .loc 4 266 15
  7706. 1962 00fa FB69 ldr r3, [r7, #28]
  7707. 1963 00fc 5A1C adds r2, r3, #1
  7708. 1964 00fe FA61 str r2, [r7, #28]
  7709. 1965 .loc 4 266 18
  7710. 1966 0100 CAB2 uxtb r2, r1
  7711. 1967 0102 1A70 strb r2, [r3]
  7712. 267:User/rtu.c **** *p++ = rec.illuminance >> 24;
  7713. 1968 .loc 4 267 23
  7714. 1969 0104 3B18 adds r3, r7, r0
  7715. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 134
  7716. 1970 0106 9B68 ldr r3, [r3, #8]
  7717. 1971 .loc 4 267 36
  7718. 1972 0108 190E lsrs r1, r3, #24
  7719. 1973 .loc 4 267 15
  7720. 1974 010a FB69 ldr r3, [r7, #28]
  7721. 1975 010c 5A1C adds r2, r3, #1
  7722. 1976 010e FA61 str r2, [r7, #28]
  7723. 1977 .loc 4 267 18
  7724. 1978 0110 CAB2 uxtb r2, r1
  7725. 1979 0112 1A70 strb r2, [r3]
  7726. 268:User/rtu.c **** *p++ = rec.illuminance >> 16;
  7727. 1980 .loc 4 268 23
  7728. 1981 0114 3B18 adds r3, r7, r0
  7729. 1982 0116 9B68 ldr r3, [r3, #8]
  7730. 1983 .loc 4 268 36
  7731. 1984 0118 190C lsrs r1, r3, #16
  7732. 1985 .loc 4 268 15
  7733. 1986 011a FB69 ldr r3, [r7, #28]
  7734. 1987 011c 5A1C adds r2, r3, #1
  7735. 1988 011e FA61 str r2, [r7, #28]
  7736. 1989 .loc 4 268 18
  7737. 1990 0120 CAB2 uxtb r2, r1
  7738. 1991 0122 1A70 strb r2, [r3]
  7739. 269:User/rtu.c **** *p++ = rec.illuminance >> 8;
  7740. 1992 .loc 4 269 23
  7741. 1993 0124 3B18 adds r3, r7, r0
  7742. 1994 0126 9B68 ldr r3, [r3, #8]
  7743. 1995 .loc 4 269 36
  7744. 1996 0128 190A lsrs r1, r3, #8
  7745. 1997 .loc 4 269 15
  7746. 1998 012a FB69 ldr r3, [r7, #28]
  7747. 1999 012c 5A1C adds r2, r3, #1
  7748. 2000 012e FA61 str r2, [r7, #28]
  7749. 2001 .loc 4 269 18
  7750. 2002 0130 CAB2 uxtb r2, r1
  7751. 2003 0132 1A70 strb r2, [r3]
  7752. 270:User/rtu.c **** *p++ = rec.illuminance;
  7753. 2004 .loc 4 270 23
  7754. 2005 0134 3B18 adds r3, r7, r0
  7755. 2006 0136 9968 ldr r1, [r3, #8]
  7756. 2007 .loc 4 270 15
  7757. 2008 0138 FB69 ldr r3, [r7, #28]
  7758. 2009 013a 5A1C adds r2, r3, #1
  7759. 2010 013c FA61 str r2, [r7, #28]
  7760. 2011 .loc 4 270 18
  7761. 2012 013e CAB2 uxtb r2, r1
  7762. 2013 0140 1A70 strb r2, [r3]
  7763. 271:User/rtu.c **** *p++ = rec.voltage >> 8;
  7764. 2014 .loc 4 271 23
  7765. 2015 0142 3B18 adds r3, r7, r0
  7766. 2016 0144 9B89 ldrh r3, [r3, #12]
  7767. 2017 .loc 4 271 18
  7768. 2018 0146 1B0A lsrs r3, r3, #8
  7769. 2019 0148 99B2 uxth r1, r3
  7770. 2020 .loc 4 271 15
  7771. 2021 014a FB69 ldr r3, [r7, #28]
  7772. 2022 014c 5A1C adds r2, r3, #1
  7773. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 135
  7774. 2023 014e FA61 str r2, [r7, #28]
  7775. 2024 .loc 4 271 18
  7776. 2025 0150 CAB2 uxtb r2, r1
  7777. 2026 0152 1A70 strb r2, [r3]
  7778. 272:User/rtu.c **** *p++ = rec.voltage;
  7779. 2027 .loc 4 272 23
  7780. 2028 0154 3B18 adds r3, r7, r0
  7781. 2029 0156 9989 ldrh r1, [r3, #12]
  7782. 2030 .loc 4 272 15
  7783. 2031 0158 FB69 ldr r3, [r7, #28]
  7784. 2032 015a 5A1C adds r2, r3, #1
  7785. 2033 015c FA61 str r2, [r7, #28]
  7786. 2034 .loc 4 272 18
  7787. 2035 015e CAB2 uxtb r2, r1
  7788. 2036 0160 1A70 strb r2, [r3]
  7789. 273:User/rtu.c ****
  7790. 274:User/rtu.c **** start_index = rtu_ctx.rec_pack.index[rtu_ctx.rec_pack.count] + 1;
  7791. 2037 .loc 4 274 66
  7792. 2038 0162 124B ldr r3, .L92
  7793. 2039 0164 B622 movs r2, #182
  7794. 2040 0166 9B5A ldrh r3, [r3, r2]
  7795. 2041 .loc 4 274 49
  7796. 2042 0168 104A ldr r2, .L92
  7797. 2043 016a 5833 adds r3, r3, #88
  7798. 2044 016c 5B00 lsls r3, r3, #1
  7799. 2045 016e D318 adds r3, r2, r3
  7800. 2046 0170 0833 adds r3, r3, #8
  7801. 2047 0172 1A88 ldrh r2, [r3]
  7802. 2048 .loc 4 274 25
  7803. 2049 0174 7B19 adds r3, r7, r5
  7804. 2050 0176 0132 adds r2, r2, #1
  7805. 2051 0178 1A80 strh r2, [r3]
  7806. 275:User/rtu.c **** rtu_ctx.rec_pack.count++;
  7807. 2052 .loc 4 275 29
  7808. 2053 017a 0C4B ldr r3, .L92
  7809. 2054 017c B622 movs r2, #182
  7810. 2055 017e 9B5A ldrh r3, [r3, r2]
  7811. 2056 .loc 4 275 35
  7812. 2057 0180 0133 adds r3, r3, #1
  7813. 2058 0182 99B2 uxth r1, r3
  7814. 2059 0184 094B ldr r3, .L92
  7815. 2060 0186 B622 movs r2, #182
  7816. 2061 0188 9952 strh r1, [r3, r2]
  7817. 2062 .LBE62:
  7818. 249:User/rtu.c **** {
  7819. 2063 .loc 4 249 44
  7820. 2064 018a 3B6A ldr r3, [r7, #32]
  7821. 2065 018c 0133 adds r3, r3, #1
  7822. 2066 018e 3B62 str r3, [r7, #32]
  7823. 2067 .L83:
  7824. 249:User/rtu.c **** {
  7825. 2068 .loc 4 249 23 discriminator 1
  7826. 2069 0190 3B6A ldr r3, [r7, #32]
  7827. 249:User/rtu.c **** {
  7828. 2070 .loc 4 249 5 discriminator 1
  7829. 2071 0192 772B cmp r3, #119
  7830. 2072 0194 00D8 bhi .LCB1681
  7831. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 136
  7832. 2073 0196 47E7 b .L88 @long jump
  7833. 2074 .LCB1681:
  7834. 2075 0198 04E0 b .L80
  7835. 2076 .L89:
  7836. 2077 .LBE61:
  7837. 247:User/rtu.c **** }
  7838. 2078 .loc 4 247 9
  7839. 2079 019a C046 nop
  7840. 2080 019c 02E0 b .L80
  7841. 2081 .L90:
  7842. 2082 .LBB63:
  7843. 253:User/rtu.c **** }
  7844. 2083 .loc 4 253 13
  7845. 2084 019e C046 nop
  7846. 2085 01a0 00E0 b .L80
  7847. 2086 .L91:
  7848. 276:User/rtu.c **** }
  7849. 277:User/rtu.c **** else
  7850. 278:User/rtu.c **** {
  7851. 279:User/rtu.c **** break;
  7852. 2087 .loc 4 279 13
  7853. 2088 01a2 C046 nop
  7854. 2089 .L80:
  7855. 2090 .LBE63:
  7856. 280:User/rtu.c **** }
  7857. 281:User/rtu.c **** }
  7858. 282:User/rtu.c **** }
  7859. 2091 .loc 4 282 1
  7860. 2092 01a4 BD46 mov sp, r7
  7861. 2093 01a6 0AB0 add sp, sp, #40
  7862. 2094 @ sp needed
  7863. 2095 01a8 B0BD pop {r4, r5, r7, pc}
  7864. 2096 .L93:
  7865. 2097 01aa C046 .align 2
  7866. 2098 .L92:
  7867. 2099 01ac 00000000 .word rtu_ctx
  7868. 2100 .cfi_endproc
  7869. 2101 .LFE946:
  7870. 2103 .section .text.rtu_unescape_data,"ax",%progbits
  7871. 2104 .align 1
  7872. 2105 .syntax unified
  7873. 2106 .code 16
  7874. 2107 .thumb_func
  7875. 2109 rtu_unescape_data:
  7876. 2110 .LFB947:
  7877. 283:User/rtu.c ****
  7878. 284:User/rtu.c **** static int rtu_unescape_data(const uint8_t *src, int src_len, uint8_t *dst, int dst_size)
  7879. 285:User/rtu.c **** {
  7880. 2111 .loc 4 285 1
  7881. 2112 .cfi_startproc
  7882. 2113 @ args = 0, pretend = 0, frame = 32
  7883. 2114 @ frame_needed = 1, uses_anonymous_args = 0
  7884. 2115 0000 80B5 push {r7, lr}
  7885. 2116 .LCFI66:
  7886. 2117 .cfi_def_cfa_offset 8
  7887. 2118 .cfi_offset 7, -8
  7888. 2119 .cfi_offset 14, -4
  7889. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 137
  7890. 2120 0002 88B0 sub sp, sp, #32
  7891. 2121 .LCFI67:
  7892. 2122 .cfi_def_cfa_offset 40
  7893. 2123 0004 00AF add r7, sp, #0
  7894. 2124 .LCFI68:
  7895. 2125 .cfi_def_cfa_register 7
  7896. 2126 0006 F860 str r0, [r7, #12]
  7897. 2127 0008 B960 str r1, [r7, #8]
  7898. 2128 000a 7A60 str r2, [r7, #4]
  7899. 2129 000c 3B60 str r3, [r7]
  7900. 286:User/rtu.c **** const uint8_t *src_end = src + src_len;
  7901. 2130 .loc 4 286 34
  7902. 2131 000e BB68 ldr r3, [r7, #8]
  7903. 2132 .loc 4 286 20
  7904. 2133 0010 FA68 ldr r2, [r7, #12]
  7905. 2134 0012 D318 adds r3, r2, r3
  7906. 2135 0014 BB61 str r3, [r7, #24]
  7907. 287:User/rtu.c **** uint8_t *dst_start = dst;
  7908. 2136 .loc 4 287 14
  7909. 2137 0016 7B68 ldr r3, [r7, #4]
  7910. 2138 0018 7B61 str r3, [r7, #20]
  7911. 288:User/rtu.c **** uint8_t *dst_end = dst + dst_size;
  7912. 2139 .loc 4 288 28
  7913. 2140 001a 3B68 ldr r3, [r7]
  7914. 2141 .loc 4 288 14
  7915. 2142 001c 7A68 ldr r2, [r7, #4]
  7916. 2143 001e D318 adds r3, r2, r3
  7917. 2144 0020 3B61 str r3, [r7, #16]
  7918. 289:User/rtu.c ****
  7919. 290:User/rtu.c **** while (src < src_end && dst < dst_end)
  7920. 2145 .loc 4 290 11
  7921. 2146 0022 32E0 b .L95
  7922. 2147 .L102:
  7923. 2148 .LBB64:
  7924. 291:User/rtu.c **** {
  7925. 292:User/rtu.c **** uint8_t byte = *src++;
  7926. 2149 .loc 4 292 28
  7927. 2150 0024 FB68 ldr r3, [r7, #12]
  7928. 2151 0026 5A1C adds r2, r3, #1
  7929. 2152 0028 FA60 str r2, [r7, #12]
  7930. 2153 .loc 4 292 17
  7931. 2154 002a 1F21 movs r1, #31
  7932. 2155 002c 7A18 adds r2, r7, r1
  7933. 2156 002e 1B78 ldrb r3, [r3]
  7934. 2157 0030 1370 strb r3, [r2]
  7935. 293:User/rtu.c **** if (byte == 0x7D)
  7936. 2158 .loc 4 293 12
  7937. 2159 0032 7B18 adds r3, r7, r1
  7938. 2160 0034 1B78 ldrb r3, [r3]
  7939. 2161 0036 7D2B cmp r3, #125
  7940. 2162 0038 20D1 bne .L96
  7941. 294:User/rtu.c **** {
  7942. 295:User/rtu.c **** if (src < src_end)
  7943. 2163 .loc 4 295 16
  7944. 2164 003a FA68 ldr r2, [r7, #12]
  7945. 2165 003c BB69 ldr r3, [r7, #24]
  7946. 2166 003e 9A42 cmp r2, r3
  7947. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 138
  7948. 2167 0040 19D2 bcs .L97
  7949. 296:User/rtu.c **** {
  7950. 297:User/rtu.c **** byte = *src++;
  7951. 2168 .loc 4 297 28
  7952. 2169 0042 FB68 ldr r3, [r7, #12]
  7953. 2170 0044 5A1C adds r2, r3, #1
  7954. 2171 0046 FA60 str r2, [r7, #12]
  7955. 2172 .loc 4 297 22
  7956. 2173 0048 7A18 adds r2, r7, r1
  7957. 2174 004a 1B78 ldrb r3, [r3]
  7958. 2175 004c 1370 strb r3, [r2]
  7959. 298:User/rtu.c **** if (byte == 0x5E)
  7960. 2176 .loc 4 298 20
  7961. 2177 004e 7B18 adds r3, r7, r1
  7962. 2178 0050 1B78 ldrb r3, [r3]
  7963. 2179 0052 5E2B cmp r3, #94
  7964. 2180 0054 03D1 bne .L98
  7965. 299:User/rtu.c **** {
  7966. 300:User/rtu.c **** byte = 0x7E;
  7967. 2181 .loc 4 300 26
  7968. 2182 0056 7B18 adds r3, r7, r1
  7969. 2183 0058 7E22 movs r2, #126
  7970. 2184 005a 1A70 strb r2, [r3]
  7971. 2185 005c 0EE0 b .L96
  7972. 2186 .L98:
  7973. 301:User/rtu.c **** }
  7974. 302:User/rtu.c **** else if (byte == 0x5D)
  7975. 2187 .loc 4 302 25
  7976. 2188 005e 1F22 movs r2, #31
  7977. 2189 0060 BB18 adds r3, r7, r2
  7978. 2190 0062 1B78 ldrb r3, [r3]
  7979. 2191 0064 5D2B cmp r3, #93
  7980. 2192 0066 03D1 bne .L99
  7981. 303:User/rtu.c **** {
  7982. 304:User/rtu.c **** byte = 0x7D;
  7983. 2193 .loc 4 304 26
  7984. 2194 0068 BB18 adds r3, r7, r2
  7985. 2195 006a 7D22 movs r2, #125
  7986. 2196 006c 1A70 strb r2, [r3]
  7987. 2197 006e 05E0 b .L96
  7988. 2198 .L99:
  7989. 305:User/rtu.c **** }
  7990. 306:User/rtu.c **** else
  7991. 307:User/rtu.c **** {
  7992. 308:User/rtu.c **** return -1; // 无效的转义�列
  7993. 2199 .loc 4 308 28
  7994. 2200 0070 0123 movs r3, #1
  7995. 2201 0072 5B42 rsbs r3, r3, #0
  7996. 2202 0074 14E0 b .L100
  7997. 2203 .L97:
  7998. 309:User/rtu.c **** }
  7999. 310:User/rtu.c **** }
  8000. 311:User/rtu.c **** else
  8001. 312:User/rtu.c **** {
  8002. 313:User/rtu.c **** return -1; // 转义字符��没有数�
  8003. 2204 .loc 4 313 24
  8004. 2205 0076 0123 movs r3, #1
  8005. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 139
  8006. 2206 0078 5B42 rsbs r3, r3, #0
  8007. 2207 007a 11E0 b .L100
  8008. 2208 .L96:
  8009. 314:User/rtu.c **** }
  8010. 315:User/rtu.c **** }
  8011. 316:User/rtu.c **** *dst++ = byte;
  8012. 2209 .loc 4 316 13
  8013. 2210 007c 7B68 ldr r3, [r7, #4]
  8014. 2211 007e 5A1C adds r2, r3, #1
  8015. 2212 0080 7A60 str r2, [r7, #4]
  8016. 2213 .loc 4 316 16
  8017. 2214 0082 1F22 movs r2, #31
  8018. 2215 0084 BA18 adds r2, r7, r2
  8019. 2216 0086 1278 ldrb r2, [r2]
  8020. 2217 0088 1A70 strb r2, [r3]
  8021. 2218 .L95:
  8022. 2219 .LBE64:
  8023. 290:User/rtu.c **** {
  8024. 2220 .loc 4 290 11
  8025. 2221 008a FA68 ldr r2, [r7, #12]
  8026. 2222 008c BB69 ldr r3, [r7, #24]
  8027. 2223 008e 9A42 cmp r2, r3
  8028. 2224 0090 03D2 bcs .L101
  8029. 290:User/rtu.c **** {
  8030. 2225 .loc 4 290 26 discriminator 1
  8031. 2226 0092 7A68 ldr r2, [r7, #4]
  8032. 2227 0094 3B69 ldr r3, [r7, #16]
  8033. 2228 0096 9A42 cmp r2, r3
  8034. 2229 0098 C4D3 bcc .L102
  8035. 2230 .L101:
  8036. 317:User/rtu.c **** }
  8037. 318:User/rtu.c ****
  8038. 319:User/rtu.c **** return dst - dst_start;
  8039. 2231 .loc 4 319 16
  8040. 2232 009a 7A68 ldr r2, [r7, #4]
  8041. 2233 009c 7B69 ldr r3, [r7, #20]
  8042. 2234 009e D31A subs r3, r2, r3
  8043. 2235 .L100:
  8044. 320:User/rtu.c **** }
  8045. 2236 .loc 4 320 1
  8046. 2237 00a0 1800 movs r0, r3
  8047. 2238 00a2 BD46 mov sp, r7
  8048. 2239 00a4 08B0 add sp, sp, #32
  8049. 2240 @ sp needed
  8050. 2241 00a6 80BD pop {r7, pc}
  8051. 2242 .cfi_endproc
  8052. 2243 .LFE947:
  8053. 2245 .section .text.rtu_send_realtime_data,"ax",%progbits
  8054. 2246 .align 1
  8055. 2247 .syntax unified
  8056. 2248 .code 16
  8057. 2249 .thumb_func
  8058. 2251 rtu_send_realtime_data:
  8059. 2252 .LFB948:
  8060. 321:User/rtu.c ****
  8061. 322:User/rtu.c **** // ��一�实时记录
  8062. 323:User/rtu.c **** static void rtu_send_realtime_data(void)
  8063. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 140
  8064. 324:User/rtu.c **** {
  8065. 2253 .loc 4 324 1
  8066. 2254 .cfi_startproc
  8067. 2255 @ args = 0, pretend = 0, frame = 40
  8068. 2256 @ frame_needed = 1, uses_anonymous_args = 0
  8069. 2257 0000 90B5 push {r4, r7, lr}
  8070. 2258 .LCFI69:
  8071. 2259 .cfi_def_cfa_offset 12
  8072. 2260 .cfi_offset 4, -12
  8073. 2261 .cfi_offset 7, -8
  8074. 2262 .cfi_offset 14, -4
  8075. 2263 0002 8BB0 sub sp, sp, #44
  8076. 2264 .LCFI70:
  8077. 2265 .cfi_def_cfa_offset 56
  8078. 2266 0004 00AF add r7, sp, #0
  8079. 2267 .LCFI71:
  8080. 2268 .cfi_def_cfa_register 7
  8081. 325:User/rtu.c **** uint8_t ack[14];
  8082. 326:User/rtu.c **** sensor_data_t data;
  8083. 327:User/rtu.c **** rtc_time_t time;
  8084. 328:User/rtu.c **** uint32_t timestamp;
  8085. 329:User/rtu.c ****
  8086. 330:User/rtu.c **** rtc_get_time(&time);
  8087. 2269 .loc 4 330 5
  8088. 2270 0006 3B00 movs r3, r7
  8089. 2271 0008 1800 movs r0, r3
  8090. 2272 000a FFF7FEFF bl rtc_get_time
  8091. 331:User/rtu.c **** timestamp = rtc_mktime(&time);
  8092. 2273 .loc 4 331 17
  8093. 2274 000e 3B00 movs r3, r7
  8094. 2275 0010 1800 movs r0, r3
  8095. 2276 0012 FFF7FEFF bl rtc_mktime
  8096. 2277 0016 0300 movs r3, r0
  8097. 2278 0018 7B62 str r3, [r7, #36]
  8098. 332:User/rtu.c **** sensor_get_data(&data);
  8099. 2279 .loc 4 332 5
  8100. 2280 001a 0824 movs r4, #8
  8101. 2281 001c 3B19 adds r3, r7, r4
  8102. 2282 001e 1800 movs r0, r3
  8103. 2283 0020 FFF7FEFF bl sensor_get_data
  8104. 333:User/rtu.c **** data.voltage = data.voltage;
  8105. 2284 .loc 4 333 24
  8106. 2285 0024 2000 movs r0, r4
  8107. 2286 0026 3B18 adds r3, r7, r0
  8108. 2287 0028 1A89 ldrh r2, [r3, #8]
  8109. 2288 .loc 4 333 18
  8110. 2289 002a 3B18 adds r3, r7, r0
  8111. 2290 002c 1A81 strh r2, [r3, #8]
  8112. 334:User/rtu.c **** ack[0] = timestamp >> 24;
  8113. 2291 .loc 4 334 24
  8114. 2292 002e 7B6A ldr r3, [r7, #36]
  8115. 2293 0030 1B0E lsrs r3, r3, #24
  8116. 2294 .loc 4 334 12
  8117. 2295 0032 DAB2 uxtb r2, r3
  8118. 2296 0034 1421 movs r1, #20
  8119. 2297 0036 7B18 adds r3, r7, r1
  8120. 2298 0038 1A70 strb r2, [r3]
  8121. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 141
  8122. 335:User/rtu.c **** ack[1] = timestamp >> 16;
  8123. 2299 .loc 4 335 24
  8124. 2300 003a 7B6A ldr r3, [r7, #36]
  8125. 2301 003c 1B0C lsrs r3, r3, #16
  8126. 2302 .loc 4 335 12
  8127. 2303 003e DAB2 uxtb r2, r3
  8128. 2304 0040 7B18 adds r3, r7, r1
  8129. 2305 0042 5A70 strb r2, [r3, #1]
  8130. 336:User/rtu.c **** ack[2] = timestamp >> 8;
  8131. 2306 .loc 4 336 24
  8132. 2307 0044 7B6A ldr r3, [r7, #36]
  8133. 2308 0046 1B0A lsrs r3, r3, #8
  8134. 2309 .loc 4 336 12
  8135. 2310 0048 DAB2 uxtb r2, r3
  8136. 2311 004a 7B18 adds r3, r7, r1
  8137. 2312 004c 9A70 strb r2, [r3, #2]
  8138. 337:User/rtu.c **** ack[3] = timestamp;
  8139. 2313 .loc 4 337 12
  8140. 2314 004e 7B6A ldr r3, [r7, #36]
  8141. 2315 0050 DAB2 uxtb r2, r3
  8142. 2316 0052 7B18 adds r3, r7, r1
  8143. 2317 0054 DA70 strb r2, [r3, #3]
  8144. 338:User/rtu.c **** ack[4] = data.temperature >> 8;
  8145. 2318 .loc 4 338 18
  8146. 2319 0056 3B18 adds r3, r7, r0
  8147. 2320 0058 0022 movs r2, #0
  8148. 2321 005a 9B5E ldrsh r3, [r3, r2]
  8149. 2322 .loc 4 338 12
  8150. 2323 005c 1B12 asrs r3, r3, #8
  8151. 2324 005e 1BB2 sxth r3, r3
  8152. 2325 0060 DAB2 uxtb r2, r3
  8153. 2326 0062 7B18 adds r3, r7, r1
  8154. 2327 0064 1A71 strb r2, [r3, #4]
  8155. 339:User/rtu.c **** ack[5] = data.temperature;
  8156. 2328 .loc 4 339 18
  8157. 2329 0066 3B18 adds r3, r7, r0
  8158. 2330 0068 0022 movs r2, #0
  8159. 2331 006a 9B5E ldrsh r3, [r3, r2]
  8160. 2332 .loc 4 339 12
  8161. 2333 006c DAB2 uxtb r2, r3
  8162. 2334 006e 7B18 adds r3, r7, r1
  8163. 2335 0070 5A71 strb r2, [r3, #5]
  8164. 340:User/rtu.c **** ack[6] = data.humidity >> 8;
  8165. 2336 .loc 4 340 18
  8166. 2337 0072 3B18 adds r3, r7, r0
  8167. 2338 0074 0222 movs r2, #2
  8168. 2339 0076 9B5E ldrsh r3, [r3, r2]
  8169. 2340 .loc 4 340 12
  8170. 2341 0078 1B12 asrs r3, r3, #8
  8171. 2342 007a 1BB2 sxth r3, r3
  8172. 2343 007c DAB2 uxtb r2, r3
  8173. 2344 007e 7B18 adds r3, r7, r1
  8174. 2345 0080 9A71 strb r2, [r3, #6]
  8175. 341:User/rtu.c **** ack[7] = data.humidity;
  8176. 2346 .loc 4 341 18
  8177. 2347 0082 3B18 adds r3, r7, r0
  8178. 2348 0084 0222 movs r2, #2
  8179. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 142
  8180. 2349 0086 9B5E ldrsh r3, [r3, r2]
  8181. 2350 .loc 4 341 12
  8182. 2351 0088 DAB2 uxtb r2, r3
  8183. 2352 008a 7B18 adds r3, r7, r1
  8184. 2353 008c DA71 strb r2, [r3, #7]
  8185. 342:User/rtu.c **** ack[8] = data.illuminance >> 24;
  8186. 2354 .loc 4 342 18
  8187. 2355 008e 3B18 adds r3, r7, r0
  8188. 2356 0090 5B68 ldr r3, [r3, #4]
  8189. 2357 .loc 4 342 31
  8190. 2358 0092 1B0E lsrs r3, r3, #24
  8191. 2359 .loc 4 342 12
  8192. 2360 0094 DAB2 uxtb r2, r3
  8193. 2361 0096 7B18 adds r3, r7, r1
  8194. 2362 0098 1A72 strb r2, [r3, #8]
  8195. 343:User/rtu.c **** ack[9] = data.illuminance >> 16;
  8196. 2363 .loc 4 343 18
  8197. 2364 009a 3B18 adds r3, r7, r0
  8198. 2365 009c 5B68 ldr r3, [r3, #4]
  8199. 2366 .loc 4 343 31
  8200. 2367 009e 1B0C lsrs r3, r3, #16
  8201. 2368 .loc 4 343 12
  8202. 2369 00a0 DAB2 uxtb r2, r3
  8203. 2370 00a2 7B18 adds r3, r7, r1
  8204. 2371 00a4 5A72 strb r2, [r3, #9]
  8205. 344:User/rtu.c **** ack[10] = data.illuminance >> 8;
  8206. 2372 .loc 4 344 19
  8207. 2373 00a6 3B18 adds r3, r7, r0
  8208. 2374 00a8 5B68 ldr r3, [r3, #4]
  8209. 2375 .loc 4 344 32
  8210. 2376 00aa 1B0A lsrs r3, r3, #8
  8211. 2377 .loc 4 344 13
  8212. 2378 00ac DAB2 uxtb r2, r3
  8213. 2379 00ae 7B18 adds r3, r7, r1
  8214. 2380 00b0 9A72 strb r2, [r3, #10]
  8215. 345:User/rtu.c **** ack[11] = data.illuminance;
  8216. 2381 .loc 4 345 19
  8217. 2382 00b2 3B18 adds r3, r7, r0
  8218. 2383 00b4 5B68 ldr r3, [r3, #4]
  8219. 2384 .loc 4 345 13
  8220. 2385 00b6 DAB2 uxtb r2, r3
  8221. 2386 00b8 7B18 adds r3, r7, r1
  8222. 2387 00ba DA72 strb r2, [r3, #11]
  8223. 346:User/rtu.c **** ack[12] = data.voltage >> 8;
  8224. 2388 .loc 4 346 19
  8225. 2389 00bc 3B18 adds r3, r7, r0
  8226. 2390 00be 1B89 ldrh r3, [r3, #8]
  8227. 2391 .loc 4 346 13
  8228. 2392 00c0 1B0A lsrs r3, r3, #8
  8229. 2393 00c2 9BB2 uxth r3, r3
  8230. 2394 00c4 DAB2 uxtb r2, r3
  8231. 2395 00c6 7B18 adds r3, r7, r1
  8232. 2396 00c8 1A73 strb r2, [r3, #12]
  8233. 347:User/rtu.c **** ack[13] = data.voltage;
  8234. 2397 .loc 4 347 19
  8235. 2398 00ca 3B18 adds r3, r7, r0
  8236. 2399 00cc 1B89 ldrh r3, [r3, #8]
  8237. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 143
  8238. 2400 .loc 4 347 13
  8239. 2401 00ce DAB2 uxtb r2, r3
  8240. 2402 00d0 7B18 adds r3, r7, r1
  8241. 2403 00d2 5A73 strb r2, [r3, #13]
  8242. 348:User/rtu.c **** rtu_send_pkt(1, 0x05, ack, 14);
  8243. 2404 .loc 4 348 5
  8244. 2405 00d4 7A18 adds r2, r7, r1
  8245. 2406 00d6 0E23 movs r3, #14
  8246. 2407 00d8 0521 movs r1, #5
  8247. 2408 00da 0120 movs r0, #1
  8248. 2409 00dc FFF7FEFF bl rtu_send_pkt
  8249. 349:User/rtu.c **** }
  8250. 2410 .loc 4 349 1
  8251. 2411 00e0 C046 nop
  8252. 2412 00e2 BD46 mov sp, r7
  8253. 2413 00e4 0BB0 add sp, sp, #44
  8254. 2414 @ sp needed
  8255. 2415 00e6 90BD pop {r4, r7, pc}
  8256. 2416 .cfi_endproc
  8257. 2417 .LFE948:
  8258. 2419 .section .text.rtu_rx_proc,"ax",%progbits
  8259. 2420 .align 1
  8260. 2421 .global rtu_rx_proc
  8261. 2422 .syntax unified
  8262. 2423 .code 16
  8263. 2424 .thumb_func
  8264. 2426 rtu_rx_proc:
  8265. 2427 .LFB949:
  8266. 350:User/rtu.c ****
  8267. 351:User/rtu.c **** int rtu_rx_proc(uint8_t *buf, int len)
  8268. 352:User/rtu.c **** {
  8269. 2428 .loc 4 352 1
  8270. 2429 .cfi_startproc
  8271. 2430 @ args = 0, pretend = 0, frame = 112
  8272. 2431 @ frame_needed = 1, uses_anonymous_args = 0
  8273. 2432 0000 F0B5 push {r4, r5, r6, r7, lr}
  8274. 2433 .LCFI72:
  8275. 2434 .cfi_def_cfa_offset 20
  8276. 2435 .cfi_offset 4, -20
  8277. 2436 .cfi_offset 5, -16
  8278. 2437 .cfi_offset 6, -12
  8279. 2438 .cfi_offset 7, -8
  8280. 2439 .cfi_offset 14, -4
  8281. 2440 0002 C646 mov lr, r8
  8282. 2441 0004 00B5 push {lr}
  8283. 2442 .LCFI73:
  8284. 2443 .cfi_def_cfa_offset 24
  8285. 2444 .cfi_offset 8, -24
  8286. 2445 0006 9CB0 sub sp, sp, #112
  8287. 2446 .LCFI74:
  8288. 2447 .cfi_def_cfa_offset 136
  8289. 2448 0008 00AF add r7, sp, #0
  8290. 2449 .LCFI75:
  8291. 2450 .cfi_def_cfa_register 7
  8292. 2451 000a F861 str r0, [r7, #28]
  8293. 2452 000c B961 str r1, [r7, #24]
  8294. 353:User/rtu.c **** int processed = 0;
  8295. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 144
  8296. 2453 .loc 4 353 9
  8297. 2454 000e 0023 movs r3, #0
  8298. 2455 0010 FB66 str r3, [r7, #108]
  8299. 354:User/rtu.c ****
  8300. 355:User/rtu.c **** while (len > 0)
  8301. 2456 .loc 4 355 11
  8302. 2457 0012 63E2 b .L105
  8303. 2458 .L152:
  8304. 2459 .LBB65:
  8305. 356:User/rtu.c **** {
  8306. 357:User/rtu.c **** // 查找帧头0x7D
  8307. 358:User/rtu.c **** int frame_start = -1;
  8308. 2460 .loc 4 358 13
  8309. 2461 0014 0123 movs r3, #1
  8310. 2462 0016 5B42 rsbs r3, r3, #0
  8311. 2463 0018 BB66 str r3, [r7, #104]
  8312. 2464 .LBB66:
  8313. 359:User/rtu.c **** for (int i = 0; i < len; i++)
  8314. 2465 .loc 4 359 18
  8315. 2466 001a 0023 movs r3, #0
  8316. 2467 001c 7B66 str r3, [r7, #100]
  8317. 2468 .loc 4 359 9
  8318. 2469 001e 22E0 b .L106
  8319. 2470 .L111:
  8320. 360:User/rtu.c **** {
  8321. 361:User/rtu.c **** if (buf[i] == 0x7D)
  8322. 2471 .loc 4 361 20
  8323. 2472 0020 7B6E ldr r3, [r7, #100]
  8324. 2473 0022 FA69 ldr r2, [r7, #28]
  8325. 2474 0024 D318 adds r3, r2, r3
  8326. 2475 0026 1B78 ldrb r3, [r3]
  8327. 2476 .loc 4 361 16
  8328. 2477 0028 7D2B cmp r3, #125
  8329. 2478 002a 19D1 bne .L107
  8330. 362:User/rtu.c **** {
  8331. 363:User/rtu.c **** if (i + 1 < len)
  8332. 2479 .loc 4 363 23
  8333. 2480 002c 7B6E ldr r3, [r7, #100]
  8334. 2481 002e 0133 adds r3, r3, #1
  8335. 2482 .loc 4 363 20
  8336. 2483 0030 BA69 ldr r2, [r7, #24]
  8337. 2484 0032 9A42 cmp r2, r3
  8338. 2485 0034 11DD ble .L108
  8339. 364:User/rtu.c **** {
  8340. 365:User/rtu.c **** if (buf[i + 1] == 0x5E || buf[i + 1] == 0x5D)
  8341. 2486 .loc 4 365 28
  8342. 2487 0036 7B6E ldr r3, [r7, #100]
  8343. 2488 0038 0133 adds r3, r3, #1
  8344. 2489 003a FA69 ldr r2, [r7, #28]
  8345. 2490 003c D318 adds r3, r2, r3
  8346. 2491 003e 1B78 ldrb r3, [r3]
  8347. 2492 .loc 4 365 24
  8348. 2493 0040 5E2B cmp r3, #94
  8349. 2494 0042 06D0 beq .L109
  8350. 2495 .loc 4 365 50 discriminator 1
  8351. 2496 0044 7B6E ldr r3, [r7, #100]
  8352. 2497 0046 0133 adds r3, r3, #1
  8353. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 145
  8354. 2498 0048 FA69 ldr r2, [r7, #28]
  8355. 2499 004a D318 adds r3, r2, r3
  8356. 2500 004c 1B78 ldrb r3, [r3]
  8357. 2501 .loc 4 365 44 discriminator 1
  8358. 2502 004e 5D2B cmp r3, #93
  8359. 2503 0050 03D1 bne .L108
  8360. 2504 .L109:
  8361. 366:User/rtu.c **** {
  8362. 367:User/rtu.c **** i++;
  8363. 2505 .loc 4 367 26
  8364. 2506 0052 7B6E ldr r3, [r7, #100]
  8365. 2507 0054 0133 adds r3, r3, #1
  8366. 2508 0056 7B66 str r3, [r7, #100]
  8367. 368:User/rtu.c **** continue;
  8368. 2509 .loc 4 368 25
  8369. 2510 0058 02E0 b .L107
  8370. 2511 .L108:
  8371. 369:User/rtu.c **** }
  8372. 370:User/rtu.c **** }
  8373. 371:User/rtu.c **** frame_start = i;
  8374. 2512 .loc 4 371 29
  8375. 2513 005a 7B6E ldr r3, [r7, #100]
  8376. 2514 005c BB66 str r3, [r7, #104]
  8377. 372:User/rtu.c **** break;
  8378. 2515 .loc 4 372 17
  8379. 2516 005e 06E0 b .L110
  8380. 2517 .L107:
  8381. 359:User/rtu.c **** {
  8382. 2518 .loc 4 359 35 discriminator 2
  8383. 2519 0060 7B6E ldr r3, [r7, #100]
  8384. 2520 0062 0133 adds r3, r3, #1
  8385. 2521 0064 7B66 str r3, [r7, #100]
  8386. 2522 .L106:
  8387. 359:User/rtu.c **** {
  8388. 2523 .loc 4 359 9 discriminator 1
  8389. 2524 0066 7A6E ldr r2, [r7, #100]
  8390. 2525 0068 BB69 ldr r3, [r7, #24]
  8391. 2526 006a 9A42 cmp r2, r3
  8392. 2527 006c D8DB blt .L111
  8393. 2528 .L110:
  8394. 2529 .LBE66:
  8395. 373:User/rtu.c **** }
  8396. 374:User/rtu.c **** }
  8397. 375:User/rtu.c ****
  8398. 376:User/rtu.c **** if (frame_start < 0)
  8399. 2530 .loc 4 376 12
  8400. 2531 006e BB6E ldr r3, [r7, #104]
  8401. 2532 0070 002B cmp r3, #0
  8402. 2533 0072 00DA bge .LCB2098
  8403. 2534 0074 37E2 b .L156 @long jump
  8404. 2535 .LCB2098:
  8405. 377:User/rtu.c **** {
  8406. 378:User/rtu.c **** break;
  8407. 379:User/rtu.c **** }
  8408. 380:User/rtu.c ****
  8409. 381:User/rtu.c **** if (frame_start > 0)
  8410. 2536 .loc 4 381 12
  8411. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 146
  8412. 2537 0076 BB6E ldr r3, [r7, #104]
  8413. 2538 0078 002B cmp r3, #0
  8414. 2539 007a 07DD ble .L114
  8415. 382:User/rtu.c **** {
  8416. 383:User/rtu.c **** buf += frame_start;
  8417. 2540 .loc 4 383 17
  8418. 2541 007c BB6E ldr r3, [r7, #104]
  8419. 2542 007e FA69 ldr r2, [r7, #28]
  8420. 2543 0080 D318 adds r3, r2, r3
  8421. 2544 0082 FB61 str r3, [r7, #28]
  8422. 384:User/rtu.c **** len -= frame_start;
  8423. 2545 .loc 4 384 17
  8424. 2546 0084 BA69 ldr r2, [r7, #24]
  8425. 2547 0086 BB6E ldr r3, [r7, #104]
  8426. 2548 0088 D31A subs r3, r2, r3
  8427. 2549 008a BB61 str r3, [r7, #24]
  8428. 2550 .L114:
  8429. 385:User/rtu.c **** }
  8430. 386:User/rtu.c ****
  8431. 387:User/rtu.c **** if (len < 6)
  8432. 2551 .loc 4 387 12
  8433. 2552 008c BB69 ldr r3, [r7, #24]
  8434. 2553 008e 052B cmp r3, #5
  8435. 2554 0090 00DC bgt .LCB2114
  8436. 2555 0092 2AE2 b .L157 @long jump
  8437. 2556 .LCB2114:
  8438. 388:User/rtu.c **** {
  8439. 389:User/rtu.c **** break;
  8440. 390:User/rtu.c **** }
  8441. 391:User/rtu.c ****
  8442. 392:User/rtu.c **** // 查找帧尾 0x7E
  8443. 393:User/rtu.c **** int frame_end = -1;
  8444. 2557 .loc 4 393 13
  8445. 2558 0094 0123 movs r3, #1
  8446. 2559 0096 5B42 rsbs r3, r3, #0
  8447. 2560 0098 3B66 str r3, [r7, #96]
  8448. 2561 .LBB67:
  8449. 394:User/rtu.c **** for (int i = 1; i < len; i++)
  8450. 2562 .loc 4 394 18
  8451. 2563 009a 0123 movs r3, #1
  8452. 2564 009c FB65 str r3, [r7, #92]
  8453. 2565 .loc 4 394 9
  8454. 2566 009e 0BE0 b .L116
  8455. 2567 .L119:
  8456. 395:User/rtu.c **** {
  8457. 396:User/rtu.c **** if (buf[i] == 0x7E)
  8458. 2568 .loc 4 396 20
  8459. 2569 00a0 FB6D ldr r3, [r7, #92]
  8460. 2570 00a2 FA69 ldr r2, [r7, #28]
  8461. 2571 00a4 D318 adds r3, r2, r3
  8462. 2572 00a6 1B78 ldrb r3, [r3]
  8463. 2573 .loc 4 396 16
  8464. 2574 00a8 7E2B cmp r3, #126
  8465. 2575 00aa 02D1 bne .L117
  8466. 397:User/rtu.c **** {
  8467. 398:User/rtu.c **** frame_end = i;
  8468. 2576 .loc 4 398 27
  8469. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 147
  8470. 2577 00ac FB6D ldr r3, [r7, #92]
  8471. 2578 00ae 3B66 str r3, [r7, #96]
  8472. 399:User/rtu.c **** break;
  8473. 2579 .loc 4 399 17
  8474. 2580 00b0 06E0 b .L118
  8475. 2581 .L117:
  8476. 394:User/rtu.c **** {
  8477. 2582 .loc 4 394 35 discriminator 2
  8478. 2583 00b2 FB6D ldr r3, [r7, #92]
  8479. 2584 00b4 0133 adds r3, r3, #1
  8480. 2585 00b6 FB65 str r3, [r7, #92]
  8481. 2586 .L116:
  8482. 394:User/rtu.c **** {
  8483. 2587 .loc 4 394 9 discriminator 1
  8484. 2588 00b8 FA6D ldr r2, [r7, #92]
  8485. 2589 00ba BB69 ldr r3, [r7, #24]
  8486. 2590 00bc 9A42 cmp r2, r3
  8487. 2591 00be EFDB blt .L119
  8488. 2592 .L118:
  8489. 2593 .LBE67:
  8490. 400:User/rtu.c **** }
  8491. 401:User/rtu.c **** }
  8492. 402:User/rtu.c ****
  8493. 403:User/rtu.c **** if (frame_end < 0)
  8494. 2594 .loc 4 403 12
  8495. 2595 00c0 3B6E ldr r3, [r7, #96]
  8496. 2596 00c2 002B cmp r3, #0
  8497. 2597 00c4 00DA bge .LCB2150
  8498. 2598 00c6 12E2 b .L158 @long jump
  8499. 2599 .LCB2150:
  8500. 404:User/rtu.c **** {
  8501. 405:User/rtu.c **** break;
  8502. 406:User/rtu.c **** }
  8503. 407:User/rtu.c ****
  8504. 408:User/rtu.c **** // ��完整帧进行处�
  8505. 409:User/rtu.c **** int frame_len = frame_end + 1;
  8506. 2600 .loc 4 409 13
  8507. 2601 00c8 3B6E ldr r3, [r7, #96]
  8508. 2602 00ca 0133 adds r3, r3, #1
  8509. 2603 00cc 7B65 str r3, [r7, #84]
  8510. 410:User/rtu.c ****
  8511. 411:User/rtu.c **** // 检查帧长度有效性
  8512. 412:User/rtu.c **** if (frame_len < 6)
  8513. 2604 .loc 4 412 12
  8514. 2605 00ce 7B6D ldr r3, [r7, #84]
  8515. 2606 00d0 052B cmp r3, #5
  8516. 2607 00d2 08DC bgt .L121
  8517. 413:User/rtu.c **** {
  8518. 414:User/rtu.c **** buf += frame_len;
  8519. 2608 .loc 4 414 17
  8520. 2609 00d4 7B6D ldr r3, [r7, #84]
  8521. 2610 00d6 FA69 ldr r2, [r7, #28]
  8522. 2611 00d8 D318 adds r3, r2, r3
  8523. 2612 00da FB61 str r3, [r7, #28]
  8524. 415:User/rtu.c **** len -= frame_len;
  8525. 2613 .loc 4 415 17
  8526. 2614 00dc BA69 ldr r2, [r7, #24]
  8527. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 148
  8528. 2615 00de 7B6D ldr r3, [r7, #84]
  8529. 2616 00e0 D31A subs r3, r2, r3
  8530. 2617 00e2 BB61 str r3, [r7, #24]
  8531. 416:User/rtu.c **** continue;
  8532. 2618 .loc 4 416 13
  8533. 2619 00e4 FAE1 b .L105
  8534. 2620 .L121:
  8535. 417:User/rtu.c **** }
  8536. 418:User/rtu.c ****
  8537. 419:User/rtu.c **** // 将已�转义的字节��
  8538. 420:User/rtu.c **** uint8_t unescaped_buf[frame_len - 2]; // �包括起始符和结�符
  8539. 2621 .loc 4 420 41
  8540. 2622 00e6 7B6D ldr r3, [r7, #84]
  8541. 2623 00e8 9A1E subs r2, r3, #2
  8542. 2624 .loc 4 420 9
  8543. 2625 00ea 6B46 mov r3, sp
  8544. 2626 00ec 9846 mov r8, r3
  8545. 2627 .loc 4 420 17
  8546. 2628 00ee 531E subs r3, r2, #1
  8547. 2629 00f0 3B65 str r3, [r7, #80]
  8548. 2630 00f2 1300 movs r3, r2
  8549. 2631 00f4 BB60 str r3, [r7, #8]
  8550. 2632 00f6 0023 movs r3, #0
  8551. 2633 00f8 FB60 str r3, [r7, #12]
  8552. 2634 00fa B868 ldr r0, [r7, #8]
  8553. 2635 00fc F968 ldr r1, [r7, #12]
  8554. 2636 00fe 0300 movs r3, r0
  8555. 2637 0100 5B0F lsrs r3, r3, #29
  8556. 2638 0102 0E00 movs r6, r1
  8557. 2639 0104 F500 lsls r5, r6, #3
  8558. 2640 0106 1D43 orrs r5, r3
  8559. 2641 0108 0300 movs r3, r0
  8560. 2642 010a DC00 lsls r4, r3, #3
  8561. 2643 010c 1300 movs r3, r2
  8562. 2644 010e 3B60 str r3, [r7]
  8563. 2645 0110 0023 movs r3, #0
  8564. 2646 0112 7B60 str r3, [r7, #4]
  8565. 2647 0114 3868 ldr r0, [r7]
  8566. 2648 0116 7968 ldr r1, [r7, #4]
  8567. 2649 0118 0300 movs r3, r0
  8568. 2650 011a 5B0F lsrs r3, r3, #29
  8569. 2651 011c 0E00 movs r6, r1
  8570. 2652 011e F600 lsls r6, r6, #3
  8571. 2653 0120 7E61 str r6, [r7, #20]
  8572. 2654 0122 7E69 ldr r6, [r7, #20]
  8573. 2655 0124 1E43 orrs r6, r3
  8574. 2656 0126 7E61 str r6, [r7, #20]
  8575. 2657 0128 0300 movs r3, r0
  8576. 2658 012a DB00 lsls r3, r3, #3
  8577. 2659 012c 3B61 str r3, [r7, #16]
  8578. 2660 012e 1300 movs r3, r2
  8579. 2661 0130 0733 adds r3, r3, #7
  8580. 2662 0132 DB08 lsrs r3, r3, #3
  8581. 2663 0134 DB00 lsls r3, r3, #3
  8582. 2664 0136 6946 mov r1, sp
  8583. 2665 0138 CB1A subs r3, r1, r3
  8584. 2666 013a 9D46 mov sp, r3
  8585. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 149
  8586. 2667 013c 6B46 mov r3, sp
  8587. 2668 013e 0033 adds r3, r3, #0
  8588. 2669 0140 FB64 str r3, [r7, #76]
  8589. 421:User/rtu.c **** int unescaped_len = rtu_unescape_data(buf + 1, frame_len - 2, unescaped_buf, sizeof(unescap
  8590. 2670 .loc 4 421 51
  8591. 2671 0142 FB69 ldr r3, [r7, #28]
  8592. 2672 0144 5E1C adds r6, r3, #1
  8593. 2673 .loc 4 421 29
  8594. 2674 0146 7B6D ldr r3, [r7, #84]
  8595. 2675 0148 981E subs r0, r3, #2
  8596. 2676 014a F96C ldr r1, [r7, #76]
  8597. 2677 014c 1300 movs r3, r2
  8598. 2678 014e 0A00 movs r2, r1
  8599. 2679 0150 0100 movs r1, r0
  8600. 2680 0152 3000 movs r0, r6
  8601. 2681 0154 FFF7FEFF bl rtu_unescape_data
  8602. 2682 0158 0300 movs r3, r0
  8603. 2683 015a BB64 str r3, [r7, #72]
  8604. 422:User/rtu.c **** if (unescaped_len < 0)
  8605. 2684 .loc 4 422 12
  8606. 2685 015c BB6C ldr r3, [r7, #72]
  8607. 2686 015e 002B cmp r3, #0
  8608. 2687 0160 08DA bge .L122
  8609. 423:User/rtu.c **** {
  8610. 424:User/rtu.c **** // 解转义错误,跳过此帧继续处�
  8611. 425:User/rtu.c **** buf += frame_len;
  8612. 2688 .loc 4 425 17
  8613. 2689 0162 7B6D ldr r3, [r7, #84]
  8614. 2690 0164 FA69 ldr r2, [r7, #28]
  8615. 2691 0166 D318 adds r3, r2, r3
  8616. 2692 0168 FB61 str r3, [r7, #28]
  8617. 426:User/rtu.c **** len -= frame_len;
  8618. 2693 .loc 4 426 17
  8619. 2694 016a BA69 ldr r2, [r7, #24]
  8620. 2695 016c 7B6D ldr r3, [r7, #84]
  8621. 2696 016e D31A subs r3, r2, r3
  8622. 2697 0170 BB61 str r3, [r7, #24]
  8623. 427:User/rtu.c **** continue;
  8624. 2698 .loc 4 427 13
  8625. 2699 0172 B2E1 b .L123
  8626. 2700 .L122:
  8627. 428:User/rtu.c **** }
  8628. 429:User/rtu.c ****
  8629. 430:User/rtu.c **** // CRC校验
  8630. 431:User/rtu.c **** if (CRC16(unescaped_buf, unescaped_len) != 0)
  8631. 2701 .loc 4 431 13
  8632. 2702 0174 BB6C ldr r3, [r7, #72]
  8633. 2703 0176 9AB2 uxth r2, r3
  8634. 2704 0178 FB6C ldr r3, [r7, #76]
  8635. 2705 017a 1100 movs r1, r2
  8636. 2706 017c 1800 movs r0, r3
  8637. 2707 017e FFF7FEFF bl CRC16
  8638. 2708 0182 031E subs r3, r0, #0
  8639. 2709 .loc 4 431 12
  8640. 2710 0184 08D0 beq .L124
  8641. 432:User/rtu.c **** {
  8642. 433:User/rtu.c **** buf += frame_len;
  8643. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 150
  8644. 2711 .loc 4 433 17
  8645. 2712 0186 7B6D ldr r3, [r7, #84]
  8646. 2713 0188 FA69 ldr r2, [r7, #28]
  8647. 2714 018a D318 adds r3, r2, r3
  8648. 2715 018c FB61 str r3, [r7, #28]
  8649. 434:User/rtu.c **** len -= frame_len;
  8650. 2716 .loc 4 434 17
  8651. 2717 018e BA69 ldr r2, [r7, #24]
  8652. 2718 0190 7B6D ldr r3, [r7, #84]
  8653. 2719 0192 D31A subs r3, r2, r3
  8654. 2720 0194 BB61 str r3, [r7, #24]
  8655. 435:User/rtu.c **** continue;
  8656. 2721 .loc 4 435 13
  8657. 2722 0196 A0E1 b .L123
  8658. 2723 .L124:
  8659. 436:User/rtu.c **** }
  8660. 437:User/rtu.c ****
  8661. 438:User/rtu.c **** if (unescaped_buf[1] == rtu_ctx.last_cmd)
  8662. 2724 .loc 4 438 26
  8663. 2725 0198 FB6C ldr r3, [r7, #76]
  8664. 2726 019a 5A78 ldrb r2, [r3, #1]
  8665. 2727 .loc 4 438 40
  8666. 2728 019c DB4B ldr r3, .L164
  8667. 2729 019e DB78 ldrb r3, [r3, #3]
  8668. 2730 .loc 4 438 12
  8669. 2731 01a0 9A42 cmp r2, r3
  8670. 2732 01a2 02D1 bne .L125
  8671. 439:User/rtu.c **** {
  8672. 440:User/rtu.c **** rtu_ctx.tsk_tmo = 0;
  8673. 2733 .loc 4 440 29
  8674. 2734 01a4 D94B ldr r3, .L164
  8675. 2735 01a6 0022 movs r2, #0
  8676. 2736 01a8 DA60 str r2, [r3, #12]
  8677. 2737 .L125:
  8678. 441:User/rtu.c **** }
  8679. 442:User/rtu.c ****
  8680. 443:User/rtu.c **** switch (unescaped_buf[1])
  8681. 2738 .loc 4 443 30
  8682. 2739 01aa FB6C ldr r3, [r7, #76]
  8683. 2740 01ac 5B78 ldrb r3, [r3, #1]
  8684. 2741 .loc 4 443 9
  8685. 2742 01ae 072B cmp r3, #7
  8686. 2743 01b0 00D9 bls .LCB2275
  8687. 2744 01b2 7DE1 b .L159 @long jump
  8688. 2745 .LCB2275:
  8689. 2746 01b4 9A00 lsls r2, r3, #2
  8690. 2747 01b6 D64B ldr r3, .L164+4
  8691. 2748 01b8 D318 adds r3, r2, r3
  8692. 2749 01ba 1B68 ldr r3, [r3]
  8693. 2750 01bc 9F46 mov pc, r3
  8694. 2751 .section .rodata.rtu_rx_proc,"a",%progbits
  8695. 2752 .align 2
  8696. 2753 .L128:
  8697. 2754 0000 B0040000 .word .L159
  8698. 2755 0004 BE010000 .word .L129
  8699. 2756 0008 EE010000 .word .L133
  8700. 2757 000c 1E020000 .word .L132
  8701. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 151
  8702. 2758 0010 B8020000 .word .L131
  8703. 2759 0014 DE030000 .word .L130
  8704. 2760 0018 BE010000 .word .L129
  8705. 2761 001c E4030000 .word .L127
  8706. 2762 .section .text.rtu_rx_proc
  8707. 2763 .L129:
  8708. 444:User/rtu.c **** {
  8709. 445:User/rtu.c **** case 0x01: // 状�应答
  8710. 446:User/rtu.c **** case 0x06: // 掉电通知的应答
  8711. 447:User/rtu.c **** {
  8712. 448:User/rtu.c **** if (unescaped_len >= 6)
  8713. 2764 .loc 4 448 16
  8714. 2765 01be BB6C ldr r3, [r7, #72]
  8715. 2766 01c0 052B cmp r3, #5
  8716. 2767 01c2 00DC bgt .LCB2289
  8717. 2768 01c4 76E1 b .L160 @long jump
  8718. 2769 .LCB2289:
  8719. 2770 .LBB68:
  8720. 449:User/rtu.c **** {
  8721. 450:User/rtu.c **** uint32_t sta;
  8722. 451:User/rtu.c **** sta = (uint32_t)(unescaped_buf[2] << 24 | unescaped_buf[3] << 16 |
  8723. 2771 .loc 4 451 47
  8724. 2772 01c6 FB6C ldr r3, [r7, #76]
  8725. 2773 01c8 9B78 ldrb r3, [r3, #2]
  8726. 2774 .loc 4 451 51
  8727. 2775 01ca 1A06 lsls r2, r3, #24
  8728. 2776 .loc 4 451 72
  8729. 2777 01cc FB6C ldr r3, [r7, #76]
  8730. 2778 01ce DB78 ldrb r3, [r3, #3]
  8731. 2779 .loc 4 451 76
  8732. 2780 01d0 1B04 lsls r3, r3, #16
  8733. 2781 .loc 4 451 57
  8734. 2782 01d2 1A43 orrs r2, r3
  8735. 452:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
  8736. 2783 .loc 4 452 47
  8737. 2784 01d4 FB6C ldr r3, [r7, #76]
  8738. 2785 01d6 1B79 ldrb r3, [r3, #4]
  8739. 2786 .loc 4 452 51
  8740. 2787 01d8 1B02 lsls r3, r3, #8
  8741. 451:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
  8742. 2788 .loc 4 451 82
  8743. 2789 01da 1343 orrs r3, r2
  8744. 2790 .loc 4 452 71
  8745. 2791 01dc FA6C ldr r2, [r7, #76]
  8746. 2792 01de 5279 ldrb r2, [r2, #5]
  8747. 2793 .loc 4 452 56
  8748. 2794 01e0 1343 orrs r3, r2
  8749. 451:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
  8750. 2795 .loc 4 451 21
  8751. 2796 01e2 7B63 str r3, [r7, #52]
  8752. 453:User/rtu.c **** rtu_parse_sta(sta);
  8753. 2797 .loc 4 453 17
  8754. 2798 01e4 7B6B ldr r3, [r7, #52]
  8755. 2799 01e6 1800 movs r0, r3
  8756. 2800 01e8 FFF7FEFF bl rtu_parse_sta
  8757. 2801 .LBE68:
  8758. 454:User/rtu.c **** }
  8759. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 152
  8760. 455:User/rtu.c **** }
  8761. 456:User/rtu.c **** break;
  8762. 2802 .loc 4 456 9
  8763. 2803 01ec 62E1 b .L160
  8764. 2804 .L133:
  8765. 2805 .LBB69:
  8766. 457:User/rtu.c **** case 0x02: // 记录上传的应答
  8767. 458:User/rtu.c **** // 记录上传�功,删除已���的记录
  8768. 459:User/rtu.c **** for (int i = 0; i < rtu_ctx.rec_pack.count; i++)
  8769. 2806 .loc 4 459 22
  8770. 2807 01ee 0023 movs r3, #0
  8771. 2808 01f0 BB65 str r3, [r7, #88]
  8772. 2809 .loc 4 459 13
  8773. 2810 01f2 0CE0 b .L136
  8774. 2811 .L137:
  8775. 460:User/rtu.c **** {
  8776. 461:User/rtu.c **** rec_delete(rtu_ctx.rec_pack.index[i]);
  8777. 2812 .loc 4 461 17 discriminator 3
  8778. 2813 01f4 C54A ldr r2, .L164
  8779. 2814 01f6 BB6D ldr r3, [r7, #88]
  8780. 2815 01f8 5833 adds r3, r3, #88
  8781. 2816 01fa 5B00 lsls r3, r3, #1
  8782. 2817 01fc D318 adds r3, r2, r3
  8783. 2818 01fe 0833 adds r3, r3, #8
  8784. 2819 0200 1B88 ldrh r3, [r3]
  8785. 2820 0202 1800 movs r0, r3
  8786. 2821 0204 FFF7FEFF bl rec_delete
  8787. 459:User/rtu.c **** {
  8788. 2822 .loc 4 459 58 discriminator 3
  8789. 2823 0208 BB6D ldr r3, [r7, #88]
  8790. 2824 020a 0133 adds r3, r3, #1
  8791. 2825 020c BB65 str r3, [r7, #88]
  8792. 2826 .L136:
  8793. 459:User/rtu.c **** {
  8794. 2827 .loc 4 459 49 discriminator 1
  8795. 2828 020e BF4B ldr r3, .L164
  8796. 2829 0210 B622 movs r2, #182
  8797. 2830 0212 9B5A ldrh r3, [r3, r2]
  8798. 2831 0214 1A00 movs r2, r3
  8799. 459:User/rtu.c **** {
  8800. 2832 .loc 4 459 13 discriminator 1
  8801. 2833 0216 BB6D ldr r3, [r7, #88]
  8802. 2834 0218 9342 cmp r3, r2
  8803. 2835 021a EBDB blt .L137
  8804. 2836 .LBE69:
  8805. 462:User/rtu.c **** }
  8806. 463:User/rtu.c **** break;
  8807. 2837 .loc 4 463 13
  8808. 2838 021c 51E1 b .L135
  8809. 2839 .L132:
  8810. 464:User/rtu.c **** case 0x03: // 校时应答
  8811. 465:User/rtu.c **** {
  8812. 466:User/rtu.c **** if (unescaped_len >= 6)
  8813. 2840 .loc 4 466 16
  8814. 2841 021e BB6C ldr r3, [r7, #72]
  8815. 2842 0220 052B cmp r3, #5
  8816. 2843 0222 00DC bgt .LCB2349
  8817. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 153
  8818. 2844 0224 48E1 b .L161 @long jump
  8819. 2845 .LCB2349:
  8820. 2846 .LBB70:
  8821. 467:User/rtu.c **** {
  8822. 468:User/rtu.c **** uint32_t server_time, local_time;
  8823. 469:User/rtu.c **** rtc_time_t time;
  8824. 470:User/rtu.c ****
  8825. 471:User/rtu.c **** server_time = (uint32_t)(unescaped_buf[2] << 24 | unescaped_buf[3] << 16 |
  8826. 2847 .loc 4 471 55
  8827. 2848 0226 FB6C ldr r3, [r7, #76]
  8828. 2849 0228 9B78 ldrb r3, [r3, #2]
  8829. 2850 .loc 4 471 59
  8830. 2851 022a 1A06 lsls r2, r3, #24
  8831. 2852 .loc 4 471 80
  8832. 2853 022c FB6C ldr r3, [r7, #76]
  8833. 2854 022e DB78 ldrb r3, [r3, #3]
  8834. 2855 .loc 4 471 84
  8835. 2856 0230 1B04 lsls r3, r3, #16
  8836. 2857 .loc 4 471 65
  8837. 2858 0232 1A43 orrs r2, r3
  8838. 472:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
  8839. 2859 .loc 4 472 55
  8840. 2860 0234 FB6C ldr r3, [r7, #76]
  8841. 2861 0236 1B79 ldrb r3, [r3, #4]
  8842. 2862 .loc 4 472 59
  8843. 2863 0238 1B02 lsls r3, r3, #8
  8844. 471:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
  8845. 2864 .loc 4 471 90
  8846. 2865 023a 1343 orrs r3, r2
  8847. 2866 .loc 4 472 79
  8848. 2867 023c FA6C ldr r2, [r7, #76]
  8849. 2868 023e 5279 ldrb r2, [r2, #5]
  8850. 2869 .loc 4 472 64
  8851. 2870 0240 1343 orrs r3, r2
  8852. 471:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
  8853. 2871 .loc 4 471 29
  8854. 2872 0242 FB63 str r3, [r7, #60]
  8855. 473:User/rtu.c **** rtc_get_time(&time);
  8856. 2873 .loc 4 473 17
  8857. 2874 0244 1426 movs r6, #20
  8858. 2875 0246 1823 movs r3, #24
  8859. 2876 0248 F218 adds r2, r6, r3
  8860. 2877 024a D319 adds r3, r2, r7
  8861. 2878 024c 1800 movs r0, r3
  8862. 2879 024e FFF7FEFF bl rtc_get_time
  8863. 474:User/rtu.c **** local_time = rtc_mktime(&time);
  8864. 2880 .loc 4 474 30
  8865. 2881 0252 1823 movs r3, #24
  8866. 2882 0254 F318 adds r3, r6, r3
  8867. 2883 0256 DB19 adds r3, r3, r7
  8868. 2884 0258 1800 movs r0, r3
  8869. 2885 025a FFF7FEFF bl rtc_mktime
  8870. 2886 025e 0300 movs r3, r0
  8871. 2887 0260 BB63 str r3, [r7, #56]
  8872. 475:User/rtu.c ****
  8873. 476:User/rtu.c **** // 根��务器时间校准本机时间
  8874. 477:User/rtu.c **** if (diff_abs(server_time, local_time) > 2)
  8875. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 154
  8876. 2888 .loc 4 477 55
  8877. 2889 0262 FA6B ldr r2, [r7, #60]
  8878. 2890 0264 BB6B ldr r3, [r7, #56]
  8879. 2891 0266 9A42 cmp r2, r3
  8880. 2892 0268 08D9 bls .L139
  8881. 2893 .loc 4 477 21 discriminator 1
  8882. 2894 026a FA6B ldr r2, [r7, #60]
  8883. 2895 026c BB6B ldr r3, [r7, #56]
  8884. 2896 026e D31A subs r3, r2, r3
  8885. 2897 .loc 4 477 55 discriminator 1
  8886. 2898 0270 0222 movs r2, #2
  8887. 2899 0272 9A42 cmp r2, r3
  8888. 2900 0274 9B41 sbcs r3, r3, r3
  8889. 2901 0276 5B42 rsbs r3, r3, #0
  8890. 2902 0278 DBB2 uxtb r3, r3
  8891. 2903 027a 07E0 b .L140
  8892. 2904 .L139:
  8893. 2905 .loc 4 477 21 discriminator 2
  8894. 2906 027c BA6B ldr r2, [r7, #56]
  8895. 2907 027e FB6B ldr r3, [r7, #60]
  8896. 2908 0280 D31A subs r3, r2, r3
  8897. 2909 .loc 4 477 55 discriminator 2
  8898. 2910 0282 0222 movs r2, #2
  8899. 2911 0284 9A42 cmp r2, r3
  8900. 2912 0286 9B41 sbcs r3, r3, r3
  8901. 2913 0288 5B42 rsbs r3, r3, #0
  8902. 2914 028a DBB2 uxtb r3, r3
  8903. 2915 .L140:
  8904. 2916 .loc 4 477 20 discriminator 4
  8905. 2917 028c 002B cmp r3, #0
  8906. 2918 028e 0ED0 beq .L141
  8907. 478:User/rtu.c **** {
  8908. 479:User/rtu.c **** rtc_gmtime(&time, server_time);
  8909. 2919 .loc 4 479 21
  8910. 2920 0290 FA6B ldr r2, [r7, #60]
  8911. 2921 0292 1426 movs r6, #20
  8912. 2922 0294 1823 movs r3, #24
  8913. 2923 0296 F118 adds r1, r6, r3
  8914. 2924 0298 CB19 adds r3, r1, r7
  8915. 2925 029a 1100 movs r1, r2
  8916. 2926 029c 1800 movs r0, r3
  8917. 2927 029e FFF7FEFF bl rtc_gmtime
  8918. 480:User/rtu.c **** rtc_set_time(&time);
  8919. 2928 .loc 4 480 21
  8920. 2929 02a2 1823 movs r3, #24
  8921. 2930 02a4 F318 adds r3, r6, r3
  8922. 2931 02a6 DB19 adds r3, r3, r7
  8923. 2932 02a8 1800 movs r0, r3
  8924. 2933 02aa FFF7FEFF bl rtc_set_time
  8925. 2934 .L141:
  8926. 481:User/rtu.c **** }
  8927. 482:User/rtu.c **** rtu_ctx.time_syncd = 1;
  8928. 2935 .loc 4 482 36
  8929. 2936 02ae 974B ldr r3, .L164
  8930. 2937 02b0 A022 movs r2, #160
  8931. 2938 02b2 0121 movs r1, #1
  8932. 2939 02b4 9950 str r1, [r3, r2]
  8933. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 155
  8934. 2940 .LBE70:
  8935. 483:User/rtu.c **** }
  8936. 484:User/rtu.c **** }
  8937. 485:User/rtu.c **** break;
  8938. 2941 .loc 4 485 9
  8939. 2942 02b6 FFE0 b .L161
  8940. 2943 .L131:
  8941. 486:User/rtu.c **** case 0x04: // �数�步请求的应答
  8942. 487:User/rtu.c **** {
  8943. 488:User/rtu.c **** if (unescaped_len >= 7)
  8944. 2944 .loc 4 488 16
  8945. 2945 02b8 BB6C ldr r3, [r7, #72]
  8946. 2946 02ba 062B cmp r3, #6
  8947. 2947 02bc 00DC bgt .LCB2439
  8948. 2948 02be FDE0 b .L162 @long jump
  8949. 2949 .LCB2439:
  8950. 2950 .LBB71:
  8951. 489:User/rtu.c **** {
  8952. 490:User/rtu.c **** uint32_t para_ver;
  8953. 491:User/rtu.c ****
  8954. 492:User/rtu.c **** // 获�4字节�数版本�,大端模�
  8955. 493:User/rtu.c **** para_ver = (uint32_t)((unescaped_buf[2] << 24) | (unescaped_buf[3] << 16) |
  8956. 2951 .loc 4 493 53
  8957. 2952 02c0 FB6C ldr r3, [r7, #76]
  8958. 2953 02c2 9B78 ldrb r3, [r3, #2]
  8959. 2954 .loc 4 493 57
  8960. 2955 02c4 1A06 lsls r2, r3, #24
  8961. 2956 .loc 4 493 80
  8962. 2957 02c6 FB6C ldr r3, [r7, #76]
  8963. 2958 02c8 DB78 ldrb r3, [r3, #3]
  8964. 2959 .loc 4 493 84
  8965. 2960 02ca 1B04 lsls r3, r3, #16
  8966. 2961 .loc 4 493 64
  8967. 2962 02cc 1A43 orrs r2, r3
  8968. 494:User/rtu.c **** (unescaped_buf[4] << 8) | unescaped_buf[5]);
  8969. 2963 .loc 4 494 53
  8970. 2964 02ce FB6C ldr r3, [r7, #76]
  8971. 2965 02d0 1B79 ldrb r3, [r3, #4]
  8972. 2966 .loc 4 494 57
  8973. 2967 02d2 1B02 lsls r3, r3, #8
  8974. 493:User/rtu.c **** (unescaped_buf[4] << 8) | unescaped_buf[5]);
  8975. 2968 .loc 4 493 91
  8976. 2969 02d4 1343 orrs r3, r2
  8977. 2970 .loc 4 494 78
  8978. 2971 02d6 FA6C ldr r2, [r7, #76]
  8979. 2972 02d8 5279 ldrb r2, [r2, #5]
  8980. 2973 .loc 4 494 63
  8981. 2974 02da 1343 orrs r3, r2
  8982. 493:User/rtu.c **** (unescaped_buf[4] << 8) | unescaped_buf[5]);
  8983. 2975 .loc 4 493 26
  8984. 2976 02dc 3B64 str r3, [r7, #64]
  8985. 495:User/rtu.c **** if (para_ver != para.ver)
  8986. 2977 .loc 4 495 37
  8987. 2978 02de 8D4B ldr r3, .L164+8
  8988. 2979 02e0 1A78 ldrb r2, [r3]
  8989. 2980 02e2 5978 ldrb r1, [r3, #1]
  8990. 2981 02e4 0902 lsls r1, r1, #8
  8991. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 156
  8992. 2982 02e6 0A43 orrs r2, r1
  8993. 2983 02e8 9978 ldrb r1, [r3, #2]
  8994. 2984 02ea 0904 lsls r1, r1, #16
  8995. 2985 02ec 0A43 orrs r2, r1
  8996. 2986 02ee DB78 ldrb r3, [r3, #3]
  8997. 2987 02f0 1B06 lsls r3, r3, #24
  8998. 2988 02f2 1343 orrs r3, r2
  8999. 2989 02f4 1A00 movs r2, r3
  9000. 2990 .loc 4 495 20
  9001. 2991 02f6 3B6C ldr r3, [r7, #64]
  9002. 2992 02f8 9342 cmp r3, r2
  9003. 2993 02fa 6BD0 beq .L143
  9004. 496:User/rtu.c **** {
  9005. 497:User/rtu.c **** // 获�新的�数
  9006. 498:User/rtu.c **** para.ver = para_ver;
  9007. 2994 .loc 4 498 30
  9008. 2995 02fc 854B ldr r3, .L164+8
  9009. 2996 02fe 2822 movs r2, #40
  9010. 2997 0300 1826 movs r6, #24
  9011. 2998 0302 9219 adds r2, r2, r6
  9012. 2999 0304 D219 adds r2, r2, r7
  9013. 3000 0306 1078 ldrb r0, [r2]
  9014. 3001 0308 1A78 ldrb r2, [r3]
  9015. 3002 030a 0021 movs r1, #0
  9016. 3003 030c 0A40 ands r2, r1
  9017. 3004 030e 111C adds r1, r2, #0
  9018. 3005 0310 021C adds r2, r0, #0
  9019. 3006 0312 0A43 orrs r2, r1
  9020. 3007 0314 1A70 strb r2, [r3]
  9021. 3008 0316 2922 movs r2, #41
  9022. 3009 0318 9219 adds r2, r2, r6
  9023. 3010 031a D219 adds r2, r2, r7
  9024. 3011 031c 1078 ldrb r0, [r2]
  9025. 3012 031e 5A78 ldrb r2, [r3, #1]
  9026. 3013 0320 0021 movs r1, #0
  9027. 3014 0322 0A40 ands r2, r1
  9028. 3015 0324 111C adds r1, r2, #0
  9029. 3016 0326 021C adds r2, r0, #0
  9030. 3017 0328 0A43 orrs r2, r1
  9031. 3018 032a 5A70 strb r2, [r3, #1]
  9032. 3019 032c 2A22 movs r2, #42
  9033. 3020 032e 9219 adds r2, r2, r6
  9034. 3021 0330 D219 adds r2, r2, r7
  9035. 3022 0332 1078 ldrb r0, [r2]
  9036. 3023 0334 9A78 ldrb r2, [r3, #2]
  9037. 3024 0336 0021 movs r1, #0
  9038. 3025 0338 0A40 ands r2, r1
  9039. 3026 033a 111C adds r1, r2, #0
  9040. 3027 033c 021C adds r2, r0, #0
  9041. 3028 033e 0A43 orrs r2, r1
  9042. 3029 0340 9A70 strb r2, [r3, #2]
  9043. 3030 0342 2B22 movs r2, #43
  9044. 3031 0344 9219 adds r2, r2, r6
  9045. 3032 0346 D219 adds r2, r2, r7
  9046. 3033 0348 1078 ldrb r0, [r2]
  9047. 3034 034a DA78 ldrb r2, [r3, #3]
  9048. 3035 034c 0021 movs r1, #0
  9049. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 157
  9050. 3036 034e 0A40 ands r2, r1
  9051. 3037 0350 111C adds r1, r2, #0
  9052. 3038 0352 021C adds r2, r0, #0
  9053. 3039 0354 0A43 orrs r2, r1
  9054. 3040 0356 DA70 strb r2, [r3, #3]
  9055. 499:User/rtu.c **** para.mode = unescaped_buf[6];
  9056. 3041 .loc 4 499 46
  9057. 3042 0358 FB6C ldr r3, [r7, #76]
  9058. 3043 035a 9A79 ldrb r2, [r3, #6]
  9059. 3044 .loc 4 499 31
  9060. 3045 035c 6D4B ldr r3, .L164+8
  9061. 3046 035e 1A71 strb r2, [r3, #4]
  9062. 500:User/rtu.c **** if (unescaped_len >= 8)
  9063. 3047 .loc 4 500 24
  9064. 3048 0360 BB6C ldr r3, [r7, #72]
  9065. 3049 0362 072B cmp r3, #7
  9066. 3050 0364 03DD ble .L144
  9067. 501:User/rtu.c **** para.light_mode_hours = unescaped_buf[7];
  9068. 3051 .loc 4 501 62
  9069. 3052 0366 FB6C ldr r3, [r7, #76]
  9070. 3053 0368 DA79 ldrb r2, [r3, #7]
  9071. 3054 .loc 4 501 47
  9072. 3055 036a 6A4B ldr r3, .L164+8
  9073. 3056 036c 5A71 strb r2, [r3, #5]
  9074. 3057 .L144:
  9075. 502:User/rtu.c **** if (unescaped_len >= 9)
  9076. 3058 .loc 4 502 24
  9077. 3059 036e BB6C ldr r3, [r7, #72]
  9078. 3060 0370 082B cmp r3, #8
  9079. 3061 0372 03DD ble .L145
  9080. 503:User/rtu.c **** para.time_mode_start = unescaped_buf[8];
  9081. 3062 .loc 4 503 61
  9082. 3063 0374 FB6C ldr r3, [r7, #76]
  9083. 3064 0376 1A7A ldrb r2, [r3, #8]
  9084. 3065 .loc 4 503 46
  9085. 3066 0378 664B ldr r3, .L164+8
  9086. 3067 037a 9A71 strb r2, [r3, #6]
  9087. 3068 .L145:
  9088. 504:User/rtu.c **** if (unescaped_len >= 10)
  9089. 3069 .loc 4 504 24
  9090. 3070 037c BB6C ldr r3, [r7, #72]
  9091. 3071 037e 092B cmp r3, #9
  9092. 3072 0380 03DD ble .L146
  9093. 505:User/rtu.c **** para.time_mode_end = unescaped_buf[9];
  9094. 3073 .loc 4 505 59
  9095. 3074 0382 FB6C ldr r3, [r7, #76]
  9096. 3075 0384 5A7A ldrb r2, [r3, #9]
  9097. 3076 .loc 4 505 44
  9098. 3077 0386 634B ldr r3, .L164+8
  9099. 3078 0388 DA71 strb r2, [r3, #7]
  9100. 3079 .L146:
  9101. 506:User/rtu.c **** if (unescaped_len >= 12)
  9102. 3080 .loc 4 506 24
  9103. 3081 038a BB6C ldr r3, [r7, #72]
  9104. 3082 038c 0B2B cmp r3, #11
  9105. 3083 038e 1DDD ble .L147
  9106. 507:User/rtu.c **** para.photo_interval = ((uint16_t)unescaped_buf[10] << 8) + unescaped_buf[11
  9107. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 158
  9108. 3084 .loc 4 507 71
  9109. 3085 0390 FB6C ldr r3, [r7, #76]
  9110. 3086 0392 9B7A ldrb r3, [r3, #10]
  9111. 3087 0394 9BB2 uxth r3, r3
  9112. 3088 .loc 4 507 76
  9113. 3089 0396 1B02 lsls r3, r3, #8
  9114. 3090 0398 9AB2 uxth r2, r3
  9115. 3091 .loc 4 507 97
  9116. 3092 039a FB6C ldr r3, [r7, #76]
  9117. 3093 039c DB7A ldrb r3, [r3, #11]
  9118. 3094 039e 9BB2 uxth r3, r3
  9119. 3095 .loc 4 507 82
  9120. 3096 03a0 D318 adds r3, r2, r3
  9121. 3097 03a2 98B2 uxth r0, r3
  9122. 3098 .loc 4 507 45
  9123. 3099 03a4 5B49 ldr r1, .L164+8
  9124. 3100 03a6 FF23 movs r3, #255
  9125. 3101 03a8 0340 ands r3, r0
  9126. 3102 03aa 1E00 movs r6, r3
  9127. 3103 03ac 0A7A ldrb r2, [r1, #8]
  9128. 3104 03ae 0023 movs r3, #0
  9129. 3105 03b0 1340 ands r3, r2
  9130. 3106 03b2 1A1C adds r2, r3, #0
  9131. 3107 03b4 331C adds r3, r6, #0
  9132. 3108 03b6 1343 orrs r3, r2
  9133. 3109 03b8 0B72 strb r3, [r1, #8]
  9134. 3110 03ba 030A lsrs r3, r0, #8
  9135. 3111 03bc 98B2 uxth r0, r3
  9136. 3112 03be 4B7A ldrb r3, [r1, #9]
  9137. 3113 03c0 0022 movs r2, #0
  9138. 3114 03c2 1340 ands r3, r2
  9139. 3115 03c4 1A1C adds r2, r3, #0
  9140. 3116 03c6 031C adds r3, r0, #0
  9141. 3117 03c8 1343 orrs r3, r2
  9142. 3118 03ca 4B72 strb r3, [r1, #9]
  9143. 3119 .L147:
  9144. 508:User/rtu.c **** para_write(&para);
  9145. 3120 .loc 4 508 21
  9146. 3121 03cc 514B ldr r3, .L164+8
  9147. 3122 03ce 1800 movs r0, r3
  9148. 3123 03d0 FFF7FEFF bl para_write
  9149. 3124 .L143:
  9150. 509:User/rtu.c **** }
  9151. 510:User/rtu.c **** rtu_ctx.para_chked = 1;
  9152. 3125 .loc 4 510 36
  9153. 3126 03d4 4D4B ldr r3, .L164
  9154. 3127 03d6 A822 movs r2, #168
  9155. 3128 03d8 0121 movs r1, #1
  9156. 3129 03da 9950 str r1, [r3, r2]
  9157. 3130 .LBE71:
  9158. 511:User/rtu.c **** }
  9159. 512:User/rtu.c **** }
  9160. 513:User/rtu.c **** break;
  9161. 3131 .loc 4 513 9
  9162. 3132 03dc 6EE0 b .L162
  9163. 3133 .L130:
  9164. 514:User/rtu.c **** case 0x05: // RTU获�实时数�的请求
  9165. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 159
  9166. 515:User/rtu.c **** {
  9167. 516:User/rtu.c **** rtu_send_realtime_data();
  9168. 3134 .loc 4 516 13
  9169. 3135 03de FFF7FEFF bl rtu_send_realtime_data
  9170. 517:User/rtu.c **** break;
  9171. 3136 .loc 4 517 13
  9172. 3137 03e2 6EE0 b .L135
  9173. 3138 .L127:
  9174. 3139 .LBB72:
  9175. 518:User/rtu.c **** }
  9176. 519:User/rtu.c **** case CMD_OTA_START: //RTU YMODEM�级的请求
  9177. 520:User/rtu.c **** {
  9178. 521:User/rtu.c **** if (rtu_ctx.ota_ongoing)
  9179. 3140 .loc 4 521 24
  9180. 3141 03e4 494B ldr r3, .L164
  9181. 3142 03e6 9C22 movs r2, #156
  9182. 3143 03e8 9B58 ldr r3, [r3, r2]
  9183. 3144 .loc 4 521 16
  9184. 3145 03ea 002B cmp r3, #0
  9185. 3146 03ec 68D1 bne .L163
  9186. 522:User/rtu.c **** {
  9187. 523:User/rtu.c **** break;
  9188. 524:User/rtu.c **** }
  9189. 525:User/rtu.c **** rtu_ctx.ota_ongoing = unescaped_buf[2];
  9190. 3147 .loc 4 525 48
  9191. 3148 03ee FB6C ldr r3, [r7, #76]
  9192. 3149 03f0 9B78 ldrb r3, [r3, #2]
  9193. 3150 03f2 1900 movs r1, r3
  9194. 3151 .loc 4 525 33
  9195. 3152 03f4 454B ldr r3, .L164
  9196. 3153 03f6 9C22 movs r2, #156
  9197. 3154 03f8 9950 str r1, [r3, r2]
  9198. 526:User/rtu.c **** //关闭接收中断
  9199. 527:User/rtu.c **** LL_USART_DisableIT_RXNE(COM_RTU);
  9200. 3155 .loc 4 527 13
  9201. 3156 03fa 474B ldr r3, .L164+12
  9202. 3157 03fc 1800 movs r0, r3
  9203. 3158 03fe FFF7FEFF bl LL_USART_DisableIT_RXNE_RXFNE
  9204. 528:User/rtu.c **** uint32_t recvSize = 0;
  9205. 3159 .loc 4 528 22
  9206. 3160 0402 0023 movs r3, #0
  9207. 3161 0404 BB62 str r3, [r7, #40]
  9208. 529:User/rtu.c **** // flashStartAddr = 0,flashMaxSize = 0 表示从 0 开始,直到芯片末尾
  9209. 530:User/rtu.c **** int32_t ret = Ymodem_ReceiveToW25Qxx(EXT_FLASH_FW_DATA_ADDR, APP_MAX_SIZE, &recvSize);
  9210. 3162 .loc 4 530 27
  9211. 3163 0406 1023 movs r3, #16
  9212. 3164 0408 1822 movs r2, #24
  9213. 3165 040a 9B18 adds r3, r3, r2
  9214. 3166 040c DA19 adds r2, r3, r7
  9215. 3167 040e C423 movs r3, #196
  9216. 3168 0410 5B02 lsls r3, r3, #9
  9217. 3169 0412 4248 ldr r0, .L164+16
  9218. 3170 0414 1900 movs r1, r3
  9219. 3171 0416 FFF7FEFF bl Ymodem_ReceiveToW25Qxx
  9220. 3172 041a 0300 movs r3, r0
  9221. 3173 041c 7B64 str r3, [r7, #68]
  9222. 531:User/rtu.c ****
  9223. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 160
  9224. 532:User/rtu.c **** if (ret == 0)
  9225. 3174 .loc 4 532 16
  9226. 3175 041e 7B6C ldr r3, [r7, #68]
  9227. 3176 0420 002B cmp r3, #0
  9228. 3177 0422 2ED1 bne .L150
  9229. 3178 .LBB73:
  9230. 533:User/rtu.c **** {
  9231. 534:User/rtu.c **** // recvSize 字节的文件已�从 flash 地� 0 开始存好了
  9232. 535:User/rtu.c **** // 这里�以�校验��动应用�更新标志�等�作
  9233. 536:User/rtu.c **** //标志�写入外部flash,先擦�写,按扇区擦除
  9234. 537:User/rtu.c **** W25qxx_EraseSector(EXT_FLASH_FW_FLAG_ADDR);
  9235. 3179 .loc 4 537 17
  9236. 3180 0424 F023 movs r3, #240
  9237. 3181 0426 1B01 lsls r3, r3, #4
  9238. 3182 0428 1800 movs r0, r3
  9239. 3183 042a FFF7FEFF bl W25qxx_EraseSector
  9240. 538:User/rtu.c **** W25qxx_WriteByte(0xAA,EXT_FLASH_FW_FLAG_ADDR);
  9241. 3184 .loc 4 538 17
  9242. 3185 042e F023 movs r3, #240
  9243. 3186 0430 1B01 lsls r3, r3, #4
  9244. 3187 0432 1900 movs r1, r3
  9245. 3188 0434 AA20 movs r0, #170
  9246. 3189 0436 FFF7FEFF bl W25qxx_WriteByte
  9247. 539:User/rtu.c **** //文件大�写入外部flash recvSize(字节数)
  9248. 540:User/rtu.c **** // 将uint32_t的4个字节分别写入
  9249. 541:User/rtu.c **** W25qxx_WriteByte((recvSize >> 0) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 0); // 字节0
  9250. 3190 .loc 4 541 44
  9251. 3191 043a BB6A ldr r3, [r7, #40]
  9252. 3192 .loc 4 541 17
  9253. 3193 043c FF22 movs r2, #255
  9254. 3194 043e 1340 ands r3, r2
  9255. 3195 0440 374A ldr r2, .L164+20
  9256. 3196 0442 1100 movs r1, r2
  9257. 3197 0444 1800 movs r0, r3
  9258. 3198 0446 FFF7FEFF bl W25qxx_WriteByte
  9259. 542:User/rtu.c **** W25qxx_WriteByte((recvSize >> 8) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 1); // 字节1
  9260. 3199 .loc 4 542 44
  9261. 3200 044a BB6A ldr r3, [r7, #40]
  9262. 3201 044c 1B0A lsrs r3, r3, #8
  9263. 3202 .loc 4 542 17
  9264. 3203 044e FF22 movs r2, #255
  9265. 3204 0450 1340 ands r3, r2
  9266. 3205 0452 344A ldr r2, .L164+24
  9267. 3206 0454 1100 movs r1, r2
  9268. 3207 0456 1800 movs r0, r3
  9269. 3208 0458 FFF7FEFF bl W25qxx_WriteByte
  9270. 543:User/rtu.c **** W25qxx_WriteByte((recvSize >> 16) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 2); // 字节2
  9271. 3209 .loc 4 543 44
  9272. 3210 045c BB6A ldr r3, [r7, #40]
  9273. 3211 045e 1B0C lsrs r3, r3, #16
  9274. 3212 .loc 4 543 17
  9275. 3213 0460 FF22 movs r2, #255
  9276. 3214 0462 1340 ands r3, r2
  9277. 3215 0464 304A ldr r2, .L164+28
  9278. 3216 0466 1100 movs r1, r2
  9279. 3217 0468 1800 movs r0, r3
  9280. 3218 046a FFF7FEFF bl W25qxx_WriteByte
  9281. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 161
  9282. 544:User/rtu.c **** W25qxx_WriteByte((recvSize >> 24) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 3); // 字节3
  9283. 3219 .loc 4 544 17
  9284. 3220 046e BB6A ldr r3, [r7, #40]
  9285. 3221 .loc 4 544 44
  9286. 3222 0470 1B0E lsrs r3, r3, #24
  9287. 3223 .loc 4 544 17
  9288. 3224 0472 2E4A ldr r2, .L164+32
  9289. 3225 0474 1100 movs r1, r2
  9290. 3226 0476 1800 movs r0, r3
  9291. 3227 0478 FFF7FEFF bl W25qxx_WriteByte
  9292. 545:User/rtu.c **** //��
  9293. 546:User/rtu.c **** HAL_NVIC_SystemReset();
  9294. 3228 .loc 4 546 17
  9295. 3229 047c FFF7FEFF bl HAL_NVIC_SystemReset
  9296. 3230 .LBE73:
  9297. 547:User/rtu.c **** }
  9298. 548:User/rtu.c **** else
  9299. 549:User/rtu.c **** {
  9300. 550:User/rtu.c **** // 失败:��串�帧接收,清除 ota_ongoing 标记
  9301. 551:User/rtu.c **** rtu_ctx.ota_ongoing = 0;
  9302. 552:User/rtu.c **** LL_USART_EnableIT_RXNE(COM_RTU);
  9303. 553:User/rtu.c **** // �选:把错误�返回给上�机,方便调试
  9304. 554:User/rtu.c **** uint8_t err = (uint8_t)(ret & 0xFF);
  9305. 555:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, &err, 1);
  9306. 556:User/rtu.c **** }
  9307. 557:User/rtu.c **** break;
  9308. 3231 .loc 4 557 13
  9309. 3232 0480 1FE0 b .L135
  9310. 3233 .L150:
  9311. 3234 .LBB74:
  9312. 551:User/rtu.c **** LL_USART_EnableIT_RXNE(COM_RTU);
  9313. 3235 .loc 4 551 37
  9314. 3236 0482 224B ldr r3, .L164
  9315. 3237 0484 9C22 movs r2, #156
  9316. 3238 0486 0021 movs r1, #0
  9317. 3239 0488 9950 str r1, [r3, r2]
  9318. 552:User/rtu.c **** // �选:把错误�返回给上�机,方便调试
  9319. 3240 .loc 4 552 17
  9320. 3241 048a 234B ldr r3, .L164+12
  9321. 3242 048c 1800 movs r0, r3
  9322. 3243 048e FFF7FEFF bl LL_USART_EnableIT_RXNE_RXFNE
  9323. 554:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, &err, 1);
  9324. 3244 .loc 4 554 31
  9325. 3245 0492 7B6C ldr r3, [r7, #68]
  9326. 3246 0494 DAB2 uxtb r2, r3
  9327. 554:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, &err, 1);
  9328. 3247 .loc 4 554 25
  9329. 3248 0496 0F21 movs r1, #15
  9330. 3249 0498 1820 movs r0, #24
  9331. 3250 049a 0B18 adds r3, r1, r0
  9332. 3251 049c DB19 adds r3, r3, r7
  9333. 3252 049e 1A70 strb r2, [r3]
  9334. 555:User/rtu.c **** }
  9335. 3253 .loc 4 555 17
  9336. 3254 04a0 0B18 adds r3, r1, r0
  9337. 3255 04a2 DA19 adds r2, r3, r7
  9338. 3256 04a4 0123 movs r3, #1
  9339. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 162
  9340. 3257 04a6 0721 movs r1, #7
  9341. 3258 04a8 0120 movs r0, #1
  9342. 3259 04aa FFF7FEFF bl rtu_send_pkt
  9343. 3260 .LBE74:
  9344. 3261 .loc 4 557 13
  9345. 3262 04ae 08E0 b .L135
  9346. 3263 .L159:
  9347. 3264 .LBE72:
  9348. 558:User/rtu.c **** }
  9349. 559:User/rtu.c **** default:
  9350. 560:User/rtu.c **** break;
  9351. 3265 .loc 4 560 13
  9352. 3266 04b0 C046 nop
  9353. 3267 04b2 06E0 b .L135
  9354. 3268 .L160:
  9355. 456:User/rtu.c **** case 0x02: // 记录上传的应答
  9356. 3269 .loc 4 456 9
  9357. 3270 04b4 C046 nop
  9358. 3271 04b6 04E0 b .L135
  9359. 3272 .L161:
  9360. 485:User/rtu.c **** case 0x04: // �数�步请求的应答
  9361. 3273 .loc 4 485 9
  9362. 3274 04b8 C046 nop
  9363. 3275 04ba 02E0 b .L135
  9364. 3276 .L162:
  9365. 513:User/rtu.c **** case 0x05: // RTU获�实时数�的请求
  9366. 3277 .loc 4 513 9
  9367. 3278 04bc C046 nop
  9368. 3279 04be 00E0 b .L135
  9369. 3280 .L163:
  9370. 3281 .LBB75:
  9371. 523:User/rtu.c **** }
  9372. 3282 .loc 4 523 17
  9373. 3283 04c0 C046 nop
  9374. 3284 .L135:
  9375. 3285 .LBE75:
  9376. 561:User/rtu.c **** }
  9377. 562:User/rtu.c ****
  9378. 563:User/rtu.c **** // 移动到下一帧
  9379. 564:User/rtu.c **** buf += frame_len;
  9380. 3286 .loc 4 564 13 discriminator 9
  9381. 3287 04c2 7B6D ldr r3, [r7, #84]
  9382. 3288 04c4 FA69 ldr r2, [r7, #28]
  9383. 3289 04c6 D318 adds r3, r2, r3
  9384. 3290 04c8 FB61 str r3, [r7, #28]
  9385. 565:User/rtu.c **** len -= frame_len;
  9386. 3291 .loc 4 565 13 discriminator 9
  9387. 3292 04ca BA69 ldr r2, [r7, #24]
  9388. 3293 04cc 7B6D ldr r3, [r7, #84]
  9389. 3294 04ce D31A subs r3, r2, r3
  9390. 3295 04d0 BB61 str r3, [r7, #24]
  9391. 566:User/rtu.c **** processed = 1;
  9392. 3296 .loc 4 566 19 discriminator 9
  9393. 3297 04d2 0123 movs r3, #1
  9394. 3298 04d4 FB66 str r3, [r7, #108]
  9395. 3299 04d6 C546 mov sp, r8
  9396. 3300 04d8 00E0 b .L105
  9397. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 163
  9398. 3301 .L123:
  9399. 3302 04da C546 mov sp, r8
  9400. 3303 .L105:
  9401. 3304 .LBE65:
  9402. 355:User/rtu.c **** {
  9403. 3305 .loc 4 355 11
  9404. 3306 04dc BB69 ldr r3, [r7, #24]
  9405. 3307 04de 002B cmp r3, #0
  9406. 3308 04e0 00DD ble .LCB2760
  9407. 3309 04e2 97E5 b .L152 @long jump
  9408. 3310 .LCB2760:
  9409. 3311 04e4 04E0 b .L113
  9410. 3312 .L156:
  9411. 3313 .LBB76:
  9412. 378:User/rtu.c **** }
  9413. 3314 .loc 4 378 13
  9414. 3315 04e6 C046 nop
  9415. 3316 04e8 02E0 b .L113
  9416. 3317 .L157:
  9417. 389:User/rtu.c **** }
  9418. 3318 .loc 4 389 13
  9419. 3319 04ea C046 nop
  9420. 3320 04ec 00E0 b .L113
  9421. 3321 .L158:
  9422. 405:User/rtu.c **** }
  9423. 3322 .loc 4 405 13
  9424. 3323 04ee C046 nop
  9425. 3324 .L113:
  9426. 3325 .LBE76:
  9427. 567:User/rtu.c **** }
  9428. 568:User/rtu.c ****
  9429. 569:User/rtu.c **** return processed ? 0 : -1;
  9430. 3326 .loc 4 569 26
  9431. 3327 04f0 FB6E ldr r3, [r7, #108]
  9432. 3328 04f2 002B cmp r3, #0
  9433. 3329 04f4 01D0 beq .L153
  9434. 3330 .loc 4 569 26 is_stmt 0 discriminator 1
  9435. 3331 04f6 0023 movs r3, #0
  9436. 3332 04f8 01E0 b .L155
  9437. 3333 .L153:
  9438. 3334 .loc 4 569 26 discriminator 2
  9439. 3335 04fa 0123 movs r3, #1
  9440. 3336 04fc 5B42 rsbs r3, r3, #0
  9441. 3337 .L155:
  9442. 570:User/rtu.c **** }
  9443. 3338 .loc 4 570 1 is_stmt 1 discriminator 5
  9444. 3339 04fe 1800 movs r0, r3
  9445. 3340 0500 BD46 mov sp, r7
  9446. 3341 0502 1CB0 add sp, sp, #112
  9447. 3342 @ sp needed
  9448. 3343 0504 80BC pop {r7}
  9449. 3344 0506 B846 mov r8, r7
  9450. 3345 0508 F0BD pop {r4, r5, r6, r7, pc}
  9451. 3346 .L165:
  9452. 3347 050a C046 .align 2
  9453. 3348 .L164:
  9454. 3349 050c 00000000 .word rtu_ctx
  9455. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 164
  9456. 3350 0510 00000000 .word .L128
  9457. 3351 0514 00000000 .word para
  9458. 3352 0518 00440040 .word 1073759232
  9459. 3353 051c 010F0000 .word 3841
  9460. 3354 0520 0100F000 .word 15728641
  9461. 3355 0524 0200F000 .word 15728642
  9462. 3356 0528 0300F000 .word 15728643
  9463. 3357 052c 0400F000 .word 15728644
  9464. 3358 .cfi_endproc
  9465. 3359 .LFE949:
  9466. 3361 .section .text.rtu_task,"ax",%progbits
  9467. 3362 .align 1
  9468. 3363 .global rtu_task
  9469. 3364 .syntax unified
  9470. 3365 .code 16
  9471. 3366 .thumb_func
  9472. 3368 rtu_task:
  9473. 3369 .LFB950:
  9474. 571:User/rtu.c ****
  9475. 572:User/rtu.c **** void rtu_task(void)
  9476. 573:User/rtu.c **** {
  9477. 3370 .loc 4 573 1
  9478. 3371 .cfi_startproc
  9479. 3372 @ args = 0, pretend = 0, frame = 648
  9480. 3373 @ frame_needed = 1, uses_anonymous_args = 0
  9481. 3374 0000 B0B5 push {r4, r5, r7, lr}
  9482. 3375 .LCFI76:
  9483. 3376 .cfi_def_cfa_offset 16
  9484. 3377 .cfi_offset 4, -16
  9485. 3378 .cfi_offset 5, -12
  9486. 3379 .cfi_offset 7, -8
  9487. 3380 .cfi_offset 14, -4
  9488. 3381 0002 D74C ldr r4, .L217
  9489. 3382 0004 A544 add sp, sp, r4
  9490. 3383 .LCFI77:
  9491. 3384 .cfi_def_cfa_offset 664
  9492. 3385 0006 00AF add r7, sp, #0
  9493. 3386 .LCFI78:
  9494. 3387 .cfi_def_cfa_register 7
  9495. 574:User/rtu.c **** uint8_t buf[256];
  9496. 575:User/rtu.c **** int len;
  9497. 576:User/rtu.c ****
  9498. 577:User/rtu.c **** if (rtu_read(buf, sizeof(buf), &len) == 0)
  9499. 3388 .loc 4 577 9
  9500. 3389 0008 B624 movs r4, #182
  9501. 3390 000a 6400 lsls r4, r4, #1
  9502. 3391 000c 3A19 adds r2, r7, r4
  9503. 3392 000e 8023 movs r3, #128
  9504. 3393 0010 5900 lsls r1, r3, #1
  9505. 3394 0012 B825 movs r5, #184
  9506. 3395 0014 6D00 lsls r5, r5, #1
  9507. 3396 0016 7B19 adds r3, r7, r5
  9508. 3397 0018 1800 movs r0, r3
  9509. 3398 001a FFF7FEFF bl rtu_read
  9510. 3399 001e 031E subs r3, r0, #0
  9511. 3400 .loc 4 577 8
  9512. 3401 0020 06D1 bne .L167
  9513. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 165
  9514. 578:User/rtu.c **** {
  9515. 579:User/rtu.c **** rtu_rx_proc(buf, len);
  9516. 3402 .loc 4 579 9
  9517. 3403 0022 3B19 adds r3, r7, r4
  9518. 3404 0024 1A68 ldr r2, [r3]
  9519. 3405 0026 7B19 adds r3, r7, r5
  9520. 3406 0028 1100 movs r1, r2
  9521. 3407 002a 1800 movs r0, r3
  9522. 3408 002c FFF7FEFF bl rtu_rx_proc
  9523. 3409 .L167:
  9524. 580:User/rtu.c **** }
  9525. 581:User/rtu.c ****
  9526. 582:User/rtu.c **** // 最大�行时间检查,解决通讯丢失时无法休眠的问题
  9527. 583:User/rtu.c **** if(rtu_ctx.online == 0)
  9528. 3410 .loc 4 583 15
  9529. 3411 0030 CC4B ldr r3, .L217+4
  9530. 3412 0032 9822 movs r2, #152
  9531. 3413 0034 9B58 ldr r3, [r3, r2]
  9532. 3414 .loc 4 583 7
  9533. 3415 0036 002B cmp r3, #0
  9534. 3416 0038 28D1 bne .L168
  9535. 584:User/rtu.c **** {
  9536. 585:User/rtu.c **** if ((HAL_GetTick() - rtu_ctx.running_timer) > RTU_MAX_RUN_TIME)
  9537. 3417 .loc 4 585 14
  9538. 3418 003a FFF7FEFF bl HAL_GetTick
  9539. 3419 003e 0200 movs r2, r0
  9540. 3420 .loc 4 585 37
  9541. 3421 0040 C84B ldr r3, .L217+4
  9542. 3422 0042 5B68 ldr r3, [r3, #4]
  9543. 3423 .loc 4 585 28
  9544. 3424 0044 D31A subs r3, r2, r3
  9545. 3425 .loc 4 585 12
  9546. 3426 0046 C84A ldr r2, .L217+8
  9547. 3427 0048 9342 cmp r3, r2
  9548. 3428 004a 1FD9 bls .L168
  9549. 586:User/rtu.c **** {
  9550. 587:User/rtu.c **** // 如果当��是正在通知掉电或已�空闲,则强制进入掉电�程
  9551. 588:User/rtu.c **** if (rtu_ctx.tsk_sta != RTU_STA_NOTYIFY_POWER_DOWN &&
  9552. 3429 .loc 4 588 24
  9553. 3430 004c C54B ldr r3, .L217+4
  9554. 3431 004e 5B78 ldrb r3, [r3, #1]
  9555. 3432 .loc 4 588 16
  9556. 3433 0050 092B cmp r3, #9
  9557. 3434 0052 1BD0 beq .L168
  9558. 589:User/rtu.c **** rtu_ctx.tsk_sta != RTU_STA_IDLE &&
  9559. 3435 .loc 4 589 24 discriminator 1
  9560. 3436 0054 C34B ldr r3, .L217+4
  9561. 3437 0056 5B78 ldrb r3, [r3, #1]
  9562. 588:User/rtu.c **** rtu_ctx.tsk_sta != RTU_STA_IDLE &&
  9563. 3438 .loc 4 588 63 discriminator 1
  9564. 3439 0058 002B cmp r3, #0
  9565. 3440 005a 17D0 beq .L168
  9566. 590:User/rtu.c **** rtu_ctx.power_down_ongoing == 0)
  9567. 3441 .loc 4 590 24
  9568. 3442 005c C14B ldr r3, .L217+4
  9569. 3443 005e B422 movs r2, #180
  9570. 3444 0060 9B5C ldrb r3, [r3, r2]
  9571. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 166
  9572. 589:User/rtu.c **** rtu_ctx.tsk_sta != RTU_STA_IDLE &&
  9573. 3445 .loc 4 589 49
  9574. 3446 0062 002B cmp r3, #0
  9575. 3447 0064 12D1 bne .L168
  9576. 591:User/rtu.c **** {
  9577. 592:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
  9578. 3448 .loc 4 592 40
  9579. 3449 0066 BF4B ldr r3, .L217+4
  9580. 3450 0068 B522 movs r2, #181
  9581. 3451 006a 0521 movs r1, #5
  9582. 3452 006c 9954 strb r1, [r3, r2]
  9583. 593:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
  9584. 3453 .loc 4 593 33
  9585. 3454 006e BD4B ldr r3, .L217+4
  9586. 3455 0070 0922 movs r2, #9
  9587. 3456 0072 5A70 strb r2, [r3, #1]
  9588. 594:User/rtu.c ****
  9589. 595:User/rtu.c **** // 清除�能的忙标记
  9590. 596:User/rtu.c **** rtu_ctx.rec_ongoing = 0;
  9591. 3457 .loc 4 596 37
  9592. 3458 0074 BB4B ldr r3, .L217+4
  9593. 3459 0076 B022 movs r2, #176
  9594. 3460 0078 0021 movs r1, #0
  9595. 3461 007a 9950 str r1, [r3, r2]
  9596. 597:User/rtu.c **** rtu_ctx.ota_ongoing = 0;
  9597. 3462 .loc 4 597 37
  9598. 3463 007c B94B ldr r3, .L217+4
  9599. 3464 007e 9C22 movs r2, #156
  9600. 3465 0080 0021 movs r1, #0
  9601. 3466 0082 9950 str r1, [r3, r2]
  9602. 598:User/rtu.c **** rtu_ctx.photo_ongoing = 0;
  9603. 3467 .loc 4 598 39
  9604. 3468 0084 B74B ldr r3, .L217+4
  9605. 3469 0086 AC22 movs r2, #172
  9606. 3470 0088 0021 movs r1, #0
  9607. 3471 008a 9950 str r1, [r3, r2]
  9608. 3472 .L168:
  9609. 599:User/rtu.c **** }
  9610. 600:User/rtu.c **** }
  9611. 601:User/rtu.c **** }
  9612. 602:User/rtu.c ****
  9613. 603:User/rtu.c **** switch (rtu_ctx.tsk_sta)
  9614. 3473 .loc 4 603 20
  9615. 3474 008c B54B ldr r3, .L217+4
  9616. 3475 008e 5B78 ldrb r3, [r3, #1]
  9617. 3476 .loc 4 603 5
  9618. 3477 0090 092B cmp r3, #9
  9619. 3478 0092 04D8 bhi .L169
  9620. 3479 0094 9A00 lsls r2, r3, #2
  9621. 3480 0096 B54B ldr r3, .L217+12
  9622. 3481 0098 D318 adds r3, r2, r3
  9623. 3482 009a 1B68 ldr r3, [r3]
  9624. 3483 009c 9F46 mov pc, r3
  9625. 3484 .section .rodata.rtu_task,"a",%progbits
  9626. 3485 .align 2
  9627. 3486 .L171:
  9628. 3487 0000 9E000000 .word .L169
  9629. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 167
  9630. 3488 0004 A4000000 .word .L179
  9631. 3489 0008 EA000000 .word .L178
  9632. 3490 000c 26010000 .word .L177
  9633. 3491 0010 0A010000 .word .L176
  9634. 3492 0014 F2010000 .word .L175
  9635. 3493 0018 94020000 .word .L174
  9636. 3494 001c F0050000 .word .L173
  9637. 3495 0020 84030000 .word .L172
  9638. 3496 0024 76050000 .word .L170
  9639. 3497 .section .text.rtu_task
  9640. 3498 .L169:
  9641. 604:User/rtu.c **** {
  9642. 605:User/rtu.c **** default:
  9643. 606:User/rtu.c **** case RTU_STA_IDLE:
  9644. 607:User/rtu.c **** rtu_deinit();
  9645. 3499 .loc 4 607 9
  9646. 3500 009e FFF7FEFF bl rtu_deinit
  9647. 608:User/rtu.c **** break;
  9648. 3501 .loc 4 608 9
  9649. 3502 00a2 CDE2 b .L180
  9650. 3503 .L179:
  9651. 3504 .LBB77:
  9652. 609:User/rtu.c **** case RTU_STA_GET_STATUS:
  9653. 610:User/rtu.c **** {
  9654. 611:User/rtu.c **** uint8_t reason = rtu_ctx.trig_src&0x7f;
  9655. 3505 .loc 4 611 37
  9656. 3506 00a4 AF4B ldr r3, .L217+4
  9657. 3507 00a6 1B78 ldrb r3, [r3]
  9658. 3508 .loc 4 611 46
  9659. 3509 00a8 7F22 movs r2, #127
  9660. 3510 00aa 1340 ands r3, r2
  9661. 3511 00ac DAB2 uxtb r2, r3
  9662. 3512 .loc 4 611 21
  9663. 3513 00ae B04B ldr r3, .L217+16
  9664. 3514 00b0 A221 movs r1, #162
  9665. 3515 00b2 8900 lsls r1, r1, #2
  9666. 3516 00b4 5B18 adds r3, r3, r1
  9667. 3517 00b6 DB19 adds r3, r3, r7
  9668. 3518 00b8 1A70 strb r2, [r3]
  9669. 612:User/rtu.c ****
  9670. 613:User/rtu.c **** rtu_send_pkt(1, 1, &reason, 1);
  9671. 3519 .loc 4 613 13
  9672. 3520 00ba 6C23 movs r3, #108
  9673. 3521 00bc FF33 adds r3, r3, #255
  9674. 3522 00be FA18 adds r2, r7, r3
  9675. 3523 00c0 0123 movs r3, #1
  9676. 3524 00c2 0121 movs r1, #1
  9677. 3525 00c4 0120 movs r0, #1
  9678. 3526 00c6 FFF7FEFF bl rtu_send_pkt
  9679. 614:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  9680. 3527 .loc 4 614 29
  9681. 3528 00ca A64B ldr r3, .L217+4
  9682. 3529 00cc 0722 movs r2, #7
  9683. 3530 00ce 5A70 strb r2, [r3, #1]
  9684. 615:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  9685. 3531 .loc 4 615 33
  9686. 3532 00d0 FFF7FEFF bl HAL_GetTick
  9687. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 168
  9688. 3533 00d4 0200 movs r2, r0
  9689. 3534 .loc 4 615 31
  9690. 3535 00d6 A34B ldr r3, .L217+4
  9691. 3536 00d8 9A60 str r2, [r3, #8]
  9692. 616:User/rtu.c **** rtu_ctx.tsk_tmo = 1000;
  9693. 3537 .loc 4 616 29
  9694. 3538 00da A24B ldr r3, .L217+4
  9695. 3539 00dc FA22 movs r2, #250
  9696. 3540 00de 9200 lsls r2, r2, #2
  9697. 3541 00e0 DA60 str r2, [r3, #12]
  9698. 617:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_CHK_ONLINE;
  9699. 3542 .loc 4 617 30
  9700. 3543 00e2 A04B ldr r3, .L217+4
  9701. 3544 00e4 0222 movs r2, #2
  9702. 3545 00e6 9A70 strb r2, [r3, #2]
  9703. 3546 .LBE77:
  9704. 618:User/rtu.c **** }
  9705. 619:User/rtu.c **** break;
  9706. 3547 .loc 4 619 9
  9707. 3548 00e8 AAE2 b .L180
  9708. 3549 .L178:
  9709. 620:User/rtu.c **** case RTU_STA_CHK_ONLINE:
  9710. 621:User/rtu.c **** if (rtu_ctx.online == 0)
  9711. 3550 .loc 4 621 20
  9712. 3551 00ea 9E4B ldr r3, .L217+4
  9713. 3552 00ec 9822 movs r2, #152
  9714. 3553 00ee 9B58 ldr r3, [r3, r2]
  9715. 3554 .loc 4 621 12
  9716. 3555 00f0 002B cmp r3, #0
  9717. 3556 00f2 03D1 bne .L181
  9718. 622:User/rtu.c **** {
  9719. 623:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
  9720. 3557 .loc 4 623 29
  9721. 3558 00f4 9B4B ldr r3, .L217+4
  9722. 3559 00f6 0122 movs r2, #1
  9723. 3560 00f8 5A70 strb r2, [r3, #1]
  9724. 3561 00fa 02E0 b .L182
  9725. 3562 .L181:
  9726. 624:User/rtu.c **** }
  9727. 625:User/rtu.c **** else
  9728. 626:User/rtu.c **** {
  9729. 627:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_OTA;
  9730. 3563 .loc 4 627 29
  9731. 3564 00fc 994B ldr r3, .L217+4
  9732. 3565 00fe 0422 movs r2, #4
  9733. 3566 0100 5A70 strb r2, [r3, #1]
  9734. 3567 .L182:
  9735. 628:User/rtu.c **** // rtu_ctx.tsk_sta = RTU_STA_CHK_PARA;
  9736. 629:User/rtu.c **** // rtu_ctx.para_chked = 0;
  9737. 630:User/rtu.c **** }
  9738. 631:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_OTA;
  9739. 3568 .loc 4 631 26
  9740. 3569 0102 984B ldr r3, .L217+4
  9741. 3570 0104 0422 movs r2, #4
  9742. 3571 0106 5A70 strb r2, [r3, #1]
  9743. 632:User/rtu.c **** break;
  9744. 3572 .loc 4 632 9
  9745. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 169
  9746. 3573 0108 9AE2 b .L180
  9747. 3574 .L176:
  9748. 633:User/rtu.c **** case RTU_STA_CHK_OTA:
  9749. 634:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, 0, 1);
  9750. 3575 .loc 4 634 13
  9751. 3576 010a 0123 movs r3, #1
  9752. 3577 010c 0022 movs r2, #0
  9753. 3578 010e 0721 movs r1, #7
  9754. 3579 0110 0120 movs r0, #1
  9755. 3580 0112 FFF7FEFF bl rtu_send_pkt
  9756. 635:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_PARA;
  9757. 3581 .loc 4 635 29
  9758. 3582 0116 934B ldr r3, .L217+4
  9759. 3583 0118 0322 movs r2, #3
  9760. 3584 011a 5A70 strb r2, [r3, #1]
  9761. 636:User/rtu.c **** rtu_ctx.para_chked = 0;
  9762. 3585 .loc 4 636 32
  9763. 3586 011c 914B ldr r3, .L217+4
  9764. 3587 011e A822 movs r2, #168
  9765. 3588 0120 0021 movs r1, #0
  9766. 3589 0122 9950 str r1, [r3, r2]
  9767. 637:User/rtu.c **** break;
  9768. 3590 .loc 4 637 9
  9769. 3591 0124 8CE2 b .L180
  9770. 3592 .L177:
  9771. 638:User/rtu.c **** case RTU_STA_CHK_PARA:
  9772. 639:User/rtu.c **** if (rtu_ctx.para_chked == 0)
  9773. 3593 .loc 4 639 20
  9774. 3594 0126 8F4B ldr r3, .L217+4
  9775. 3595 0128 A822 movs r2, #168
  9776. 3596 012a 9B58 ldr r3, [r3, r2]
  9777. 3597 .loc 4 639 12
  9778. 3598 012c 002B cmp r3, #0
  9779. 3599 012e 5CD1 bne .L183
  9780. 3600 .LBB78:
  9781. 640:User/rtu.c **** {
  9782. 641:User/rtu.c **** uint8_t req[4];
  9783. 642:User/rtu.c ****
  9784. 643:User/rtu.c **** req[0] = para.ver >> 24;
  9785. 3601 .loc 4 643 26
  9786. 3602 0130 904B ldr r3, .L217+20
  9787. 3603 0132 1A78 ldrb r2, [r3]
  9788. 3604 0134 5978 ldrb r1, [r3, #1]
  9789. 3605 0136 0902 lsls r1, r1, #8
  9790. 3606 0138 0A43 orrs r2, r1
  9791. 3607 013a 9978 ldrb r1, [r3, #2]
  9792. 3608 013c 0904 lsls r1, r1, #16
  9793. 3609 013e 0A43 orrs r2, r1
  9794. 3610 0140 DB78 ldrb r3, [r3, #3]
  9795. 3611 0142 1B06 lsls r3, r3, #24
  9796. 3612 0144 1343 orrs r3, r2
  9797. 3613 .loc 4 643 31
  9798. 3614 0146 1B0E lsrs r3, r3, #24
  9799. 3615 .loc 4 643 20
  9800. 3616 0148 DAB2 uxtb r2, r3
  9801. 3617 014a 8B4B ldr r3, .L217+24
  9802. 3618 014c A220 movs r0, #162
  9803. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 170
  9804. 3619 014e 8000 lsls r0, r0, #2
  9805. 3620 0150 1B18 adds r3, r3, r0
  9806. 3621 0152 DB19 adds r3, r3, r7
  9807. 3622 0154 1A70 strb r2, [r3]
  9808. 644:User/rtu.c **** req[1] = para.ver >> 16;
  9809. 3623 .loc 4 644 26
  9810. 3624 0156 874B ldr r3, .L217+20
  9811. 3625 0158 1A78 ldrb r2, [r3]
  9812. 3626 015a 5978 ldrb r1, [r3, #1]
  9813. 3627 015c 0902 lsls r1, r1, #8
  9814. 3628 015e 0A43 orrs r2, r1
  9815. 3629 0160 9978 ldrb r1, [r3, #2]
  9816. 3630 0162 0904 lsls r1, r1, #16
  9817. 3631 0164 0A43 orrs r2, r1
  9818. 3632 0166 DB78 ldrb r3, [r3, #3]
  9819. 3633 0168 1B06 lsls r3, r3, #24
  9820. 3634 016a 1343 orrs r3, r2
  9821. 3635 .loc 4 644 31
  9822. 3636 016c 1B0C lsrs r3, r3, #16
  9823. 3637 .loc 4 644 20
  9824. 3638 016e DAB2 uxtb r2, r3
  9825. 3639 0170 814B ldr r3, .L217+24
  9826. 3640 0172 1B18 adds r3, r3, r0
  9827. 3641 0174 DB19 adds r3, r3, r7
  9828. 3642 0176 5A70 strb r2, [r3, #1]
  9829. 645:User/rtu.c **** req[2] = para.ver >> 8;
  9830. 3643 .loc 4 645 26
  9831. 3644 0178 7E4B ldr r3, .L217+20
  9832. 3645 017a 1A78 ldrb r2, [r3]
  9833. 3646 017c 5978 ldrb r1, [r3, #1]
  9834. 3647 017e 0902 lsls r1, r1, #8
  9835. 3648 0180 0A43 orrs r2, r1
  9836. 3649 0182 9978 ldrb r1, [r3, #2]
  9837. 3650 0184 0904 lsls r1, r1, #16
  9838. 3651 0186 0A43 orrs r2, r1
  9839. 3652 0188 DB78 ldrb r3, [r3, #3]
  9840. 3653 018a 1B06 lsls r3, r3, #24
  9841. 3654 018c 1343 orrs r3, r2
  9842. 3655 .loc 4 645 31
  9843. 3656 018e 1B0A lsrs r3, r3, #8
  9844. 3657 .loc 4 645 20
  9845. 3658 0190 DAB2 uxtb r2, r3
  9846. 3659 0192 794B ldr r3, .L217+24
  9847. 3660 0194 1B18 adds r3, r3, r0
  9848. 3661 0196 DB19 adds r3, r3, r7
  9849. 3662 0198 9A70 strb r2, [r3, #2]
  9850. 646:User/rtu.c **** req[3] = para.ver;
  9851. 3663 .loc 4 646 26
  9852. 3664 019a 764B ldr r3, .L217+20
  9853. 3665 019c 1A78 ldrb r2, [r3]
  9854. 3666 019e 5978 ldrb r1, [r3, #1]
  9855. 3667 01a0 0902 lsls r1, r1, #8
  9856. 3668 01a2 0A43 orrs r2, r1
  9857. 3669 01a4 9978 ldrb r1, [r3, #2]
  9858. 3670 01a6 0904 lsls r1, r1, #16
  9859. 3671 01a8 0A43 orrs r2, r1
  9860. 3672 01aa DB78 ldrb r3, [r3, #3]
  9861. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 171
  9862. 3673 01ac 1B06 lsls r3, r3, #24
  9863. 3674 01ae 1343 orrs r3, r2
  9864. 3675 .loc 4 646 20
  9865. 3676 01b0 DAB2 uxtb r2, r3
  9866. 3677 01b2 714B ldr r3, .L217+24
  9867. 3678 01b4 1B18 adds r3, r3, r0
  9868. 3679 01b6 DB19 adds r3, r3, r7
  9869. 3680 01b8 DA70 strb r2, [r3, #3]
  9870. 647:User/rtu.c **** rtu_send_pkt(1, 4, req, 4);
  9871. 3681 .loc 4 647 13
  9872. 3682 01ba B223 movs r3, #178
  9873. 3683 01bc 5B00 lsls r3, r3, #1
  9874. 3684 01be FA18 adds r2, r7, r3
  9875. 3685 01c0 0423 movs r3, #4
  9876. 3686 01c2 0421 movs r1, #4
  9877. 3687 01c4 0120 movs r0, #1
  9878. 3688 01c6 FFF7FEFF bl rtu_send_pkt
  9879. 648:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  9880. 3689 .loc 4 648 29
  9881. 3690 01ca 664B ldr r3, .L217+4
  9882. 3691 01cc 0722 movs r2, #7
  9883. 3692 01ce 5A70 strb r2, [r3, #1]
  9884. 649:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  9885. 3693 .loc 4 649 33
  9886. 3694 01d0 FFF7FEFF bl HAL_GetTick
  9887. 3695 01d4 0200 movs r2, r0
  9888. 3696 .loc 4 649 31
  9889. 3697 01d6 634B ldr r3, .L217+4
  9890. 3698 01d8 9A60 str r2, [r3, #8]
  9891. 650:User/rtu.c **** rtu_ctx.tsk_tmo = 1000;
  9892. 3699 .loc 4 650 29
  9893. 3700 01da 624B ldr r3, .L217+4
  9894. 3701 01dc FA22 movs r2, #250
  9895. 3702 01de 9200 lsls r2, r2, #2
  9896. 3703 01e0 DA60 str r2, [r3, #12]
  9897. 651:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_TIME_SYNC;
  9898. 3704 .loc 4 651 30
  9899. 3705 01e2 604B ldr r3, .L217+4
  9900. 3706 01e4 0522 movs r2, #5
  9901. 3707 01e6 9A70 strb r2, [r3, #2]
  9902. 3708 .LBE78:
  9903. 652:User/rtu.c **** }
  9904. 653:User/rtu.c **** else
  9905. 654:User/rtu.c **** {
  9906. 655:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_TIME_SYNC;
  9907. 656:User/rtu.c **** }
  9908. 657:User/rtu.c **** break;
  9909. 3709 .loc 4 657 9
  9910. 3710 01e8 2AE2 b .L180
  9911. 3711 .L183:
  9912. 655:User/rtu.c **** }
  9913. 3712 .loc 4 655 29
  9914. 3713 01ea 5E4B ldr r3, .L217+4
  9915. 3714 01ec 0522 movs r2, #5
  9916. 3715 01ee 5A70 strb r2, [r3, #1]
  9917. 3716 .loc 4 657 9
  9918. 3717 01f0 26E2 b .L180
  9919. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 172
  9920. 3718 .L175:
  9921. 658:User/rtu.c **** case RTU_STA_TIME_SYNC:
  9922. 659:User/rtu.c **** if (rtu_ctx.time_syncd == 0)
  9923. 3719 .loc 4 659 20
  9924. 3720 01f2 5C4B ldr r3, .L217+4
  9925. 3721 01f4 A022 movs r2, #160
  9926. 3722 01f6 9B58 ldr r3, [r3, r2]
  9927. 3723 .loc 4 659 12
  9928. 3724 01f8 002B cmp r3, #0
  9929. 3725 01fa 47D1 bne .L185
  9930. 3726 .LBB79:
  9931. 660:User/rtu.c **** {
  9932. 661:User/rtu.c **** uint8_t req[4];
  9933. 662:User/rtu.c **** rtc_time_t time;
  9934. 663:User/rtu.c **** uint32_t timestamp;
  9935. 664:User/rtu.c ****
  9936. 665:User/rtu.c **** rtc_get_time(&time);
  9937. 3727 .loc 4 665 13
  9938. 3728 01fc AC24 movs r4, #172
  9939. 3729 01fe 6400 lsls r4, r4, #1
  9940. 3730 0200 3B19 adds r3, r7, r4
  9941. 3731 0202 1800 movs r0, r3
  9942. 3732 0204 FFF7FEFF bl rtc_get_time
  9943. 666:User/rtu.c **** timestamp = rtc_mktime(&time);
  9944. 3733 .loc 4 666 25
  9945. 3734 0208 3B19 adds r3, r7, r4
  9946. 3735 020a 1800 movs r0, r3
  9947. 3736 020c FFF7FEFF bl rtc_mktime
  9948. 3737 0210 0300 movs r3, r0
  9949. 3738 0212 9C21 movs r1, #156
  9950. 3739 0214 8900 lsls r1, r1, #2
  9951. 3740 0216 7A18 adds r2, r7, r1
  9952. 3741 0218 1360 str r3, [r2]
  9953. 667:User/rtu.c ****
  9954. 668:User/rtu.c **** // 填充本地时间戳
  9955. 669:User/rtu.c **** req[0] = timestamp >> 24;
  9956. 3742 .loc 4 669 32
  9957. 3743 021a 7B18 adds r3, r7, r1
  9958. 3744 021c 1B68 ldr r3, [r3]
  9959. 3745 021e 1B0E lsrs r3, r3, #24
  9960. 3746 .loc 4 669 20
  9961. 3747 0220 DAB2 uxtb r2, r3
  9962. 3748 0222 564B ldr r3, .L217+28
  9963. 3749 0224 A220 movs r0, #162
  9964. 3750 0226 8000 lsls r0, r0, #2
  9965. 3751 0228 1B18 adds r3, r3, r0
  9966. 3752 022a DB19 adds r3, r3, r7
  9967. 3753 022c 1A70 strb r2, [r3]
  9968. 670:User/rtu.c **** req[1] = timestamp >> 16;
  9969. 3754 .loc 4 670 32
  9970. 3755 022e 7B18 adds r3, r7, r1
  9971. 3756 0230 1B68 ldr r3, [r3]
  9972. 3757 0232 1B0C lsrs r3, r3, #16
  9973. 3758 .loc 4 670 20
  9974. 3759 0234 DAB2 uxtb r2, r3
  9975. 3760 0236 514B ldr r3, .L217+28
  9976. 3761 0238 1B18 adds r3, r3, r0
  9977. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 173
  9978. 3762 023a DB19 adds r3, r3, r7
  9979. 3763 023c 5A70 strb r2, [r3, #1]
  9980. 671:User/rtu.c **** req[2] = timestamp >> 8;
  9981. 3764 .loc 4 671 32
  9982. 3765 023e 7B18 adds r3, r7, r1
  9983. 3766 0240 1B68 ldr r3, [r3]
  9984. 3767 0242 1B0A lsrs r3, r3, #8
  9985. 3768 .loc 4 671 20
  9986. 3769 0244 DAB2 uxtb r2, r3
  9987. 3770 0246 4D4B ldr r3, .L217+28
  9988. 3771 0248 1B18 adds r3, r3, r0
  9989. 3772 024a DB19 adds r3, r3, r7
  9990. 3773 024c 9A70 strb r2, [r3, #2]
  9991. 672:User/rtu.c **** req[3] = timestamp;
  9992. 3774 .loc 4 672 20
  9993. 3775 024e 7B18 adds r3, r7, r1
  9994. 3776 0250 1B68 ldr r3, [r3]
  9995. 3777 0252 DAB2 uxtb r2, r3
  9996. 3778 0254 494B ldr r3, .L217+28
  9997. 3779 0256 1B18 adds r3, r3, r0
  9998. 3780 0258 DB19 adds r3, r3, r7
  9999. 3781 025a DA70 strb r2, [r3, #3]
  10000. 673:User/rtu.c **** rtu_send_pkt(1, 3, req, 4);
  10001. 3782 .loc 4 673 13
  10002. 3783 025c B023 movs r3, #176
  10003. 3784 025e 5B00 lsls r3, r3, #1
  10004. 3785 0260 FA18 adds r2, r7, r3
  10005. 3786 0262 0423 movs r3, #4
  10006. 3787 0264 0321 movs r1, #3
  10007. 3788 0266 0120 movs r0, #1
  10008. 3789 0268 FFF7FEFF bl rtu_send_pkt
  10009. 674:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  10010. 3790 .loc 4 674 29
  10011. 3791 026c 3D4B ldr r3, .L217+4
  10012. 3792 026e 0722 movs r2, #7
  10013. 3793 0270 5A70 strb r2, [r3, #1]
  10014. 675:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  10015. 3794 .loc 4 675 33
  10016. 3795 0272 FFF7FEFF bl HAL_GetTick
  10017. 3796 0276 0200 movs r2, r0
  10018. 3797 .loc 4 675 31
  10019. 3798 0278 3A4B ldr r3, .L217+4
  10020. 3799 027a 9A60 str r2, [r3, #8]
  10021. 676:User/rtu.c **** rtu_ctx.tsk_tmo = 1000;
  10022. 3800 .loc 4 676 29
  10023. 3801 027c 394B ldr r3, .L217+4
  10024. 3802 027e FA22 movs r2, #250
  10025. 3803 0280 9200 lsls r2, r2, #2
  10026. 3804 0282 DA60 str r2, [r3, #12]
  10027. 677:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_SND_REC;
  10028. 3805 .loc 4 677 30
  10029. 3806 0284 374B ldr r3, .L217+4
  10030. 3807 0286 0622 movs r2, #6
  10031. 3808 0288 9A70 strb r2, [r3, #2]
  10032. 3809 .LBE79:
  10033. 678:User/rtu.c **** }
  10034. 679:User/rtu.c **** else
  10035. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 174
  10036. 680:User/rtu.c **** {
  10037. 681:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_SND_REC;
  10038. 682:User/rtu.c **** }
  10039. 683:User/rtu.c **** break;
  10040. 3810 .loc 4 683 9
  10041. 3811 028a D9E1 b .L180
  10042. 3812 .L185:
  10043. 681:User/rtu.c **** }
  10044. 3813 .loc 4 681 29
  10045. 3814 028c 354B ldr r3, .L217+4
  10046. 3815 028e 0622 movs r2, #6
  10047. 3816 0290 5A70 strb r2, [r3, #1]
  10048. 3817 .loc 4 683 9
  10049. 3818 0292 D5E1 b .L180
  10050. 3819 .L174:
  10051. 684:User/rtu.c **** case RTU_STA_SND_REC:
  10052. 685:User/rtu.c **** {
  10053. 686:User/rtu.c **** // 按键触��0点触�时上传记录
  10054. 687:User/rtu.c **** if (rtu_ctx.trig_src != 1)
  10055. 3820 .loc 4 687 20
  10056. 3821 0294 334B ldr r3, .L217+4
  10057. 3822 0296 1B78 ldrb r3, [r3]
  10058. 3823 .loc 4 687 12
  10059. 3824 0298 012B cmp r3, #1
  10060. 3825 029a 5DD0 beq .L187
  10061. 688:User/rtu.c **** {
  10062. 689:User/rtu.c **** if (!sensor_is_busy())
  10063. 3826 .loc 4 689 18
  10064. 3827 029c FFF7FEFF bl sensor_is_busy
  10065. 3828 02a0 031E subs r3, r0, #0
  10066. 3829 .loc 4 689 16
  10067. 3830 02a2 00D0 beq .LCB3218
  10068. 3831 02a4 C9E1 b .L213 @long jump
  10069. 3832 .LCB3218:
  10070. 690:User/rtu.c **** {
  10071. 691:User/rtu.c **** // 0点唤醒时,��24�时记录
  10072. 692:User/rtu.c **** if (rtu_ctx.trig_src == 0)
  10073. 3833 .loc 4 692 28
  10074. 3834 02a6 2F4B ldr r3, .L217+4
  10075. 3835 02a8 1B78 ldrb r3, [r3]
  10076. 3836 .loc 4 692 20
  10077. 3837 02aa 002B cmp r3, #0
  10078. 3838 02ac 33D1 bne .L189
  10079. 3839 .LBB80:
  10080. 693:User/rtu.c **** {
  10081. 694:User/rtu.c **** uint8_t rec_buf[sizeof(rec_data_t) * 24] = {0};
  10082. 3840 .loc 4 694 29
  10083. 3841 02ae 2C4B ldr r3, .L217
  10084. 3842 02b0 A222 movs r2, #162
  10085. 3843 02b2 9200 lsls r2, r2, #2
  10086. 3844 02b4 9B18 adds r3, r3, r2
  10087. 3845 02b6 DB19 adds r3, r3, r7
  10088. 3846 02b8 0022 movs r2, #0
  10089. 3847 02ba 1A60 str r2, [r3]
  10090. 3848 02bc 0433 adds r3, r3, #4
  10091. 3849 02be A622 movs r2, #166
  10092. 3850 02c0 5200 lsls r2, r2, #1
  10093. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 175
  10094. 3851 02c2 0021 movs r1, #0
  10095. 3852 02c4 1800 movs r0, r3
  10096. 3853 02c6 FFF7FEFF bl memset
  10097. 695:User/rtu.c ****
  10098. 696:User/rtu.c **** rtu_pack_rec(rec_buf, sizeof(rec_buf));
  10099. 3854 .loc 4 696 21
  10100. 3855 02ca A823 movs r3, #168
  10101. 3856 02cc 5A00 lsls r2, r3, #1
  10102. 3857 02ce 3B00 movs r3, r7
  10103. 3858 02d0 1100 movs r1, r2
  10104. 3859 02d2 1800 movs r0, r3
  10105. 3860 02d4 FFF7FEFF bl rtu_pack_rec
  10106. 697:User/rtu.c **** if (rtu_ctx.rec_pack.count)
  10107. 3861 .loc 4 697 41
  10108. 3862 02d8 224B ldr r3, .L217+4
  10109. 3863 02da B622 movs r2, #182
  10110. 3864 02dc 9B5A ldrh r3, [r3, r2]
  10111. 3865 .loc 4 697 24
  10112. 3866 02de 002B cmp r3, #0
  10113. 3867 02e0 15D0 beq .L190
  10114. 698:User/rtu.c **** {
  10115. 699:User/rtu.c **** rtu_send_pkt(1, 2, rec_buf, sizeof(rec_buf));
  10116. 3868 .loc 4 699 25
  10117. 3869 02e2 A823 movs r3, #168
  10118. 3870 02e4 5B00 lsls r3, r3, #1
  10119. 3871 02e6 3A00 movs r2, r7
  10120. 3872 02e8 0221 movs r1, #2
  10121. 3873 02ea 0120 movs r0, #1
  10122. 3874 02ec FFF7FEFF bl rtu_send_pkt
  10123. 700:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  10124. 3875 .loc 4 700 41
  10125. 3876 02f0 1C4B ldr r3, .L217+4
  10126. 3877 02f2 0722 movs r2, #7
  10127. 3878 02f4 5A70 strb r2, [r3, #1]
  10128. 701:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  10129. 3879 .loc 4 701 45
  10130. 3880 02f6 FFF7FEFF bl HAL_GetTick
  10131. 3881 02fa 0200 movs r2, r0
  10132. 3882 .loc 4 701 43
  10133. 3883 02fc 194B ldr r3, .L217+4
  10134. 3884 02fe 9A60 str r2, [r3, #8]
  10135. 702:User/rtu.c **** rtu_ctx.tsk_tmo = 5000;
  10136. 3885 .loc 4 702 41
  10137. 3886 0300 184B ldr r3, .L217+4
  10138. 3887 0302 1F4A ldr r2, .L217+32
  10139. 3888 0304 DA60 str r2, [r3, #12]
  10140. 703:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_GET_STATUS;
  10141. 3889 .loc 4 703 42
  10142. 3890 0306 174B ldr r3, .L217+4
  10143. 3891 0308 0122 movs r2, #1
  10144. 3892 030a 9A70 strb r2, [r3, #2]
  10145. 3893 .LBE80:
  10146. 704:User/rtu.c **** }
  10147. 705:User/rtu.c **** else
  10148. 706:User/rtu.c **** {
  10149. 707:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_READY;
  10150. 708:User/rtu.c **** }
  10151. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 176
  10152. 709:User/rtu.c **** }
  10153. 710:User/rtu.c **** // 按键唤醒时,��一�实时数�
  10154. 711:User/rtu.c **** else if(rtu_ctx.trig_src == 2)
  10155. 712:User/rtu.c **** {
  10156. 713:User/rtu.c **** rtu_send_realtime_data();
  10157. 714:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  10158. 715:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  10159. 716:User/rtu.c ****
  10160. 717:User/rtu.c **** // 延时1S�转到RTU_STA_WAIT_READY状�
  10161. 718:User/rtu.c **** rtu_ctx.tsk_tmo = 0;
  10162. 719:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_WAIT_READY;
  10163. 720:User/rtu.c ****
  10164. 721:User/rtu.c **** // 250930增加,防止��上传
  10165. 722:User/rtu.c **** rtu_ctx.trig_src |= 0x80;
  10166. 723:User/rtu.c **** }
  10167. 724:User/rtu.c **** else
  10168. 725:User/rtu.c **** {
  10169. 726:User/rtu.c **** // 按键唤醒,且已���了一�实时数�
  10170. 727:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_READY;
  10171. 728:User/rtu.c **** }
  10172. 729:User/rtu.c **** }
  10173. 730:User/rtu.c **** }
  10174. 731:User/rtu.c **** else
  10175. 732:User/rtu.c **** {
  10176. 733:User/rtu.c **** // �照间隔唤醒,���记录
  10177. 734:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_READY;
  10178. 735:User/rtu.c **** }
  10179. 736:User/rtu.c **** }
  10180. 737:User/rtu.c **** break;
  10181. 3894 .loc 4 737 5
  10182. 3895 030c 95E1 b .L213
  10183. 3896 .L190:
  10184. 3897 .LBB81:
  10185. 707:User/rtu.c **** }
  10186. 3898 .loc 4 707 41
  10187. 3899 030e 154B ldr r3, .L217+4
  10188. 3900 0310 0822 movs r2, #8
  10189. 3901 0312 5A70 strb r2, [r3, #1]
  10190. 3902 .LBE81:
  10191. 3903 .loc 4 737 5
  10192. 3904 0314 91E1 b .L213
  10193. 3905 .L189:
  10194. 711:User/rtu.c **** {
  10195. 3906 .loc 4 711 32
  10196. 3907 0316 134B ldr r3, .L217+4
  10197. 3908 0318 1B78 ldrb r3, [r3]
  10198. 711:User/rtu.c **** {
  10199. 3909 .loc 4 711 24
  10200. 3910 031a 022B cmp r3, #2
  10201. 3911 031c 18D1 bne .L192
  10202. 713:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  10203. 3912 .loc 4 713 21
  10204. 3913 031e FFF7FEFF bl rtu_send_realtime_data
  10205. 714:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  10206. 3914 .loc 4 714 37
  10207. 3915 0322 104B ldr r3, .L217+4
  10208. 3916 0324 0722 movs r2, #7
  10209. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 177
  10210. 3917 0326 5A70 strb r2, [r3, #1]
  10211. 715:User/rtu.c ****
  10212. 3918 .loc 4 715 41
  10213. 3919 0328 FFF7FEFF bl HAL_GetTick
  10214. 3920 032c 0200 movs r2, r0
  10215. 715:User/rtu.c ****
  10216. 3921 .loc 4 715 39
  10217. 3922 032e 0D4B ldr r3, .L217+4
  10218. 3923 0330 9A60 str r2, [r3, #8]
  10219. 718:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_WAIT_READY;
  10220. 3924 .loc 4 718 37
  10221. 3925 0332 0C4B ldr r3, .L217+4
  10222. 3926 0334 0022 movs r2, #0
  10223. 3927 0336 DA60 str r2, [r3, #12]
  10224. 719:User/rtu.c ****
  10225. 3928 .loc 4 719 38
  10226. 3929 0338 0A4B ldr r3, .L217+4
  10227. 3930 033a 0822 movs r2, #8
  10228. 3931 033c 9A70 strb r2, [r3, #2]
  10229. 722:User/rtu.c **** }
  10230. 3932 .loc 4 722 38
  10231. 3933 033e 094B ldr r3, .L217+4
  10232. 3934 0340 1B78 ldrb r3, [r3]
  10233. 3935 0342 8022 movs r2, #128
  10234. 3936 0344 5242 rsbs r2, r2, #0
  10235. 3937 0346 1343 orrs r3, r2
  10236. 3938 0348 DAB2 uxtb r2, r3
  10237. 3939 034a 064B ldr r3, .L217+4
  10238. 3940 034c 1A70 strb r2, [r3]
  10239. 3941 .loc 4 737 5
  10240. 3942 034e 74E1 b .L213
  10241. 3943 .L192:
  10242. 727:User/rtu.c **** }
  10243. 3944 .loc 4 727 37
  10244. 3945 0350 044B ldr r3, .L217+4
  10245. 3946 0352 0822 movs r2, #8
  10246. 3947 0354 5A70 strb r2, [r3, #1]
  10247. 3948 .loc 4 737 5
  10248. 3949 0356 70E1 b .L213
  10249. 3950 .L187:
  10250. 734:User/rtu.c **** }
  10251. 3951 .loc 4 734 29
  10252. 3952 0358 024B ldr r3, .L217+4
  10253. 3953 035a 0822 movs r2, #8
  10254. 3954 035c 5A70 strb r2, [r3, #1]
  10255. 3955 .loc 4 737 5
  10256. 3956 035e 6CE1 b .L213
  10257. 3957 .L218:
  10258. 3958 .align 2
  10259. 3959 .L217:
  10260. 3960 0360 78FDFFFF .word -648
  10261. 3961 0364 00000000 .word rtu_ctx
  10262. 3962 0368 20BF0200 .word 180000
  10263. 3963 036c 00000000 .word .L171
  10264. 3964 0370 E3FEFFFF .word -285
  10265. 3965 0374 00000000 .word para
  10266. 3966 0378 DCFEFFFF .word -292
  10267. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 178
  10268. 3967 037c D8FEFFFF .word -296
  10269. 3968 0380 88130000 .word 5000
  10270. 3969 .L172:
  10271. 738:User/rtu.c **** case RTU_STA_WAIT_READY:
  10272. 739:User/rtu.c **** if (rtu_ctx.ota_ongoing == 0 && rtu_ctx.photo_ongoing == 0 && rtu_ctx.rec_ongoing == 0)
  10273. 3970 .loc 4 739 20
  10274. 3971 0384 B14B ldr r3, .L219
  10275. 3972 0386 9C22 movs r2, #156
  10276. 3973 0388 9B58 ldr r3, [r3, r2]
  10277. 3974 .loc 4 739 12
  10278. 3975 038a 002B cmp r3, #0
  10279. 3976 038c 00D0 beq .LCB3343
  10280. 3977 038e ECE0 b .L193 @long jump
  10281. 3978 .LCB3343:
  10282. 3979 .loc 4 739 48 discriminator 1
  10283. 3980 0390 AE4B ldr r3, .L219
  10284. 3981 0392 AC22 movs r2, #172
  10285. 3982 0394 9B58 ldr r3, [r3, r2]
  10286. 3983 .loc 4 739 38 discriminator 1
  10287. 3984 0396 002B cmp r3, #0
  10288. 3985 0398 00D0 beq .LCB3348
  10289. 3986 039a E6E0 b .L193 @long jump
  10290. 3987 .LCB3348:
  10291. 3988 .loc 4 739 78 discriminator 2
  10292. 3989 039c AB4B ldr r3, .L219
  10293. 3990 039e B022 movs r2, #176
  10294. 3991 03a0 9B58 ldr r3, [r3, r2]
  10295. 3992 .loc 4 739 68 discriminator 2
  10296. 3993 03a2 002B cmp r3, #0
  10297. 3994 03a4 00D0 beq .LCB3353
  10298. 3995 03a6 E0E0 b .L193 @long jump
  10299. 3996 .LCB3353:
  10300. 3997 .LBB82:
  10301. 740:User/rtu.c **** {
  10302. 741:User/rtu.c **** rtc_time_t t;
  10303. 742:User/rtu.c **** int is_in_time_window = 0;
  10304. 3998 .loc 4 742 17
  10305. 3999 03a8 0023 movs r3, #0
  10306. 4000 03aa A124 movs r4, #161
  10307. 4001 03ac A400 lsls r4, r4, #2
  10308. 4002 03ae 3A19 adds r2, r7, r4
  10309. 4003 03b0 1360 str r3, [r2]
  10310. 743:User/rtu.c ****
  10311. 744:User/rtu.c **** rtc_get_time(&t);
  10312. 4004 .loc 4 744 13
  10313. 4005 03b2 A823 movs r3, #168
  10314. 4006 03b4 5B00 lsls r3, r3, #1
  10315. 4007 03b6 FB18 adds r3, r7, r3
  10316. 4008 03b8 1800 movs r0, r3
  10317. 4009 03ba FFF7FEFF bl rtc_get_time
  10318. 745:User/rtu.c ****
  10319. 746:User/rtu.c **** // 检查是�在10点的特殊窗�期内(时控模�下也��留)
  10320. 747:User/rtu.c **** if (t.tm_hour == 0x10 && rtu_last_wakeup_hour != 0x10)
  10321. 4010 .loc 4 747 18
  10322. 4011 03be A44B ldr r3, .L219+4
  10323. 4012 03c0 A222 movs r2, #162
  10324. 4013 03c2 9200 lsls r2, r2, #2
  10325. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 179
  10326. 4014 03c4 9B18 adds r3, r3, r2
  10327. 4015 03c6 DB19 adds r3, r3, r7
  10328. 4016 03c8 DB78 ldrb r3, [r3, #3]
  10329. 4017 .loc 4 747 16
  10330. 4018 03ca 102B cmp r3, #16
  10331. 4019 03cc 27D1 bne .L194
  10332. 4020 .loc 4 747 59 discriminator 1
  10333. 4021 03ce A14B ldr r3, .L219+8
  10334. 4022 03d0 1B78 ldrb r3, [r3]
  10335. 4023 .loc 4 747 35 discriminator 1
  10336. 4024 03d2 102B cmp r3, #16
  10337. 4025 03d4 23D0 beq .L194
  10338. 748:User/rtu.c **** {
  10339. 749:User/rtu.c **** // �天10点唤醒时,预留10分钟的窗�期
  10340. 750:User/rtu.c **** if ((HAL_GetTick() - rtu_ctx.running_timer) < 10 * 60 * 1000ul)
  10341. 4026 .loc 4 750 22
  10342. 4027 03d6 FFF7FEFF bl HAL_GetTick
  10343. 4028 03da 0200 movs r2, r0
  10344. 4029 .loc 4 750 45
  10345. 4030 03dc 9B4B ldr r3, .L219
  10346. 4031 03de 5B68 ldr r3, [r3, #4]
  10347. 4032 .loc 4 750 36
  10348. 4033 03e0 D31A subs r3, r2, r3
  10349. 4034 .loc 4 750 20
  10350. 4035 03e2 9D4A ldr r2, .L219+12
  10351. 4036 03e4 9342 cmp r3, r2
  10352. 4037 03e6 06D8 bhi .L195
  10353. 751:User/rtu.c **** {
  10354. 752:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
  10355. 4038 .loc 4 752 37
  10356. 4039 03e8 984B ldr r3, .L219
  10357. 4040 03ea 0122 movs r2, #1
  10358. 4041 03ec 5A70 strb r2, [r3, #1]
  10359. 753:User/rtu.c **** is_in_time_window = 1;
  10360. 4042 .loc 4 753 39
  10361. 4043 03ee 0123 movs r3, #1
  10362. 4044 03f0 3A19 adds r2, r7, r4
  10363. 4045 03f2 1360 str r3, [r2]
  10364. 4046 03f4 13E0 b .L194
  10365. 4047 .L195:
  10366. 754:User/rtu.c **** }
  10367. 755:User/rtu.c **** else
  10368. 756:User/rtu.c **** {
  10369. 757:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
  10370. 4048 .loc 4 757 44
  10371. 4049 03f6 954B ldr r3, .L219
  10372. 4050 03f8 B522 movs r2, #181
  10373. 4051 03fa 0521 movs r1, #5
  10374. 4052 03fc 9954 strb r1, [r3, r2]
  10375. 758:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
  10376. 4053 .loc 4 758 37
  10377. 4054 03fe 934B ldr r3, .L219
  10378. 4055 0400 0922 movs r2, #9
  10379. 4056 0402 5A70 strb r2, [r3, #1]
  10380. 759:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
  10381. 4057 .loc 4 759 45
  10382. 4058 0404 924B ldr r3, .L219+4
  10383. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 180
  10384. 4059 0406 A222 movs r2, #162
  10385. 4060 0408 9200 lsls r2, r2, #2
  10386. 4061 040a 9B18 adds r3, r3, r2
  10387. 4062 040c DB19 adds r3, r3, r7
  10388. 4063 040e DA78 ldrb r2, [r3, #3]
  10389. 4064 .loc 4 759 42
  10390. 4065 0410 904B ldr r3, .L219+8
  10391. 4066 0412 1A70 strb r2, [r3]
  10392. 760:User/rtu.c **** is_in_time_window = 1;
  10393. 4067 .loc 4 760 39
  10394. 4068 0414 0123 movs r3, #1
  10395. 4069 0416 A122 movs r2, #161
  10396. 4070 0418 9200 lsls r2, r2, #2
  10397. 4071 041a BA18 adds r2, r7, r2
  10398. 4072 041c 1360 str r3, [r2]
  10399. 4073 .L194:
  10400. 761:User/rtu.c **** }
  10401. 762:User/rtu.c **** }
  10402. 763:User/rtu.c ****
  10403. 764:User/rtu.c **** // 如果�在10点窗�期,按照原有逻辑处�
  10404. 765:User/rtu.c **** if (!is_in_time_window)
  10405. 4074 .loc 4 765 16
  10406. 4075 041e A123 movs r3, #161
  10407. 4076 0420 9B00 lsls r3, r3, #2
  10408. 4077 0422 FB18 adds r3, r7, r3
  10409. 4078 0424 1B68 ldr r3, [r3]
  10410. 4079 0426 002B cmp r3, #0
  10411. 4080 0428 00D0 beq .LCB3423
  10412. 4081 042a A2E0 b .L214 @long jump
  10413. 4082 .LCB3423:
  10414. 766:User/rtu.c **** {
  10415. 767:User/rtu.c **** // 如果是时控模�,检查当�时间是�在设定的时间范围内
  10416. 768:User/rtu.c **** if (para.mode == 1)
  10417. 4083 .loc 4 768 25
  10418. 4084 042c 8B4B ldr r3, .L219+16
  10419. 4085 042e 1B79 ldrb r3, [r3, #4]
  10420. 4086 .loc 4 768 20
  10421. 4087 0430 012B cmp r3, #1
  10422. 4088 0432 00D0 beq .LCB3427
  10423. 4089 0434 89E0 b .L197 @long jump
  10424. 4090 .LCB3427:
  10425. 4091 .LBB83:
  10426. 769:User/rtu.c **** {
  10427. 770:User/rtu.c **** uint32_t now_min = t.tm_hour * 60 + t.tm_min;
  10428. 4092 .loc 4 770 41
  10429. 4093 0436 864B ldr r3, .L219+4
  10430. 4094 0438 A221 movs r1, #162
  10431. 4095 043a 8900 lsls r1, r1, #2
  10432. 4096 043c 5B18 adds r3, r3, r1
  10433. 4097 043e DB19 adds r3, r3, r7
  10434. 4098 0440 DB78 ldrb r3, [r3, #3]
  10435. 4099 0442 1A00 movs r2, r3
  10436. 4100 .loc 4 770 50
  10437. 4101 0444 1300 movs r3, r2
  10438. 4102 0446 1B01 lsls r3, r3, #4
  10439. 4103 0448 9B1A subs r3, r3, r2
  10440. 4104 044a 9B00 lsls r3, r3, #2
  10441. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 181
  10442. 4105 044c 1A00 movs r2, r3
  10443. 4106 .loc 4 770 58
  10444. 4107 044e 804B ldr r3, .L219+4
  10445. 4108 0450 5B18 adds r3, r3, r1
  10446. 4109 0452 DB19 adds r3, r3, r7
  10447. 4110 0454 1B79 ldrb r3, [r3, #4]
  10448. 4111 .loc 4 770 55
  10449. 4112 0456 D318 adds r3, r2, r3
  10450. 4113 .loc 4 770 30
  10451. 4114 0458 9F21 movs r1, #159
  10452. 4115 045a 8900 lsls r1, r1, #2
  10453. 4116 045c 7A18 adds r2, r7, r1
  10454. 4117 045e 1360 str r3, [r2]
  10455. 771:User/rtu.c **** uint32_t start_min = para.time_mode_start * 60;
  10456. 4118 .loc 4 771 46
  10457. 4119 0460 7E4B ldr r3, .L219+16
  10458. 4120 0462 9B79 ldrb r3, [r3, #6]
  10459. 4121 0464 1A00 movs r2, r3
  10460. 4122 .loc 4 771 63
  10461. 4123 0466 1300 movs r3, r2
  10462. 4124 0468 1B01 lsls r3, r3, #4
  10463. 4125 046a 9B1A subs r3, r3, r2
  10464. 4126 046c 9B00 lsls r3, r3, #2
  10465. 4127 .loc 4 771 30
  10466. 4128 046e 9E20 movs r0, #158
  10467. 4129 0470 8000 lsls r0, r0, #2
  10468. 4130 0472 3A18 adds r2, r7, r0
  10469. 4131 0474 1360 str r3, [r2]
  10470. 772:User/rtu.c **** uint32_t end_min = para.time_mode_end * 60 + 59;
  10471. 4132 .loc 4 772 44
  10472. 4133 0476 794B ldr r3, .L219+16
  10473. 4134 0478 DB79 ldrb r3, [r3, #7]
  10474. 4135 047a 1A00 movs r2, r3
  10475. 4136 .loc 4 772 59
  10476. 4137 047c 1300 movs r3, r2
  10477. 4138 047e 1B01 lsls r3, r3, #4
  10478. 4139 0480 9B1A subs r3, r3, r2
  10479. 4140 0482 9B00 lsls r3, r3, #2
  10480. 4141 .loc 4 772 64
  10481. 4142 0484 3B33 adds r3, r3, #59
  10482. 4143 .loc 4 772 30
  10483. 4144 0486 9D24 movs r4, #157
  10484. 4145 0488 A400 lsls r4, r4, #2
  10485. 4146 048a 3A19 adds r2, r7, r4
  10486. 4147 048c 1360 str r3, [r2]
  10487. 773:User/rtu.c **** uint32_t time_range = 0;
  10488. 4148 .loc 4 773 30
  10489. 4149 048e 0023 movs r3, #0
  10490. 4150 0490 A022 movs r2, #160
  10491. 4151 0492 9200 lsls r2, r2, #2
  10492. 4152 0494 BA18 adds r2, r7, r2
  10493. 4153 0496 1360 str r3, [r2]
  10494. 774:User/rtu.c ****
  10495. 775:User/rtu.c **** // 处�跨天情况
  10496. 776:User/rtu.c **** if (end_min >= start_min)
  10497. 4154 .loc 4 776 24
  10498. 4155 0498 3B19 adds r3, r7, r4
  10499. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 182
  10500. 4156 049a 1A68 ldr r2, [r3]
  10501. 4157 049c 3B18 adds r3, r7, r0
  10502. 4158 049e 1B68 ldr r3, [r3]
  10503. 4159 04a0 9A42 cmp r2, r3
  10504. 4160 04a2 13D3 bcc .L198
  10505. 777:User/rtu.c **** {
  10506. 778:User/rtu.c **** // �跨天
  10507. 779:User/rtu.c **** time_range = (now_min > start_min && now_min <= end_min) ? 1 : 0;
  10508. 4161 .loc 4 779 86
  10509. 4162 04a4 7B18 adds r3, r7, r1
  10510. 4163 04a6 1A68 ldr r2, [r3]
  10511. 4164 04a8 3B18 adds r3, r7, r0
  10512. 4165 04aa 1B68 ldr r3, [r3]
  10513. 4166 04ac 9A42 cmp r2, r3
  10514. 4167 04ae 07D9 bls .L199
  10515. 4168 .loc 4 779 86 is_stmt 0 discriminator 1
  10516. 4169 04b0 7B18 adds r3, r7, r1
  10517. 4170 04b2 1A68 ldr r2, [r3]
  10518. 4171 04b4 3B19 adds r3, r7, r4
  10519. 4172 04b6 1B68 ldr r3, [r3]
  10520. 4173 04b8 9A42 cmp r2, r3
  10521. 4174 04ba 01D8 bhi .L199
  10522. 4175 .loc 4 779 86 discriminator 3
  10523. 4176 04bc 0123 movs r3, #1
  10524. 4177 04be 00E0 b .L200
  10525. 4178 .L199:
  10526. 4179 .loc 4 779 86 discriminator 4
  10527. 4180 04c0 0023 movs r3, #0
  10528. 4181 .L200:
  10529. 4182 .loc 4 779 36 is_stmt 1 discriminator 6
  10530. 4183 04c2 A022 movs r2, #160
  10531. 4184 04c4 9200 lsls r2, r2, #2
  10532. 4185 04c6 BA18 adds r2, r7, r2
  10533. 4186 04c8 1360 str r3, [r2]
  10534. 4187 04ca 18E0 b .L201
  10535. 4188 .L198:
  10536. 780:User/rtu.c **** }
  10537. 781:User/rtu.c **** else
  10538. 782:User/rtu.c **** {
  10539. 783:User/rtu.c **** // 跨天情况 (例如 23:00 到 01:00)
  10540. 784:User/rtu.c **** time_range = (now_min > start_min || now_min <= end_min) ? 1 : 0;
  10541. 4189 .loc 4 784 86
  10542. 4190 04cc 9F21 movs r1, #159
  10543. 4191 04ce 8900 lsls r1, r1, #2
  10544. 4192 04d0 7B18 adds r3, r7, r1
  10545. 4193 04d2 1A68 ldr r2, [r3]
  10546. 4194 04d4 9E23 movs r3, #158
  10547. 4195 04d6 9B00 lsls r3, r3, #2
  10548. 4196 04d8 FB18 adds r3, r7, r3
  10549. 4197 04da 1B68 ldr r3, [r3]
  10550. 4198 04dc 9A42 cmp r2, r3
  10551. 4199 04de 07D8 bhi .L202
  10552. 4200 .loc 4 784 86 is_stmt 0 discriminator 2
  10553. 4201 04e0 7B18 adds r3, r7, r1
  10554. 4202 04e2 1A68 ldr r2, [r3]
  10555. 4203 04e4 9D23 movs r3, #157
  10556. 4204 04e6 9B00 lsls r3, r3, #2
  10557. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 183
  10558. 4205 04e8 FB18 adds r3, r7, r3
  10559. 4206 04ea 1B68 ldr r3, [r3]
  10560. 4207 04ec 9A42 cmp r2, r3
  10561. 4208 04ee 01D8 bhi .L203
  10562. 4209 .L202:
  10563. 4210 .loc 4 784 86 discriminator 3
  10564. 4211 04f0 0123 movs r3, #1
  10565. 4212 04f2 00E0 b .L204
  10566. 4213 .L203:
  10567. 4214 .loc 4 784 86 discriminator 4
  10568. 4215 04f4 0023 movs r3, #0
  10569. 4216 .L204:
  10570. 4217 .loc 4 784 36 is_stmt 1 discriminator 6
  10571. 4218 04f6 A022 movs r2, #160
  10572. 4219 04f8 9200 lsls r2, r2, #2
  10573. 4220 04fa BA18 adds r2, r7, r2
  10574. 4221 04fc 1360 str r3, [r2]
  10575. 4222 .L201:
  10576. 785:User/rtu.c **** }
  10577. 786:User/rtu.c ****
  10578. 787:User/rtu.c **** // 如果当��在时控时间段内,进入掉电�程
  10579. 788:User/rtu.c **** if (!time_range)
  10580. 4223 .loc 4 788 24
  10581. 4224 04fe A023 movs r3, #160
  10582. 4225 0500 9B00 lsls r3, r3, #2
  10583. 4226 0502 FB18 adds r3, r7, r3
  10584. 4227 0504 1B68 ldr r3, [r3]
  10585. 4228 0506 002B cmp r3, #0
  10586. 4229 0508 0FD1 bne .L205
  10587. 789:User/rtu.c **** {
  10588. 790:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
  10589. 4230 .loc 4 790 48
  10590. 4231 050a 504B ldr r3, .L219
  10591. 4232 050c B522 movs r2, #181
  10592. 4233 050e 0521 movs r1, #5
  10593. 4234 0510 9954 strb r1, [r3, r2]
  10594. 791:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
  10595. 4235 .loc 4 791 41
  10596. 4236 0512 4E4B ldr r3, .L219
  10597. 4237 0514 0922 movs r2, #9
  10598. 4238 0516 5A70 strb r2, [r3, #1]
  10599. 792:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
  10600. 4239 .loc 4 792 49
  10601. 4240 0518 4D4B ldr r3, .L219+4
  10602. 4241 051a A222 movs r2, #162
  10603. 4242 051c 9200 lsls r2, r2, #2
  10604. 4243 051e 9B18 adds r3, r3, r2
  10605. 4244 0520 DB19 adds r3, r3, r7
  10606. 4245 0522 DA78 ldrb r2, [r3, #3]
  10607. 4246 .loc 4 792 46
  10608. 4247 0524 4B4B ldr r3, .L219+8
  10609. 4248 0526 1A70 strb r2, [r3]
  10610. 4249 .LBE83:
  10611. 4250 .LBE82:
  10612. 740:User/rtu.c **** rtc_time_t t;
  10613. 4251 .loc 4 740 9
  10614. 4252 0528 23E0 b .L214
  10615. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 184
  10616. 4253 .L205:
  10617. 4254 .LBB85:
  10618. 4255 .LBB84:
  10619. 793:User/rtu.c **** }
  10620. 794:User/rtu.c **** else
  10621. 795:User/rtu.c **** {
  10622. 796:User/rtu.c **** // 如果在时控时间段内,继续执行原逻辑
  10623. 797:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
  10624. 4256 .loc 4 797 48
  10625. 4257 052a 484B ldr r3, .L219
  10626. 4258 052c B522 movs r2, #181
  10627. 4259 052e 0521 movs r1, #5
  10628. 4260 0530 9954 strb r1, [r3, r2]
  10629. 798:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
  10630. 4261 .loc 4 798 41
  10631. 4262 0532 464B ldr r3, .L219
  10632. 4263 0534 0922 movs r2, #9
  10633. 4264 0536 5A70 strb r2, [r3, #1]
  10634. 799:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
  10635. 4265 .loc 4 799 49
  10636. 4266 0538 454B ldr r3, .L219+4
  10637. 4267 053a A222 movs r2, #162
  10638. 4268 053c 9200 lsls r2, r2, #2
  10639. 4269 053e 9B18 adds r3, r3, r2
  10640. 4270 0540 DB19 adds r3, r3, r7
  10641. 4271 0542 DA78 ldrb r2, [r3, #3]
  10642. 4272 .loc 4 799 46
  10643. 4273 0544 434B ldr r3, .L219+8
  10644. 4274 0546 1A70 strb r2, [r3]
  10645. 4275 .LBE84:
  10646. 4276 .LBE85:
  10647. 740:User/rtu.c **** rtc_time_t t;
  10648. 4277 .loc 4 740 9
  10649. 4278 0548 13E0 b .L214
  10650. 4279 .L197:
  10651. 4280 .LBB86:
  10652. 800:User/rtu.c **** }
  10653. 801:User/rtu.c **** }
  10654. 802:User/rtu.c **** else
  10655. 803:User/rtu.c **** {
  10656. 804:User/rtu.c **** // 光控模�,使用原�的逻辑
  10657. 805:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
  10658. 4281 .loc 4 805 44
  10659. 4282 054a 404B ldr r3, .L219
  10660. 4283 054c B522 movs r2, #181
  10661. 4284 054e 0521 movs r1, #5
  10662. 4285 0550 9954 strb r1, [r3, r2]
  10663. 806:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
  10664. 4286 .loc 4 806 37
  10665. 4287 0552 3E4B ldr r3, .L219
  10666. 4288 0554 0922 movs r2, #9
  10667. 4289 0556 5A70 strb r2, [r3, #1]
  10668. 807:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
  10669. 4290 .loc 4 807 45
  10670. 4291 0558 3D4B ldr r3, .L219+4
  10671. 4292 055a A222 movs r2, #162
  10672. 4293 055c 9200 lsls r2, r2, #2
  10673. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 185
  10674. 4294 055e 9B18 adds r3, r3, r2
  10675. 4295 0560 DB19 adds r3, r3, r7
  10676. 4296 0562 DA78 ldrb r2, [r3, #3]
  10677. 4297 .loc 4 807 42
  10678. 4298 0564 3B4B ldr r3, .L219+8
  10679. 4299 0566 1A70 strb r2, [r3]
  10680. 4300 .LBE86:
  10681. 740:User/rtu.c **** rtc_time_t t;
  10682. 4301 .loc 4 740 9
  10683. 4302 0568 03E0 b .L214
  10684. 4303 .L193:
  10685. 808:User/rtu.c **** }
  10686. 809:User/rtu.c **** }
  10687. 810:User/rtu.c **** }
  10688. 811:User/rtu.c **** else
  10689. 812:User/rtu.c **** {
  10690. 813:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
  10691. 4304 .loc 4 813 29
  10692. 4305 056a 384B ldr r3, .L219
  10693. 4306 056c 0122 movs r2, #1
  10694. 4307 056e 5A70 strb r2, [r3, #1]
  10695. 814:User/rtu.c **** }
  10696. 815:User/rtu.c **** break;
  10697. 4308 .loc 4 815 9
  10698. 4309 0570 66E0 b .L180
  10699. 4310 .L214:
  10700. 740:User/rtu.c **** rtc_time_t t;
  10701. 4311 .loc 4 740 9
  10702. 4312 0572 C046 nop
  10703. 4313 .loc 4 815 9
  10704. 4314 0574 64E0 b .L180
  10705. 4315 .L170:
  10706. 816:User/rtu.c **** case RTU_STA_NOTYIFY_POWER_DOWN:
  10707. 817:User/rtu.c **** // 250929增加,rtu应答最新的状�,如果检查状�为busy,则返回到状�
  10708. 818:User/rtu.c **** // 解决RTU任务�动延迟的问题
  10709. 819:User/rtu.c **** if (rtu_ctx.ota_ongoing || rtu_ctx.photo_ongoing || rtu_ctx.rec_ongoing)
  10710. 4316 .loc 4 819 20
  10711. 4317 0576 354B ldr r3, .L219
  10712. 4318 0578 9C22 movs r2, #156
  10713. 4319 057a 9B58 ldr r3, [r3, r2]
  10714. 4320 .loc 4 819 12
  10715. 4321 057c 002B cmp r3, #0
  10716. 4322 057e 09D1 bne .L207
  10717. 4323 .loc 4 819 43 discriminator 1
  10718. 4324 0580 324B ldr r3, .L219
  10719. 4325 0582 AC22 movs r2, #172
  10720. 4326 0584 9B58 ldr r3, [r3, r2]
  10721. 4327 .loc 4 819 33 discriminator 1
  10722. 4328 0586 002B cmp r3, #0
  10723. 4329 0588 04D1 bne .L207
  10724. 4330 .loc 4 819 68 discriminator 2
  10725. 4331 058a 304B ldr r3, .L219
  10726. 4332 058c B022 movs r2, #176
  10727. 4333 058e 9B58 ldr r3, [r3, r2]
  10728. 4334 .loc 4 819 58 discriminator 2
  10729. 4335 0590 002B cmp r3, #0
  10730. 4336 0592 03D0 beq .L208
  10731. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 186
  10732. 4337 .L207:
  10733. 820:User/rtu.c **** {
  10734. 821:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
  10735. 4338 .loc 4 821 29
  10736. 4339 0594 2D4B ldr r3, .L219
  10737. 4340 0596 0122 movs r2, #1
  10738. 4341 0598 5A70 strb r2, [r3, #1]
  10739. 822:User/rtu.c **** break;
  10740. 4342 .loc 4 822 13
  10741. 4343 059a 51E0 b .L180
  10742. 4344 .L208:
  10743. 823:User/rtu.c **** }
  10744. 824:User/rtu.c **** rtu_ctx.power_down_ongoing = 1;
  10745. 4345 .loc 4 824 37
  10746. 4346 059c 2B4B ldr r3, .L219
  10747. 4347 059e B422 movs r2, #180
  10748. 4348 05a0 0121 movs r1, #1
  10749. 4349 05a2 9954 strb r1, [r3, r2]
  10750. 825:User/rtu.c **** if (rtu_ctx.power_down_cnt)
  10751. 4350 .loc 4 825 20
  10752. 4351 05a4 294B ldr r3, .L219
  10753. 4352 05a6 B522 movs r2, #181
  10754. 4353 05a8 9B5C ldrb r3, [r3, r2]
  10755. 4354 .loc 4 825 12
  10756. 4355 05aa 002B cmp r3, #0
  10757. 4356 05ac 1CD0 beq .L209
  10758. 826:User/rtu.c **** {
  10759. 827:User/rtu.c **** rtu_send_pkt(1, 0x06, &rtu_ctx.power_down_cnt, 1);
  10760. 4357 .loc 4 827 13
  10761. 4358 05ae 2C4A ldr r2, .L219+20
  10762. 4359 05b0 0123 movs r3, #1
  10763. 4360 05b2 0621 movs r1, #6
  10764. 4361 05b4 0120 movs r0, #1
  10765. 4362 05b6 FFF7FEFF bl rtu_send_pkt
  10766. 828:User/rtu.c **** rtu_ctx.power_down_cnt--;
  10767. 4363 .loc 4 828 20
  10768. 4364 05ba 244B ldr r3, .L219
  10769. 4365 05bc B522 movs r2, #181
  10770. 4366 05be 9B5C ldrb r3, [r3, r2]
  10771. 4367 .loc 4 828 35
  10772. 4368 05c0 013B subs r3, r3, #1
  10773. 4369 05c2 D9B2 uxtb r1, r3
  10774. 4370 05c4 214B ldr r3, .L219
  10775. 4371 05c6 B522 movs r2, #181
  10776. 4372 05c8 9954 strb r1, [r3, r2]
  10777. 829:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
  10778. 4373 .loc 4 829 29
  10779. 4374 05ca 204B ldr r3, .L219
  10780. 4375 05cc 0722 movs r2, #7
  10781. 4376 05ce 5A70 strb r2, [r3, #1]
  10782. 830:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
  10783. 4377 .loc 4 830 33
  10784. 4378 05d0 FFF7FEFF bl HAL_GetTick
  10785. 4379 05d4 0200 movs r2, r0
  10786. 4380 .loc 4 830 31
  10787. 4381 05d6 1D4B ldr r3, .L219
  10788. 4382 05d8 9A60 str r2, [r3, #8]
  10789. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 187
  10790. 831:User/rtu.c **** rtu_ctx.tsk_tmo = 0; // 设置超时时间为0,无论超时或收到应答,都会åœ
  10791. 4383 .loc 4 831 29
  10792. 4384 05da 1C4B ldr r3, .L219
  10793. 4385 05dc 0022 movs r2, #0
  10794. 4386 05de DA60 str r2, [r3, #12]
  10795. 832:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_NOTYIFY_POWER_DOWN;
  10796. 4387 .loc 4 832 30
  10797. 4388 05e0 1A4B ldr r3, .L219
  10798. 4389 05e2 0922 movs r2, #9
  10799. 4390 05e4 9A70 strb r2, [r3, #2]
  10800. 833:User/rtu.c **** }
  10801. 834:User/rtu.c **** else
  10802. 835:User/rtu.c **** {
  10803. 836:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_IDLE;
  10804. 837:User/rtu.c **** }
  10805. 838:User/rtu.c **** break;
  10806. 4391 .loc 4 838 9
  10807. 4392 05e6 2BE0 b .L180
  10808. 4393 .L209:
  10809. 836:User/rtu.c **** }
  10810. 4394 .loc 4 836 29
  10811. 4395 05e8 184B ldr r3, .L219
  10812. 4396 05ea 0022 movs r2, #0
  10813. 4397 05ec 5A70 strb r2, [r3, #1]
  10814. 4398 .loc 4 838 9
  10815. 4399 05ee 27E0 b .L180
  10816. 4400 .L173:
  10817. 839:User/rtu.c **** case RTU_STA_WAIT_RESP:
  10818. 840:User/rtu.c **** if (rtu_ctx.tsk_tmo)
  10819. 4401 .loc 4 840 20
  10820. 4402 05f0 164B ldr r3, .L219
  10821. 4403 05f2 DB68 ldr r3, [r3, #12]
  10822. 4404 .loc 4 840 12
  10823. 4405 05f4 002B cmp r3, #0
  10824. 4406 05f6 11D0 beq .L211
  10825. 841:User/rtu.c **** {
  10826. 842:User/rtu.c **** if (HAL_GetTick() - rtu_ctx.tsk_timer > rtu_ctx.tsk_tmo)
  10827. 4407 .loc 4 842 17
  10828. 4408 05f8 FFF7FEFF bl HAL_GetTick
  10829. 4409 05fc 0200 movs r2, r0
  10830. 4410 .loc 4 842 40
  10831. 4411 05fe 134B ldr r3, .L219
  10832. 4412 0600 9B68 ldr r3, [r3, #8]
  10833. 4413 .loc 4 842 31
  10834. 4414 0602 D21A subs r2, r2, r3
  10835. 4415 .loc 4 842 60
  10836. 4416 0604 114B ldr r3, .L219
  10837. 4417 0606 DB68 ldr r3, [r3, #12]
  10838. 4418 .loc 4 842 16
  10839. 4419 0608 9A42 cmp r2, r3
  10840. 4420 060a 18D9 bls .L215
  10841. 843:User/rtu.c **** {
  10842. 844:User/rtu.c **** // 250930增加通信丢失容错处ç�†ï¼šè®¾ç½®online为0,解决窗å�£æœŸé€šè®¯ä
  10843. 845:User/rtu.c **** rtu_ctx.online = 0;
  10844. 4421 .loc 4 845 32
  10845. 4422 060c 0F4B ldr r3, .L219
  10846. 4423 060e 9822 movs r2, #152
  10847. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 188
  10848. 4424 0610 0021 movs r1, #0
  10849. 4425 0612 9950 str r1, [r3, r2]
  10850. 846:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_ONLINE;
  10851. 4426 .loc 4 846 33
  10852. 4427 0614 0D4B ldr r3, .L219
  10853. 4428 0616 0222 movs r2, #2
  10854. 4429 0618 5A70 strb r2, [r3, #1]
  10855. 847:User/rtu.c **** }
  10856. 848:User/rtu.c **** }
  10857. 849:User/rtu.c **** else if (HAL_GetTick() - rtu_ctx.tsk_timer > 1000)
  10858. 850:User/rtu.c **** {
  10859. 851:User/rtu.c **** rtu_ctx.tsk_sta = rtu_ctx.next_sta;
  10860. 852:User/rtu.c **** }
  10861. 853:User/rtu.c **** break;
  10862. 4430 .loc 4 853 9
  10863. 4431 061a 10E0 b .L215
  10864. 4432 .L211:
  10865. 849:User/rtu.c **** {
  10866. 4433 .loc 4 849 18
  10867. 4434 061c FFF7FEFF bl HAL_GetTick
  10868. 4435 0620 0200 movs r2, r0
  10869. 849:User/rtu.c **** {
  10870. 4436 .loc 4 849 41
  10871. 4437 0622 0A4B ldr r3, .L219
  10872. 4438 0624 9B68 ldr r3, [r3, #8]
  10873. 849:User/rtu.c **** {
  10874. 4439 .loc 4 849 32
  10875. 4440 0626 D21A subs r2, r2, r3
  10876. 849:User/rtu.c **** {
  10877. 4441 .loc 4 849 17
  10878. 4442 0628 FA23 movs r3, #250
  10879. 4443 062a 9B00 lsls r3, r3, #2
  10880. 4444 062c 9A42 cmp r2, r3
  10881. 4445 062e 06D9 bls .L215
  10882. 851:User/rtu.c **** }
  10883. 4446 .loc 4 851 38
  10884. 4447 0630 064B ldr r3, .L219
  10885. 4448 0632 9A78 ldrb r2, [r3, #2]
  10886. 851:User/rtu.c **** }
  10887. 4449 .loc 4 851 29
  10888. 4450 0634 054B ldr r3, .L219
  10889. 4451 0636 5A70 strb r2, [r3, #1]
  10890. 4452 .loc 4 853 9
  10891. 4453 0638 01E0 b .L215
  10892. 4454 .L213:
  10893. 737:User/rtu.c **** case RTU_STA_WAIT_READY:
  10894. 4455 .loc 4 737 5
  10895. 4456 063a C046 nop
  10896. 4457 063c 00E0 b .L216
  10897. 4458 .L215:
  10898. 4459 .loc 4 853 9
  10899. 4460 063e C046 nop
  10900. 4461 .L180:
  10901. 4462 .L216:
  10902. 854:User/rtu.c **** }
  10903. 855:User/rtu.c **** }
  10904. 4463 .loc 4 855 1
  10905. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 189
  10906. 4464 0640 C046 nop
  10907. 4465 0642 BD46 mov sp, r7
  10908. 4466 0644 A223 movs r3, #162
  10909. 4467 0646 9B00 lsls r3, r3, #2
  10910. 4468 0648 9D44 add sp, sp, r3
  10911. 4469 @ sp needed
  10912. 4470 064a B0BD pop {r4, r5, r7, pc}
  10913. 4471 .L220:
  10914. 4472 .align 2
  10915. 4473 .L219:
  10916. 4474 064c 00000000 .word rtu_ctx
  10917. 4475 0650 C8FEFFFF .word -312
  10918. 4476 0654 00000000 .word rtu_last_wakeup_hour
  10919. 4477 0658 BF270900 .word 599999
  10920. 4478 065c 00000000 .word para
  10921. 4479 0660 B5000000 .word rtu_ctx+181
  10922. 4480 .cfi_endproc
  10923. 4481 .LFE950:
  10924. 4483 .section .text.rtu_irq_handle,"ax",%progbits
  10925. 4484 .align 1
  10926. 4485 .global rtu_irq_handle
  10927. 4486 .syntax unified
  10928. 4487 .code 16
  10929. 4488 .thumb_func
  10930. 4490 rtu_irq_handle:
  10931. 4491 .LFB951:
  10932. 856:User/rtu.c ****
  10933. 857:User/rtu.c **** void rtu_irq_handle(void)
  10934. 858:User/rtu.c **** {
  10935. 4492 .loc 4 858 1
  10936. 4493 .cfi_startproc
  10937. 4494 @ args = 0, pretend = 0, frame = 8
  10938. 4495 @ frame_needed = 1, uses_anonymous_args = 0
  10939. 4496 0000 90B5 push {r4, r7, lr}
  10940. 4497 .LCFI79:
  10941. 4498 .cfi_def_cfa_offset 12
  10942. 4499 .cfi_offset 4, -12
  10943. 4500 .cfi_offset 7, -8
  10944. 4501 .cfi_offset 14, -4
  10945. 4502 0002 83B0 sub sp, sp, #12
  10946. 4503 .LCFI80:
  10947. 4504 .cfi_def_cfa_offset 24
  10948. 4505 0004 00AF add r7, sp, #0
  10949. 4506 .LCFI81:
  10950. 4507 .cfi_def_cfa_register 7
  10951. 859:User/rtu.c **** if (LL_USART_IsEnabledIT_RXNE(COM_RTU) && LL_USART_IsActiveFlag_RXNE(COM_RTU))
  10952. 4508 .loc 4 859 9
  10953. 4509 0006 274B ldr r3, .L227
  10954. 4510 0008 1800 movs r0, r3
  10955. 4511 000a FFF7FEFF bl LL_USART_IsEnabledIT_RXNE_RXFNE
  10956. 4512 000e 031E subs r3, r0, #0
  10957. 4513 .loc 4 859 8
  10958. 4514 0010 21D0 beq .L222
  10959. 4515 .loc 4 859 47 discriminator 1
  10960. 4516 0012 244B ldr r3, .L227
  10961. 4517 0014 1800 movs r0, r3
  10962. 4518 0016 FFF7FEFF bl LL_USART_IsActiveFlag_RXNE_RXFNE
  10963. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 190
  10964. 4519 001a 031E subs r3, r0, #0
  10965. 4520 .loc 4 859 44 discriminator 1
  10966. 4521 001c 1BD0 beq .L222
  10967. 4522 .LBB87:
  10968. 860:User/rtu.c **** {
  10969. 861:User/rtu.c **** uint8_t tmp;
  10970. 862:User/rtu.c ****
  10971. 863:User/rtu.c **** tmp = LL_USART_ReceiveData8(COM_RTU);
  10972. 4523 .loc 4 863 15
  10973. 4524 001e FC1D adds r4, r7, #7
  10974. 4525 0020 204B ldr r3, .L227
  10975. 4526 0022 1800 movs r0, r3
  10976. 4527 0024 FFF7FEFF bl LL_USART_ReceiveData8
  10977. 4528 0028 0300 movs r3, r0
  10978. 4529 002a 2370 strb r3, [r4]
  10979. 864:User/rtu.c **** if (rtu_ctx.rx_len < sizeof(rtu_ctx.rx_buf))
  10980. 4530 .loc 4 864 20
  10981. 4531 002c 1E4B ldr r3, .L227+4
  10982. 4532 002e 1B69 ldr r3, [r3, #16]
  10983. 4533 .loc 4 864 12
  10984. 4534 0030 7F2B cmp r3, #127
  10985. 4535 0032 0BD8 bhi .L223
  10986. 865:User/rtu.c **** {
  10987. 866:User/rtu.c **** rtu_ctx.rx_buf[rtu_ctx.rx_len] = tmp;
  10988. 4536 .loc 4 866 35
  10989. 4537 0034 1C4B ldr r3, .L227+4
  10990. 4538 0036 1B69 ldr r3, [r3, #16]
  10991. 4539 .loc 4 866 44
  10992. 4540 0038 1B4A ldr r2, .L227+4
  10993. 4541 003a D318 adds r3, r2, r3
  10994. 4542 003c FA1D adds r2, r7, #7
  10995. 4543 003e 1278 ldrb r2, [r2]
  10996. 4544 0040 1A76 strb r2, [r3, #24]
  10997. 867:User/rtu.c **** rtu_ctx.rx_len++;
  10998. 4545 .loc 4 867 20
  10999. 4546 0042 194B ldr r3, .L227+4
  11000. 4547 0044 1B69 ldr r3, [r3, #16]
  11001. 4548 .loc 4 867 27
  11002. 4549 0046 5A1C adds r2, r3, #1
  11003. 4550 0048 174B ldr r3, .L227+4
  11004. 4551 004a 1A61 str r2, [r3, #16]
  11005. 4552 .L223:
  11006. 868:User/rtu.c **** }
  11007. 869:User/rtu.c **** rtu_ctx.rx_timer = HAL_GetTick();
  11008. 4553 .loc 4 869 28
  11009. 4554 004c FFF7FEFF bl HAL_GetTick
  11010. 4555 0050 0200 movs r2, r0
  11011. 4556 .loc 4 869 26
  11012. 4557 0052 154B ldr r3, .L227+4
  11013. 4558 0054 5A61 str r2, [r3, #20]
  11014. 4559 .L222:
  11015. 4560 .LBE87:
  11016. 870:User/rtu.c **** }
  11017. 871:User/rtu.c ****
  11018. 872:User/rtu.c **** if (LL_USART_IsActiveFlag_ORE(COM_RTU))
  11019. 4561 .loc 4 872 9
  11020. 4562 0056 134B ldr r3, .L227
  11021. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 191
  11022. 4563 0058 1800 movs r0, r3
  11023. 4564 005a FFF7FEFF bl LL_USART_IsActiveFlag_ORE
  11024. 4565 005e 031E subs r3, r0, #0
  11025. 4566 .loc 4 872 8
  11026. 4567 0060 07D0 beq .L224
  11027. 873:User/rtu.c **** {
  11028. 874:User/rtu.c **** LL_USART_ClearFlag_ORE(COM_RTU);
  11029. 4568 .loc 4 874 9
  11030. 4569 0062 104B ldr r3, .L227
  11031. 4570 0064 1800 movs r0, r3
  11032. 4571 0066 FFF7FEFF bl LL_USART_ClearFlag_ORE
  11033. 875:User/rtu.c **** LL_USART_DisableIT_ERROR(COM_RTU);
  11034. 4572 .loc 4 875 9
  11035. 4573 006a 0E4B ldr r3, .L227
  11036. 4574 006c 1800 movs r0, r3
  11037. 4575 006e FFF7FEFF bl LL_USART_DisableIT_ERROR
  11038. 4576 .L224:
  11039. 876:User/rtu.c **** }
  11040. 877:User/rtu.c ****
  11041. 878:User/rtu.c **** if (LL_USART_IsEnabledIT_TC(COM_RTU) && LL_USART_IsActiveFlag_TC(COM_RTU))
  11042. 4577 .loc 4 878 9
  11043. 4578 0072 0C4B ldr r3, .L227
  11044. 4579 0074 1800 movs r0, r3
  11045. 4580 0076 FFF7FEFF bl LL_USART_IsEnabledIT_TC
  11046. 4581 007a 031E subs r3, r0, #0
  11047. 4582 .loc 4 878 8
  11048. 4583 007c 0DD0 beq .L226
  11049. 4584 .loc 4 878 45 discriminator 1
  11050. 4585 007e 094B ldr r3, .L227
  11051. 4586 0080 1800 movs r0, r3
  11052. 4587 0082 FFF7FEFF bl LL_USART_IsActiveFlag_TC
  11053. 4588 0086 031E subs r3, r0, #0
  11054. 4589 .loc 4 878 42 discriminator 1
  11055. 4590 0088 07D0 beq .L226
  11056. 879:User/rtu.c **** {
  11057. 880:User/rtu.c **** LL_USART_ClearFlag_TC(COM_RTU);
  11058. 4591 .loc 4 880 9
  11059. 4592 008a 064B ldr r3, .L227
  11060. 4593 008c 1800 movs r0, r3
  11061. 4594 008e FFF7FEFF bl LL_USART_ClearFlag_TC
  11062. 881:User/rtu.c **** LL_USART_DisableIT_TC(COM_RTU);
  11063. 4595 .loc 4 881 9
  11064. 4596 0092 044B ldr r3, .L227
  11065. 4597 0094 1800 movs r0, r3
  11066. 4598 0096 FFF7FEFF bl LL_USART_DisableIT_TC
  11067. 4599 .L226:
  11068. 882:User/rtu.c **** }
  11069. 883:User/rtu.c **** }
  11070. 4600 .loc 4 883 1
  11071. 4601 009a C046 nop
  11072. 4602 009c BD46 mov sp, r7
  11073. 4603 009e 03B0 add sp, sp, #12
  11074. 4604 @ sp needed
  11075. 4605 00a0 90BD pop {r4, r7, pc}
  11076. 4606 .L228:
  11077. 4607 00a2 C046 .align 2
  11078. 4608 .L227:
  11079. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 192
  11080. 4609 00a4 00440040 .word 1073759232
  11081. 4610 00a8 00000000 .word rtu_ctx
  11082. 4611 .cfi_endproc
  11083. 4612 .LFE951:
  11084. 4614 .text
  11085. 4615 .Letext0:
  11086. 4616 .file 5 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\machine\\_default_
  11087. 4617 .file 6 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\sys\\_stdint.h"
  11088. 4618 .file 7 "User/para.h"
  11089. 4619 .file 8 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h"
  11090. 4620 .file 9 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h"
  11091. 4621 .file 10 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_gpio.h"
  11092. 4622 .file 11 "User/rec.h"
  11093. 4623 .file 12 "User/app_rtc.h"
  11094. 4624 .file 13 "User/sensor.h"
  11095. 4625 .file 14 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h"
  11096. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 193
  11097. DEFINED SYMBOLS
  11098. *ABS*:00000000 rtu.c
  11099. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:18 .rodata.CHANNEL_OFFSET_TAB:00000000 $d
  11100. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:21 .rodata.CHANNEL_OFFSET_TAB:00000000 CHANNEL_OFFSET_TAB
  11101. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:24 .rodata.USART_PRESCALER_TAB:00000000 $d
  11102. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:27 .rodata.USART_PRESCALER_TAB:00000000 USART_PRESCALER_TAB
  11103. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:41 .text.LL_USART_IsActiveFlag_ORE:00000000 $t
  11104. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:46 .text.LL_USART_IsActiveFlag_ORE:00000000 LL_USART_IsActiveFlag_ORE
  11105. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:90 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 $t
  11106. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:95 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 LL_USART_IsActiveFlag_RXNE_RXFNE
  11107. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:138 .text.LL_USART_IsActiveFlag_TC:00000000 $t
  11108. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:143 .text.LL_USART_IsActiveFlag_TC:00000000 LL_USART_IsActiveFlag_TC
  11109. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:186 .text.LL_USART_ClearFlag_ORE:00000000 $t
  11110. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:191 .text.LL_USART_ClearFlag_ORE:00000000 LL_USART_ClearFlag_ORE
  11111. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:223 .text.LL_USART_ClearFlag_TC:00000000 $t
  11112. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:228 .text.LL_USART_ClearFlag_TC:00000000 LL_USART_ClearFlag_TC
  11113. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:260 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 $t
  11114. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:265 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 LL_USART_EnableIT_RXNE_RXFNE
  11115. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:351 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 $t
  11116. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:356 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 LL_USART_DisableIT_RXNE_RXFNE
  11117. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:442 .text.LL_USART_DisableIT_TC:00000000 $t
  11118. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:447 .text.LL_USART_DisableIT_TC:00000000 LL_USART_DisableIT_TC
  11119. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:533 .text.LL_USART_DisableIT_ERROR:00000000 $t
  11120. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:538 .text.LL_USART_DisableIT_ERROR:00000000 LL_USART_DisableIT_ERROR
  11121. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:624 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 $t
  11122. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:629 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 LL_USART_IsEnabledIT_RXNE_RXFNE
  11123. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:672 .text.LL_USART_IsEnabledIT_TC:00000000 $t
  11124. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:677 .text.LL_USART_IsEnabledIT_TC:00000000 LL_USART_IsEnabledIT_TC
  11125. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:720 .text.LL_USART_ReceiveData8:00000000 $t
  11126. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:725 .text.LL_USART_ReceiveData8:00000000 LL_USART_ReceiveData8
  11127. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:758 .text.LL_USART_TransmitData8:00000000 $t
  11128. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:763 .text.LL_USART_TransmitData8:00000000 LL_USART_TransmitData8
  11129. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:799 .text.LL_APB1_GRP1_DisableClock:00000000 $t
  11130. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:804 .text.LL_APB1_GRP1_DisableClock:00000000 LL_APB1_GRP1_DisableClock
  11131. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:840 .text.LL_APB1_GRP1_DisableClock:00000020 $d
  11132. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:849 .bss.rtu_ctx:00000000 rtu_ctx
  11133. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:846 .bss.rtu_ctx:00000000 $d
  11134. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:854 .bss.rtu_last_wakeup_hour:00000000 rtu_last_wakeup_hour
  11135. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:855 .bss.rtu_last_wakeup_hour:00000000 $d
  11136. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:857 .rodata:00000000 $d
  11137. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:861 .text.rtu_init:00000000 $t
  11138. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:867 .text.rtu_init:00000000 rtu_init
  11139. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:952 .text.rtu_init:00000070 $d
  11140. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:959 .text.rtu_deinit:00000000 $t
  11141. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:965 .text.rtu_deinit:00000000 rtu_deinit
  11142. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1041 .text.rtu_deinit:0000006c $d
  11143. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1048 .text.rtu_write:00000000 $t
  11144. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1053 .text.rtu_write:00000000 rtu_write
  11145. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1124 .text.rtu_write:0000004c $d
  11146. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1129 .text.rtu_escape_data:00000000 $t
  11147. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1134 .text.rtu_escape_data:00000000 rtu_escape_data
  11148. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1294 .text.rtu_send_pkt:00000000 $t
  11149. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1300 .text.rtu_send_pkt:00000000 rtu_send_pkt
  11150. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1575 .text.rtu_send_pkt:000001c8 $d
  11151. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1589 .text.rtu_read:00000000 $t
  11152. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1595 .text.rtu_read:00000000 rtu_read
  11153. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1684 .text.rtu_read:00000064 $d
  11154. ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 194
  11155. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1690 .text.rtu_parse_sta:00000000 $t
  11156. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1696 .text.rtu_parse_sta:00000000 rtu_parse_sta
  11157. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1761 .text.rtu_parse_sta:0000004c $d
  11158. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1766 .text.rtu_pack_rec:00000000 $t
  11159. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1772 .text.rtu_pack_rec:00000000 rtu_pack_rec
  11160. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2099 .text.rtu_pack_rec:000001ac $d
  11161. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2104 .text.rtu_unescape_data:00000000 $t
  11162. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2109 .text.rtu_unescape_data:00000000 rtu_unescape_data
  11163. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2246 .text.rtu_send_realtime_data:00000000 $t
  11164. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2251 .text.rtu_send_realtime_data:00000000 rtu_send_realtime_data
  11165. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2420 .text.rtu_rx_proc:00000000 $t
  11166. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2426 .text.rtu_rx_proc:00000000 rtu_rx_proc
  11167. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2752 .rodata.rtu_rx_proc:00000000 $d
  11168. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3349 .text.rtu_rx_proc:0000050c $d
  11169. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3362 .text.rtu_task:00000000 $t
  11170. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3368 .text.rtu_task:00000000 rtu_task
  11171. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3485 .rodata.rtu_task:00000000 $d
  11172. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3960 .text.rtu_task:00000360 $d
  11173. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3971 .text.rtu_task:00000384 $t
  11174. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4474 .text.rtu_task:0000064c $d
  11175. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4484 .text.rtu_irq_handle:00000000 $t
  11176. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4490 .text.rtu_irq_handle:00000000 rtu_irq_handle
  11177. C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4609 .text.rtu_irq_handle:000000a4 $d
  11178. UNDEFINED SYMBOLS
  11179. pm_get_lock
  11180. memset
  11181. MX_USART2_UART_Init
  11182. HAL_GPIO_WritePin
  11183. HAL_GetTick
  11184. LL_USART_DeInit
  11185. LL_GPIO_Init
  11186. pm_release_lock
  11187. memcpy
  11188. CRC16
  11189. rec_read
  11190. rtc_get_time
  11191. rtc_mktime
  11192. sensor_get_data
  11193. rec_delete
  11194. rtc_gmtime
  11195. rtc_set_time
  11196. para_write
  11197. Ymodem_ReceiveToW25Qxx
  11198. W25qxx_EraseSector
  11199. W25qxx_WriteByte
  11200. HAL_NVIC_SystemReset
  11201. para
  11202. sensor_is_busy