| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591 |
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 1
- 1 .cpu cortex-m0plus
- 2 .arch armv6s-m
- 3 .fpu softvfp
- 4 .eabi_attribute 20, 1
- 5 .eabi_attribute 21, 1
- 6 .eabi_attribute 23, 3
- 7 .eabi_attribute 24, 1
- 8 .eabi_attribute 25, 1
- 9 .eabi_attribute 26, 1
- 10 .eabi_attribute 30, 6
- 11 .eabi_attribute 34, 0
- 12 .eabi_attribute 18, 4
- 13 .file "rtu.c"
- 14 .text
- 15 .Ltext0:
- 16 .cfi_sections .debug_frame
- 17 .section .rodata.CHANNEL_OFFSET_TAB,"a"
- 18 .align 2
- 21 CHANNEL_OFFSET_TAB:
- 22 0000 081C3044 .ascii "\010\0340DXl\200"
- 22 586C80
- 23 .section .rodata.USART_PRESCALER_TAB,"a"
- 24 .align 2
- 27 USART_PRESCALER_TAB:
- 28 0000 01000000 .word 1
- 29 0004 02000000 .word 2
- 30 0008 04000000 .word 4
- 31 000c 06000000 .word 6
- 32 0010 08000000 .word 8
- 33 0014 0A000000 .word 10
- 34 0018 0C000000 .word 12
- 35 001c 10000000 .word 16
- 36 0020 20000000 .word 32
- 37 0024 40000000 .word 64
- 38 0028 80000000 .word 128
- 39 002c 00010000 .word 256
- 40 .section .text.LL_USART_IsActiveFlag_ORE,"ax",%progbits
- 41 .align 1
- 42 .syntax unified
- 43 .code 16
- 44 .thumb_func
- 46 LL_USART_IsActiveFlag_ORE:
- 47 .LFB579:
- 48 .file 1 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h"
- 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
- 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @file stm32g0xx_ll_usart.h
- 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @author MCD Application Team
- 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Header file of USART LL module.
- 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
- 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @attention
- 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
- 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Copyright (c) 2018 STMicroelectronics.
- 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * All rights reserved.
- 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
- 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This software is licensed under terms that can be found in the LICENSE file
- 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * in the root directory of this software component.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 2
- 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** *
- 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ******************************************************************************
- 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Define to prevent recursive inclusion -------------------------------------*/
- 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifndef STM32G0xx_LL_USART_H
- 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define STM32G0xx_LL_USART_H
- 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #ifdef __cplusplus
- 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** extern "C" {
- 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif
- 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Includes ------------------------------------------------------------------*/
- 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #include "stm32g0xx.h"
- 29:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @addtogroup STM32G0xx_LL_Driver
- 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USART1) || defined(USART2) || defined(USART3) || defined(USART4) || defined(USART5) ||
- 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL USART
- 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private types -------------------------------------------------------------*/
- 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private variables ---------------------------------------------------------*/
- 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Variables USART Private Variables
- 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 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
- 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** static const uint32_t USART_PRESCALER_TAB[] =
- 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 1UL,
- 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 2UL,
- 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 4UL,
- 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 6UL,
- 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 8UL,
- 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 10UL,
- 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 12UL,
- 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 16UL,
- 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 32UL,
- 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 64UL,
- 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 128UL,
- 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** 256UL
- 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** };
- 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private constants ---------------------------------------------------------*/
- 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Constants USART Private Constants
- 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 3
- 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Private macros ------------------------------------------------------------*/
- 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
- 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Private_Macros USART Private Macros
- 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
- 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported types ------------------------------------------------------------*/
- 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
- 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_ES_INIT USART Exported Init structures
- 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Init Structure definition
- 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
- 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t PrescalerValue; /*!< Specifies the Prescaler to compute the communication bau
- 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PRESCA
- 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetPrescaler().*/
- 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate; /*!< This field defines expected Usart communication baud rat
- 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetBaudRate().*/
- 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t DataWidth; /*!< Specifies the number of data bits transmitted or receive
- 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DATAWI
- 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetDataWidth().*/
- 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits; /*!< Specifies the number of stop bits transmitted.
- 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_STOPBI
- 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetStopBitsLength().*/
- 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t Parity; /*!< Specifies the parity mode.
- 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PARITY
- 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetParity().*/
- 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t TransferDirection; /*!< Specifies whether the Receive and/or Transmit mode is en
- 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_DIRECT
- 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetTransferDirection().*/
- 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 4
- 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t HardwareFlowControl; /*!< Specifies whether the hardware flow control mode is enab
- 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_HWCONT
- 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetHWFlowCtrl().*/
- 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling; /*!< Specifies whether USART oversampling mode is 16 or 8.
- 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_OVERSA
- 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This feature can be modified afterwards using unitary
- 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** function @ref LL_USART_SetOverSampling().*/
- 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_InitTypeDef;
- 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief LL USART Clock Init Structure definition
- 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** typedef struct
- 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockOutput; /*!< Specifies whether the USART clock is enabled or disabled
- 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_CLOCK.
- 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** @ref LL_USART_EnableSCLKOutput() or @ref LL_USART_Disabl
- 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPolarity; /*!< Specifies the steady state of the serial clock.
- 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_POLARI
- 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPolarity().
- 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t ClockPhase; /*!< Specifies the clock transition on which the bit capture
- 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_PHASE.
- 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetClockPhase().
- 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t LastBitClockPulse; /*!< Specifies whether the clock pulse corresponding to the l
- 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data bit (MSB) has to be output on the SCLK pin in synch
- 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** This parameter can be a value of @ref USART_LL_EC_LASTCL
- 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USART HW configuration can be modified afterwards using
- 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** functions @ref LL_USART_SetLastClkPulseOutput().
- 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** For more details, refer to description of this function.
- 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** } LL_USART_ClockInitTypeDef;
- 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /* USE_FULL_LL_DRIVER */
- 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported constants --------------------------------------------------------*/
- 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Constants USART Exported Constants
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 5
- 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLEAR_FLAG Clear Flags Defines
- 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_WriteReg function
- 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_PECF USART_ICR_PECF /*!< Parity error cle
- 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_FECF USART_ICR_FECF /*!< Framing error cl
- 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_NECF USART_ICR_NECF /*!< Noise error dete
- 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_ORECF USART_ICR_ORECF /*!< Overrun error cl
- 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_IDLECF USART_ICR_IDLECF /*!< Idle line detect
- 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TXFECF USART_ICR_TXFECF /*!< TX FIFO Empty cl
- 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCCF USART_ICR_TCCF /*!< Transmission com
- 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_TCBGTCF USART_ICR_TCBGTCF /*!< Transmission com
- 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_LBDCF USART_ICR_LBDCF /*!< LIN break detect
- 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CTSCF USART_ICR_CTSCF /*!< CTS clear flag *
- 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_RTOCF USART_ICR_RTOCF /*!< Receiver timeout
- 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_EOBCF USART_ICR_EOBCF /*!< End of block cle
- 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_UDRCF USART_ICR_UDRCF /*!< SPI Slave Underr
- 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_CMCF USART_ICR_CMCF /*!< Character match
- 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ICR_WUCF USART_ICR_WUCF /*!< Wakeup from Stop
- 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_GET_FLAG Get Flags Defines
- 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Flags defines which can be used with LL_USART_ReadReg function
- 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_PE USART_ISR_PE /*!< Parity error fla
- 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_FE USART_ISR_FE /*!< Framing error fl
- 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_NE USART_ISR_NE /*!< Noise detected f
- 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ORE USART_ISR_ORE /*!< Overrun error fl
- 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_IDLE USART_ISR_IDLE /*!< Idle line detect
- 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXNE_RXFNE USART_ISR_RXNE_RXFNE /*!< Read data regist
- 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TC USART_ISR_TC /*!< Transmission com
- 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXE_TXFNF USART_ISR_TXE_TXFNF /*!< Transmit data re
- 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_LBDF USART_ISR_LBDF /*!< LIN break detect
- 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTSIF USART_ISR_CTSIF /*!< CTS interrupt fl
- 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CTS USART_ISR_CTS /*!< CTS flag */
- 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RTOF USART_ISR_RTOF /*!< Receiver timeout
- 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_EOBF USART_ISR_EOBF /*!< End of block fla
- 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_UDR USART_ISR_UDR /*!< SPI Slave underr
- 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRE USART_ISR_ABRE /*!< Auto baud rate e
- 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_ABRF USART_ISR_ABRF /*!< Auto baud rate f
- 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_BUSY USART_ISR_BUSY /*!< Busy flag */
- 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_CMF USART_ISR_CMF /*!< Character match
- 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_SBKF USART_ISR_SBKF /*!< Send break flag
- 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RWU USART_ISR_RWU /*!< Receiver wakeup
- 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_WUF USART_ISR_WUF /*!< Wakeup from Stop
- 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TEACK USART_ISR_TEACK /*!< Transmit enable
- 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_REACK USART_ISR_REACK /*!< Receive enable a
- 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFE USART_ISR_TXFE /*!< TX FIFO empty fl
- 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFF USART_ISR_RXFF /*!< RX FIFO full fla
- 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TCBGT USART_ISR_TCBGT /*!< Transmission com
- 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_RXFT USART_ISR_RXFT /*!< RX FIFO threshol
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 6
- 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ISR_TXFT USART_ISR_TXFT /*!< TX FIFO threshol
- 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IT IT Defines
- 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
- 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_IDLEIE USART_CR1_IDLEIE /*!< IDLE interrupt e
- 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXNEIE_RXFNEIE USART_CR1_RXNEIE_RXFNEIE /*!< Read data regist
- 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TCIE USART_CR1_TCIE /*!< Transmission com
- 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXEIE_TXFNFIE USART_CR1_TXEIE_TXFNFIE /*!< Transmit data re
- 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_PEIE USART_CR1_PEIE /*!< Parity error */
- 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_CMIE USART_CR1_CMIE /*!< Character match
- 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RTOIE USART_CR1_RTOIE /*!< Receiver timeout
- 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_EOBIE USART_CR1_EOBIE /*!< End of Block int
- 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_TXFEIE USART_CR1_TXFEIE /*!< TX FIFO empty in
- 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR1_RXFFIE USART_CR1_RXFFIE /*!< RX FIFO full int
- 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR2_LBDIE USART_CR2_LBDIE /*!< LIN break detect
- 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_EIE USART_CR3_EIE /*!< Error interrupt
- 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_CTSIE USART_CR3_CTSIE /*!< CTS interrupt en
- 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_WUFIE USART_CR3_WUFIE /*!< Wakeup from Stop
- 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TXFTIE USART_CR3_TXFTIE /*!< TX FIFO threshol
- 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_TCBGTIE USART_CR3_TCBGTIE /*!< Transmission com
- 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CR3_RXFTIE USART_CR3_RXFTIE /*!< RX FIFO threshol
- 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_FIFOTHRESHOLD FIFO Threshold
- 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_8 0x00000000U /*!< FIFO reaches 1/8 of its depth */
- 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_4 0x00000001U /*!< FIFO reaches 1/4 of its depth */
- 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_1_2 0x00000002U /*!< FIFO reaches 1/2 of its depth */
- 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_3_4 0x00000003U /*!< FIFO reaches 3/4 of its depth */
- 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_7_8 0x00000004U /*!< FIFO reaches 7/8 of its depth */
- 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_FIFOTHRESHOLD_8_8 0x00000005U /*!< FIFO becomes empty for TX and full
- 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DIRECTION Communication Direction
- 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_NONE 0x00000000U /*!< Transmitter
- 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_RX USART_CR1_RE /*!< Transmitter
- 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX USART_CR1_TE /*!< Transmitter
- 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DIRECTION_TX_RX (USART_CR1_TE |USART_CR1_RE) /*!< Transmitter
- 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PARITY Parity Control
- 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 7
- 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_NONE 0x00000000U /*!< Parity co
- 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_EVEN USART_CR1_PCE /*!< Parity co
- 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PARITY_ODD (USART_CR1_PCE | USART_CR1_PS) /*!< Parity co
- 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP Wakeup
- 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_IDLELINE 0x00000000U /*!< USART wake up from Mute
- 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ADDRESSMARK USART_CR1_WAKE /*!< USART wake up from Mute
- 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DATAWIDTH Datawidth
- 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_7B USART_CR1_M1 /*!< 7 bits word length : S
- 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_8B 0x00000000U /*!< 8 bits word length : S
- 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DATAWIDTH_9B USART_CR1_M0 /*!< 9 bits word length : S
- 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_OVERSAMPLING Oversampling
- 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_16 0x00000000U /*!< Oversampling by 16 */
- 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_OVERSAMPLING_8 USART_CR1_OVER8 /*!< Oversampling by 8 */
- 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #if defined(USE_FULL_LL_DRIVER)
- 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_CLOCK Clock Signal
- 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_DISABLE 0x00000000U /*!< Clock signal not provid
- 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_CLOCK_ENABLE USART_CR2_CLKEN /*!< Clock signal provided *
- 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #endif /*USE_FULL_LL_DRIVER*/
- 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LASTCLKPULSE Last Clock Pulse
- 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_NO_OUTPUT 0x00000000U /*!< The clock pulse of the l
- 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LASTCLKPULSE_OUTPUT USART_CR2_LBCL /*!< The clock pulse of the l
- 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PHASE Clock Phase
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 8
- 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_1EDGE 0x00000000U /*!< The first clock transiti
- 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PHASE_2EDGE USART_CR2_CPHA /*!< The second clock transit
- 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_POLARITY Clock Polarity
- 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_LOW 0x00000000U /*!< Steady low value on SCLK
- 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_POLARITY_HIGH USART_CR2_CPOL /*!< Steady high value on SCL
- 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_PRESCALER Clock Source Prescaler
- 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV1 0x00000000U
- 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV2 (USART_PRESC_PRESCALER_0)
- 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV4 (USART_PRESC_PRESCALER_1)
- 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV6 (USART_PRESC_PRESCALER_1 | USART_PRESC_PRESCALER_0)
- 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV8 (USART_PRESC_PRESCALER_2)
- 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV10 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_0)
- 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV12 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1)
- 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV16 (USART_PRESC_PRESCALER_2 | USART_PRESC_PRESCALER_1
- 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV32 (USART_PRESC_PRESCALER_3)
- 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV64 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_0)
- 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV128 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1)
- 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_PRESCALER_DIV256 (USART_PRESC_PRESCALER_3 | USART_PRESC_PRESCALER_1
- 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_STOPBITS Stop Bits
- 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_0_5 USART_CR2_STOP_0 /*!< 0.5
- 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_1 0x00000000U /*!< 1 s
- 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
- 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_STOPBITS_2 USART_CR2_STOP_1 /*!< 2 s
- 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXRX TX RX Pins Swap
- 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_STANDARD 0x00000000U /*!< TX/RX pins are used as d
- 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXRX_SWAPPED (USART_CR2_SWAP) /*!< TX and RX pins functions
- 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_RXPIN_LEVEL RX Pin Active Level Inversion
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 9
- 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_STANDARD 0x00000000U /*!< RX pin signal works usin
- 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_RXPIN_LEVEL_INVERTED (USART_CR2_RXINV) /*!< RX pin signal values are
- 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_TXPIN_LEVEL TX Pin Active Level Inversion
- 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_STANDARD 0x00000000U /*!< TX pin signal works usin
- 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_TXPIN_LEVEL_INVERTED (USART_CR2_TXINV) /*!< TX pin signal values are
- 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BINARY_LOGIC Binary Data Inversion
- 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_POSITIVE 0x00000000U /*!< Logical data from the da
- 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BINARY_LOGIC_NEGATIVE USART_CR2_DATAINV /*!< Logical data from the da
- 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_BITORDER Bit Order
- 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_LSBFIRST 0x00000000U /*!< data is transmitted/rece
- 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_BITORDER_MSBFIRST USART_CR2_MSBFIRST /*!< data is transmitted/rece
- 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_AUTOBAUD_DETECT_ON Autobaud Detection
- 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_STARTBIT 0x00000000U /*!< Me
- 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE USART_CR2_ABRMODE_0 /*!< Fa
- 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME USART_CR2_ABRMODE_1 /*!< 0x
- 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
- 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_ADDRESS_DETECT Address Length Detection
- 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_4B 0x00000000U /*!< 4-bit address detection
- 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ADDRESS_DETECT_7B USART_CR2_ADDM7 /*!< 7-bit address detection
- 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_HWCONTROL Hardware Control
- 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 10
- 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_NONE 0x00000000U /*!< CTS and R
- 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_RTS USART_CR3_RTSE /*!< RTS outpu
- 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_HWCONTROL_CTS USART_CR3_CTSE /*!< CTS mode
- 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
- 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_WAKEUP_ON Wakeup Activation
- 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_ADDRESS 0x00000000U /*!< Wake u
- 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WAKEUP_ON_STARTBIT USART_CR3_WUS_1 /*!< Wake u
- 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
- 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_IRDA_POWER IrDA Power
- 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_NORMAL 0x00000000U /*!< IrDA normal power mode *
- 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IRDA_POWER_LOW USART_CR3_IRLP /*!< IrDA low power mode */
- 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_LINBREAK_DETECT LIN Break Detection Length
- 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_10B 0x00000000U /*!< 10-bit break detection m
- 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_LINBREAK_DETECT_11B USART_CR2_LBDL /*!< 11-bit break detection m
- 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DE_POLARITY Driver Enable Polarity
- 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_HIGH 0x00000000U /*!< DE signal is active high
- 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DE_POLARITY_LOW USART_CR3_DEP /*!< DE signal is active low
- 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EC_DMA_REG_DATA DMA Register Data
- 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_TRANSMIT 0x00000000U /*!< Get address of data regis
- 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DMA_REG_DATA_RECEIVE 0x00000001U /*!< Get address of data regis
- 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 11
- 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported macro ------------------------------------------------------------*/
- 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Macros USART Exported Macros
- 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_WRITE_READ Common Write and read registers Macros
- 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write a value in USART register
- 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
- 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be written
- 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __VALUE__ Value to be written in the register
- 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VAL
- 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read a value in USART register
- 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __INSTANCE__ USART Instance
- 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __REG__ Register to be read
- 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Register value
- 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
- 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EM_Exported_Macros_Helper Exported_Macros_Helper
- 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
- 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)
- 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
- 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
- 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
- 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_8 case
- 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING8(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
- 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))*2U)\
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 12
- 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
- 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Compute USARTDIV value according to Peripheral Clock and
- 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)
- 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PERIPHCLK__ Peripheral Clock frequency used for USART instance
- 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __PRESCALER__ This parameter can be one of the following values:
- 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param __BAUDRATE__ Baud rate value to achieve
- 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval USARTDIV value to be used for BRR register filling in OverSampling_16 case
- 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define __LL_USART_DIV_SAMPLING16(__PERIPHCLK__, __PRESCALER__, __BAUDRATE__) \
- 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ((((__PERIPHCLK__)/(USART_PRESCALER_TAB[(__PRESCALER__)]))\
- 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** + ((__BAUDRATE__)/2U))/(__BAUDRATE__))
- 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Exported functions --------------------------------------------------------*/
- 619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_Exported_Functions USART Exported Functions
- 621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration Configuration functions
- 625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Enable
- 630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Enable
- 631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Enable(USART_TypeDef *USARTx)
- 635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_UE);
- 637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART Disable (all USART prescalers and outputs are disabled)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 13
- 641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note When USART is disabled, USART prescalers and outputs are stopped immediately,
- 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
- 643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * flags, in the USARTx_ISR are set to their default values.
- 644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_Disable
- 645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_Disable(USART_TypeDef *USARTx)
- 649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_UE);
- 651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if USART is enabled
- 655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UE LL_USART_IsEnabled
- 656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabled(const USART_TypeDef *USARTx)
- 660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL);
- 662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Enable
- 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
- 667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_EnableFIFO
- 669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableFIFO(USART_TypeDef *USARTx)
- 673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR1, USART_CR1_FIFOEN);
- 675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief FIFO Mode Disable
- 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
- 680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_DisableFIFO
- 682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableFIFO(USART_TypeDef *USARTx)
- 686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR1, USART_CR1_FIFOEN);
- 688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if FIFO Mode is enabled
- 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
- 693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 FIFOEN LL_USART_IsEnabledFIFO
- 695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 14
- 698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledFIFO(const USART_TypeDef *USARTx)
- 699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL);
- 701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX FIFO Threshold
- 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
- 706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_SetTXFIFOThreshold
- 708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
- 710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
- 719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos);
- 721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return TX FIFO Threshold Configuration
- 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
- 726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_GetTXFIFOThreshold
- 728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXFIFOThreshold(const USART_TypeDef *USARTx)
- 738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos);
- 740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX FIFO Threshold
- 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
- 745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_SetRXFIFOThreshold
- 747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Threshold This parameter can be one of the following values:
- 749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 15
- 755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXFIFOThreshold(USART_TypeDef *USARTx, uint32_t Threshold)
- 758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos);
- 760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return RX FIFO Threshold Configuration
- 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
- 765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTCFG LL_USART_GetRXFIFOThreshold
- 767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXFIFOThreshold(const USART_TypeDef *USARTx)
- 777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos);
- 779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX and RX FIFOs Threshold
- 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
- 784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTCFG LL_USART_ConfigFIFOsThreshold\n
- 786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 RXFTCFG LL_USART_ConfigFIFOsThreshold
- 787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TXThreshold This parameter can be one of the following values:
- 789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param RXThreshold This parameter can be one of the following values:
- 796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_8
- 797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_4
- 798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_1_2
- 799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_3_4
- 800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_7_8
- 801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_FIFOTHRESHOLD_8_8
- 802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigFIFOsThreshold(USART_TypeDef *USARTx, uint32_t TXThreshold, uin
- 805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 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
- 807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (RXThreshold << USART_CR3_RXFTCFG_Pos));
- 808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART enabled in STOP Mode.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 16
- 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
- 813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * USART clock selection is HSI or LSE in RCC.
- 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
- 815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_EnableInStopMode
- 817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableInStopMode(USART_TypeDef *USARTx)
- 821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_UESM);
- 823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief USART disabled in STOP Mode.
- 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
- 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
- 829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_DisableInStopMode
- 831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableInStopMode(USART_TypeDef *USARTx)
- 835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_UESM);
- 837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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)
- 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
- 842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 UESM LL_USART_IsEnabledInStopMode
- 844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledInStopMode(const USART_TypeDef *USARTx)
- 848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL);
- 850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Enable (Receiver is enabled and begins searching for a start bit)
- 854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_EnableDirectionRx
- 855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx)
- 859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE);
- 861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Receiver Disable
- 865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_DisableDirectionRx
- 866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 17
- 869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx)
- 870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE);
- 872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Enable
- 876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_EnableDirectionTx
- 877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx)
- 881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TE);
- 883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Transmitter Disable
- 887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TE LL_USART_DisableDirectionTx
- 888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx)
- 892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TE);
- 894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure simultaneously enabled/disabled states
- 898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * of Transmitter and Receiver
- 899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_SetTransferDirection\n
- 900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_SetTransferDirection
- 901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param TransferDirection This parameter can be one of the following values:
- 903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
- 904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
- 905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
- 906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
- 907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32_t TransferDirectio
- 910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection);
- 912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return enabled/disabled states of Transmitter and Receiver
- 916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RE LL_USART_GetTransferDirection\n
- 917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 TE LL_USART_GetTransferDirection
- 918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_NONE
- 921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_RX
- 922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX
- 923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DIRECTION_TX_RX
- 924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferDirection(const USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 18
- 926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE));
- 928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Parity (enabled/disabled and parity mode if enabled).
- 932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This function selects if hardware parity control (generation and detection) is enabled
- 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
- 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.
- 935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_SetParity\n
- 936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_SetParity
- 937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
- 939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
- 940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
- 941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
- 942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetParity(USART_TypeDef *USARTx, uint32_t Parity)
- 945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE, Parity);
- 947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Parity configuration (enabled/disabled and parity mode if enabled)
- 951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_GetParity\n
- 952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_GetParity
- 953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
- 956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
- 957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
- 958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetParity(const USART_TypeDef *USARTx)
- 960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE));
- 962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Wake Up method from Mute mode.
- 966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_SetWakeUpMethod
- 967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Method This parameter can be one of the following values:
- 969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
- 970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
- 971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWakeUpMethod(USART_TypeDef *USARTx, uint32_t Method)
- 974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_WAKE, Method);
- 976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Receiver Wake Up method from Mute mode
- 980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 WAKE LL_USART_GetWakeUpMethod
- 981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 19
- 983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_IDLELINE
- 984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ADDRESSMARK
- 985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(const USART_TypeDef *USARTx)
- 987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE));
- 989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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)
- 993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_SetDataWidth\n
- 994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_SetDataWidth
- 995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
- 997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
- 998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
- 999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
- 1000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDataWidth(USART_TypeDef *USARTx, uint32_t DataWidth)
- 1003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_M, DataWidth);
- 1005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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)
- 1009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 M0 LL_USART_GetDataWidth\n
- 1010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_GetDataWidth
- 1011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
- 1014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
- 1015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
- 1016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDataWidth(const USART_TypeDef *USARTx)
- 1018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M));
- 1020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Allow switch between Mute Mode and Active mode
- 1024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_EnableMuteMode
- 1025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableMuteMode(USART_TypeDef *USARTx)
- 1029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_MME);
- 1031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Prevent Mute Mode use. Set Receiver in active mode permanently.
- 1035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_DisableMuteMode
- 1036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableMuteMode(USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 20
- 1040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_MME);
- 1042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if switch between Mute Mode and Active mode is allowed
- 1046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 MME LL_USART_IsEnabledMuteMode
- 1047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledMuteMode(const USART_TypeDef *USARTx)
- 1051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)) ? 1UL : 0UL);
- 1053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Oversampling to 8-bit or 16-bit mode
- 1057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_SetOverSampling
- 1058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
- 1060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetOverSampling(USART_TypeDef *USARTx, uint32_t OverSampling)
- 1065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_OVER8, OverSampling);
- 1067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Oversampling mode
- 1071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 OVER8 LL_USART_GetOverSampling
- 1072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetOverSampling(const USART_TypeDef *USARTx)
- 1078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8));
- 1080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 1084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_SetLastClkPulseOutput
- 1087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LastBitClockPulse This parameter can be one of the following values:
- 1089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
- 1090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
- 1091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint32_t LastBitClockPul
- 1094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBCL, LastBitClockPulse);
- 1096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 21
- 1097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Clock pulse of the last data bit output configuration
- 1100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Last bit Clock pulse output to the SCLK pin or not)
- 1101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBCL LL_USART_GetLastClkPulseOutput
- 1104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
- 1107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
- 1108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(const USART_TypeDef *USARTx)
- 1110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL));
- 1112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 1116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_SetClockPhase
- 1119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPhase This parameter can be one of the following values:
- 1121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
- 1122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 1123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t ClockPhase)
- 1126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPHA, ClockPhase);
- 1128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return phase of the clock output on the SCLK pin in synchronous mode
- 1132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_GetClockPhase
- 1135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
- 1138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 1139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPhase(const USART_TypeDef *USARTx)
- 1141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA));
- 1143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 1147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_SetClockPolarity
- 1150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param ClockPolarity This parameter can be one of the following values:
- 1152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
- 1153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 22
- 1154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t ClockPolarity)
- 1157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_CPOL, ClockPolarity);
- 1159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return polarity of the clock output on the SCLK pin in synchronous mode
- 1163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPOL LL_USART_GetClockPolarity
- 1166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
- 1169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
- 1170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetClockPolarity(const USART_TypeDef *USARTx)
- 1172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL));
- 1174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 1178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 1181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Phase configuration using @ref LL_USART_SetClockPhase() function
- 1182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clock Polarity configuration using @ref LL_USART_SetClockPolarity() function
- 1183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Output of Last bit Clock pulse configuration using @ref LL_USART_SetLastClkPulseOutpu
- 1184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CPHA LL_USART_ConfigClock\n
- 1185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CPOL LL_USART_ConfigClock\n
- 1186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LBCL LL_USART_ConfigClock
- 1187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Phase This parameter can be one of the following values:
- 1189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_1EDGE
- 1190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 1191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
- 1192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_LOW
- 1193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_POLARITY_HIGH
- 1194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LBCPOutput This parameter can be one of the following values:
- 1195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT
- 1196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT
- 1197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 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,
- 1200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 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
- 1202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Clock source prescaler for baudrate generator and oversampling
- 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
- 1207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 1208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_SetPrescaler
- 1209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 23
- 1211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
- 1226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->PRESC, USART_PRESC_PRESCALER, (uint16_t)PrescalerValue);
- 1228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the Clock source prescaler for baudrate generator and oversampling
- 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
- 1233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 1234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll PRESC PRESCALER LL_USART_GetPrescaler
- 1235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetPrescaler(const USART_TypeDef *USARTx)
- 1251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->PRESC, USART_PRESC_PRESCALER));
- 1253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Clock output on SCLK pin
- 1257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_EnableSCLKOutput
- 1260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSCLKOutput(USART_TypeDef *USARTx)
- 1264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
- 1266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 24
- 1268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Clock output on SCLK pin
- 1270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_DisableSCLKOutput
- 1273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx)
- 1277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN);
- 1279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Clock output on SCLK pin is enabled
- 1283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 1284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- 1285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_IsEnabledSCLKOutput
- 1286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(const USART_TypeDef *USARTx)
- 1290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)) ? 1UL : 0UL);
- 1292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set the length of the stop bits
- 1296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_SetStopBitsLength
- 1297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
- 1299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
- 1300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
- 1301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
- 1302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
- 1303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetStopBitsLength(USART_TypeDef *USARTx, uint32_t StopBits)
- 1306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
- 1308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve the length of the stop bits
- 1312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 STOP LL_USART_GetStopBitsLength
- 1313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
- 1316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
- 1317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
- 1318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
- 1319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(const USART_TypeDef *USARTx)
- 1321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_STOP));
- 1323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 25
- 1325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Character frame format (Datawidth, Parity control, Stop Bits)
- 1327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 1328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Data Width configuration using @ref LL_USART_SetDataWidth() function
- 1329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Parity Control and mode configuration using @ref LL_USART_SetParity() function
- 1330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Stop bits configuration using @ref LL_USART_SetStopBitsLength() function
- 1331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PS LL_USART_ConfigCharacter\n
- 1332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 PCE LL_USART_ConfigCharacter\n
- 1333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M0 LL_USART_ConfigCharacter\n
- 1334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR1 M1 LL_USART_ConfigCharacter\n
- 1335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigCharacter
- 1336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataWidth This parameter can be one of the following values:
- 1338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_7B
- 1339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_8B
- 1340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DATAWIDTH_9B
- 1341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Parity This parameter can be one of the following values:
- 1342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_NONE
- 1343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_EVEN
- 1344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PARITY_ODD
- 1345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param StopBits This parameter can be one of the following values:
- 1346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_0_5
- 1347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1
- 1348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_1_5
- 1349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_STOPBITS_2
- 1350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 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
- 1353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t StopBits)
- 1354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 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);
- 1356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_STOP, StopBits);
- 1357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX/RX pins swapping setting.
- 1361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_SetTXRXSwap
- 1362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param SwapConfig This parameter can be one of the following values:
- 1364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
- 1365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
- 1366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXRXSwap(USART_TypeDef *USARTx, uint32_t SwapConfig)
- 1369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_SWAP, SwapConfig);
- 1371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX/RX pins swapping configuration.
- 1375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SWAP LL_USART_GetTXRXSwap
- 1376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_STANDARD
- 1379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXRX_SWAPPED
- 1380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXRXSwap(const USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 26
- 1382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_SWAP));
- 1384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure RX pin active level logic
- 1388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_SetRXPinLevel
- 1389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
- 1391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
- 1392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
- 1393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
- 1396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_RXINV, PinInvMethod);
- 1398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve RX pin active level logic configuration
- 1402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RXINV LL_USART_GetRXPinLevel
- 1403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_STANDARD
- 1406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_RXPIN_LEVEL_INVERTED
- 1407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRXPinLevel(const USART_TypeDef *USARTx)
- 1409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_RXINV));
- 1411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure TX pin active level logic
- 1415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_SetTXPinLevel
- 1416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PinInvMethod This parameter can be one of the following values:
- 1418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
- 1419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
- 1420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTXPinLevel(USART_TypeDef *USARTx, uint32_t PinInvMethod)
- 1423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_TXINV, PinInvMethod);
- 1425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve TX pin active level logic configuration
- 1429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 TXINV LL_USART_GetTXPinLevel
- 1430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_STANDARD
- 1433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_TXPIN_LEVEL_INVERTED
- 1434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTXPinLevel(const USART_TypeDef *USARTx)
- 1436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_TXINV));
- 1438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 27
- 1439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure Binary data logic.
- 1442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Allow to define how Logical data from the data register are send/received :
- 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)
- 1444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_SetBinaryDataLogic
- 1445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param DataLogic This parameter can be one of the following values:
- 1447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
- 1448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
- 1449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBinaryDataLogic(USART_TypeDef *USARTx, uint32_t DataLogic)
- 1452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_DATAINV, DataLogic);
- 1454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve Binary data configuration
- 1458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DATAINV LL_USART_GetBinaryDataLogic
- 1459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_POSITIVE
- 1462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BINARY_LOGIC_NEGATIVE
- 1463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBinaryDataLogic(const USART_TypeDef *USARTx)
- 1465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_DATAINV));
- 1467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure transfer bit order (either Less or Most Significant Bit First)
- 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
- 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
- 1473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_SetTransferBitOrder
- 1474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BitOrder This parameter can be one of the following values:
- 1476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
- 1477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
- 1478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetTransferBitOrder(USART_TypeDef *USARTx, uint32_t BitOrder)
- 1481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_MSBFIRST, BitOrder);
- 1483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return transfer bit order (either Less or Most Significant Bit First)
- 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
- 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
- 1489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 MSBFIRST LL_USART_GetTransferBitOrder
- 1490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_LSBFIRST
- 1493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_BITORDER_MSBFIRST
- 1494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetTransferBitOrder(const USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 28
- 1496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_MSBFIRST));
- 1498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Auto Baud-Rate Detection
- 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
- 1503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_EnableAutoBaudRate
- 1505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableAutoBaudRate(USART_TypeDef *USARTx)
- 1509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_ABREN);
- 1511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Auto Baud-Rate Detection
- 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
- 1516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_DisableAutoBaudRate
- 1518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableAutoBaudRate(USART_TypeDef *USARTx)
- 1522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN);
- 1524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Auto Baud-Rate Detection mechanism is enabled
- 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
- 1529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABREN LL_USART_IsEnabledAutoBaud
- 1531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledAutoBaud(const USART_TypeDef *USARTx)
- 1535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_ABREN) == (USART_CR2_ABREN)) ? 1UL : 0UL);
- 1537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Auto Baud-Rate mode bits
- 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
- 1542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_SetAutoBaudRateMode
- 1544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoBaudRateMode This parameter can be one of the following values:
- 1546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
- 1547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
- 1548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
- 1549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
- 1550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetAutoBaudRateMode(USART_TypeDef *USARTx, uint32_t AutoBaudRateMode)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 29
- 1553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ABRMODE, AutoBaudRateMode);
- 1555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Auto Baud-Rate mode
- 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
- 1560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 1561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ABRMODE LL_USART_GetAutoBaudRateMode
- 1562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_STARTBIT
- 1565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE
- 1566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_7F_FRAME
- 1567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_AUTOBAUD_DETECT_ON_55_FRAME
- 1568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetAutoBaudRateMode(const USART_TypeDef *USARTx)
- 1570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ABRMODE));
- 1572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout
- 1576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_EnableRxTimeout
- 1577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRxTimeout(USART_TypeDef *USARTx)
- 1581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_RTOEN);
- 1583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout
- 1587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_DisableRxTimeout
- 1588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRxTimeout(USART_TypeDef *USARTx)
- 1592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN);
- 1594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Receiver Timeout feature is enabled
- 1598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 RTOEN LL_USART_IsEnabledRxTimeout
- 1599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledRxTimeout(const USART_TypeDef *USARTx)
- 1603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_RTOEN) == (USART_CR2_RTOEN)) ? 1UL : 0UL);
- 1605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Address of the USART node.
- 1609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note This is used in multiprocessor communication during Mute mode or Stop mode,
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 30
- 1610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with address mark detection.
- 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.
- 1612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (b7-b4 should be set to 0)
- 1613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 8bits address node is used when 7-bit Address Detection is selected in ADDM7.
- 1614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (This is used in multiprocessor communication during Mute mode or Stop mode,
- 1615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * for wake up with 7-bit address mark detection.
- 1616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * The MSB of the character sent by the transmitter should be equal to 1.
- 1617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * It may also be used for character detection during normal reception,
- 1618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Mute mode inactive (for example, end of block detection in ModBus protocol).
- 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]
- 1620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * value and CMF flag is set on match)
- 1621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_ConfigNodeAddress\n
- 1622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 ADDM7 LL_USART_ConfigNodeAddress
- 1623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AddressLen This parameter can be one of the following values:
- 1625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
- 1626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
- 1627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param NodeAddress 4 or 7 bit Address of the USART node.
- 1628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigNodeAddress(USART_TypeDef *USARTx, uint32_t AddressLen, uint32_
- 1631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_ADD | USART_CR2_ADDM7,
- 1633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** (uint32_t)(AddressLen | (NodeAddress << USART_CR2_ADD_Pos)));
- 1634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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.
- 1638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note If 4-bit Address Detection is selected in ADDM7,
- 1639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 4bits (b3-b0) of returned value are relevant (b31-b4 are not relevant)
- 1640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * If 7-bit Address Detection is selected in ADDM7,
- 1641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * only 8bits (b7-b0) of returned value are relevant (b31-b8 are not relevant)
- 1642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADD LL_USART_GetNodeAddress
- 1643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 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)
- 1645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddress(const USART_TypeDef *USARTx)
- 1647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADD) >> USART_CR2_ADD_Pos);
- 1649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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)
- 1653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 ADDM7 LL_USART_GetNodeAddressLen
- 1654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_4B
- 1657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_ADDRESS_DETECT_7B
- 1658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetNodeAddressLen(const USART_TypeDef *USARTx)
- 1660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADDM7));
- 1662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RTS HW Flow Control
- 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
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 31
- 1667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_EnableRTSHWFlowCtrl
- 1669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_RTSE);
- 1675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RTS HW Flow Control
- 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
- 1680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_DisableRTSHWFlowCtrl
- 1682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE);
- 1688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS HW Flow Control
- 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
- 1693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_EnableCTSHWFlowCtrl
- 1695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_CTSE);
- 1701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS HW Flow Control
- 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
- 1706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSE LL_USART_DisableCTSHWFlowCtrl
- 1708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl(USART_TypeDef *USARTx)
- 1712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE);
- 1714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure HW Flow Control mode (both CTS and RTS)
- 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
- 1719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_SetHWFlowCtrl\n
- 1721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_SetHWFlowCtrl
- 1722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param HardwareFlowControl This parameter can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 32
- 1724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
- 1725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
- 1726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
- 1727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
- 1728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t HardwareFlowControl)
- 1731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl);
- 1733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return HW Flow Control configuration (both CTS and RTS)
- 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
- 1738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 1739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RTSE LL_USART_GetHWFlowCtrl\n
- 1740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 CTSE LL_USART_GetHWFlowCtrl
- 1741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_NONE
- 1744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS
- 1745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_CTS
- 1746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_HWCONTROL_RTS_CTS
- 1747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(const USART_TypeDef *USARTx)
- 1749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE));
- 1751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable One bit sampling method
- 1755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_EnableOneBitSamp
- 1756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOneBitSamp(USART_TypeDef *USARTx)
- 1760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_ONEBIT);
- 1762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable One bit sampling method
- 1766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_DisableOneBitSamp
- 1767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOneBitSamp(USART_TypeDef *USARTx)
- 1771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT);
- 1773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if One bit sampling method is enabled
- 1777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 ONEBIT LL_USART_IsEnabledOneBitSamp
- 1778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 33
- 1781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(const USART_TypeDef *USARTx)
- 1782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)) ? 1UL : 0UL);
- 1784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Overrun detection
- 1788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_EnableOverrunDetect
- 1789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableOverrunDetect(USART_TypeDef *USARTx)
- 1793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_OVRDIS);
- 1795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Overrun detection
- 1799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_DisableOverrunDetect
- 1800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableOverrunDetect(USART_TypeDef *USARTx)
- 1804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_OVRDIS);
- 1806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Overrun detection is enabled
- 1810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 OVRDIS LL_USART_IsEnabledOverrunDetect
- 1811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 1813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledOverrunDetect(const USART_TypeDef *USARTx)
- 1815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS) ? 1UL : 0UL);
- 1817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
- 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
- 1822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 1823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_SetWKUPType
- 1824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Type This parameter can be one of the following values:
- 1826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
- 1827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
- 1828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
- 1829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetWKUPType(USART_TypeDef *USARTx, uint32_t Type)
- 1832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_WUS, Type);
- 1834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 34
- 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
- 1839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 1840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUS LL_USART_GetWKUPType
- 1841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 1843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_ADDRESS
- 1844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_STARTBIT
- 1845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_WAKEUP_ON_RXNE
- 1846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetWKUPType(const USART_TypeDef *USARTx)
- 1848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_WUS));
- 1850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure USART BRR register for achieving expected Baud Rate value.
- 1854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Compute and set USARTDIV value in BRR Register (full BRR content)
- 1855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * according to used Peripheral Clock, Oversampling mode, and expected Baud Rate values
- 1856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Peripheral clock and Baud rate values provided as function parameters should be valid
- 1857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (Baud rate value != 0)
- 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.
- 1859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_SetBaudRate
- 1860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
- 1862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
- 1863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
- 1876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BaudRate Baud Rate
- 1879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 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
- 1882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling,
- 1883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t BaudRate)
- 1884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
- 1886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrtemp;
- 1887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (PrescalerValue > LL_USART_PRESCALER_DIV256)
- 1889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not overstep the size of USART_PRESCALER_TAB */
- 1891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (BaudRate == 0U)
- 1893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Can Not divide per 0 */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 35
- 1895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
- 1897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)(__LL_USART_DIV_SAMPLING8(PeriphClk, (uint8_t)PrescalerValue, BaudRate));
- 1899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp = usartdiv & 0xFFF0U;
- 1900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrtemp |= (uint16_t)((usartdiv & (uint16_t)0x000FU) >> 1U);
- 1901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = brrtemp;
- 1902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
- 1904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->BRR = (uint16_t)(__LL_USART_DIV_SAMPLING16(PeriphClk, (uint8_t)PrescalerValue, BaudRate
- 1906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return current Baud Rate value, according to USARTDIV present in BRR register
- 1911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (full BRR content), and to used Peripheral Clock and Oversampling mode values
- 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
- 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.
- 1914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll BRR BRR LL_USART_GetBaudRate
- 1915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PeriphClk Peripheral Clock
- 1917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue This parameter can be one of the following values:
- 1918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV1
- 1919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV2
- 1920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV4
- 1921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV6
- 1922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV8
- 1923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV10
- 1924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV12
- 1925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV16
- 1926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV32
- 1927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV64
- 1928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV128
- 1929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PRESCALER_DIV256
- 1930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param OverSampling This parameter can be one of the following values:
- 1931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_16
- 1932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_OVERSAMPLING_8
- 1933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Baud Rate
- 1934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 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
- 1936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t OverSampling)
- 1937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t usartdiv;
- 1939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t brrresult = 0x0U;
- 1940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t periphclkpresc = (uint32_t)(PeriphClk / (USART_PRESCALER_TAB[(uint8_t)PrescalerValue]));
- 1941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = USARTx->BRR;
- 1943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv == 0U)
- 1945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Do not perform a division by 0 */
- 1947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else if (OverSampling == LL_USART_OVERSAMPLING_8)
- 1949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** usartdiv = (uint16_t)((usartdiv & 0xFFF0U) | ((usartdiv & 0x0007U) << 1U)) ;
- 1951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (usartdiv != 0U)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 36
- 1952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = (periphclkpresc * 2U) / usartdiv;
- 1954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
- 1957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if ((usartdiv & 0xFFFFU) != 0U)
- 1959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** brrresult = periphclkpresc / usartdiv;
- 1961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (brrresult);
- 1964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Receiver Time Out Value (expressed in nb of bits duration)
- 1968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_SetRxTimeout
- 1969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Timeout Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
- 1971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetRxTimeout(USART_TypeDef *USARTx, uint32_t Timeout)
- 1974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_RTO, Timeout);
- 1976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Receiver Time Out Value (expressed in nb of bits duration)
- 1980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR RTO LL_USART_GetRxTimeout
- 1981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x00FFFFFF
- 1983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetRxTimeout(const USART_TypeDef *USARTx)
- 1985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_RTO));
- 1987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 1988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 1989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 1990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Block Length value in reception
- 1991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_SetBlockLength
- 1992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 1993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param BlockLength Value between Min_Data=0x00 and Max_Data=0xFF
- 1994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 1995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 1996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetBlockLength(USART_TypeDef *USARTx, uint32_t BlockLength)
- 1997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 1998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->RTOR, USART_RTOR_BLEN, BlockLength << USART_RTOR_BLEN_Pos);
- 1999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get Block Length value in reception
- 2003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RTOR BLEN LL_USART_GetBlockLength
- 2004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
- 2006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetBlockLength(const USART_TypeDef *USARTx)
- 2008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 37
- 2009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->RTOR, USART_RTOR_BLEN) >> USART_RTOR_BLEN_Pos);
- 2010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_IRDA Configuration functions related to Irda feature
- 2017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IrDA mode
- 2022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_EnableIrda
- 2025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIrda(USART_TypeDef *USARTx)
- 2029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
- 2031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IrDA mode
- 2035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_DisableIrda
- 2038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx)
- 2042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_IREN);
- 2044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if IrDA mode is enabled
- 2048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IREN LL_USART_IsEnabledIrda
- 2051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(const USART_TypeDef *USARTx)
- 2055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_IREN) == (USART_CR3_IREN)) ? 1UL : 0UL);
- 2057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Configure IrDA Power Mode (Normal or Low Power)
- 2061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_SetIrdaPowerMode
- 2064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PowerMode This parameter can be one of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 38
- 2066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
- 2067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_LOW
- 2068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t PowerMode)
- 2071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_IRLP, PowerMode);
- 2073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Retrieve IrDA Power Mode configuration (Normal or Low Power)
- 2077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 IRLP LL_USART_GetIrdaPowerMode
- 2080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 2082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_IRDA_POWER_NORMAL
- 2083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_PHASE_2EDGE
- 2084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(const USART_TypeDef *USARTx)
- 2086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_IRLP));
- 2088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Irda prescaler value, used for dividing the USART clock source
- 2092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
- 2093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetIrdaPrescaler
- 2096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0x00 and Max_Data=0xFF
- 2098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
- 2101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
- 2103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Irda prescaler value, used for dividing the USART clock source
- 2107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * to achieve the Irda Low Power frequency (8 bits value)
- 2108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetIrdaPrescaler
- 2111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Irda prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF)
- 2113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(const USART_TypeDef *USARTx)
- 2115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
- 2117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 39
- 2123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_Smartcard Configuration functions related to Smartcard feat
- 2124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard NACK transmission
- 2129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_EnableSmartcardNACK
- 2132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcardNACK(USART_TypeDef *USARTx)
- 2136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_NACK);
- 2138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard NACK transmission
- 2142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_DisableSmartcardNACK
- 2145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx)
- 2149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_NACK);
- 2151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard NACK transmission is enabled
- 2155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 NACK LL_USART_IsEnabledSmartcardNACK
- 2158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(const USART_TypeDef *USARTx)
- 2162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_NACK) == (USART_CR3_NACK)) ? 1UL : 0UL);
- 2164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard mode
- 2168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_EnableSmartcard
- 2171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSmartcard(USART_TypeDef *USARTx)
- 2175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
- 2177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 40
- 2180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard mode
- 2181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_DisableSmartcard
- 2184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx)
- 2188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_SCEN);
- 2190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Smartcard mode is enabled
- 2194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCEN LL_USART_IsEnabledSmartcard
- 2197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(const USART_TypeDef *USARTx)
- 2201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_SCEN) == (USART_CR3_SCEN)) ? 1UL : 0UL);
- 2203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
- 2207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 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
- 2210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In transmission mode, it specifies the number of automatic retransmission retries, befo
- 2211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * generating a transmission error (FE bit set).
- 2212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * In reception mode, it specifies the number or erroneous reception trials, before genera
- 2213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * reception error (RXNE and PE bits set)
- 2214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_SetSmartcardAutoRetryCount
- 2215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param AutoRetryCount Value between Min_Data=0 and Max_Data=7
- 2217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardAutoRetryCount(USART_TypeDef *USARTx, uint32_t AutoRetryC
- 2220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_SCARCNT, AutoRetryCount << USART_CR3_SCARCNT_Pos);
- 2222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Auto-Retry Count value (SCARCNT[2:0] bits)
- 2226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 SCARCNT LL_USART_GetSmartcardAutoRetryCount
- 2229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 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)
- 2231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardAutoRetryCount(const USART_TypeDef *USARTx)
- 2233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_SCARCNT) >> USART_CR3_SCARCNT_Pos);
- 2235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 41
- 2237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard prescaler value, used for dividing the USART clock
- 2239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
- 2240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_SetSmartcardPrescaler
- 2243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param PrescalerValue Value between Min_Data=0 and Max_Data=31
- 2245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint32_t PrescalerValue)
- 2248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_PSC, (uint16_t)PrescalerValue);
- 2250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard prescaler value, used for dividing the USART clock
- 2254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * source to provide the SMARTCARD Clock (5 bits value)
- 2255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR PSC LL_USART_GetSmartcardPrescaler
- 2258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard prescaler value (Value between Min_Data=0 and Max_Data=31)
- 2260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(const USART_TypeDef *USARTx)
- 2262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC));
- 2264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set Smartcard Guard time value, expressed in nb of baud clocks periods
- 2268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
- 2269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_SetSmartcardGuardTime
- 2272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param GuardTime Value between Min_Data=0x00 and Max_Data=0xFF
- 2274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint32_t GuardTime)
- 2277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->GTPR, USART_GTPR_GT, (uint16_t)(GuardTime << USART_GTPR_GT_Pos));
- 2279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Smartcard Guard time value, expressed in nb of baud clocks periods
- 2283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (GT[7:0] bits : Guard time value)
- 2284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll GTPR GT LL_USART_GetSmartcardGuardTime
- 2287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Smartcard Guard time value (Value between Min_Data=0x00 and Max_Data=0xFF)
- 2289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(const USART_TypeDef *USARTx)
- 2291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_GT) >> USART_GTPR_GT_Pos);
- 2293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 42
- 2294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_HalfDuplex Configuration functions related to Half Duplex f
- 2300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Single Wire Half-Duplex mode
- 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
- 2306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_EnableHalfDuplex
- 2308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableHalfDuplex(USART_TypeDef *USARTx)
- 2312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
- 2314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Single Wire Half-Duplex mode
- 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
- 2319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_DisableHalfDuplex
- 2321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx)
- 2325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_HDSEL);
- 2327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Single Wire Half-Duplex mode is enabled
- 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
- 2332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 HDSEL LL_USART_IsEnabledHalfDuplex
- 2334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(const USART_TypeDef *USARTx)
- 2338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)) ? 1UL : 0UL);
- 2340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_SPI_SLAVE Configuration functions related to SPI Slave feat
- 2347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Synchronous Slave mode
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 43
- 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
- 2352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_EnableSPISlave
- 2354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlave(USART_TypeDef *USARTx)
- 2358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_SLVEN);
- 2360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Synchronous Slave mode
- 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
- 2365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_DisableSPISlave
- 2367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlave(USART_TypeDef *USARTx)
- 2371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_SLVEN);
- 2373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Synchronous Slave mode is enabled
- 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
- 2378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 SLVEN LL_USART_IsEnabledSPISlave
- 2380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave(const USART_TypeDef *USARTx)
- 2384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_SLVEN) == (USART_CR2_SLVEN)) ? 1UL : 0UL);
- 2386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable SPI Slave Selection using NSS input pin
- 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
- 2391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave Selection depends on NSS input pin
- 2393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (The slave is selected when NSS is low and deselected when NSS is high).
- 2394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_EnableSPISlaveSelect
- 2395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableSPISlaveSelect(USART_TypeDef *USARTx)
- 2399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
- 2401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable SPI Slave Selection using NSS input pin
- 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
- 2406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note SPI Slave will be always selected and NSS input pin will be ignored.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 44
- 2408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_DisableSPISlaveSelect
- 2409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableSPISlaveSelect(USART_TypeDef *USARTx)
- 2413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_DIS_NSS);
- 2415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if SPI Slave Selection depends on NSS input pin
- 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
- 2420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 2421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 DIS_NSS LL_USART_IsEnabledSPISlaveSelect
- 2422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect(const USART_TypeDef *USARTx)
- 2426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 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);
- 2428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_LIN Configuration functions related to LIN feature
- 2435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Set LIN Break Detection Length
- 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
- 2441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
- 2443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param LINBDLength This parameter can be one of the following values:
- 2445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
- 2446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
- 2447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint32_t LINBDLength)
- 2450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR2, USART_CR2_LBDL, LINBDLength);
- 2452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return LIN Break Detection Length
- 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
- 2457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
- 2459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 2461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_10B
- 2462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_LINBREAK_DETECT_11B
- 2463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(const USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 45
- 2465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBDL));
- 2467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN mode
- 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
- 2472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_EnableLIN
- 2474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableLIN(USART_TypeDef *USARTx)
- 2478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
- 2480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN mode
- 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
- 2485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_DisableLIN
- 2487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx)
- 2491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LINEN);
- 2493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if LIN mode is enabled
- 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
- 2498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
- 2500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(const USART_TypeDef *USARTx)
- 2504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LINEN) == (USART_CR2_LINEN)) ? 1UL : 0UL);
- 2506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Configuration_DE Configuration functions related to Driver Enable feature
- 2513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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)
- 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
- 2519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_SetDEDeassertionTime
- 2521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 46
- 2522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
- 2523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEDeassertionTime(USART_TypeDef *USARTx, uint32_t Time)
- 2526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos);
- 2528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEDT (Driver Enable De-Assertion Time)
- 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
- 2533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEDT LL_USART_GetDEDeassertionTime
- 2535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 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
- 2537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime(const USART_TypeDef *USARTx)
- 2539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEDT) >> USART_CR1_DEDT_Pos);
- 2541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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).
- 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
- 2546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_SetDEAssertionTime
- 2548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Time Value between Min_Data=0 and Max_Data=31
- 2550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDEAssertionTime(USART_TypeDef *USARTx, uint32_t Time)
- 2553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
- 2555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return DEAT (Driver Enable Assertion Time)
- 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
- 2560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 DEAT LL_USART_GetDEAssertionTime
- 2562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 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
- 2564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime(const USART_TypeDef *USARTx)
- 2566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_DEAT) >> USART_CR1_DEAT_Pos);
- 2568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Driver Enable (DE) Mode
- 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
- 2573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_EnableDEMode
- 2575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDEMode(USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 47
- 2579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DEM);
- 2581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Driver Enable (DE) Mode
- 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
- 2586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_DisableDEMode
- 2588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDEMode(USART_TypeDef *USARTx)
- 2592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DEM);
- 2594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if Driver Enable (DE) Mode is enabled
- 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
- 2599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEM LL_USART_IsEnabledDEMode
- 2601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode(const USART_TypeDef *USARTx)
- 2605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DEM) == (USART_CR3_DEM)) ? 1UL : 0UL);
- 2607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Select Driver Enable Polarity
- 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
- 2612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_SetDESignalPolarity
- 2614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Polarity This parameter can be one of the following values:
- 2616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
- 2617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
- 2618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_SetDESignalPolarity(USART_TypeDef *USARTx, uint32_t Polarity)
- 2621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2622:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** MODIFY_REG(USARTx->CR3, USART_CR3_DEP, Polarity);
- 2623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Return Driver Enable Polarity
- 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
- 2628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Driver Enable feature is supported by the USARTx instance.
- 2629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DEP LL_USART_GetDESignalPolarity
- 2630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Returned value can be one of the following values:
- 2632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_HIGH
- 2633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DE_POLARITY_LOW
- 2634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2635:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity(const USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 48
- 2636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_DEP));
- 2638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_AdvancedConfiguration Advanced Configurations services
- 2645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Asynchronous Mode (UART)
- 2650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In UART mode, the following bits must be kept cleared:
- 2651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
- 2653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2661:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Asynchronous Mode
- 2663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
- 2664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigAsyncMode\n
- 2666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigAsyncMode\n
- 2667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigAsyncMode\n
- 2668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigAsyncMode\n
- 2669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigAsyncMode
- 2670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigAsyncMode(USART_TypeDef *USARTx)
- 2674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Asynchronous mode, the following bits must be kept cleared:
- 2676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, CLKEN bits in the USART_CR2 register,
- 2677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
- 2678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 2680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
- 2681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Synchronous Mode
- 2685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Synchronous mode, the following bits must be kept cleared:
- 2686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2687:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the USART in Synchronous mode.
- 2691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not
- 2692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Synchronous mode is supported by the USARTx instance.
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 49
- 2693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
- 2699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Synchronous Mode
- 2700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, Clock Polarity, ...) should be set using
- 2701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSyncMode\n
- 2703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSyncMode\n
- 2704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSyncMode\n
- 2705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigSyncMode\n
- 2706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSyncMode
- 2707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSyncMode(USART_TypeDef *USARTx)
- 2711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Synchronous mode, the following bits must be kept cleared:
- 2713:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
- 2714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN, IREN and HDSEL bits in the USART_CR3 register.
- 2715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
- 2717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN | USART_CR3_HDSEL));
- 2718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Synchronous mode */
- 2719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_CLKEN);
- 2720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in LIN Mode
- 2724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In LIN mode, the following bits must be kept cleared:
- 2725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
- 2726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also set the UART/USART in LIN mode.
- 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
- 2731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 2732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
- 2735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set LINEN in CR2 using @ref LL_USART_EnableLIN() function
- 2739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to LIN Mode
- 2740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, LIN Break Detection Length, ...) should be set using
- 2741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 CLKEN LL_USART_ConfigLINMode\n
- 2743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigLINMode\n
- 2744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 LINEN LL_USART_ConfigLINMode\n
- 2745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigLINMode\n
- 2746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigLINMode\n
- 2747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigLINMode
- 2748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 50
- 2750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigLINMode(USART_TypeDef *USARTx)
- 2752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In LIN mode, the following bits must be kept cleared:
- 2754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - STOP and CLKEN bits in the USART_CR2 register,
- 2755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
- 2756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_CLKEN | USART_CR2_STOP));
- 2758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_SCEN | USART_CR3_HDSEL));
- 2759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Set the UART/USART in LIN mode */
- 2760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LINEN);
- 2761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Half Duplex Mode
- 2765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Half Duplex mode, the following bits must be kept cleared:
- 2766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
- 2768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in Half Duplex mode.
- 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
- 2772:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Half-Duplex mode is supported by the USARTx instance.
- 2773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set HDSEL in CR3 using @ref LL_USART_EnableHalfDuplex() function
- 2779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Half Duplex Mode
- 2780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
- 2781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigHalfDuplexMode\n
- 2783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigHalfDuplexMode\n
- 2784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigHalfDuplexMode\n
- 2785:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigHalfDuplexMode\n
- 2786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigHalfDuplexMode
- 2787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigHalfDuplexMode(USART_TypeDef *USARTx)
- 2791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Half Duplex mode, the following bits must be kept cleared:
- 2793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
- 2794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and IREN bits in the USART_CR3 register.
- 2795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 2797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_IREN));
- 2798:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Half Duplex mode */
- 2799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_HDSEL);
- 2800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Smartcard Mode
- 2804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In Smartcard mode, the following bits must be kept cleared:
- 2805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 51
- 2807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also configures Stop bits to 1.5 bits and
- 2809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * sets the USART in Smartcard mode (SCEN bit).
- 2810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Clock Output is also enabled (CLKEN).
- 2811:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 2812:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 2813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2814:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
- 2818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set CLKEN in CR2 using @ref LL_USART_EnableSCLKOutput() function
- 2819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set SCEN in CR3 using @ref LL_USART_EnableSmartcard() function
- 2820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Smartcard Mode
- 2821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Parity, ...) should be set using
- 2822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigSmartcardMode\n
- 2824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigSmartcardMode\n
- 2825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigSmartcardMode\n
- 2826:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigSmartcardMode\n
- 2827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigSmartcardMode
- 2828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigSmartcardMode(USART_TypeDef *USARTx)
- 2832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Smartcard mode, the following bits must be kept cleared:
- 2834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN bit in the USART_CR2 register,
- 2835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN and HDSEL bits in the USART_CR3 register.
- 2836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN));
- 2838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_IREN | USART_CR3_HDSEL));
- 2839:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Configure Stop bits to 1.5 bits */
- 2840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* Synchronous mode is activated by default */
- 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));
- 2842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in Smartcard mode */
- 2843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_SCEN);
- 2844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Irda Mode
- 2848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In IRDA mode, the following bits must be kept cleared:
- 2849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - STOP and CLKEN bits in the USART_CR2 register,
- 2851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2852:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * This function also sets the UART/USART in IRDA mode (IREN bit).
- 2854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not
- 2855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * IrDA feature is supported by the USARTx instance.
- 2856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Configure STOP in CR2 using @ref LL_USART_SetStopBitsLength() function
- 2862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Set IREN in CR3 using @ref LL_USART_EnableIrda() function
- 2863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Irda Mode
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 52
- 2864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Word length, Power mode, ...) should be set using
- 2865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigIrdaMode\n
- 2867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigIrdaMode\n
- 2868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 STOP LL_USART_ConfigIrdaMode\n
- 2869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigIrdaMode\n
- 2870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigIrdaMode\n
- 2871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigIrdaMode
- 2872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigIrdaMode(USART_TypeDef *USARTx)
- 2876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In IRDA mode, the following bits must be kept cleared:
- 2878:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN, STOP and CLKEN bits in the USART_CR2 register,
- 2879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - SCEN and HDSEL bits in the USART_CR3 register.
- 2880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP));
- 2882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL));
- 2883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* set the UART/USART in IRDA mode */
- 2884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_IREN);
- 2885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Perform basic configuration of USART for enabling use in Multi processor Mode
- 2889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (several USARTs connected in a network, one of the USARTs can be the master,
- 2890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * its TX output connected to the RX inputs of the other slaves USARTs).
- 2891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note In MultiProcessor mode, the following bits must be kept cleared:
- 2892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - LINEN bit in the USART_CR2 register,
- 2893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - CLKEN bit in the USART_CR2 register,
- 2894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - SCEN bit in the USART_CR3 register,
- 2895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - IREN bit in the USART_CR3 register,
- 2896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - HDSEL bit in the USART_CR3 register.
- 2897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Call of this function is equivalent to following function call sequence :
- 2898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear LINEN in CR2 using @ref LL_USART_DisableLIN() function
- 2899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear CLKEN in CR2 using @ref LL_USART_DisableSCLKOutput() function
- 2900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear SCEN in CR3 using @ref LL_USART_DisableSmartcard() function
- 2901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear IREN in CR3 using @ref LL_USART_DisableIrda() function
- 2902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * - Clear HDSEL in CR3 using @ref LL_USART_DisableHalfDuplex() function
- 2903:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Other remaining configurations items related to Multi processor Mode
- 2904:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * (as Baud Rate, Wake Up Method, Node address, ...) should be set using
- 2905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * dedicated functions
- 2906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LINEN LL_USART_ConfigMultiProcessMode\n
- 2907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR2 CLKEN LL_USART_ConfigMultiProcessMode\n
- 2908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 SCEN LL_USART_ConfigMultiProcessMode\n
- 2909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 HDSEL LL_USART_ConfigMultiProcessMode\n
- 2910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * CR3 IREN LL_USART_ConfigMultiProcessMode
- 2911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2912:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 2913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ConfigMultiProcessMode(USART_TypeDef *USARTx)
- 2915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* In Multi Processor mode, the following bits must be kept cleared:
- 2917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - LINEN and CLKEN bits in the USART_CR2 register,
- 2918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** - IREN, SCEN and HDSEL bits in the USART_CR3 register.
- 2919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 53
- 2921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 2922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 2926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_FLAG_Management FLAG_Management
- 2929:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 2930:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Flag is set or not
- 2934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR PE LL_USART_IsActiveFlag_PE
- 2935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2938:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(const USART_TypeDef *USARTx)
- 2939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_PE) == (USART_ISR_PE)) ? 1UL : 0UL);
- 2941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Framing Error Flag is set or not
- 2945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR FE LL_USART_IsActiveFlag_FE
- 2946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(const USART_TypeDef *USARTx)
- 2950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_FE) == (USART_ISR_FE)) ? 1UL : 0UL);
- 2952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Noise error detected Flag is set or not
- 2956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR NE LL_USART_IsActiveFlag_NE
- 2957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(const USART_TypeDef *USARTx)
- 2961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_NE) == (USART_ISR_NE)) ? 1UL : 0UL);
- 2963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART OverRun Error Flag is set or not
- 2967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ORE LL_USART_IsActiveFlag_ORE
- 2968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(const USART_TypeDef *USARTx)
- 2972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 49 .loc 1 2972 1
- 50 .cfi_startproc
- 51 @ args = 0, pretend = 0, frame = 8
- 52 @ frame_needed = 1, uses_anonymous_args = 0
- 53 0000 80B5 push {r7, lr}
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 54
- 54 .LCFI0:
- 55 .cfi_def_cfa_offset 8
- 56 .cfi_offset 7, -8
- 57 .cfi_offset 14, -4
- 58 0002 82B0 sub sp, sp, #8
- 59 .LCFI1:
- 60 .cfi_def_cfa_offset 16
- 61 0004 00AF add r7, sp, #0
- 62 .LCFI2:
- 63 .cfi_def_cfa_register 7
- 64 0006 7860 str r0, [r7, #4]
- 2973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ORE) == (USART_ISR_ORE)) ? 1UL : 0UL);
- 65 .loc 1 2973 12
- 66 0008 7B68 ldr r3, [r7, #4]
- 67 000a DB69 ldr r3, [r3, #28]
- 68 000c 0822 movs r2, #8
- 69 000e 1340 ands r3, r2
- 70 .loc 1 2973 75
- 71 0010 082B cmp r3, #8
- 72 0012 01D1 bne .L2
- 73 .loc 1 2973 75 is_stmt 0 discriminator 1
- 74 0014 0123 movs r3, #1
- 75 0016 00E0 b .L4
- 76 .L2:
- 77 .loc 1 2973 75 discriminator 2
- 78 0018 0023 movs r3, #0
- 79 .L4:
- 2974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 80 .loc 1 2974 1 is_stmt 1 discriminator 5
- 81 001a 1800 movs r0, r3
- 82 001c BD46 mov sp, r7
- 83 001e 02B0 add sp, sp, #8
- 84 @ sp needed
- 85 0020 80BD pop {r7, pc}
- 86 .cfi_endproc
- 87 .LFE579:
- 89 .section .text.LL_USART_IsActiveFlag_RXNE_RXFNE,"ax",%progbits
- 90 .align 1
- 91 .syntax unified
- 92 .code 16
- 93 .thumb_func
- 95 LL_USART_IsActiveFlag_RXNE_RXFNE:
- 96 .LFB581:
- 2975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 2977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE line detected Flag is set or not
- 2978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR IDLE LL_USART_IsActiveFlag_IDLE
- 2979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(const USART_TypeDef *USARTx)
- 2983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 2984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_IDLE) == (USART_ISR_IDLE)) ? 1UL : 0UL);
- 2985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 2986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 2987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_RXNE LL_USART_IsActiveFlag_RXNE_RXFNE /* Redefinition for legacy pur
- 2988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 55
- 2989:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 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
- 2992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 2993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXNE_RXFNE LL_USART_IsActiveFlag_RXNE_RXFNE
- 2994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 2995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 2996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 2997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE_RXFNE(const USART_TypeDef *USARTx)
- 2998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 97 .loc 1 2998 1
- 98 .cfi_startproc
- 99 @ args = 0, pretend = 0, frame = 8
- 100 @ frame_needed = 1, uses_anonymous_args = 0
- 101 0000 80B5 push {r7, lr}
- 102 .LCFI3:
- 103 .cfi_def_cfa_offset 8
- 104 .cfi_offset 7, -8
- 105 .cfi_offset 14, -4
- 106 0002 82B0 sub sp, sp, #8
- 107 .LCFI4:
- 108 .cfi_def_cfa_offset 16
- 109 0004 00AF add r7, sp, #0
- 110 .LCFI5:
- 111 .cfi_def_cfa_register 7
- 112 0006 7860 str r0, [r7, #4]
- 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);
- 113 .loc 1 2999 12
- 114 0008 7B68 ldr r3, [r7, #4]
- 115 000a DB69 ldr r3, [r3, #28]
- 116 000c 2022 movs r2, #32
- 117 000e 1340 ands r3, r2
- 118 .loc 1 2999 89
- 119 0010 202B cmp r3, #32
- 120 0012 01D1 bne .L6
- 121 .loc 1 2999 89 is_stmt 0 discriminator 1
- 122 0014 0123 movs r3, #1
- 123 0016 00E0 b .L8
- 124 .L6:
- 125 .loc 1 2999 89 discriminator 2
- 126 0018 0023 movs r3, #0
- 127 .L8:
- 3000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 128 .loc 1 3000 1 is_stmt 1 discriminator 5
- 129 001a 1800 movs r0, r3
- 130 001c BD46 mov sp, r7
- 131 001e 02B0 add sp, sp, #8
- 132 @ sp needed
- 133 0020 80BD pop {r7, pc}
- 134 .cfi_endproc
- 135 .LFE581:
- 137 .section .text.LL_USART_IsActiveFlag_TC,"ax",%progbits
- 138 .align 1
- 139 .syntax unified
- 140 .code 16
- 141 .thumb_func
- 143 LL_USART_IsActiveFlag_TC:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 56
- 144 .LFB582:
- 3001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3002:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Flag is set or not
- 3004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TC LL_USART_IsActiveFlag_TC
- 3005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(const USART_TypeDef *USARTx)
- 3009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 145 .loc 1 3009 1
- 146 .cfi_startproc
- 147 @ args = 0, pretend = 0, frame = 8
- 148 @ frame_needed = 1, uses_anonymous_args = 0
- 149 0000 80B5 push {r7, lr}
- 150 .LCFI6:
- 151 .cfi_def_cfa_offset 8
- 152 .cfi_offset 7, -8
- 153 .cfi_offset 14, -4
- 154 0002 82B0 sub sp, sp, #8
- 155 .LCFI7:
- 156 .cfi_def_cfa_offset 16
- 157 0004 00AF add r7, sp, #0
- 158 .LCFI8:
- 159 .cfi_def_cfa_register 7
- 160 0006 7860 str r0, [r7, #4]
- 3010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TC) == (USART_ISR_TC)) ? 1UL : 0UL);
- 161 .loc 1 3010 12
- 162 0008 7B68 ldr r3, [r7, #4]
- 163 000a DB69 ldr r3, [r3, #28]
- 164 000c 4022 movs r2, #64
- 165 000e 1340 ands r3, r2
- 166 .loc 1 3010 73
- 167 0010 402B cmp r3, #64
- 168 0012 01D1 bne .L10
- 169 .loc 1 3010 73 is_stmt 0 discriminator 1
- 170 0014 0123 movs r3, #1
- 171 0016 00E0 b .L12
- 172 .L10:
- 173 .loc 1 3010 73 discriminator 2
- 174 0018 0023 movs r3, #0
- 175 .L12:
- 3011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 176 .loc 1 3011 1 is_stmt 1 discriminator 5
- 177 001a 1800 movs r0, r3
- 178 001c BD46 mov sp, r7
- 179 001e 02B0 add sp, sp, #8
- 180 @ sp needed
- 181 0020 80BD pop {r7, pc}
- 182 .cfi_endproc
- 183 .LFE582:
- 185 .section .text.LL_USART_ClearFlag_ORE,"ax",%progbits
- 186 .align 1
- 187 .syntax unified
- 188 .code 16
- 189 .thumb_func
- 191 LL_USART_ClearFlag_ORE:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 57
- 192 .LFB607:
- 3012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsActiveFlag_TXE LL_USART_IsActiveFlag_TXE_TXFNF /* Redefinition for legacy purpo
- 3014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3015:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 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
- 3018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXE_TXFNF LL_USART_IsActiveFlag_TXE_TXFNF
- 3020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE_TXFNF(const USART_TypeDef *USARTx)
- 3024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 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);
- 3026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Flag is set or not
- 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
- 3031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR LBDF LL_USART_IsActiveFlag_LBD
- 3033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(const USART_TypeDef *USARTx)
- 3037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_LBDF) == (USART_ISR_LBDF)) ? 1UL : 0UL);
- 3039:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS interrupt Flag is set or not
- 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
- 3044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTSIF LL_USART_IsActiveFlag_nCTS
- 3046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(const USART_TypeDef *USARTx)
- 3050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3051:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTSIF) == (USART_ISR_CTSIF)) ? 1UL : 0UL);
- 3052:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Flag is set or not
- 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
- 3057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CTS LL_USART_IsActiveFlag_CTS
- 3059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CTS(const USART_TypeDef *USARTx)
- 3063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CTS) == (USART_ISR_CTS)) ? 1UL : 0UL);
- 3065:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 58
- 3068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Time Out Flag is set or not
- 3069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RTOF LL_USART_IsActiveFlag_RTO
- 3070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RTO(const USART_TypeDef *USARTx)
- 3074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RTOF) == (USART_ISR_RTOF)) ? 1UL : 0UL);
- 3076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Flag is set or not
- 3080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR EOBF LL_USART_IsActiveFlag_EOB
- 3083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_EOB(const USART_TypeDef *USARTx)
- 3087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_EOBF) == (USART_ISR_EOBF)) ? 1UL : 0UL);
- 3089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3091:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the SPI Slave Underrun error flag is set or not
- 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
- 3094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 3095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR UDR LL_USART_IsActiveFlag_UDR
- 3096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_UDR(const USART_TypeDef *USARTx)
- 3100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_UDR) == (USART_ISR_UDR)) ? 1UL : 0UL);
- 3102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Error Flag is set or not
- 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
- 3107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 3108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRE LL_USART_IsActiveFlag_ABRE
- 3109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABRE(const USART_TypeDef *USARTx)
- 3113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRE) == (USART_ISR_ABRE)) ? 1UL : 0UL);
- 3115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Auto-Baud Rate Flag is set or not
- 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
- 3120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Auto Baud Rate detection feature is supported by the USARTx instance.
- 3121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR ABRF LL_USART_IsActiveFlag_ABR
- 3122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 59
- 3125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ABR(const USART_TypeDef *USARTx)
- 3126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_ABRF) == (USART_ISR_ABRF)) ? 1UL : 0UL);
- 3128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Busy Flag is set or not
- 3132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR BUSY LL_USART_IsActiveFlag_BUSY
- 3133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_BUSY(const USART_TypeDef *USARTx)
- 3137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_BUSY) == (USART_ISR_BUSY)) ? 1UL : 0UL);
- 3139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Flag is set or not
- 3143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR CMF LL_USART_IsActiveFlag_CM
- 3144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_CM(const USART_TypeDef *USARTx)
- 3148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_CMF) == (USART_ISR_CMF)) ? 1UL : 0UL);
- 3150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Send Break Flag is set or not
- 3154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR SBKF LL_USART_IsActiveFlag_SBK
- 3155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(const USART_TypeDef *USARTx)
- 3159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_SBKF) == (USART_ISR_SBKF)) ? 1UL : 0UL);
- 3161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 3165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RWU LL_USART_IsActiveFlag_RWU
- 3166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(const USART_TypeDef *USARTx)
- 3170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RWU) == (USART_ISR_RWU)) ? 1UL : 0UL);
- 3172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 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
- 3177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR WUF LL_USART_IsActiveFlag_WKUP
- 3179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 60
- 3182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_WKUP(const USART_TypeDef *USARTx)
- 3183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_WUF) == (USART_ISR_WUF)) ? 1UL : 0UL);
- 3185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmit Enable Acknowledge Flag is set or not
- 3189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TEACK LL_USART_IsActiveFlag_TEACK
- 3190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TEACK(const USART_TypeDef *USARTx)
- 3194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TEACK) == (USART_ISR_TEACK)) ? 1UL : 0UL);
- 3196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receive Enable Acknowledge Flag is set or not
- 3200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR REACK LL_USART_IsActiveFlag_REACK
- 3201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_REACK(const USART_TypeDef *USARTx)
- 3205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_REACK) == (USART_ISR_REACK)) ? 1UL : 0UL);
- 3207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Flag is set or not
- 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
- 3212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFE LL_USART_IsActiveFlag_TXFE
- 3214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFE(const USART_TypeDef *USARTx)
- 3218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFE) == (USART_ISR_TXFE)) ? 1UL : 0UL);
- 3220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Flag is set or not
- 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
- 3225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFF LL_USART_IsActiveFlag_RXFF
- 3227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFF(const USART_TypeDef *USARTx)
- 3231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFF) == (USART_ISR_RXFF)) ? 1UL : 0UL);
- 3233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 3237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TCBGT LL_USART_IsActiveFlag_TCBGT
- 3238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 61
- 3239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TCBGT(const USART_TypeDef *USARTx)
- 3242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TCBGT) == (USART_ISR_TCBGT)) ? 1UL : 0UL);
- 3244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Threshold Flag is set or not
- 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
- 3249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR TXFT LL_USART_IsActiveFlag_TXFT
- 3251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXFT(const USART_TypeDef *USARTx)
- 3255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_TXFT) == (USART_ISR_TXFT)) ? 1UL : 0UL);
- 3257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Threshold Flag is set or not
- 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
- 3262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ISR RXFT LL_USART_IsActiveFlag_RXFT
- 3264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXFT(const USART_TypeDef *USARTx)
- 3268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->ISR, USART_ISR_RXFT) == (USART_ISR_RXFT)) ? 1UL : 0UL);
- 3270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Parity Error Flag
- 3274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR PECF LL_USART_ClearFlag_PE
- 3275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_PE(USART_TypeDef *USARTx)
- 3279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_PECF);
- 3281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Framing Error Flag
- 3285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR FECF LL_USART_ClearFlag_FE
- 3286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_FE(USART_TypeDef *USARTx)
- 3290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_FECF);
- 3292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Noise Error detected Flag
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 62
- 3296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR NECF LL_USART_ClearFlag_NE
- 3297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_NE(USART_TypeDef *USARTx)
- 3301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_NECF);
- 3303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear OverRun Error Flag
- 3307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR ORECF LL_USART_ClearFlag_ORE
- 3308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_ORE(USART_TypeDef *USARTx)
- 3312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 193 .loc 1 3312 1
- 194 .cfi_startproc
- 195 @ args = 0, pretend = 0, frame = 8
- 196 @ frame_needed = 1, uses_anonymous_args = 0
- 197 0000 80B5 push {r7, lr}
- 198 .LCFI9:
- 199 .cfi_def_cfa_offset 8
- 200 .cfi_offset 7, -8
- 201 .cfi_offset 14, -4
- 202 0002 82B0 sub sp, sp, #8
- 203 .LCFI10:
- 204 .cfi_def_cfa_offset 16
- 205 0004 00AF add r7, sp, #0
- 206 .LCFI11:
- 207 .cfi_def_cfa_register 7
- 208 0006 7860 str r0, [r7, #4]
- 3313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_ORECF);
- 209 .loc 1 3313 3
- 210 0008 7B68 ldr r3, [r7, #4]
- 211 000a 0822 movs r2, #8
- 212 000c 1A62 str r2, [r3, #32]
- 3314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 213 .loc 1 3314 1
- 214 000e C046 nop
- 215 0010 BD46 mov sp, r7
- 216 0012 02B0 add sp, sp, #8
- 217 @ sp needed
- 218 0014 80BD pop {r7, pc}
- 219 .cfi_endproc
- 220 .LFE607:
- 222 .section .text.LL_USART_ClearFlag_TC,"ax",%progbits
- 223 .align 1
- 224 .syntax unified
- 225 .code 16
- 226 .thumb_func
- 228 LL_USART_ClearFlag_TC:
- 229 .LFB610:
- 3315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear IDLE line detected Flag
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 63
- 3318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR IDLECF LL_USART_ClearFlag_IDLE
- 3319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_IDLE(USART_TypeDef *USARTx)
- 3323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_IDLECF);
- 3325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear TX FIFO Empty Flag
- 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
- 3330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TXFECF LL_USART_ClearFlag_TXFE
- 3332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TXFE(USART_TypeDef *USARTx)
- 3336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TXFECF);
- 3338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Transmission Complete Flag
- 3342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCCF LL_USART_ClearFlag_TC
- 3343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TC(USART_TypeDef *USARTx)
- 3347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 230 .loc 1 3347 1
- 231 .cfi_startproc
- 232 @ args = 0, pretend = 0, frame = 8
- 233 @ frame_needed = 1, uses_anonymous_args = 0
- 234 0000 80B5 push {r7, lr}
- 235 .LCFI12:
- 236 .cfi_def_cfa_offset 8
- 237 .cfi_offset 7, -8
- 238 .cfi_offset 14, -4
- 239 0002 82B0 sub sp, sp, #8
- 240 .LCFI13:
- 241 .cfi_def_cfa_offset 16
- 242 0004 00AF add r7, sp, #0
- 243 .LCFI14:
- 244 .cfi_def_cfa_register 7
- 245 0006 7860 str r0, [r7, #4]
- 3348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCCF);
- 246 .loc 1 3348 3
- 247 0008 7B68 ldr r3, [r7, #4]
- 248 000a 4022 movs r2, #64
- 249 000c 1A62 str r2, [r3, #32]
- 3349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 250 .loc 1 3349 1
- 251 000e C046 nop
- 252 0010 BD46 mov sp, r7
- 253 0012 02B0 add sp, sp, #8
- 254 @ sp needed
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 64
- 255 0014 80BD pop {r7, pc}
- 256 .cfi_endproc
- 257 .LFE610:
- 259 .section .text.LL_USART_EnableIT_RXNE_RXFNE,"ax",%progbits
- 260 .align 1
- 261 .syntax unified
- 262 .code 16
- 263 .thumb_func
- 265 LL_USART_EnableIT_RXNE_RXFNE:
- 266 .LFB620:
- 3350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Smartcard Transmission Complete Before Guard Time Flag
- 3353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR TCBGTCF LL_USART_ClearFlag_TCBGT
- 3354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_TCBGT(USART_TypeDef *USARTx)
- 3358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_TCBGTCF);
- 3360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear LIN Break Detection Flag
- 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
- 3365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR LBDCF LL_USART_ClearFlag_LBD
- 3367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_LBD(USART_TypeDef *USARTx)
- 3371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_LBDCF);
- 3373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear CTS Interrupt Flag
- 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
- 3378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CTSCF LL_USART_ClearFlag_nCTS
- 3380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_nCTS(USART_TypeDef *USARTx)
- 3384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CTSCF);
- 3386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Receiver Time Out Flag
- 3390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR RTOCF LL_USART_ClearFlag_RTO
- 3391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_RTO(USART_TypeDef *USARTx)
- 3395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_RTOCF);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 65
- 3397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear End Of Block Flag
- 3401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR EOBCF LL_USART_ClearFlag_EOB
- 3404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_EOB(USART_TypeDef *USARTx)
- 3408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_EOBCF);
- 3410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear SPI Slave Underrun Flag
- 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
- 3415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * SPI Slave mode feature is supported by the USARTx instance.
- 3416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR UDRCF LL_USART_ClearFlag_UDR
- 3417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_UDR(USART_TypeDef *USARTx)
- 3421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_UDRCF);
- 3423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Character Match Flag
- 3427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR CMCF LL_USART_ClearFlag_CM
- 3428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_CM(USART_TypeDef *USARTx)
- 3432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_CMCF);
- 3434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Clear Wake Up from stop mode Flag
- 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
- 3439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll ICR WUCF LL_USART_ClearFlag_WKUP
- 3441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_ClearFlag_WKUP(USART_TypeDef *USARTx)
- 3445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** WRITE_REG(USARTx->ICR, USART_ICR_WUCF);
- 3447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 3451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_IT_Management IT_Management
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 66
- 3454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 3455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable IDLE Interrupt
- 3459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_EnableIT_IDLE
- 3460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx)
- 3464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_IDLEIE);
- 3466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_RXNE LL_USART_EnableIT_RXNE_RXFNE /* Redefinition for legacy purpose */
- 3469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX Not Empty and RX FIFO Not Empty Interrupt
- 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
- 3473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_EnableIT_RXNE_RXFNE
- 3475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
- 3479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 267 .loc 1 3479 1
- 268 .cfi_startproc
- 269 @ args = 0, pretend = 0, frame = 24
- 270 @ frame_needed = 1, uses_anonymous_args = 0
- 271 0000 80B5 push {r7, lr}
- 272 .LCFI15:
- 273 .cfi_def_cfa_offset 8
- 274 .cfi_offset 7, -8
- 275 .cfi_offset 14, -4
- 276 0002 86B0 sub sp, sp, #24
- 277 .LCFI16:
- 278 .cfi_def_cfa_offset 32
- 279 0004 00AF add r7, sp, #0
- 280 .LCFI17:
- 281 .cfi_def_cfa_register 7
- 282 0006 7860 str r0, [r7, #4]
- 283 .LBB30:
- 284 .LBB31:
- 285 .LBB32:
- 286 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.2.0
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 08. May 2019
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2019 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 67
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 68
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __COMPILER_BARRIER
- 117:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 119:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ######################### Startup and Lowlevel Init ######################## */
- 121:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PROGRAM_START
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Initializes data and bss sections
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 69
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details This default implementations initialized all data and additional bss
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** sections relying on .copy.table and .zero.table specified properly
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** in the used linker script.
- 129:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE __NO_RETURN void __cmsis_start(void)
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 133:Drivers/CMSIS/Include/cmsis_gcc.h **** extern void _start(void) __NO_RETURN;
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t const* src;
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** } __copy_table_t;
- 140:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
- 143:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
- 144:Drivers/CMSIS/Include/cmsis_gcc.h **** } __zero_table_t;
- 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 146:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_start__;
- 147:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_end__;
- 148:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_start__;
- 149:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_end__;
- 150:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 151:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable
- 152:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
- 153:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = pTable->src[i];
- 154:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 155:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 156:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 157:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable
- 158:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
- 159:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = 0u;
- 160:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 161:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 162:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 163:Drivers/CMSIS/Include/cmsis_gcc.h **** _start();
- 164:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 165:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 166:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PROGRAM_START __cmsis_start
- 167:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 168:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 169:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INITIAL_SP
- 170:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INITIAL_SP __StackTop
- 171:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 172:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STACK_LIMIT
- 174:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STACK_LIMIT __StackLimit
- 175:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 176:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 177:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE
- 178:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE __Vectors
- 179:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 180:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 181:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE_ATTRIBUTE
- 182:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section(".vectors")))
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 70
- 183:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 184:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 185:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 186:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 187:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 188:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 189:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 190:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 191:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 192:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 193:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 194:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 195:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 196:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 197:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 198:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 199:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 200:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 201:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 202:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 204:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- 205:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 206:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 207:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 208:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 210:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 211:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 213:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 214:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
- 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
- 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
- 217:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 218:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
- 219:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 220:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 221:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 222:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
- 223:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 224:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 225:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 227:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
- 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
- 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
- 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
- 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
- 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 71
- 240:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 242:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 243:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
- 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
- 246:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 247:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 248:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
- 249:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 250:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
- 251:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 252:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 253:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 254:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 255:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 256:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
- 257:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
- 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 259:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 260:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
- 261:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
- 263:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 264:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 266:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 267:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 268:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
- 269:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
- 270:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
- 271:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 272:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
- 273:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 274:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 275:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 276:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
- 277:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 278:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 279:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 280:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 281:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 282:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
- 283:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
- 284:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
- 285:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 286:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
- 287:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 288:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 289:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 290:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
- 291:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 293:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 295:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 296:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 72
- 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
- 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
- 299:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 300:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
- 301:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 302:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 303:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 304:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
- 305:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 306:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 307:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 309:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 310:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
- 311:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
- 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 313:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 314:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
- 315:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 316:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 317:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 318:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
- 319:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 320:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 321:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 322:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 324:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 325:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
- 326:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
- 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 328:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 329:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
- 330:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 331:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 332:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
- 334:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 335:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 336:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 337:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 338:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 339:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
- 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
- 342:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 343:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 344:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
- 345:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 346:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
- 347:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 73
- 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
- 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 358:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
- 359:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 360:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 361:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 362:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 363:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 364:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
- 365:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
- 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 367:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 368:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
- 369:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 370:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 371:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
- 373:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 374:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 377:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 378:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
- 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
- 381:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 382:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 383:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
- 384:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 385:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 386:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 387:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
- 388:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 389:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 390:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 391:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 392:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 393:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
- 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
- 396:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 397:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 398:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
- 399:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 400:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
- 401:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 402:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 403:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 405:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 406:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
- 407:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
- 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 409:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 410:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 74
- 411:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
- 413:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 414:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 415:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 417:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 418:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 419:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
- 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
- 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
- 422:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 423:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
- 424:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 425:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 426:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 427:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
- 428:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 429:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 431:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 432:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 433:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
- 434:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
- 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
- 436:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 437:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
- 438:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
- 440:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 441:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 442:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 444:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 445:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
- 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
- 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 448:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 449:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
- 450:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 451:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 452:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
- 287 .loc 2 453 3
- 288 .syntax divided
- 289 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 290 0008 EFF31083 MRS r3, primask
- 291 @ 0 "" 2
- 292 .thumb
- 293 .syntax unified
- 294 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 295 .loc 2 454 9
- 296 000e BB68 ldr r3, [r7, #8]
- 297 .LBE32:
- 298 .LBE31:
- 3480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 75
- 299 .loc 1 3480 3
- 300 0010 7B61 str r3, [r7, #20]
- 301 0012 0123 movs r3, #1
- 302 0014 FB60 str r3, [r7, #12]
- 303 .LBB33:
- 304 .LBB34:
- 455:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 456:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 457:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 458:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 459:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 460:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
- 461:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
- 462:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 463:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 464:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
- 465:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 466:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 467:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 468:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
- 469:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 470:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 471:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 472:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 473:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 474:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 475:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
- 476:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
- 477:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 478:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 479:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
- 480:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
- 305 .loc 2 481 3
- 306 0016 FB68 ldr r3, [r7, #12]
- 307 .syntax divided
- 308 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 309 0018 83F31088 MSR primask, r3
- 310 @ 0 "" 2
- 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 311 .loc 2 482 1
- 312 .thumb
- 313 .syntax unified
- 314 001c C046 nop
- 315 .LBE34:
- 316 .LBE33:
- 317 .loc 1 3480 3
- 318 001e 7B68 ldr r3, [r7, #4]
- 319 0020 1B68 ldr r3, [r3]
- 320 0022 2022 movs r2, #32
- 321 0024 1A43 orrs r2, r3
- 322 0026 7B68 ldr r3, [r7, #4]
- 323 0028 1A60 str r2, [r3]
- 324 002a 7B69 ldr r3, [r7, #20]
- 325 002c 3B61 str r3, [r7, #16]
- 326 .LBB35:
- 327 .LBB36:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 76
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 328 .loc 2 481 3
- 329 002e 3B69 ldr r3, [r7, #16]
- 330 .syntax divided
- 331 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 332 0030 83F31088 MSR primask, r3
- 333 @ 0 "" 2
- 334 .loc 2 482 1
- 335 .thumb
- 336 .syntax unified
- 337 0034 C046 nop
- 338 .LBE36:
- 339 .LBE35:
- 340 .LBE30:
- 3481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 341 .loc 1 3481 1
- 342 0036 C046 nop
- 343 0038 BD46 mov sp, r7
- 344 003a 06B0 add sp, sp, #24
- 345 @ sp needed
- 346 003c 80BD pop {r7, pc}
- 347 .cfi_endproc
- 348 .LFE620:
- 350 .section .text.LL_USART_DisableIT_RXNE_RXFNE,"ax",%progbits
- 351 .align 1
- 352 .syntax unified
- 353 .code 16
- 354 .thumb_func
- 356 LL_USART_DisableIT_RXNE_RXFNE:
- 357 .LFB637:
- 3482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Transmission Complete Interrupt
- 3485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_EnableIT_TC
- 3486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx)
- 3490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TCIE);
- 3492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_EnableIT_TXE LL_USART_EnableIT_TXE_TXFNF /* Redefinition for legacy purpose */
- 3495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX Empty and TX FIFO Not Full Interrupt
- 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
- 3499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_EnableIT_TXE_TXFNF
- 3501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXE_TXFNF(USART_TypeDef *USARTx)
- 3505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
- 3507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 77
- 3509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Parity Error Interrupt
- 3511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_EnableIT_PE
- 3512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_PE(USART_TypeDef *USARTx)
- 3516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_PEIE);
- 3518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Character Match Interrupt
- 3522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_EnableIT_CM
- 3523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CM(USART_TypeDef *USARTx)
- 3527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_CMIE);
- 3529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Receiver Timeout Interrupt
- 3533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_EnableIT_RTO
- 3534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RTO(USART_TypeDef *USARTx)
- 3538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RTOIE);
- 3540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable End Of Block Interrupt
- 3544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_EnableIT_EOB
- 3547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_EOB(USART_TypeDef *USARTx)
- 3551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_EOBIE);
- 3553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Empty Interrupt
- 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
- 3558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_EnableIT_TXFE
- 3560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFE(USART_TypeDef *USARTx)
- 3564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXFEIE);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 78
- 3566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Full Interrupt
- 3570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_EnableIT_RXFF
- 3571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFF(USART_TypeDef *USARTx)
- 3575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXFFIE);
- 3577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable LIN Break Detection Interrupt
- 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
- 3582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_EnableIT_LBD
- 3584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_LBD(USART_TypeDef *USARTx)
- 3588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR2, USART_CR2_LBDIE);
- 3590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Error Interrupt
- 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
- 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).
- 3596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
- 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.
- 3598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_EnableIT_ERROR
- 3599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx)
- 3603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_EIE);
- 3605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable CTS Interrupt
- 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
- 3610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_EnableIT_CTS
- 3612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3613:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3614:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3615:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx)
- 3616:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3617:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_CTSIE);
- 3618:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3619:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3620:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3621:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Wake Up from Stop Mode Interrupt
- 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
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 79
- 3623:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3624:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_EnableIT_WKUP
- 3625:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3626:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3627:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3628:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_WKUP(USART_TypeDef *USARTx)
- 3629:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3630:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_WUFIE);
- 3631:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3632:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3633:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3634:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable TX FIFO Threshold Interrupt
- 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
- 3636:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3637:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_EnableIT_TXFT
- 3638:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3639:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3640:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3641:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TXFT(USART_TypeDef *USARTx)
- 3642:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3643:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TXFTIE);
- 3644:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3645:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3646:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3647:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable Smartcard Transmission Complete Before Guard Time Interrupt
- 3648:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3649:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3650:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_EnableIT_TCBGT
- 3651:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3652:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3653:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3654:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_TCBGT(USART_TypeDef *USARTx)
- 3655:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3656:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
- 3657:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3658:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3659:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3660:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable RX FIFO Threshold Interrupt
- 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
- 3662:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3663:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_EnableIT_RXFT
- 3664:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3665:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3666:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3667:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableIT_RXFT(USART_TypeDef *USARTx)
- 3668:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3669:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_RXFTIE);
- 3670:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3671:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3672:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3673:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable IDLE Interrupt
- 3674:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_DisableIT_IDLE
- 3675:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3676:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3677:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3678:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx)
- 3679:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 80
- 3680:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE);
- 3681:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3682:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3683:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_RXNE LL_USART_DisableIT_RXNE_RXFNE /* Redefinition for legacy purpose *
- 3684:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3685:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3686:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX Not Empty and RX FIFO Not Empty Interrupt
- 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
- 3688:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3689:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_DisableIT_RXNE_RXFNE
- 3690:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3691:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3692:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3693:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXNE_RXFNE(USART_TypeDef *USARTx)
- 3694:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 358 .loc 1 3694 1
- 359 .cfi_startproc
- 360 @ args = 0, pretend = 0, frame = 24
- 361 @ frame_needed = 1, uses_anonymous_args = 0
- 362 0000 80B5 push {r7, lr}
- 363 .LCFI18:
- 364 .cfi_def_cfa_offset 8
- 365 .cfi_offset 7, -8
- 366 .cfi_offset 14, -4
- 367 0002 86B0 sub sp, sp, #24
- 368 .LCFI19:
- 369 .cfi_def_cfa_offset 32
- 370 0004 00AF add r7, sp, #0
- 371 .LCFI20:
- 372 .cfi_def_cfa_register 7
- 373 0006 7860 str r0, [r7, #4]
- 374 .LBB37:
- 375 .LBB38:
- 376 .LBB39:
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 377 .loc 2 453 3
- 378 .syntax divided
- 379 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 380 0008 EFF31083 MRS r3, primask
- 381 @ 0 "" 2
- 382 .thumb
- 383 .syntax unified
- 384 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 385 .loc 2 454 9
- 386 000e BB68 ldr r3, [r7, #8]
- 387 .LBE39:
- 388 .LBE38:
- 3695:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE_RXFNEIE);
- 389 .loc 1 3695 3
- 390 0010 7B61 str r3, [r7, #20]
- 391 0012 0123 movs r3, #1
- 392 0014 FB60 str r3, [r7, #12]
- 393 .LBB40:
- 394 .LBB41:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 395 .loc 2 481 3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 81
- 396 0016 FB68 ldr r3, [r7, #12]
- 397 .syntax divided
- 398 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 399 0018 83F31088 MSR primask, r3
- 400 @ 0 "" 2
- 401 .loc 2 482 1
- 402 .thumb
- 403 .syntax unified
- 404 001c C046 nop
- 405 .LBE41:
- 406 .LBE40:
- 407 .loc 1 3695 3
- 408 001e 7B68 ldr r3, [r7, #4]
- 409 0020 1B68 ldr r3, [r3]
- 410 0022 2022 movs r2, #32
- 411 0024 9343 bics r3, r2
- 412 0026 1A00 movs r2, r3
- 413 0028 7B68 ldr r3, [r7, #4]
- 414 002a 1A60 str r2, [r3]
- 415 002c 7B69 ldr r3, [r7, #20]
- 416 002e 3B61 str r3, [r7, #16]
- 417 .LBB42:
- 418 .LBB43:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 419 .loc 2 481 3
- 420 0030 3B69 ldr r3, [r7, #16]
- 421 .syntax divided
- 422 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 423 0032 83F31088 MSR primask, r3
- 424 @ 0 "" 2
- 425 .loc 2 482 1
- 426 .thumb
- 427 .syntax unified
- 428 0036 C046 nop
- 429 .LBE43:
- 430 .LBE42:
- 431 .LBE37:
- 3696:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 432 .loc 1 3696 1
- 433 0038 C046 nop
- 434 003a BD46 mov sp, r7
- 435 003c 06B0 add sp, sp, #24
- 436 @ sp needed
- 437 003e 80BD pop {r7, pc}
- 438 .cfi_endproc
- 439 .LFE637:
- 441 .section .text.LL_USART_DisableIT_TC,"ax",%progbits
- 442 .align 1
- 443 .syntax unified
- 444 .code 16
- 445 .thumb_func
- 447 LL_USART_DisableIT_TC:
- 448 .LFB638:
- 3697:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3698:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3699:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Transmission Complete Interrupt
- 3700:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_DisableIT_TC
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 82
- 3701:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3702:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3703:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3704:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx)
- 3705:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 449 .loc 1 3705 1
- 450 .cfi_startproc
- 451 @ args = 0, pretend = 0, frame = 24
- 452 @ frame_needed = 1, uses_anonymous_args = 0
- 453 0000 80B5 push {r7, lr}
- 454 .LCFI21:
- 455 .cfi_def_cfa_offset 8
- 456 .cfi_offset 7, -8
- 457 .cfi_offset 14, -4
- 458 0002 86B0 sub sp, sp, #24
- 459 .LCFI22:
- 460 .cfi_def_cfa_offset 32
- 461 0004 00AF add r7, sp, #0
- 462 .LCFI23:
- 463 .cfi_def_cfa_register 7
- 464 0006 7860 str r0, [r7, #4]
- 465 .LBB44:
- 466 .LBB45:
- 467 .LBB46:
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 468 .loc 2 453 3
- 469 .syntax divided
- 470 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 471 0008 EFF31083 MRS r3, primask
- 472 @ 0 "" 2
- 473 .thumb
- 474 .syntax unified
- 475 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 476 .loc 2 454 9
- 477 000e BB68 ldr r3, [r7, #8]
- 478 .LBE46:
- 479 .LBE45:
- 3706:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE);
- 480 .loc 1 3706 3
- 481 0010 7B61 str r3, [r7, #20]
- 482 0012 0123 movs r3, #1
- 483 0014 FB60 str r3, [r7, #12]
- 484 .LBB47:
- 485 .LBB48:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 486 .loc 2 481 3
- 487 0016 FB68 ldr r3, [r7, #12]
- 488 .syntax divided
- 489 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 490 0018 83F31088 MSR primask, r3
- 491 @ 0 "" 2
- 492 .loc 2 482 1
- 493 .thumb
- 494 .syntax unified
- 495 001c C046 nop
- 496 .LBE48:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 83
- 497 .LBE47:
- 498 .loc 1 3706 3
- 499 001e 7B68 ldr r3, [r7, #4]
- 500 0020 1B68 ldr r3, [r3]
- 501 0022 4022 movs r2, #64
- 502 0024 9343 bics r3, r2
- 503 0026 1A00 movs r2, r3
- 504 0028 7B68 ldr r3, [r7, #4]
- 505 002a 1A60 str r2, [r3]
- 506 002c 7B69 ldr r3, [r7, #20]
- 507 002e 3B61 str r3, [r7, #16]
- 508 .LBB49:
- 509 .LBB50:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 510 .loc 2 481 3
- 511 0030 3B69 ldr r3, [r7, #16]
- 512 .syntax divided
- 513 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 514 0032 83F31088 MSR primask, r3
- 515 @ 0 "" 2
- 516 .loc 2 482 1
- 517 .thumb
- 518 .syntax unified
- 519 0036 C046 nop
- 520 .LBE50:
- 521 .LBE49:
- 522 .LBE44:
- 3707:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 523 .loc 1 3707 1
- 524 0038 C046 nop
- 525 003a BD46 mov sp, r7
- 526 003c 06B0 add sp, sp, #24
- 527 @ sp needed
- 528 003e 80BD pop {r7, pc}
- 529 .cfi_endproc
- 530 .LFE638:
- 532 .section .text.LL_USART_DisableIT_ERROR,"ax",%progbits
- 533 .align 1
- 534 .syntax unified
- 535 .code 16
- 536 .thumb_func
- 538 LL_USART_DisableIT_ERROR:
- 539 .LFB647:
- 3708:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3709:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_DisableIT_TXE LL_USART_DisableIT_TXE_TXFNF /* Redefinition for legacy purpose */
- 3710:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3711:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3712:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX Empty and TX FIFO Not Full Interrupt
- 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
- 3714:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3715:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_DisableIT_TXE_TXFNF
- 3716:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3717:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3718:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3719:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXE_TXFNF(USART_TypeDef *USARTx)
- 3720:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3721:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE_TXFNFIE);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 84
- 3722:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3723:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3724:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3725:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Parity Error Interrupt
- 3726:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_DisableIT_PE
- 3727:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3728:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3729:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3730:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_PE(USART_TypeDef *USARTx)
- 3731:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3732:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE);
- 3733:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3734:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3735:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3736:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Character Match Interrupt
- 3737:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_DisableIT_CM
- 3738:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3739:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3740:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3741:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CM(USART_TypeDef *USARTx)
- 3742:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3743:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_CMIE);
- 3744:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3745:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3746:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3747:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Receiver Timeout Interrupt
- 3748:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_DisableIT_RTO
- 3749:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3750:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3751:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3752:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RTO(USART_TypeDef *USARTx)
- 3753:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3754:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RTOIE);
- 3755:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3756:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3757:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3758:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable End Of Block Interrupt
- 3759:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3760:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3761:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_DisableIT_EOB
- 3762:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3763:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3764:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3765:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_EOB(USART_TypeDef *USARTx)
- 3766:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3767:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_EOBIE);
- 3768:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3769:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3770:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3771:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Empty Interrupt
- 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
- 3773:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3774:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_DisableIT_TXFE
- 3775:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3776:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3777:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3778:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFE(USART_TypeDef *USARTx)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 85
- 3779:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3780:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXFEIE);
- 3781:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3782:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3783:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3784:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Full Interrupt
- 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
- 3786:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3787:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_DisableIT_RXFF
- 3788:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3789:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3790:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3791:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFF(USART_TypeDef *USARTx)
- 3792:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3793:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXFFIE);
- 3794:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3795:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3796:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3797:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable LIN Break Detection Interrupt
- 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
- 3799:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 3800:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_DisableIT_LBD
- 3801:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3802:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3803:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3804:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_LBD(USART_TypeDef *USARTx)
- 3805:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3806:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR2, USART_CR2_LBDIE);
- 3807:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3808:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3809:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3810:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Error Interrupt
- 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
- 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).
- 3813:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * 0: Interrupt is inhibited
- 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.
- 3815:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_DisableIT_ERROR
- 3816:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3817:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3818:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3819:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx)
- 3820:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 540 .loc 1 3820 1
- 541 .cfi_startproc
- 542 @ args = 0, pretend = 0, frame = 24
- 543 @ frame_needed = 1, uses_anonymous_args = 0
- 544 0000 80B5 push {r7, lr}
- 545 .LCFI24:
- 546 .cfi_def_cfa_offset 8
- 547 .cfi_offset 7, -8
- 548 .cfi_offset 14, -4
- 549 0002 86B0 sub sp, sp, #24
- 550 .LCFI25:
- 551 .cfi_def_cfa_offset 32
- 552 0004 00AF add r7, sp, #0
- 553 .LCFI26:
- 554 .cfi_def_cfa_register 7
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 86
- 555 0006 7860 str r0, [r7, #4]
- 556 .LBB51:
- 557 .LBB52:
- 558 .LBB53:
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 559 .loc 2 453 3
- 560 .syntax divided
- 561 @ 453 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 562 0008 EFF31083 MRS r3, primask
- 563 @ 0 "" 2
- 564 .thumb
- 565 .syntax unified
- 566 000c BB60 str r3, [r7, #8]
- 454:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 567 .loc 2 454 9
- 568 000e BB68 ldr r3, [r7, #8]
- 569 .LBE53:
- 570 .LBE52:
- 3821:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_EIE);
- 571 .loc 1 3821 3
- 572 0010 7B61 str r3, [r7, #20]
- 573 0012 0123 movs r3, #1
- 574 0014 FB60 str r3, [r7, #12]
- 575 .LBB54:
- 576 .LBB55:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 577 .loc 2 481 3
- 578 0016 FB68 ldr r3, [r7, #12]
- 579 .syntax divided
- 580 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 581 0018 83F31088 MSR primask, r3
- 582 @ 0 "" 2
- 583 .loc 2 482 1
- 584 .thumb
- 585 .syntax unified
- 586 001c C046 nop
- 587 .LBE55:
- 588 .LBE54:
- 589 .loc 1 3821 3
- 590 001e 7B68 ldr r3, [r7, #4]
- 591 0020 9B68 ldr r3, [r3, #8]
- 592 0022 0122 movs r2, #1
- 593 0024 9343 bics r3, r2
- 594 0026 1A00 movs r2, r3
- 595 0028 7B68 ldr r3, [r7, #4]
- 596 002a 9A60 str r2, [r3, #8]
- 597 002c 7B69 ldr r3, [r7, #20]
- 598 002e 3B61 str r3, [r7, #16]
- 599 .LBB56:
- 600 .LBB57:
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 601 .loc 2 481 3
- 602 0030 3B69 ldr r3, [r7, #16]
- 603 .syntax divided
- 604 @ 481 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 605 0032 83F31088 MSR primask, r3
- 606 @ 0 "" 2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 87
- 607 .loc 2 482 1
- 608 .thumb
- 609 .syntax unified
- 610 0036 C046 nop
- 611 .LBE57:
- 612 .LBE56:
- 613 .LBE51:
- 3822:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 614 .loc 1 3822 1
- 615 0038 C046 nop
- 616 003a BD46 mov sp, r7
- 617 003c 06B0 add sp, sp, #24
- 618 @ sp needed
- 619 003e 80BD pop {r7, pc}
- 620 .cfi_endproc
- 621 .LFE647:
- 623 .section .text.LL_USART_IsEnabledIT_RXNE_RXFNE,"ax",%progbits
- 624 .align 1
- 625 .syntax unified
- 626 .code 16
- 627 .thumb_func
- 629 LL_USART_IsEnabledIT_RXNE_RXFNE:
- 630 .LFB654:
- 3823:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3824:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3825:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable CTS Interrupt
- 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
- 3827:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 3828:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_DisableIT_CTS
- 3829:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3830:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3831:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3832:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx)
- 3833:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3834:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE);
- 3835:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3836:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3837:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3838:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Wake Up from Stop Mode Interrupt
- 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
- 3840:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 3841:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_DisableIT_WKUP
- 3842:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3843:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3844:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3845:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_WKUP(USART_TypeDef *USARTx)
- 3846:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3847:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_WUFIE);
- 3848:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3849:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3850:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3851:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable TX FIFO Threshold Interrupt
- 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
- 3853:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3854:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_DisableIT_TXFT
- 3855:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3856:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 88
- 3857:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3858:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TXFT(USART_TypeDef *USARTx)
- 3859:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3860:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TXFTIE);
- 3861:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3862:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3863:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3864:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable Smartcard Transmission Complete Before Guard Time Interrupt
- 3865:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3866:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3867:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_DisableIT_TCBGT
- 3868:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3869:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3870:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3871:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_TCBGT(USART_TypeDef *USARTx)
- 3872:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3873:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_TCBGTIE);
- 3874:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3875:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3876:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3877:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable RX FIFO Threshold Interrupt
- 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
- 3879:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3880:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_DisableIT_RXFT
- 3881:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3882:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 3883:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3884:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableIT_RXFT(USART_TypeDef *USARTx)
- 3885:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3886:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_RXFTIE);
- 3887:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3888:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3889:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3890:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART IDLE Interrupt source is enabled or disabled.
- 3891:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 IDLEIE LL_USART_IsEnabledIT_IDLE
- 3892:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3893:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3894:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3895:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(const USART_TypeDef *USARTx)
- 3896:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3897:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)) ? 1UL : 0UL);
- 3898:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3899:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3900:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_RXNE LL_USART_IsEnabledIT_RXNE_RXFNE /* Redefinition for legacy purpo
- 3901:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3902:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 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
- 3905:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3906:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXNEIE_RXFNEIE LL_USART_IsEnabledIT_RXNE_RXFNE
- 3907:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3908:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3909:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3910:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE_RXFNE(const USART_TypeDef *USARTx)
- 3911:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 631 .loc 1 3911 1
- 632 .cfi_startproc
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 89
- 633 @ args = 0, pretend = 0, frame = 8
- 634 @ frame_needed = 1, uses_anonymous_args = 0
- 635 0000 80B5 push {r7, lr}
- 636 .LCFI27:
- 637 .cfi_def_cfa_offset 8
- 638 .cfi_offset 7, -8
- 639 .cfi_offset 14, -4
- 640 0002 82B0 sub sp, sp, #8
- 641 .LCFI28:
- 642 .cfi_def_cfa_offset 16
- 643 0004 00AF add r7, sp, #0
- 644 .LCFI29:
- 645 .cfi_def_cfa_register 7
- 646 0006 7860 str r0, [r7, #4]
- 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
- 647 .loc 1 3912 12
- 648 0008 7B68 ldr r3, [r7, #4]
- 649 000a 1B68 ldr r3, [r3]
- 650 000c 2022 movs r2, #32
- 651 000e 1340 ands r3, r2
- 652 .loc 1 3912 97
- 653 0010 202B cmp r3, #32
- 654 0012 01D1 bne .L24
- 655 .loc 1 3912 97 is_stmt 0 discriminator 1
- 656 0014 0123 movs r3, #1
- 657 0016 00E0 b .L26
- 658 .L24:
- 659 .loc 1 3912 97 discriminator 2
- 660 0018 0023 movs r3, #0
- 661 .L26:
- 3913:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 662 .loc 1 3913 1 is_stmt 1 discriminator 5
- 663 001a 1800 movs r0, r3
- 664 001c BD46 mov sp, r7
- 665 001e 02B0 add sp, sp, #8
- 666 @ sp needed
- 667 0020 80BD pop {r7, pc}
- 668 .cfi_endproc
- 669 .LFE654:
- 671 .section .text.LL_USART_IsEnabledIT_TC,"ax",%progbits
- 672 .align 1
- 673 .syntax unified
- 674 .code 16
- 675 .thumb_func
- 677 LL_USART_IsEnabledIT_TC:
- 678 .LFB655:
- 3914:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3915:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3916:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Transmission Complete Interrupt is enabled or disabled.
- 3917:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TCIE LL_USART_IsEnabledIT_TC
- 3918:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3919:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3920:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3921:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(const USART_TypeDef *USARTx)
- 3922:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 679 .loc 1 3922 1
- 680 .cfi_startproc
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 90
- 681 @ args = 0, pretend = 0, frame = 8
- 682 @ frame_needed = 1, uses_anonymous_args = 0
- 683 0000 80B5 push {r7, lr}
- 684 .LCFI30:
- 685 .cfi_def_cfa_offset 8
- 686 .cfi_offset 7, -8
- 687 .cfi_offset 14, -4
- 688 0002 82B0 sub sp, sp, #8
- 689 .LCFI31:
- 690 .cfi_def_cfa_offset 16
- 691 0004 00AF add r7, sp, #0
- 692 .LCFI32:
- 693 .cfi_def_cfa_register 7
- 694 0006 7860 str r0, [r7, #4]
- 3923:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)) ? 1UL : 0UL);
- 695 .loc 1 3923 12
- 696 0008 7B68 ldr r3, [r7, #4]
- 697 000a 1B68 ldr r3, [r3]
- 698 000c 4022 movs r2, #64
- 699 000e 1340 ands r3, r2
- 700 .loc 1 3923 77
- 701 0010 402B cmp r3, #64
- 702 0012 01D1 bne .L28
- 703 .loc 1 3923 77 is_stmt 0 discriminator 1
- 704 0014 0123 movs r3, #1
- 705 0016 00E0 b .L30
- 706 .L28:
- 707 .loc 1 3923 77 discriminator 2
- 708 0018 0023 movs r3, #0
- 709 .L30:
- 3924:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 710 .loc 1 3924 1 is_stmt 1 discriminator 5
- 711 001a 1800 movs r0, r3
- 712 001c BD46 mov sp, r7
- 713 001e 02B0 add sp, sp, #8
- 714 @ sp needed
- 715 0020 80BD pop {r7, pc}
- 716 .cfi_endproc
- 717 .LFE655:
- 719 .section .text.LL_USART_ReceiveData8,"ax",%progbits
- 720 .align 1
- 721 .syntax unified
- 722 .code 16
- 723 .thumb_func
- 725 LL_USART_ReceiveData8:
- 726 .LFB680:
- 3925:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3926:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** #define LL_USART_IsEnabledIT_TXE LL_USART_IsEnabledIT_TXE_TXFNF /* Redefinition for legacy purpose
- 3927:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3928:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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
- 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
- 3931:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3932:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXEIE_TXFNFIE LL_USART_IsEnabledIT_TXE_TXFNF
- 3933:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3934:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3935:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 91
- 3936:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE_TXFNF(const USART_TypeDef *USARTx)
- 3937:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 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
- 3939:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3940:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3941:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3942:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Parity Error Interrupt is enabled or disabled.
- 3943:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 PEIE LL_USART_IsEnabledIT_PE
- 3944:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3945:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3946:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3947:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(const USART_TypeDef *USARTx)
- 3948:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3949:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)) ? 1UL : 0UL);
- 3950:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3951:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3952:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3953:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Character Match Interrupt is enabled or disabled.
- 3954:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 CMIE LL_USART_IsEnabledIT_CM
- 3955:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3956:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3957:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3958:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CM(const USART_TypeDef *USARTx)
- 3959:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3960:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_CMIE) == (USART_CR1_CMIE)) ? 1UL : 0UL);
- 3961:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3962:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3963:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3964:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Receiver Timeout Interrupt is enabled or disabled.
- 3965:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RTOIE LL_USART_IsEnabledIT_RTO
- 3966:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3967:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3968:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3969:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RTO(const USART_TypeDef *USARTx)
- 3970:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3971:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RTOIE) == (USART_CR1_RTOIE)) ? 1UL : 0UL);
- 3972:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3973:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3974:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3975:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART End Of Block Interrupt is enabled or disabled.
- 3976:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 3977:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 3978:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 EOBIE LL_USART_IsEnabledIT_EOB
- 3979:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 3980:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3981:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3982:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_EOB(const USART_TypeDef *USARTx)
- 3983:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3984:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_EOBIE) == (USART_CR1_EOBIE)) ? 1UL : 0UL);
- 3985:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3986:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 3987:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 3988:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART TX FIFO Empty Interrupt is enabled or disabled
- 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
- 3990:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 3991:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 TXFEIE LL_USART_IsEnabledIT_TXFE
- 3992:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 92
- 3993:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 3994:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 3995:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFE(const USART_TypeDef *USARTx)
- 3996:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 3997:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_TXFEIE) == (USART_CR1_TXFEIE)) ? 1UL : 0UL);
- 3998:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 3999:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4000:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4001:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART RX FIFO Full Interrupt is enabled or disabled
- 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
- 4003:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 4004:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR1 RXFFIE LL_USART_IsEnabledIT_RXFF
- 4005:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4006:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4007:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4008:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFF(const USART_TypeDef *USARTx)
- 4009:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4010:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR1, USART_CR1_RXFFIE) == (USART_CR1_RXFFIE)) ? 1UL : 0UL);
- 4011:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4012:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4013:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4014:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART LIN Break Detection Interrupt is enabled or disabled.
- 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
- 4016:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * LIN feature is supported by the USARTx instance.
- 4017:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR2 LBDIE LL_USART_IsEnabledIT_LBD
- 4018:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4019:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4020:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4021:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(const USART_TypeDef *USARTx)
- 4022:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4023:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR2, USART_CR2_LBDIE) == (USART_CR2_LBDIE)) ? 1UL : 0UL);
- 4024:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4025:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4026:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4027:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART Error Interrupt is enabled or disabled.
- 4028:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 EIE LL_USART_IsEnabledIT_ERROR
- 4029:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4030:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4031:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4032:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(const USART_TypeDef *USARTx)
- 4033:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4034:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)) ? 1UL : 0UL);
- 4035:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4036:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4037:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4038:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the USART CTS Interrupt is enabled or disabled.
- 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
- 4040:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Hardware Flow control feature is supported by the USARTx instance.
- 4041:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 CTSIE LL_USART_IsEnabledIT_CTS
- 4042:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4043:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4044:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4045:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(const USART_TypeDef *USARTx)
- 4046:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4047:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)) ? 1UL : 0UL);
- 4048:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4049:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 93
- 4050:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 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.
- 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
- 4053:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Wake-up from Stop mode feature is supported by the USARTx instance.
- 4054:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 WUFIE LL_USART_IsEnabledIT_WKUP
- 4055:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4056:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4057:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4058:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_WKUP(const USART_TypeDef *USARTx)
- 4059:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4060:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_WUFIE) == (USART_CR3_WUFIE)) ? 1UL : 0UL);
- 4061:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4062:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4063:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4064:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART TX FIFO Threshold Interrupt is enabled or disabled
- 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
- 4066:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 4067:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TXFTIE LL_USART_IsEnabledIT_TXFT
- 4068:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4069:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4070:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4071:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXFT(const USART_TypeDef *USARTx)
- 4072:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4073:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TXFTIE) == (USART_CR3_TXFTIE)) ? 1UL : 0UL);
- 4074:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4075:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4076:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4077:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if the Smartcard Transmission Complete Before Guard Time Interrupt is enabled or
- 4078:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @note Macro IS_SMARTCARD_INSTANCE(USARTx) can be used to check whether or not
- 4079:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * Smartcard feature is supported by the USARTx instance.
- 4080:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 TCBGTIE LL_USART_IsEnabledIT_TCBGT
- 4081:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4082:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4083:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4084:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TCBGT(const USART_TypeDef *USARTx)
- 4085:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4086:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_TCBGTIE) == (USART_CR3_TCBGTIE)) ? 1UL : 0UL);
- 4087:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4088:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4089:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4090:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if USART RX FIFO Threshold Interrupt is enabled or disabled
- 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
- 4092:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * FIFO mode feature is supported by the USARTx instance.
- 4093:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 RXFTIE LL_USART_IsEnabledIT_RXFT
- 4094:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4095:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4096:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4097:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXFT(const USART_TypeDef *USARTx)
- 4098:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4099:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_RXFTIE) == (USART_CR3_RXFTIE)) ? 1UL : 0UL);
- 4100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 4104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_DMA_Management DMA_Management
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 94
- 4107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 4108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for reception
- 4112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_EnableDMAReq_RX
- 4113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx)
- 4117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAR);
- 4119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for reception
- 4123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_DisableDMAReq_RX
- 4124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx)
- 4128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR);
- 4130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for reception
- 4134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAR LL_USART_IsEnabledDMAReq_RX
- 4135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(const USART_TypeDef *USARTx)
- 4139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)) ? 1UL : 0UL);
- 4141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Mode for transmission
- 4145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_EnableDMAReq_TX
- 4146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx)
- 4150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAT);
- 4152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Mode for transmission
- 4156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_DisableDMAReq_TX
- 4157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx)
- 4161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT);
- 4163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 95
- 4164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Check if DMA Mode is enabled for transmission
- 4167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DMAT LL_USART_IsEnabledDMAReq_TX
- 4168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(const USART_TypeDef *USARTx)
- 4172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)) ? 1UL : 0UL);
- 4174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Enable DMA Disabling on Reception Error
- 4178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_EnableDMADeactOnRxErr
- 4179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr(USART_TypeDef *USARTx)
- 4183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** SET_BIT(USARTx->CR3, USART_CR3_DDRE);
- 4185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Disable DMA Disabling on Reception Error
- 4189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_DisableDMADeactOnRxErr
- 4190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr(USART_TypeDef *USARTx)
- 4194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** CLEAR_BIT(USARTx->CR3, USART_CR3_DDRE);
- 4196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Indicate if DMA Disabling on Reception Error is disabled
- 4200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll CR3 DDRE LL_USART_IsEnabledDMADeactOnRxErr
- 4201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval State of bit (1 or 0).
- 4203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr(const USART_TypeDef *USARTx)
- 4205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return ((READ_BIT(USARTx->CR3, USART_CR3_DDRE) == (USART_CR3_DDRE)) ? 1UL : 0UL);
- 4207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Get the data register address used for DMA transfer
- 4211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_DMA_GetRegAddr\n
- 4212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_DMA_GetRegAddr
- 4213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Direction This parameter can be one of the following values:
- 4215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_TRANSMIT
- 4216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @arg @ref LL_USART_DMA_REG_DATA_RECEIVE
- 4217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Address of data register
- 4218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 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)
- 4220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 96
- 4221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** uint32_t data_reg_addr;
- 4222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** if (Direction == LL_USART_DMA_REG_DATA_TRANSMIT)
- 4224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of TDR register */
- 4226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->TDR);
- 4227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** else
- 4229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /* return address of RDR register */
- 4231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** data_reg_addr = (uint32_t) &(USARTx->RDR);
- 4232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return data_reg_addr;
- 4235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @}
- 4239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /** @defgroup USART_LL_EF_Data_Management Data_Management
- 4242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @{
- 4243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 8 bits)
- 4247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData8
- 4248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
- 4250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint8_t LL_USART_ReceiveData8(const USART_TypeDef *USARTx)
- 4252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 727 .loc 1 4252 1
- 728 .cfi_startproc
- 729 @ args = 0, pretend = 0, frame = 8
- 730 @ frame_needed = 1, uses_anonymous_args = 0
- 731 0000 80B5 push {r7, lr}
- 732 .LCFI33:
- 733 .cfi_def_cfa_offset 8
- 734 .cfi_offset 7, -8
- 735 .cfi_offset 14, -4
- 736 0002 82B0 sub sp, sp, #8
- 737 .LCFI34:
- 738 .cfi_def_cfa_offset 16
- 739 0004 00AF add r7, sp, #0
- 740 .LCFI35:
- 741 .cfi_def_cfa_register 7
- 742 0006 7860 str r0, [r7, #4]
- 4253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint8_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR) & 0xFFU);
- 743 .loc 1 4253 20
- 744 0008 7B68 ldr r3, [r7, #4]
- 745 000a 5B6A ldr r3, [r3, #36]
- 746 .loc 1 4253 10
- 747 000c DBB2 uxtb r3, r3
- 4254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 748 .loc 1 4254 1
- 749 000e 1800 movs r0, r3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 97
- 750 0010 BD46 mov sp, r7
- 751 0012 02B0 add sp, sp, #8
- 752 @ sp needed
- 753 0014 80BD pop {r7, pc}
- 754 .cfi_endproc
- 755 .LFE680:
- 757 .section .text.LL_USART_TransmitData8,"ax",%progbits
- 758 .align 1
- 759 .syntax unified
- 760 .code 16
- 761 .thumb_func
- 763 LL_USART_TransmitData8:
- 764 .LFB682:
- 4255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Read Receiver Data register (Receive Data value, 9 bits)
- 4258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll RDR RDR LL_USART_ReceiveData9
- 4259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x1FF
- 4261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE uint16_t LL_USART_ReceiveData9(const USART_TypeDef *USARTx)
- 4263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 4264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** return (uint16_t)(READ_BIT(USARTx->RDR, USART_RDR_RDR));
- 4265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 4266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h ****
- 4267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** /**
- 4268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @brief Write in Transmitter Data Register (Transmit Data value, 8 bits)
- 4269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @rmtoll TDR TDR LL_USART_TransmitData8
- 4270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param USARTx USART Instance
- 4271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @param Value between Min_Data=0x00 and Max_Data=0xFF
- 4272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** * @retval None
- 4273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** */
- 4274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** __STATIC_INLINE void LL_USART_TransmitData8(USART_TypeDef *USARTx, uint8_t Value)
- 4275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** {
- 765 .loc 1 4275 1
- 766 .cfi_startproc
- 767 @ args = 0, pretend = 0, frame = 8
- 768 @ frame_needed = 1, uses_anonymous_args = 0
- 769 0000 80B5 push {r7, lr}
- 770 .LCFI36:
- 771 .cfi_def_cfa_offset 8
- 772 .cfi_offset 7, -8
- 773 .cfi_offset 14, -4
- 774 0002 82B0 sub sp, sp, #8
- 775 .LCFI37:
- 776 .cfi_def_cfa_offset 16
- 777 0004 00AF add r7, sp, #0
- 778 .LCFI38:
- 779 .cfi_def_cfa_register 7
- 780 0006 7860 str r0, [r7, #4]
- 781 0008 0A00 movs r2, r1
- 782 000a FB1C adds r3, r7, #3
- 783 000c 1A70 strb r2, [r3]
- 4276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** USARTx->TDR = Value;
- 784 .loc 1 4276 15
- 785 000e FB1C adds r3, r7, #3
- 786 0010 1A78 ldrb r2, [r3]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 98
- 787 0012 7B68 ldr r3, [r7, #4]
- 788 0014 9A62 str r2, [r3, #40]
- 4277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_usart.h **** }
- 789 .loc 1 4277 1
- 790 0016 C046 nop
- 791 0018 BD46 mov sp, r7
- 792 001a 02B0 add sp, sp, #8
- 793 @ sp needed
- 794 001c 80BD pop {r7, pc}
- 795 .cfi_endproc
- 796 .LFE682:
- 798 .section .text.LL_APB1_GRP1_DisableClock,"ax",%progbits
- 799 .align 1
- 800 .syntax unified
- 801 .code 16
- 802 .thumb_func
- 804 LL_APB1_GRP1_DisableClock:
- 805 .LFB698:
- 806 .file 3 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h"
- 1:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 2:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
- 3:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @file stm32g0xx_ll_bus.h
- 4:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @author MCD Application Team
- 5:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Header file of BUS LL module.
- 6:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 7:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @verbatim
- 8:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ##### RCC Limitations #####
- 9:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ==============================================================================
- 10:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
- 11:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral
- 12:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write
- 13:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** from/to registers.
- 14:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping.
- 15:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary
- 16:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 17:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** [..]
- 18:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** Workarounds:
- 19:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
- 20:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function.
- 21:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 22:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** @endverbatim
- 23:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
- 24:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @attention
- 25:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
- 26:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * Copyright (c) 2018 STMicroelectronics.
- 27:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * All rights reserved.
- 28:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** *
- 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
- 30:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * the root directory of this software component.
- 31:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 32:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** ******************************************************************************
- 33:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 34:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 35:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/
- 36:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifndef STM32G0xx_LL_BUS_H
- 37:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define STM32G0xx_LL_BUS_H
- 38:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 99
- 39:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #ifdef __cplusplus
- 40:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** extern "C" {
- 41:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif
- 42:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 43:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/
- 44:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #include "stm32g0xx.h"
- 45:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 46:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @addtogroup STM32G0xx_LL_Driver
- 47:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 48:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 49:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 50:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RCC)
- 51:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 52:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL BUS
- 53:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 54:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 55:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 56:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/
- 57:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/
- 58:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 59:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/
- 60:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 61:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/
- 62:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 63:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/
- 64:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/
- 65:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants
- 66:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 67:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 68:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 69:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH
- 70:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 71:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 72:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 73:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN
- 74:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DMA2)
- 75:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN
- 76:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DMA2 */
- 77:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLASHEN
- 78:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBSMENR_SRAMSMEN
- 79:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRC)
- 80:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN
- 81:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRC */
- 82:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(AES)
- 83:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRYP RCC_AHBENR_AESEN
- 84:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* AES */
- 85:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(RNG)
- 86:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_RNG RCC_AHBENR_RNGEN
- 87:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* RNG */
- 88:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 89:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 90:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 91:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 92:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 93:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH
- 94:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 95:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 100
- 96:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 97:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM2)
- 98:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APBENR1_TIM2EN
- 99:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM2 */
- 100:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM3)
- 101:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APBENR1_TIM3EN
- 102:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM3 */
- 103:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM4)
- 104:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APBENR1_TIM4EN
- 105:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM4 */
- 106:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM6)
- 107:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APBENR1_TIM6EN
- 108:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM6 */
- 109:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM7)
- 110:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APBENR1_TIM7EN
- 111:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM7 */
- 112:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART2)
- 113:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART2 RCC_APBENR1_LPUART2EN
- 114:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART2 */
- 115:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART5)
- 116:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART5 RCC_APBENR1_USART5EN
- 117:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART5 */
- 118:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART6)
- 119:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART6 RCC_APBENR1_USART6EN
- 120:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART6 */
- 121:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_RTC RCC_APBENR1_RTCAPBEN
- 122:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APBENR1_WWDGEN
- 123:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(FDCAN1) || defined(FDCAN2)
- 124:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_FDCAN RCC_APBENR1_FDCANEN
- 125:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* FDCAN1 */
- 126:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USB_DRD_FS)
- 127:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APBENR1_USBEN
- 128:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USB_DRD_FS */
- 129:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APBENR1_SPI2EN
- 130:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(SPI3)
- 131:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APBENR1_SPI3EN
- 132:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* SPI3 */
- 133:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CRS)
- 134:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CRS RCC_APBENR1_CRSEN
- 135:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CRS */
- 136:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APBENR1_USART2EN
- 137:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART3)
- 138:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APBENR1_USART3EN
- 139:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART3 */
- 140:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(USART4)
- 141:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART4 RCC_APBENR1_USART4EN
- 142:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* USART4 */
- 143:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPUART1)
- 144:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART1 RCC_APBENR1_LPUART1EN
- 145:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPUART1 */
- 146:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APBENR1_I2C1EN
- 147:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APBENR1_I2C2EN
- 148:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(I2C3)
- 149:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APBENR1_I2C3EN
- 150:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* I2C3 */
- 151:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(CEC)
- 152:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APBENR1_CECEN
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 101
- 153:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* CEC */
- 154:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD1)
- 155:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD1 RCC_APBENR1_UCPD1EN
- 156:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD1 */
- 157:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(UCPD2)
- 158:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UCPD2 RCC_APBENR1_UCPD2EN
- 159:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* UCPD2 */
- 160:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DBGMCU RCC_APBENR1_DBGEN
- 161:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APBENR1_PWREN
- 162:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(DAC1)
- 163:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APBENR1_DAC1EN
- 164:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* DAC1 */
- 165:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM2)
- 166:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM2 RCC_APBENR1_LPTIM2EN
- 167:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM2 */
- 168:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(LPTIM1)
- 169:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APBENR1_LPTIM1EN
- 170:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* LPTIM1 */
- 171:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 172:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 173:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 174:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 175:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH
- 176:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 177:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 178:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 179:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APBENR2_SYSCFGEN
- 180:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APBENR2_TIM1EN
- 181:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APBENR2_SPI1EN
- 182:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APBENR2_USART1EN
- 183:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM14)
- 184:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM14 RCC_APBENR2_TIM14EN
- 185:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM14 */
- 186:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM15)
- 187:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APBENR2_TIM15EN
- 188:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM15 */
- 189:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM16)
- 190:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APBENR2_TIM16EN
- 191:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM16 */
- 192:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(TIM17)
- 193:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APBENR2_TIM17EN
- 194:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* TIM17 */
- 195:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(ADC)
- 196:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC RCC_APBENR2_ADCEN
- 197:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* ADC */
- 198:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 199:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 200:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 201:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 202:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_IOP_GRP1_PERIPH IOP GRP1 PERIPH
- 203:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 204:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 205:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_ALL 0xFFFFFFFFU
- 206:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOA RCC_IOPENR_GPIOAEN
- 207:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOB RCC_IOPENR_GPIOBEN
- 208:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOC RCC_IOPENR_GPIOCEN
- 209:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOD RCC_IOPENR_GPIODEN
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 102
- 210:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOE)
- 211:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOE RCC_IOPENR_GPIOEEN
- 212:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOE */
- 213:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #if defined(GPIOF)
- 214:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOF RCC_IOPENR_GPIOFEN
- 215:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** #endif /* GPIOF */
- 216:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 217:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 218:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 219:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 220:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 221:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 222:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 223:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 224:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/
- 225:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/
- 226:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions
- 227:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 228:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 229:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 230:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1
- 231:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 232:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 233:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 234:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 235:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock.
- 236:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n
- 237:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_EnableClock\n
- 238:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n
- 239:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_EnableClock\n
- 240:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_EnableClock
- 241:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 242:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 243:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 244:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 245:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 246:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 247:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 248:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 249:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 250:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs)
- 251:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 252:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
- 253:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs);
- 254:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
- 255:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs);
- 256:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
- 257:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 258:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 259:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 260:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not
- 261:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n
- 262:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_IsEnabledClock\n
- 263:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n
- 264:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_IsEnabledClock\n
- 265:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_IsEnabledClock
- 266:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 103
- 267:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 268:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 269:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 270:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 271:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 272:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 273:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
- 274:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 275:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
- 276:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 277:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->AHBENR, Periphs) == Periphs) ? 1UL : 0UL);
- 278:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 279:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 280:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 281:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock.
- 282:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n
- 283:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR FLASHEN LL_AHB1_GRP1_DisableClock\n
- 284:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n
- 285:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR AESEN LL_AHB1_GRP1_DisableClock\n
- 286:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_DisableClock
- 287:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 288:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 289:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 290:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 291:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 292:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 293:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 294:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 295:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 296:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs)
- 297:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 298:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs);
- 299:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 300:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 301:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 302:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Force AHB1 peripherals reset.
- 303:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ForceReset\n
- 304:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ForceReset\n
- 305:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ForceReset\n
- 306:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ForceReset\n
- 307:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ForceReset
- 308:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 309:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
- 310:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 311:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 312:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 313:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 314:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 315:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 316:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 317:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 318:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs)
- 319:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 320:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs);
- 321:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 322:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 323:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 104
- 324:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Release AHB1 peripherals reset.
- 325:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBRSTR DMA1RST LL_AHB1_GRP1_ReleaseReset\n
- 326:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR FLASHRST LL_AHB1_GRP1_ReleaseReset\n
- 327:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n
- 328:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR AESRST LL_AHB1_GRP1_ReleaseReset\n
- 329:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ReleaseReset
- 330:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 331:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL
- 332:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 333:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 334:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 335:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 336:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 337:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 338:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 339:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 340:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs)
- 341:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 342:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs);
- 343:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 344:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 345:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 346:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable AHB1 peripheral clocks in Sleep and Stop modes
- 347:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 348:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 349:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 350:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 351:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_EnableClockStopSleep\n
- 352:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_EnableClockStopSleep
- 353:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 354:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 355:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 356:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
- 357:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 358:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 359:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 360:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 361:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 362:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 363:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClockStopSleep(uint32_t Periphs)
- 364:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 365:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
- 366:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->AHBSMENR, Periphs);
- 367:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
- 368:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBSMENR, Periphs);
- 369:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
- 370:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 371:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 372:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 373:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable AHB1 peripheral clocks in Sleep and Stop modes
- 374:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll AHBSMENR DMA1SMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 375:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR FLASHSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 376:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 377:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 378:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR AESSMEN LL_AHB1_GRP1_DisableClockStopSleep\n
- 379:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_DisableClockStopSleep
- 380:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 105
- 381:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1
- 382:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH
- 383:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM
- 384:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC
- 385:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*)
- 386:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*)
- 387:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note (*) RNG & CRYP Peripherals available only on STM32G081xx
- 388:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 389:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 390:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClockStopSleep(uint32_t Periphs)
- 391:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 392:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBSMENR, Periphs);
- 393:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 394:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 395:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 396:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @}
- 397:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 398:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 399:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1
- 400:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @{
- 401:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 402:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 403:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 404:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock.
- 405:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_EnableClock\n
- 406:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_EnableClock\n
- 407:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_EnableClock\n
- 408:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_EnableClock\n
- 409:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_EnableClock\n
- 410:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_EnableClock\n
- 411:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_EnableClock\n
- 412:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_EnableClock\n
- 413:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_EnableClock\n
- 414:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_EnableClock\n
- 415:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_EnableClock\n
- 416:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_EnableClock\n
- 417:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_EnableClock\n
- 418:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_EnableClock\n
- 419:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_EnableClock\n
- 420:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_EnableClock\n
- 421:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_EnableClock\n
- 422:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_EnableClock\n
- 423:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_EnableClock\n
- 424:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_EnableClock\n
- 425:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_EnableClock\n
- 426:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_EnableClock\n
- 427:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_EnableClock\n
- 428:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_EnableClock\n
- 429:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_EnableClock\n
- 430:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_EnableClock\n
- 431:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_EnableClock\n
- 432:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_EnableClock\n
- 433:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_EnableClock
- 434:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 435:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
- 436:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
- 437:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 106
- 438:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
- 439:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
- 440:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
- 441:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
- 442:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
- 443:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
- 444:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
- 445:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
- 446:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
- 447:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
- 448:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
- 449:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
- 450:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
- 451:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
- 452:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
- 453:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
- 454:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
- 455:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
- 456:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
- 457:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
- 458:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
- 459:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
- 460:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
- 461:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
- 462:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
- 463:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
- 464:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
- 465:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 466:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 467:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
- 468:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 469:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __IO uint32_t tmpreg;
- 470:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** SET_BIT(RCC->APBENR1, Periphs);
- 471:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */
- 472:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APBENR1, Periphs);
- 473:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** (void)tmpreg;
- 474:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 475:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 476:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 477:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not
- 478:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_IsEnabledClock\n
- 479:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_IsEnabledClock\n
- 480:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_IsEnabledClock\n
- 481:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_IsEnabledClock\n
- 482:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_IsEnabledClock\n
- 483:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_IsEnabledClock\n
- 484:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_IsEnabledClock\n
- 485:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_IsEnabledClock\n
- 486:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_IsEnabledClock\n
- 487:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_IsEnabledClock\n
- 488:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_IsEnabledClock\n
- 489:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_IsEnabledClock\n
- 490:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_IsEnabledClock\n
- 491:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_IsEnabledClock\n
- 492:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_IsEnabledClock\n
- 493:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_IsEnabledClock\n
- 494:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_IsEnabledClock\n
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 107
- 495:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_IsEnabledClock\n
- 496:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_IsEnabledClock\n
- 497:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_IsEnabledClock\n
- 498:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_IsEnabledClock\n
- 499:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_IsEnabledClock\n
- 500:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_IsEnabledClock\n
- 501:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_IsEnabledClock\n
- 502:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_IsEnabledClock\n
- 503:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_IsEnabledClock\n
- 504:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_IsEnabledClock\n
- 505:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_IsEnabledClock\n
- 506:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_IsEnabledClock
- 507:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 508:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
- 509:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
- 510:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
- 511:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
- 512:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
- 513:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
- 514:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
- 515:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
- 516:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
- 517:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
- 518:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
- 519:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
- 520:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
- 521:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
- 522:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
- 523:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
- 524:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
- 525:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
- 526:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
- 527:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
- 528:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
- 529:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
- 530:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
- 531:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
- 532:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
- 533:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
- 534:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
- 535:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
- 536:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
- 537:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
- 538:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval State of Periphs (1 or 0).
- 539:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- 540:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
- 541:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 542:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** return ((READ_BIT(RCC->APBENR1, Periphs) == (Periphs)) ? 1UL : 0UL);
- 543:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 544:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h ****
- 545:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** /**
- 546:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock.
- 547:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @rmtoll APBENR1 TIM2EN LL_APB1_GRP1_DisableClock\n
- 548:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM3EN LL_APB1_GRP1_DisableClock\n
- 549:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM4EN LL_APB1_GRP1_DisableClock\n
- 550:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM6EN LL_APB1_GRP1_DisableClock\n
- 551:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 TIM7EN LL_APB1_GRP1_DisableClock\n
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 108
- 552:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 RTCAPBEN LL_APB1_GRP1_DisableClock\n
- 553:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 WWDGEN LL_APB1_GRP1_DisableClock\n
- 554:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI2EN LL_APB1_GRP1_DisableClock\n
- 555:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 SPI3EN LL_APB1_GRP1_DisableClock\n
- 556:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART2EN LL_APB1_GRP1_DisableClock\n
- 557:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART3EN LL_APB1_GRP1_DisableClock\n
- 558:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART4EN LL_APB1_GRP1_DisableClock\n
- 559:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART5EN LL_APB1_GRP1_DisableClock\n
- 560:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USART6EN LL_APB1_GRP1_DisableClock\n
- 561:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART1EN LL_APB1_GRP1_DisableClock\n
- 562:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPUART2EN LL_APB1_GRP1_DisableClock\n
- 563:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C1EN LL_APB1_GRP1_DisableClock\n
- 564:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C2EN LL_APB1_GRP1_DisableClock\n
- 565:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 I2C3EN LL_APB1_GRP1_DisableClock\n
- 566:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 CECEN LL_APB1_GRP1_DisableClock\n
- 567:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD1EN LL_APB1_GRP1_DisableClock\n
- 568:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 UCPD2EN LL_APB1_GRP1_DisableClock\n
- 569:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 USBEN LL_APB1_GRP1_DisableClock\n
- 570:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 FDCANEN LL_APB1_GRP1_DisableClock\n
- 571:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DBGEN LL_APB1_GRP1_DisableClock\n
- 572:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 PWREN LL_APB1_GRP1_DisableClock\n
- 573:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 DAC1EN LL_APB1_GRP1_DisableClock\n
- 574:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM2EN LL_APB1_GRP1_DisableClock\n
- 575:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * APBENR1 LPTIM1EN LL_APB1_GRP1_DisableClock
- 576:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
- 577:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 (1)
- 578:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3
- 579:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (1)
- 580:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (1)
- 581:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (1)
- 582:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_RTC
- 583:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
- 584:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2
- 585:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (1)
- 586:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2
- 587:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (1)
- 588:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (1)
- 589:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (1)
- 590:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART6 (1)
- 591:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 (1)
- 592:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART2 (1)
- 593:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1
- 594:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2
- 595:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (1)
- 596:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (1)
- 597:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD1 (1)
- 598:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UCPD2 (1)
- 599:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (1)
- 600:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_FDCAN (1)
- 601:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DBGMCU
- 602:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR
- 603:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (1)
- 604:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM2 (1)
- 605:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 (1)
- 606:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @note Peripheral marked with (1) are not available all devices
- 607:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** * @retval None
- 608:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** */
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 109
- 609:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs)
- 610:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** {
- 807 .loc 3 610 1
- 808 .cfi_startproc
- 809 @ args = 0, pretend = 0, frame = 8
- 810 @ frame_needed = 1, uses_anonymous_args = 0
- 811 0000 80B5 push {r7, lr}
- 812 .LCFI39:
- 813 .cfi_def_cfa_offset 8
- 814 .cfi_offset 7, -8
- 815 .cfi_offset 14, -4
- 816 0002 82B0 sub sp, sp, #8
- 817 .LCFI40:
- 818 .cfi_def_cfa_offset 16
- 819 0004 00AF add r7, sp, #0
- 820 .LCFI41:
- 821 .cfi_def_cfa_register 7
- 822 0006 7860 str r0, [r7, #4]
- 611:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** CLEAR_BIT(RCC->APBENR1, Periphs);
- 823 .loc 3 611 3
- 824 0008 054B ldr r3, .L35
- 825 000a DA6B ldr r2, [r3, #60]
- 826 000c 7B68 ldr r3, [r7, #4]
- 827 000e D943 mvns r1, r3
- 828 0010 034B ldr r3, .L35
- 829 0012 0A40 ands r2, r1
- 830 0014 DA63 str r2, [r3, #60]
- 612:Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_bus.h **** }
- 831 .loc 3 612 1
- 832 0016 C046 nop
- 833 0018 BD46 mov sp, r7
- 834 001a 02B0 add sp, sp, #8
- 835 @ sp needed
- 836 001c 80BD pop {r7, pc}
- 837 .L36:
- 838 001e C046 .align 2
- 839 .L35:
- 840 0020 00100240 .word 1073876992
- 841 .cfi_endproc
- 842 .LFE698:
- 844 .global rtu_ctx
- 845 .section .bss.rtu_ctx,"aw",%nobits
- 846 .align 2
- 849 rtu_ctx:
- 850 0000 00000000 .space 232
- 850 00000000
- 850 00000000
- 850 00000000
- 850 00000000
- 851 .section .bss.rtu_last_wakeup_hour,"aw",%nobits
- 854 rtu_last_wakeup_hour:
- 855 0000 00 .space 1
- 856 .section .rodata
- 857 .align 2
- 858 .LC0:
- 859 0000 72747500 .ascii "rtu\000"
- 860 .section .text.rtu_init,"ax",%progbits
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 110
- 861 .align 1
- 862 .global rtu_init
- 863 .syntax unified
- 864 .code 16
- 865 .thumb_func
- 867 rtu_init:
- 868 .LFB939:
- 869 .file 4 "User/rtu.c"
- 1:User/rtu.c **** #include "rtu.h"
- 2:User/rtu.c **** #include "para.h"
- 3:User/rtu.c **** #include "main.h"
- 4:User/rtu.c **** #include "usart.h"
- 5:User/rtu.c **** #include "pm.h"
- 6:User/rtu.c **** #include "rtu.h"
- 7:User/rtu.c **** #include "usart.h"
- 8:User/rtu.c **** #include "crc.h"
- 9:User/rtu.c **** #include "rec.h"
- 10:User/rtu.c **** #include "string.h"
- 11:User/rtu.c **** #include "app_rtc.h"
- 12:User/rtu.c **** #include "sensor.h"
- 13:User/rtu.c **** #include "ymodem.h"
- 14:User/rtu.c ****
- 15:User/rtu.c **** #define diff_abs(a, b) ((a > b) ? (a - b) : (b - a))
- 16:User/rtu.c ****
- 17:User/rtu.c **** #define CMD_STATUS_REQ 0x01 // 状�查询
- 18:User/rtu.c **** #define CMD_UPLOAD_REC 0x02 // ä¸Šä¼ è®°å½•
- 19:User/rtu.c **** #define CMD_TIME_SYNC 0x03 // æ ¡æ—¶
- 20:User/rtu.c **** #define CMD_PARA_SYNC 0x04 // å�‚æ•°å�Œæ¥
- 21:User/rtu.c **** #define CMD_GET_REALTIME 0x05 // 获�实时数�
- 22:User/rtu.c **** #define CMD_POWERDOWN_NOTICE 0x06 // 通知�将掉电
- 23:User/rtu.c **** #define CMD_OTA_START 0x07 // 本地串� YMODEM �级
- 24:User/rtu.c ****
- 25:User/rtu.c **** typedef enum
- 26:User/rtu.c **** {
- 27:User/rtu.c **** RTU_STA_IDLE,
- 28:User/rtu.c **** RTU_STA_GET_STATUS,
- 29:User/rtu.c **** RTU_STA_CHK_ONLINE,
- 30:User/rtu.c **** RTU_STA_CHK_PARA,
- 31:User/rtu.c **** RTU_STA_CHK_OTA,
- 32:User/rtu.c **** RTU_STA_TIME_SYNC,
- 33:User/rtu.c **** RTU_STA_SND_REC,
- 34:User/rtu.c **** RTU_STA_WAIT_RESP,
- 35:User/rtu.c **** RTU_STA_WAIT_READY,
- 36:User/rtu.c **** RTU_STA_NOTYIFY_POWER_DOWN
- 37:User/rtu.c **** } rtu_sta_t;
- 38:User/rtu.c ****
- 39:User/rtu.c **** struct
- 40:User/rtu.c **** {
- 41:User/rtu.c **** uint8_t trig_src; // 0:计划 1:按键
- 42:User/rtu.c **** rtu_sta_t tsk_sta;
- 43:User/rtu.c **** rtu_sta_t next_sta;
- 44:User/rtu.c **** uint8_t last_cmd;
- 45:User/rtu.c **** uint32_t running_timer; // 总�行时间定时器
- 46:User/rtu.c **** uint32_t tsk_timer;
- 47:User/rtu.c **** uint32_t tsk_tmo;
- 48:User/rtu.c **** int rx_len;
- 49:User/rtu.c **** uint32_t rx_timer;
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 111
- 50:User/rtu.c **** uint8_t rx_buf[128];
- 51:User/rtu.c **** int online;
- 52:User/rtu.c **** int ota_ongoing;
- 53:User/rtu.c **** int time_syncd;
- 54:User/rtu.c **** int ota_chked;
- 55:User/rtu.c **** int para_chked;
- 56:User/rtu.c **** int photo_ongoing;
- 57:User/rtu.c **** int rec_ongoing;
- 58:User/rtu.c **** uint8_t power_down_ongoing;
- 59:User/rtu.c **** uint8_t power_down_cnt; // 切æ–rtu电æº�的倒计时,å�•ä½�ç§’
- 60:User/rtu.c **** struct
- 61:User/rtu.c **** {
- 62:User/rtu.c **** uint16_t count;
- 63:User/rtu.c **** uint16_t index[24];
- 64:User/rtu.c **** } rec_pack;
- 65:User/rtu.c **** } rtu_ctx;
- 66:User/rtu.c **** static uint8_t rtu_last_wakeup_hour = 0;
- 67:User/rtu.c ****
- 68:User/rtu.c **** void rtu_init(uint8_t trig_src)
- 69:User/rtu.c **** {
- 870 .loc 4 69 1
- 871 .cfi_startproc
- 872 @ args = 0, pretend = 0, frame = 8
- 873 @ frame_needed = 1, uses_anonymous_args = 0
- 874 0000 80B5 push {r7, lr}
- 875 .LCFI42:
- 876 .cfi_def_cfa_offset 8
- 877 .cfi_offset 7, -8
- 878 .cfi_offset 14, -4
- 879 0002 82B0 sub sp, sp, #8
- 880 .LCFI43:
- 881 .cfi_def_cfa_offset 16
- 882 0004 00AF add r7, sp, #0
- 883 .LCFI44:
- 884 .cfi_def_cfa_register 7
- 885 0006 0200 movs r2, r0
- 886 0008 FB1D adds r3, r7, #7
- 887 000a 1A70 strb r2, [r3]
- 70:User/rtu.c **** if (pm_get_lock("rtu") < 0)
- 888 .loc 4 70 9
- 889 000c 184B ldr r3, .L41
- 890 000e 1800 movs r0, r3
- 891 0010 FFF7FEFF bl pm_get_lock
- 892 0014 031E subs r3, r0, #0
- 893 .loc 4 70 8
- 894 0016 27DB blt .L40
- 71:User/rtu.c **** {
- 72:User/rtu.c **** return;
- 73:User/rtu.c **** }
- 74:User/rtu.c **** memset(&rtu_ctx, 0, sizeof(rtu_ctx));
- 895 .loc 4 74 5
- 896 0018 164B ldr r3, .L41+4
- 897 001a E822 movs r2, #232
- 898 001c 0021 movs r1, #0
- 899 001e 1800 movs r0, r3
- 900 0020 FFF7FEFF bl memset
- 75:User/rtu.c ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 112
- 76:User/rtu.c **** MX_USART2_UART_Init();
- 901 .loc 4 76 5
- 902 0024 FFF7FEFF bl MX_USART2_UART_Init
- 77:User/rtu.c **** LL_USART_EnableIT_RXNE(COM_RTU);
- 903 .loc 4 77 5
- 904 0028 134B ldr r3, .L41+8
- 905 002a 1800 movs r0, r3
- 906 002c FFF7FEFF bl LL_USART_EnableIT_RXNE_RXFNE
- 78:User/rtu.c ****
- 79:User/rtu.c **** // 打开电�
- 80:User/rtu.c **** HAL_GPIO_WritePin(PWR_RTU_GPIO_Port, PWR_RTU_Pin, GPIO_PIN_SET);
- 907 .loc 4 80 5
- 908 0030 A023 movs r3, #160
- 909 0032 DB05 lsls r3, r3, #23
- 910 0034 0122 movs r2, #1
- 911 0036 0121 movs r1, #1
- 912 0038 1800 movs r0, r3
- 913 003a FFF7FEFF bl HAL_GPIO_WritePin
- 81:User/rtu.c ****
- 82:User/rtu.c **** rtu_ctx.running_timer = HAL_GetTick();
- 914 .loc 4 82 29
- 915 003e FFF7FEFF bl HAL_GetTick
- 916 0042 0200 movs r2, r0
- 917 .loc 4 82 27
- 918 0044 0B4B ldr r3, .L41+4
- 919 0046 5A60 str r2, [r3, #4]
- 83:User/rtu.c ****
- 84:User/rtu.c **** // 暂时�处�ota
- 85:User/rtu.c **** rtu_ctx.ota_chked = 1;
- 920 .loc 4 85 23
- 921 0048 0A4B ldr r3, .L41+4
- 922 004a A422 movs r2, #164
- 923 004c 0121 movs r1, #1
- 924 004e 9950 str r1, [r3, r2]
- 86:User/rtu.c **** rtu_ctx.ota_ongoing = 0;
- 925 .loc 4 86 25
- 926 0050 084B ldr r3, .L41+4
- 927 0052 9C22 movs r2, #156
- 928 0054 0021 movs r1, #0
- 929 0056 9950 str r1, [r3, r2]
- 87:User/rtu.c ****
- 88:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
- 930 .loc 4 88 21
- 931 0058 064B ldr r3, .L41+4
- 932 005a 0122 movs r2, #1
- 933 005c 5A70 strb r2, [r3, #1]
- 89:User/rtu.c ****
- 90:User/rtu.c **** rtu_ctx.trig_src = trig_src;
- 934 .loc 4 90 22
- 935 005e 054B ldr r3, .L41+4
- 936 0060 FA1D adds r2, r7, #7
- 937 0062 1278 ldrb r2, [r2]
- 938 0064 1A70 strb r2, [r3]
- 939 0066 00E0 b .L37
- 940 .L40:
- 72:User/rtu.c **** }
- 941 .loc 4 72 9
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 113
- 942 0068 C046 nop
- 943 .L37:
- 91:User/rtu.c **** }
- 944 .loc 4 91 1
- 945 006a BD46 mov sp, r7
- 946 006c 02B0 add sp, sp, #8
- 947 @ sp needed
- 948 006e 80BD pop {r7, pc}
- 949 .L42:
- 950 .align 2
- 951 .L41:
- 952 0070 00000000 .word .LC0
- 953 0074 00000000 .word rtu_ctx
- 954 0078 00440040 .word 1073759232
- 955 .cfi_endproc
- 956 .LFE939:
- 958 .section .text.rtu_deinit,"ax",%progbits
- 959 .align 1
- 960 .global rtu_deinit
- 961 .syntax unified
- 962 .code 16
- 963 .thumb_func
- 965 rtu_deinit:
- 966 .LFB940:
- 92:User/rtu.c ****
- 93:User/rtu.c **** void rtu_deinit(void)
- 94:User/rtu.c **** {
- 967 .loc 4 94 1
- 968 .cfi_startproc
- 969 @ args = 0, pretend = 0, frame = 24
- 970 @ frame_needed = 1, uses_anonymous_args = 0
- 971 0000 80B5 push {r7, lr}
- 972 .LCFI45:
- 973 .cfi_def_cfa_offset 8
- 974 .cfi_offset 7, -8
- 975 .cfi_offset 14, -4
- 976 0002 86B0 sub sp, sp, #24
- 977 .LCFI46:
- 978 .cfi_def_cfa_offset 32
- 979 0004 00AF add r7, sp, #0
- 980 .LCFI47:
- 981 .cfi_def_cfa_register 7
- 95:User/rtu.c **** // å…³é—rtu电æº�
- 96:User/rtu.c **** HAL_GPIO_WritePin(PWR_RTU_GPIO_Port, PWR_RTU_Pin, GPIO_PIN_RESET);
- 982 .loc 4 96 5
- 983 0006 A023 movs r3, #160
- 984 0008 DB05 lsls r3, r3, #23
- 985 000a 0022 movs r2, #0
- 986 000c 0121 movs r1, #1
- 987 000e 1800 movs r0, r3
- 988 0010 FFF7FEFF bl HAL_GPIO_WritePin
- 97:User/rtu.c ****
- 98:User/rtu.c **** // 关闿‰€ä½¿ç”¨åˆ°çš„外设
- 99:User/rtu.c **** LL_USART_DisableIT_RXNE(COM_RTU);
- 989 .loc 4 99 5
- 990 0014 154B ldr r3, .L44
- 991 0016 1800 movs r0, r3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 114
- 992 0018 FFF7FEFF bl LL_USART_DisableIT_RXNE_RXFNE
- 100:User/rtu.c **** LL_USART_DeInit(COM_RTU);
- 993 .loc 4 100 5
- 994 001c 134B ldr r3, .L44
- 995 001e 1800 movs r0, r3
- 996 0020 FFF7FEFF bl LL_USART_DeInit
- 101:User/rtu.c **** LL_APB1_GRP1_DisableClock(LL_APB1_GRP1_PERIPH_USART2);
- 997 .loc 4 101 5
- 998 0024 8023 movs r3, #128
- 999 0026 9B02 lsls r3, r3, #10
- 1000 0028 1800 movs r0, r3
- 1001 002a FFF7FEFF bl LL_APB1_GRP1_DisableClock
- 102:User/rtu.c ****
- 103:User/rtu.c **** // 串�输入设置为模拟输入
- 104:User/rtu.c **** LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
- 1002 .loc 4 104 25
- 1003 002e 3B00 movs r3, r7
- 1004 0030 1800 movs r0, r3
- 1005 0032 1823 movs r3, #24
- 1006 0034 1A00 movs r2, r3
- 1007 0036 0021 movs r1, #0
- 1008 0038 FFF7FEFF bl memset
- 105:User/rtu.c **** GPIO_InitStruct.Pin = LL_GPIO_PIN_2 | LL_GPIO_PIN_3;
- 1009 .loc 4 105 25
- 1010 003c 3B00 movs r3, r7
- 1011 003e 0C22 movs r2, #12
- 1012 0040 1A60 str r2, [r3]
- 106:User/rtu.c **** GPIO_InitStruct.Mode = LL_GPIO_MODE_ANALOG;
- 1013 .loc 4 106 26
- 1014 0042 3B00 movs r3, r7
- 1015 0044 0322 movs r2, #3
- 1016 0046 5A60 str r2, [r3, #4]
- 107:User/rtu.c **** LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 1017 .loc 4 107 5
- 1018 0048 3A00 movs r2, r7
- 1019 004a A023 movs r3, #160
- 1020 004c DB05 lsls r3, r3, #23
- 1021 004e 1100 movs r1, r2
- 1022 0050 1800 movs r0, r3
- 1023 0052 FFF7FEFF bl LL_GPIO_Init
- 108:User/rtu.c ****
- 109:User/rtu.c **** // 释放功耗�
- 110:User/rtu.c **** pm_release_lock("rtu");
- 1024 .loc 4 110 5
- 1025 0056 064B ldr r3, .L44+4
- 1026 0058 1800 movs r0, r3
- 1027 005a FFF7FEFF bl pm_release_lock
- 111:User/rtu.c ****
- 112:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_IDLE;
- 1028 .loc 4 112 21
- 1029 005e 054B ldr r3, .L44+8
- 1030 0060 0022 movs r2, #0
- 1031 0062 5A70 strb r2, [r3, #1]
- 113:User/rtu.c **** }
- 1032 .loc 4 113 1
- 1033 0064 C046 nop
- 1034 0066 BD46 mov sp, r7
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 115
- 1035 0068 06B0 add sp, sp, #24
- 1036 @ sp needed
- 1037 006a 80BD pop {r7, pc}
- 1038 .L45:
- 1039 .align 2
- 1040 .L44:
- 1041 006c 00440040 .word 1073759232
- 1042 0070 00000000 .word .LC0
- 1043 0074 00000000 .word rtu_ctx
- 1044 .cfi_endproc
- 1045 .LFE940:
- 1047 .section .text.rtu_write,"ax",%progbits
- 1048 .align 1
- 1049 .syntax unified
- 1050 .code 16
- 1051 .thumb_func
- 1053 rtu_write:
- 1054 .LFB941:
- 114:User/rtu.c ****
- 115:User/rtu.c **** static void rtu_write(uint8_t *buf, int sz)
- 116:User/rtu.c **** {
- 1055 .loc 4 116 1
- 1056 .cfi_startproc
- 1057 @ args = 0, pretend = 0, frame = 16
- 1058 @ frame_needed = 1, uses_anonymous_args = 0
- 1059 0000 80B5 push {r7, lr}
- 1060 .LCFI48:
- 1061 .cfi_def_cfa_offset 8
- 1062 .cfi_offset 7, -8
- 1063 .cfi_offset 14, -4
- 1064 0002 84B0 sub sp, sp, #16
- 1065 .LCFI49:
- 1066 .cfi_def_cfa_offset 24
- 1067 0004 00AF add r7, sp, #0
- 1068 .LCFI50:
- 1069 .cfi_def_cfa_register 7
- 1070 0006 7860 str r0, [r7, #4]
- 1071 0008 3960 str r1, [r7]
- 117:User/rtu.c **** if (sz)
- 1072 .loc 4 117 8
- 1073 000a 3B68 ldr r3, [r7]
- 1074 000c 002B cmp r3, #0
- 1075 000e 19D0 beq .L51
- 1076 .LBB58:
- 118:User/rtu.c **** {
- 119:User/rtu.c **** for (int i = 0; i < sz; i++)
- 1077 .loc 4 119 18
- 1078 0010 0023 movs r3, #0
- 1079 0012 FB60 str r3, [r7, #12]
- 1080 .loc 4 119 9
- 1081 0014 12E0 b .L48
- 1082 .L50:
- 120:User/rtu.c **** {
- 121:User/rtu.c **** LL_USART_TransmitData8(COM_RTU, buf[i]);
- 1083 .loc 4 121 48
- 1084 0016 FB68 ldr r3, [r7, #12]
- 1085 0018 7A68 ldr r2, [r7, #4]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 116
- 1086 001a D318 adds r3, r2, r3
- 1087 .loc 4 121 13
- 1088 001c 1B78 ldrb r3, [r3]
- 1089 001e 0B4A ldr r2, .L52
- 1090 0020 1900 movs r1, r3
- 1091 0022 1000 movs r0, r2
- 1092 0024 FFF7FEFF bl LL_USART_TransmitData8
- 122:User/rtu.c **** while (!LL_USART_IsActiveFlag_TC(COM_RTU))
- 1093 .loc 4 122 19
- 1094 0028 C046 nop
- 1095 .L49:
- 1096 .loc 4 122 21 discriminator 1
- 1097 002a 084B ldr r3, .L52
- 1098 002c 1800 movs r0, r3
- 1099 002e FFF7FEFF bl LL_USART_IsActiveFlag_TC
- 1100 0032 031E subs r3, r0, #0
- 1101 .loc 4 122 19 discriminator 1
- 1102 0034 F9D0 beq .L49
- 119:User/rtu.c **** {
- 1103 .loc 4 119 34 discriminator 2
- 1104 0036 FB68 ldr r3, [r7, #12]
- 1105 0038 0133 adds r3, r3, #1
- 1106 003a FB60 str r3, [r7, #12]
- 1107 .L48:
- 119:User/rtu.c **** {
- 1108 .loc 4 119 9 discriminator 1
- 1109 003c FA68 ldr r2, [r7, #12]
- 1110 003e 3B68 ldr r3, [r7]
- 1111 0040 9A42 cmp r2, r3
- 1112 0042 E8DB blt .L50
- 1113 .L51:
- 1114 .LBE58:
- 123:User/rtu.c **** ;
- 124:User/rtu.c **** }
- 125:User/rtu.c **** }
- 126:User/rtu.c **** }
- 1115 .loc 4 126 1
- 1116 0044 C046 nop
- 1117 0046 BD46 mov sp, r7
- 1118 0048 04B0 add sp, sp, #16
- 1119 @ sp needed
- 1120 004a 80BD pop {r7, pc}
- 1121 .L53:
- 1122 .align 2
- 1123 .L52:
- 1124 004c 00440040 .word 1073759232
- 1125 .cfi_endproc
- 1126 .LFE941:
- 1128 .section .text.rtu_escape_data,"ax",%progbits
- 1129 .align 1
- 1130 .syntax unified
- 1131 .code 16
- 1132 .thumb_func
- 1134 rtu_escape_data:
- 1135 .LFB942:
- 127:User/rtu.c ****
- 128:User/rtu.c **** static int rtu_escape_data(uint8_t *src, int src_len, uint8_t *dst, int dst_size)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 117
- 129:User/rtu.c **** {
- 1136 .loc 4 129 1
- 1137 .cfi_startproc
- 1138 @ args = 0, pretend = 0, frame = 24
- 1139 @ frame_needed = 1, uses_anonymous_args = 0
- 1140 0000 80B5 push {r7, lr}
- 1141 .LCFI51:
- 1142 .cfi_def_cfa_offset 8
- 1143 .cfi_offset 7, -8
- 1144 .cfi_offset 14, -4
- 1145 0002 86B0 sub sp, sp, #24
- 1146 .LCFI52:
- 1147 .cfi_def_cfa_offset 32
- 1148 0004 00AF add r7, sp, #0
- 1149 .LCFI53:
- 1150 .cfi_def_cfa_register 7
- 1151 0006 F860 str r0, [r7, #12]
- 1152 0008 B960 str r1, [r7, #8]
- 1153 000a 7A60 str r2, [r7, #4]
- 1154 000c 3B60 str r3, [r7]
- 130:User/rtu.c **** int dst_len = 0;
- 1155 .loc 4 130 9
- 1156 000e 0023 movs r3, #0
- 1157 0010 7B61 str r3, [r7, #20]
- 1158 .LBB59:
- 131:User/rtu.c ****
- 132:User/rtu.c **** for (int i = 0; i < src_len && dst_len < dst_size - 1; i++)
- 1159 .loc 4 132 14
- 1160 0012 0023 movs r3, #0
- 1161 0014 3B61 str r3, [r7, #16]
- 1162 .loc 4 132 5
- 1163 0016 45E0 b .L55
- 1164 .L63:
- 133:User/rtu.c **** {
- 134:User/rtu.c **** if (src[i] == 0x7E)
- 1165 .loc 4 134 16
- 1166 0018 3B69 ldr r3, [r7, #16]
- 1167 001a FA68 ldr r2, [r7, #12]
- 1168 001c D318 adds r3, r2, r3
- 1169 001e 1B78 ldrb r3, [r3]
- 1170 .loc 4 134 12
- 1171 0020 7E2B cmp r3, #126
- 1172 0022 15D1 bne .L56
- 135:User/rtu.c **** {
- 136:User/rtu.c **** if (dst_len + 2 <= dst_size)
- 1173 .loc 4 136 29
- 1174 0024 7B69 ldr r3, [r7, #20]
- 1175 0026 0133 adds r3, r3, #1
- 1176 .loc 4 136 16
- 1177 0028 3A68 ldr r2, [r7]
- 1178 002a 9A42 cmp r2, r3
- 1179 002c 0DDD ble .L57
- 137:User/rtu.c **** {
- 138:User/rtu.c **** *dst++ = 0x7D;
- 1180 .loc 4 138 21
- 1181 002e 7B68 ldr r3, [r7, #4]
- 1182 0030 5A1C adds r2, r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 118
- 1183 0032 7A60 str r2, [r7, #4]
- 1184 .loc 4 138 24
- 1185 0034 7D22 movs r2, #125
- 1186 0036 1A70 strb r2, [r3]
- 139:User/rtu.c **** *dst++ = 0x5E;
- 1187 .loc 4 139 21
- 1188 0038 7B68 ldr r3, [r7, #4]
- 1189 003a 5A1C adds r2, r3, #1
- 1190 003c 7A60 str r2, [r7, #4]
- 1191 .loc 4 139 24
- 1192 003e 5E22 movs r2, #94
- 1193 0040 1A70 strb r2, [r3]
- 140:User/rtu.c **** dst_len += 2;
- 1194 .loc 4 140 25
- 1195 0042 7B69 ldr r3, [r7, #20]
- 1196 0044 0233 adds r3, r3, #2
- 1197 0046 7B61 str r3, [r7, #20]
- 1198 0048 29E0 b .L58
- 1199 .L57:
- 141:User/rtu.c **** }
- 142:User/rtu.c **** else
- 143:User/rtu.c **** {
- 144:User/rtu.c **** return -1; // �足空间进行转义
- 1200 .loc 4 144 24
- 1201 004a 0123 movs r3, #1
- 1202 004c 5B42 rsbs r3, r3, #0
- 1203 004e 33E0 b .L59
- 1204 .L56:
- 145:User/rtu.c **** }
- 146:User/rtu.c **** }
- 147:User/rtu.c **** else if (src[i] == 0x7D)
- 1205 .loc 4 147 21
- 1206 0050 3B69 ldr r3, [r7, #16]
- 1207 0052 FA68 ldr r2, [r7, #12]
- 1208 0054 D318 adds r3, r2, r3
- 1209 0056 1B78 ldrb r3, [r3]
- 1210 .loc 4 147 17
- 1211 0058 7D2B cmp r3, #125
- 1212 005a 15D1 bne .L60
- 148:User/rtu.c **** {
- 149:User/rtu.c **** if (dst_len + 2 <= dst_size)
- 1213 .loc 4 149 29
- 1214 005c 7B69 ldr r3, [r7, #20]
- 1215 005e 0133 adds r3, r3, #1
- 1216 .loc 4 149 16
- 1217 0060 3A68 ldr r2, [r7]
- 1218 0062 9A42 cmp r2, r3
- 1219 0064 0DDD ble .L61
- 150:User/rtu.c **** {
- 151:User/rtu.c **** *dst++ = 0x7D;
- 1220 .loc 4 151 21
- 1221 0066 7B68 ldr r3, [r7, #4]
- 1222 0068 5A1C adds r2, r3, #1
- 1223 006a 7A60 str r2, [r7, #4]
- 1224 .loc 4 151 24
- 1225 006c 7D22 movs r2, #125
- 1226 006e 1A70 strb r2, [r3]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 119
- 152:User/rtu.c **** *dst++ = 0x5D;
- 1227 .loc 4 152 21
- 1228 0070 7B68 ldr r3, [r7, #4]
- 1229 0072 5A1C adds r2, r3, #1
- 1230 0074 7A60 str r2, [r7, #4]
- 1231 .loc 4 152 24
- 1232 0076 5D22 movs r2, #93
- 1233 0078 1A70 strb r2, [r3]
- 153:User/rtu.c **** dst_len += 2;
- 1234 .loc 4 153 25
- 1235 007a 7B69 ldr r3, [r7, #20]
- 1236 007c 0233 adds r3, r3, #2
- 1237 007e 7B61 str r3, [r7, #20]
- 1238 0080 0DE0 b .L58
- 1239 .L61:
- 154:User/rtu.c **** }
- 155:User/rtu.c **** else
- 156:User/rtu.c **** {
- 157:User/rtu.c **** return -1; // �足空间进行转义
- 1240 .loc 4 157 24
- 1241 0082 0123 movs r3, #1
- 1242 0084 5B42 rsbs r3, r3, #0
- 1243 0086 17E0 b .L59
- 1244 .L60:
- 158:User/rtu.c **** }
- 159:User/rtu.c **** }
- 160:User/rtu.c **** else
- 161:User/rtu.c **** {
- 162:User/rtu.c **** *dst++ = src[i];
- 1245 .loc 4 162 25
- 1246 0088 3B69 ldr r3, [r7, #16]
- 1247 008a FA68 ldr r2, [r7, #12]
- 1248 008c D218 adds r2, r2, r3
- 1249 .loc 4 162 17
- 1250 008e 7B68 ldr r3, [r7, #4]
- 1251 0090 591C adds r1, r3, #1
- 1252 0092 7960 str r1, [r7, #4]
- 1253 .loc 4 162 25
- 1254 0094 1278 ldrb r2, [r2]
- 1255 .loc 4 162 20
- 1256 0096 1A70 strb r2, [r3]
- 163:User/rtu.c **** dst_len++;
- 1257 .loc 4 163 20
- 1258 0098 7B69 ldr r3, [r7, #20]
- 1259 009a 0133 adds r3, r3, #1
- 1260 009c 7B61 str r3, [r7, #20]
- 1261 .L58:
- 132:User/rtu.c **** {
- 1262 .loc 4 132 61 discriminator 2
- 1263 009e 3B69 ldr r3, [r7, #16]
- 1264 00a0 0133 adds r3, r3, #1
- 1265 00a2 3B61 str r3, [r7, #16]
- 1266 .L55:
- 132:User/rtu.c **** {
- 1267 .loc 4 132 5 discriminator 1
- 1268 00a4 3A69 ldr r2, [r7, #16]
- 1269 00a6 BB68 ldr r3, [r7, #8]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 120
- 1270 00a8 9A42 cmp r2, r3
- 1271 00aa 04DA bge .L62
- 132:User/rtu.c **** {
- 1272 .loc 4 132 55 discriminator 3
- 1273 00ac 3B68 ldr r3, [r7]
- 1274 00ae 013B subs r3, r3, #1
- 132:User/rtu.c **** {
- 1275 .loc 4 132 33 discriminator 3
- 1276 00b0 7A69 ldr r2, [r7, #20]
- 1277 00b2 9A42 cmp r2, r3
- 1278 00b4 B0DB blt .L63
- 1279 .L62:
- 1280 .LBE59:
- 164:User/rtu.c **** }
- 165:User/rtu.c **** }
- 166:User/rtu.c ****
- 167:User/rtu.c **** return dst_len;
- 1281 .loc 4 167 12
- 1282 00b6 7B69 ldr r3, [r7, #20]
- 1283 .L59:
- 168:User/rtu.c **** }
- 1284 .loc 4 168 1
- 1285 00b8 1800 movs r0, r3
- 1286 00ba BD46 mov sp, r7
- 1287 00bc 06B0 add sp, sp, #24
- 1288 @ sp needed
- 1289 00be 80BD pop {r7, pc}
- 1290 .cfi_endproc
- 1291 .LFE942:
- 1293 .section .text.rtu_send_pkt,"ax",%progbits
- 1294 .align 1
- 1295 .global rtu_send_pkt
- 1296 .syntax unified
- 1297 .code 16
- 1298 .thumb_func
- 1300 rtu_send_pkt:
- 1301 .LFB943:
- 169:User/rtu.c ****
- 170:User/rtu.c **** int rtu_send_pkt(uint8_t addr, uint8_t cmd, uint8_t *msg, uint16_t len)
- 171:User/rtu.c **** {
- 1302 .loc 4 171 1
- 1303 .cfi_startproc
- 1304 @ args = 0, pretend = 0, frame = 1048
- 1305 @ frame_needed = 1, uses_anonymous_args = 0
- 1306 0000 F0B5 push {r4, r5, r6, r7, lr}
- 1307 .LCFI54:
- 1308 .cfi_def_cfa_offset 20
- 1309 .cfi_offset 4, -20
- 1310 .cfi_offset 5, -16
- 1311 .cfi_offset 6, -12
- 1312 .cfi_offset 7, -8
- 1313 .cfi_offset 14, -4
- 1314 0002 714C ldr r4, .L69
- 1315 0004 A544 add sp, sp, r4
- 1316 .LCFI55:
- 1317 .cfi_def_cfa_offset 1072
- 1318 0006 00AF add r7, sp, #0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 121
- 1319 .LCFI56:
- 1320 .cfi_def_cfa_register 7
- 1321 0008 0400 movs r4, r0
- 1322 000a 0800 movs r0, r1
- 1323 000c 3A60 str r2, [r7]
- 1324 000e 1900 movs r1, r3
- 1325 0010 6E4B ldr r3, .L69+4
- 1326 0012 8325 movs r5, #131
- 1327 0014 ED00 lsls r5, r5, #3
- 1328 0016 5B19 adds r3, r3, r5
- 1329 0018 DB19 adds r3, r3, r7
- 1330 001a 221C adds r2, r4, #0
- 1331 001c 1A70 strb r2, [r3]
- 1332 001e 6C4B ldr r3, .L69+8
- 1333 0020 2C00 movs r4, r5
- 1334 0022 1B19 adds r3, r3, r4
- 1335 0024 DB19 adds r3, r3, r7
- 1336 0026 021C adds r2, r0, #0
- 1337 0028 1A70 strb r2, [r3]
- 1338 002a 6A4B ldr r3, .L69+12
- 1339 002c 2000 movs r0, r4
- 1340 002e 1B18 adds r3, r3, r0
- 1341 0030 DB19 adds r3, r3, r7
- 1342 0032 0A1C adds r2, r1, #0
- 1343 0034 1A80 strh r2, [r3]
- 172:User/rtu.c **** uint8_t buf[512];
- 173:User/rtu.c **** uint8_t escaped_buf[512];
- 174:User/rtu.c **** uint16_t crc;
- 175:User/rtu.c **** int escaped_len;
- 176:User/rtu.c ****
- 177:User/rtu.c **** int data_len = 0;
- 1344 .loc 4 177 9
- 1345 0036 0023 movs r3, #0
- 1346 0038 674C ldr r4, .L69+16
- 1347 003a 3A19 adds r2, r7, r4
- 1348 003c 1360 str r3, [r2]
- 178:User/rtu.c ****
- 179:User/rtu.c **** buf[data_len++] = addr;
- 1349 .loc 4 179 17
- 1350 003e 3B19 adds r3, r7, r4
- 1351 0040 1B68 ldr r3, [r3]
- 1352 0042 5A1C adds r2, r3, #1
- 1353 0044 3919 adds r1, r7, r4
- 1354 0046 0A60 str r2, [r1]
- 1355 .loc 4 179 21
- 1356 0048 644A ldr r2, .L69+20
- 1357 004a 1218 adds r2, r2, r0
- 1358 004c D219 adds r2, r2, r7
- 1359 004e 5F49 ldr r1, .L69+4
- 1360 0050 0918 adds r1, r1, r0
- 1361 0052 C919 adds r1, r1, r7
- 1362 0054 0978 ldrb r1, [r1]
- 1363 0056 D154 strb r1, [r2, r3]
- 180:User/rtu.c **** buf[data_len++] = cmd;
- 1364 .loc 4 180 17
- 1365 0058 3B19 adds r3, r7, r4
- 1366 005a 1B68 ldr r3, [r3]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 122
- 1367 005c 5A1C adds r2, r3, #1
- 1368 005e 3919 adds r1, r7, r4
- 1369 0060 0A60 str r2, [r1]
- 1370 .loc 4 180 21
- 1371 0062 5E4A ldr r2, .L69+20
- 1372 0064 1218 adds r2, r2, r0
- 1373 0066 D219 adds r2, r2, r7
- 1374 0068 5949 ldr r1, .L69+8
- 1375 006a 0918 adds r1, r1, r0
- 1376 006c C919 adds r1, r1, r7
- 1377 006e 0978 ldrb r1, [r1]
- 1378 0070 D154 strb r1, [r2, r3]
- 181:User/rtu.c **** if (len && msg)
- 1379 .loc 4 181 8
- 1380 0072 584B ldr r3, .L69+12
- 1381 0074 0100 movs r1, r0
- 1382 0076 1B18 adds r3, r3, r0
- 1383 0078 DB19 adds r3, r3, r7
- 1384 007a 1B88 ldrh r3, [r3]
- 1385 007c 002B cmp r3, #0
- 1386 007e 1BD0 beq .L65
- 1387 .loc 4 181 13 discriminator 1
- 1388 0080 3B68 ldr r3, [r7]
- 1389 0082 002B cmp r3, #0
- 1390 0084 18D0 beq .L65
- 182:User/rtu.c **** {
- 183:User/rtu.c **** memcpy(buf + data_len, msg, len);
- 1391 .loc 4 183 9
- 1392 0086 2500 movs r5, r4
- 1393 0088 3B19 adds r3, r7, r4
- 1394 008a 1B68 ldr r3, [r3]
- 1395 008c 8222 movs r2, #130
- 1396 008e 9200 lsls r2, r2, #2
- 1397 0090 BA18 adds r2, r7, r2
- 1398 0092 D018 adds r0, r2, r3
- 1399 0094 4F4B ldr r3, .L69+12
- 1400 0096 0C00 movs r4, r1
- 1401 0098 5B18 adds r3, r3, r1
- 1402 009a DB19 adds r3, r3, r7
- 1403 009c 1A88 ldrh r2, [r3]
- 1404 009e 3B68 ldr r3, [r7]
- 1405 00a0 1900 movs r1, r3
- 1406 00a2 FFF7FEFF bl memcpy
- 184:User/rtu.c **** data_len += len;
- 1407 .loc 4 184 18
- 1408 00a6 4B4B ldr r3, .L69+12
- 1409 00a8 1B19 adds r3, r3, r4
- 1410 00aa DB19 adds r3, r3, r7
- 1411 00ac 1B88 ldrh r3, [r3]
- 1412 00ae 7A19 adds r2, r7, r5
- 1413 00b0 1268 ldr r2, [r2]
- 1414 00b2 D318 adds r3, r2, r3
- 1415 00b4 7A19 adds r2, r7, r5
- 1416 00b6 1360 str r3, [r2]
- 1417 .L65:
- 185:User/rtu.c **** }
- 186:User/rtu.c **** crc = CRC16(buf, data_len);
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 123
- 1418 .loc 4 186 11
- 1419 00b8 474D ldr r5, .L69+16
- 1420 00ba 7B19 adds r3, r7, r5
- 1421 00bc 1B68 ldr r3, [r3]
- 1422 00be 9AB2 uxth r2, r3
- 1423 00c0 474E ldr r6, .L69+24
- 1424 00c2 BC19 adds r4, r7, r6
- 1425 00c4 8223 movs r3, #130
- 1426 00c6 9B00 lsls r3, r3, #2
- 1427 00c8 FB18 adds r3, r7, r3
- 1428 00ca 1100 movs r1, r2
- 1429 00cc 1800 movs r0, r3
- 1430 00ce FFF7FEFF bl CRC16
- 1431 00d2 0300 movs r3, r0
- 1432 00d4 2380 strh r3, [r4]
- 187:User/rtu.c **** buf[data_len++] = crc & 0xFF;
- 1433 .loc 4 187 17
- 1434 00d6 2800 movs r0, r5
- 1435 00d8 3A18 adds r2, r7, r0
- 1436 00da 1368 ldr r3, [r2]
- 1437 00dc 5A1C adds r2, r3, #1
- 1438 00de 3918 adds r1, r7, r0
- 1439 00e0 0A60 str r2, [r1]
- 1440 .loc 4 187 21
- 1441 00e2 BA19 adds r2, r7, r6
- 1442 00e4 1288 ldrh r2, [r2]
- 1443 00e6 D1B2 uxtb r1, r2
- 1444 00e8 3C4A ldr r2, .L69+20
- 1445 00ea 8324 movs r4, #131
- 1446 00ec E400 lsls r4, r4, #3
- 1447 00ee 1219 adds r2, r2, r4
- 1448 00f0 D219 adds r2, r2, r7
- 1449 00f2 D154 strb r1, [r2, r3]
- 188:User/rtu.c **** buf[data_len++] = crc >> 8;
- 1450 .loc 4 188 21
- 1451 00f4 BB19 adds r3, r7, r6
- 1452 00f6 1B88 ldrh r3, [r3]
- 1453 00f8 1B0A lsrs r3, r3, #8
- 1454 00fa 99B2 uxth r1, r3
- 1455 .loc 4 188 17
- 1456 00fc 3A18 adds r2, r7, r0
- 1457 00fe 1368 ldr r3, [r2]
- 1458 0100 5A1C adds r2, r3, #1
- 1459 0102 3D18 adds r5, r7, r0
- 1460 0104 2A60 str r2, [r5]
- 1461 .loc 4 188 21
- 1462 0106 C9B2 uxtb r1, r1
- 1463 0108 344A ldr r2, .L69+20
- 1464 010a 1219 adds r2, r2, r4
- 1465 010c D219 adds r2, r2, r7
- 1466 010e D154 strb r1, [r2, r3]
- 189:User/rtu.c ****
- 190:User/rtu.c **** // 对帧头和帧尾之间的所有数�进行转义
- 191:User/rtu.c **** escaped_len = rtu_escape_data(buf, data_len, escaped_buf, sizeof(escaped_buf));
- 1467 .loc 4 191 19
- 1468 0110 8023 movs r3, #128
- 1469 0112 9B00 lsls r3, r3, #2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 124
- 1470 0114 0822 movs r2, #8
- 1471 0116 BA18 adds r2, r7, r2
- 1472 0118 3918 adds r1, r7, r0
- 1473 011a 0968 ldr r1, [r1]
- 1474 011c 8220 movs r0, #130
- 1475 011e 8000 lsls r0, r0, #2
- 1476 0120 3818 adds r0, r7, r0
- 1477 0122 FFF7FEFF bl rtu_escape_data
- 1478 0126 0300 movs r3, r0
- 1479 0128 2E4A ldr r2, .L69+28
- 1480 012a B918 adds r1, r7, r2
- 1481 012c 0B60 str r3, [r1]
- 192:User/rtu.c **** if (escaped_len < 0)
- 1482 .loc 4 192 8
- 1483 012e BB18 adds r3, r7, r2
- 1484 0130 1B68 ldr r3, [r3]
- 1485 0132 002B cmp r3, #0
- 1486 0134 02DA bge .L66
- 193:User/rtu.c **** {
- 194:User/rtu.c **** return -1;
- 1487 .loc 4 194 16
- 1488 0136 0123 movs r3, #1
- 1489 0138 5B42 rsbs r3, r3, #0
- 1490 013a 3FE0 b .L68
- 1491 .L66:
- 195:User/rtu.c **** }
- 196:User/rtu.c ****
- 197:User/rtu.c **** int frame_len = 0;
- 1492 .loc 4 197 9
- 1493 013c 0023 movs r3, #0
- 1494 013e 8124 movs r4, #129
- 1495 0140 E400 lsls r4, r4, #3
- 1496 0142 3A19 adds r2, r7, r4
- 1497 0144 1360 str r3, [r2]
- 198:User/rtu.c ****
- 199:User/rtu.c **** buf[frame_len++] = 0x7D;
- 1498 .loc 4 199 18
- 1499 0146 3B19 adds r3, r7, r4
- 1500 0148 1B68 ldr r3, [r3]
- 1501 014a 5A1C adds r2, r3, #1
- 1502 014c 3919 adds r1, r7, r4
- 1503 014e 0A60 str r2, [r1]
- 1504 .loc 4 199 22
- 1505 0150 224A ldr r2, .L69+20
- 1506 0152 8325 movs r5, #131
- 1507 0154 ED00 lsls r5, r5, #3
- 1508 0156 5219 adds r2, r2, r5
- 1509 0158 D219 adds r2, r2, r7
- 1510 015a 7D21 movs r1, #125
- 1511 015c D154 strb r1, [r2, r3]
- 200:User/rtu.c **** memcpy(buf + frame_len, escaped_buf, escaped_len);
- 1512 .loc 4 200 5
- 1513 015e 3B19 adds r3, r7, r4
- 1514 0160 1B68 ldr r3, [r3]
- 1515 0162 8226 movs r6, #130
- 1516 0164 B600 lsls r6, r6, #2
- 1517 0166 BA19 adds r2, r7, r6
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 125
- 1518 0168 D318 adds r3, r2, r3
- 1519 016a 1E4A ldr r2, .L69+28
- 1520 016c B918 adds r1, r7, r2
- 1521 016e 0A68 ldr r2, [r1]
- 1522 0170 0821 movs r1, #8
- 1523 0172 7918 adds r1, r7, r1
- 1524 0174 1800 movs r0, r3
- 1525 0176 FFF7FEFF bl memcpy
- 201:User/rtu.c **** frame_len += escaped_len;
- 1526 .loc 4 201 15
- 1527 017a 3919 adds r1, r7, r4
- 1528 017c 0A68 ldr r2, [r1]
- 1529 017e 194B ldr r3, .L69+28
- 1530 0180 FB18 adds r3, r7, r3
- 1531 0182 1B68 ldr r3, [r3]
- 1532 0184 D318 adds r3, r2, r3
- 1533 0186 2000 movs r0, r4
- 1534 0188 3A18 adds r2, r7, r0
- 1535 018a 1360 str r3, [r2]
- 202:User/rtu.c **** buf[frame_len++] = 0x7E;
- 1536 .loc 4 202 18
- 1537 018c 3B18 adds r3, r7, r0
- 1538 018e 1B68 ldr r3, [r3]
- 1539 0190 5A1C adds r2, r3, #1
- 1540 0192 3918 adds r1, r7, r0
- 1541 0194 0A60 str r2, [r1]
- 1542 .loc 4 202 22
- 1543 0196 114A ldr r2, .L69+20
- 1544 0198 5219 adds r2, r2, r5
- 1545 019a D219 adds r2, r2, r7
- 1546 019c 7E21 movs r1, #126
- 1547 019e D154 strb r1, [r2, r3]
- 203:User/rtu.c ****
- 204:User/rtu.c **** rtu_write(buf, frame_len);
- 1548 .loc 4 204 5
- 1549 01a0 3B18 adds r3, r7, r0
- 1550 01a2 1A68 ldr r2, [r3]
- 1551 01a4 BB19 adds r3, r7, r6
- 1552 01a6 1100 movs r1, r2
- 1553 01a8 1800 movs r0, r3
- 1554 01aa FFF7FEFF bl rtu_write
- 205:User/rtu.c ****
- 206:User/rtu.c **** rtu_ctx.last_cmd = cmd;
- 1555 .loc 4 206 22
- 1556 01ae 0E4B ldr r3, .L69+32
- 1557 01b0 074A ldr r2, .L69+8
- 1558 01b2 5219 adds r2, r2, r5
- 1559 01b4 D219 adds r2, r2, r7
- 1560 01b6 1278 ldrb r2, [r2]
- 1561 01b8 DA70 strb r2, [r3, #3]
- 207:User/rtu.c **** return 0;
- 1562 .loc 4 207 12
- 1563 01ba 0023 movs r3, #0
- 1564 .L68:
- 208:User/rtu.c **** }
- 1565 .loc 4 208 1 discriminator 1
- 1566 01bc 1800 movs r0, r3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 126
- 1567 01be BD46 mov sp, r7
- 1568 01c0 0A4B ldr r3, .L69+36
- 1569 01c2 9D44 add sp, sp, r3
- 1570 @ sp needed
- 1571 01c4 F0BD pop {r4, r5, r6, r7, pc}
- 1572 .L70:
- 1573 01c6 C046 .align 2
- 1574 .L69:
- 1575 01c8 E4FBFFFF .word -1052
- 1576 01cc EFFBFFFF .word -1041
- 1577 01d0 EEFBFFFF .word -1042
- 1578 01d4 ECFBFFFF .word -1044
- 1579 01d8 14040000 .word 1044
- 1580 01dc F0FDFFFF .word -528
- 1581 01e0 12040000 .word 1042
- 1582 01e4 0C040000 .word 1036
- 1583 01e8 00000000 .word rtu_ctx
- 1584 01ec 1C040000 .word 1052
- 1585 .cfi_endproc
- 1586 .LFE943:
- 1588 .section .text.rtu_read,"ax",%progbits
- 1589 .align 1
- 1590 .global rtu_read
- 1591 .syntax unified
- 1592 .code 16
- 1593 .thumb_func
- 1595 rtu_read:
- 1596 .LFB944:
- 209:User/rtu.c ****
- 210:User/rtu.c **** int rtu_read(uint8_t *buf, int sz, int *len)
- 211:User/rtu.c **** {
- 1597 .loc 4 211 1
- 1598 .cfi_startproc
- 1599 @ args = 0, pretend = 0, frame = 24
- 1600 @ frame_needed = 1, uses_anonymous_args = 0
- 1601 0000 80B5 push {r7, lr}
- 1602 .LCFI57:
- 1603 .cfi_def_cfa_offset 8
- 1604 .cfi_offset 7, -8
- 1605 .cfi_offset 14, -4
- 1606 0002 86B0 sub sp, sp, #24
- 1607 .LCFI58:
- 1608 .cfi_def_cfa_offset 32
- 1609 0004 00AF add r7, sp, #0
- 1610 .LCFI59:
- 1611 .cfi_def_cfa_register 7
- 1612 0006 F860 str r0, [r7, #12]
- 1613 0008 B960 str r1, [r7, #8]
- 1614 000a 7A60 str r2, [r7, #4]
- 212:User/rtu.c **** if (rtu_ctx.rx_len > 0)
- 1615 .loc 4 212 16
- 1616 000c 154B ldr r3, .L75
- 1617 000e 1B69 ldr r3, [r3, #16]
- 1618 .loc 4 212 8
- 1619 0010 002B cmp r3, #0
- 1620 0012 22DD ble .L72
- 1621 .LBB60:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 127
- 213:User/rtu.c **** {
- 214:User/rtu.c **** int deltT = HAL_GetTick() - rtu_ctx.rx_timer;
- 1622 .loc 4 214 21
- 1623 0014 FFF7FEFF bl HAL_GetTick
- 1624 0018 0200 movs r2, r0
- 1625 .loc 4 214 44
- 1626 001a 124B ldr r3, .L75
- 1627 001c 5B69 ldr r3, [r3, #20]
- 1628 .loc 4 214 35
- 1629 001e D31A subs r3, r2, r3
- 1630 .loc 4 214 13
- 1631 0020 7B61 str r3, [r7, #20]
- 215:User/rtu.c **** if (deltT > 20)
- 1632 .loc 4 215 12
- 1633 0022 7B69 ldr r3, [r7, #20]
- 1634 0024 142B cmp r3, #20
- 1635 0026 18DD ble .L72
- 216:User/rtu.c **** {
- 217:User/rtu.c **** *len = rtu_ctx.rx_len;
- 1636 .loc 4 217 27
- 1637 0028 0E4B ldr r3, .L75
- 1638 002a 1A69 ldr r2, [r3, #16]
- 1639 .loc 4 217 18
- 1640 002c 7B68 ldr r3, [r7, #4]
- 1641 002e 1A60 str r2, [r3]
- 218:User/rtu.c **** if (*len > sz)
- 1642 .loc 4 218 17
- 1643 0030 7B68 ldr r3, [r7, #4]
- 1644 0032 1B68 ldr r3, [r3]
- 1645 .loc 4 218 16
- 1646 0034 BA68 ldr r2, [r7, #8]
- 1647 0036 9A42 cmp r2, r3
- 1648 0038 02DA bge .L73
- 219:User/rtu.c **** {
- 220:User/rtu.c **** *len = sz;
- 1649 .loc 4 220 22
- 1650 003a 7B68 ldr r3, [r7, #4]
- 1651 003c BA68 ldr r2, [r7, #8]
- 1652 003e 1A60 str r2, [r3]
- 1653 .L73:
- 221:User/rtu.c **** }
- 222:User/rtu.c **** memcpy(buf, (void *)rtu_ctx.rx_buf, rtu_ctx.rx_len);
- 1654 .loc 4 222 56
- 1655 0040 084B ldr r3, .L75
- 1656 0042 1B69 ldr r3, [r3, #16]
- 1657 .loc 4 222 13
- 1658 0044 1A00 movs r2, r3
- 1659 0046 0849 ldr r1, .L75+4
- 1660 0048 FB68 ldr r3, [r7, #12]
- 1661 004a 1800 movs r0, r3
- 1662 004c FFF7FEFF bl memcpy
- 223:User/rtu.c **** rtu_ctx.rx_len = 0;
- 1663 .loc 4 223 28
- 1664 0050 044B ldr r3, .L75
- 1665 0052 0022 movs r2, #0
- 1666 0054 1A61 str r2, [r3, #16]
- 224:User/rtu.c **** return 0;
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 128
- 1667 .loc 4 224 20
- 1668 0056 0023 movs r3, #0
- 1669 0058 00E0 b .L74
- 1670 .L72:
- 1671 .LBE60:
- 225:User/rtu.c **** }
- 226:User/rtu.c **** }
- 227:User/rtu.c ****
- 228:User/rtu.c **** return 1;
- 1672 .loc 4 228 12
- 1673 005a 0123 movs r3, #1
- 1674 .L74:
- 229:User/rtu.c **** }
- 1675 .loc 4 229 1
- 1676 005c 1800 movs r0, r3
- 1677 005e BD46 mov sp, r7
- 1678 0060 06B0 add sp, sp, #24
- 1679 @ sp needed
- 1680 0062 80BD pop {r7, pc}
- 1681 .L76:
- 1682 .align 2
- 1683 .L75:
- 1684 0064 00000000 .word rtu_ctx
- 1685 0068 18000000 .word rtu_ctx+24
- 1686 .cfi_endproc
- 1687 .LFE944:
- 1689 .section .text.rtu_parse_sta,"ax",%progbits
- 1690 .align 1
- 1691 .global rtu_parse_sta
- 1692 .syntax unified
- 1693 .code 16
- 1694 .thumb_func
- 1696 rtu_parse_sta:
- 1697 .LFB945:
- 230:User/rtu.c ****
- 231:User/rtu.c **** void rtu_parse_sta(uint32_t sta)
- 232:User/rtu.c **** {
- 1698 .loc 4 232 1
- 1699 .cfi_startproc
- 1700 @ args = 0, pretend = 0, frame = 8
- 1701 @ frame_needed = 1, uses_anonymous_args = 0
- 1702 0000 80B5 push {r7, lr}
- 1703 .LCFI60:
- 1704 .cfi_def_cfa_offset 8
- 1705 .cfi_offset 7, -8
- 1706 .cfi_offset 14, -4
- 1707 0002 82B0 sub sp, sp, #8
- 1708 .LCFI61:
- 1709 .cfi_def_cfa_offset 16
- 1710 0004 00AF add r7, sp, #0
- 1711 .LCFI62:
- 1712 .cfi_def_cfa_register 7
- 1713 0006 7860 str r0, [r7, #4]
- 233:User/rtu.c **** rtu_ctx.online = (sta & 0x01) ? 1 : 0;
- 1714 .loc 4 233 39
- 1715 0008 7B68 ldr r3, [r7, #4]
- 1716 000a 0122 movs r2, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 129
- 1717 000c 1A40 ands r2, r3
- 1718 .loc 4 233 20
- 1719 000e 0F4B ldr r3, .L78
- 1720 0010 9821 movs r1, #152
- 1721 0012 5A50 str r2, [r3, r1]
- 234:User/rtu.c **** rtu_ctx.ota_ongoing = (sta & 0x02) ? 1 : 0;
- 1722 .loc 4 234 44
- 1723 0014 7B68 ldr r3, [r7, #4]
- 1724 0016 5B08 lsrs r3, r3, #1
- 1725 0018 1A00 movs r2, r3
- 1726 001a 0123 movs r3, #1
- 1727 001c 1A40 ands r2, r3
- 1728 .loc 4 234 25
- 1729 001e 0B4B ldr r3, .L78
- 1730 0020 9C21 movs r1, #156
- 1731 0022 5A50 str r2, [r3, r1]
- 235:User/rtu.c **** rtu_ctx.photo_ongoing = (sta & 0x0c) >> 2;
- 1732 .loc 4 235 42
- 1733 0024 7B68 ldr r3, [r7, #4]
- 1734 0026 9B08 lsrs r3, r3, #2
- 1735 0028 1A00 movs r2, r3
- 1736 002a 0323 movs r3, #3
- 1737 002c 1A40 ands r2, r3
- 1738 .loc 4 235 27
- 1739 002e 074B ldr r3, .L78
- 1740 0030 AC21 movs r1, #172
- 1741 0032 5A50 str r2, [r3, r1]
- 236:User/rtu.c **** rtu_ctx.rec_ongoing = (sta & 0x30) >> 4;
- 1742 .loc 4 236 40
- 1743 0034 7B68 ldr r3, [r7, #4]
- 1744 0036 1B09 lsrs r3, r3, #4
- 1745 0038 1A00 movs r2, r3
- 1746 003a 0323 movs r3, #3
- 1747 003c 1A40 ands r2, r3
- 1748 .loc 4 236 25
- 1749 003e 034B ldr r3, .L78
- 1750 0040 B021 movs r1, #176
- 1751 0042 5A50 str r2, [r3, r1]
- 237:User/rtu.c **** }
- 1752 .loc 4 237 1
- 1753 0044 C046 nop
- 1754 0046 BD46 mov sp, r7
- 1755 0048 02B0 add sp, sp, #8
- 1756 @ sp needed
- 1757 004a 80BD pop {r7, pc}
- 1758 .L79:
- 1759 .align 2
- 1760 .L78:
- 1761 004c 00000000 .word rtu_ctx
- 1762 .cfi_endproc
- 1763 .LFE945:
- 1765 .section .text.rtu_pack_rec,"ax",%progbits
- 1766 .align 1
- 1767 .global rtu_pack_rec
- 1768 .syntax unified
- 1769 .code 16
- 1770 .thumb_func
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 130
- 1772 rtu_pack_rec:
- 1773 .LFB946:
- 238:User/rtu.c ****
- 239:User/rtu.c **** void rtu_pack_rec(uint8_t *buf, int sz)
- 240:User/rtu.c **** {
- 1774 .loc 4 240 1
- 1775 .cfi_startproc
- 1776 @ args = 0, pretend = 0, frame = 40
- 1777 @ frame_needed = 1, uses_anonymous_args = 0
- 1778 0000 B0B5 push {r4, r5, r7, lr}
- 1779 .LCFI63:
- 1780 .cfi_def_cfa_offset 16
- 1781 .cfi_offset 4, -16
- 1782 .cfi_offset 5, -12
- 1783 .cfi_offset 7, -8
- 1784 .cfi_offset 14, -4
- 1785 0002 8AB0 sub sp, sp, #40
- 1786 .LCFI64:
- 1787 .cfi_def_cfa_offset 56
- 1788 0004 00AF add r7, sp, #0
- 1789 .LCFI65:
- 1790 .cfi_def_cfa_register 7
- 1791 0006 7860 str r0, [r7, #4]
- 1792 0008 3960 str r1, [r7]
- 241:User/rtu.c **** uint16_t start_index = 0;
- 1793 .loc 4 241 14
- 1794 000a 2623 movs r3, #38
- 1795 000c FB18 adds r3, r7, r3
- 1796 000e 0022 movs r2, #0
- 1797 0010 1A80 strh r2, [r3]
- 242:User/rtu.c **** rec_data_t rec;
- 243:User/rtu.c ****
- 244:User/rtu.c **** rtu_ctx.rec_pack.count = 0;
- 1798 .loc 4 244 28
- 1799 0012 664B ldr r3, .L92
- 1800 0014 B622 movs r2, #182
- 1801 0016 0021 movs r1, #0
- 1802 0018 9952 strh r1, [r3, r2]
- 245:User/rtu.c **** if (!buf)
- 1803 .loc 4 245 8
- 1804 001a 7B68 ldr r3, [r7, #4]
- 1805 001c 002B cmp r3, #0
- 1806 001e 00D1 bne .LCB1474
- 1807 0020 BBE0 b .L89 @long jump
- 1808 .LCB1474:
- 1809 .LBB61:
- 246:User/rtu.c **** {
- 247:User/rtu.c **** return;
- 248:User/rtu.c **** }
- 249:User/rtu.c **** for (int i = 0; i < RECORD_MAX_COUNT; i++)
- 1810 .loc 4 249 14
- 1811 0022 0023 movs r3, #0
- 1812 0024 3B62 str r3, [r7, #32]
- 1813 .loc 4 249 5
- 1814 0026 B3E0 b .L83
- 1815 .L88:
- 250:User/rtu.c **** {
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 131
- 251:User/rtu.c **** if ((rtu_ctx.rec_pack.count + 1) * sizeof(rec_data_t) > sz)
- 1816 .loc 4 251 30
- 1817 0028 604B ldr r3, .L92
- 1818 002a B622 movs r2, #182
- 1819 002c 9B5A ldrh r3, [r3, r2]
- 1820 .loc 4 251 37
- 1821 002e 0133 adds r3, r3, #1
- 1822 0030 1A00 movs r2, r3
- 1823 .loc 4 251 42
- 1824 0032 1300 movs r3, r2
- 1825 0034 DB00 lsls r3, r3, #3
- 1826 0036 9B1A subs r3, r3, r2
- 1827 0038 5B00 lsls r3, r3, #1
- 1828 003a 1A00 movs r2, r3
- 1829 .loc 4 251 63
- 1830 003c 3B68 ldr r3, [r7]
- 1831 .loc 4 251 12
- 1832 003e 9A42 cmp r2, r3
- 1833 0040 00D9 bls .LCB1494
- 1834 0042 ACE0 b .L90 @long jump
- 1835 .LCB1494:
- 252:User/rtu.c **** {
- 253:User/rtu.c **** break;
- 254:User/rtu.c **** }
- 255:User/rtu.c **** if (rec_read(start_index, &rtu_ctx.rec_pack.index[rtu_ctx.rec_pack.count], &rec) == 0)
- 1836 .loc 4 255 75
- 1837 0044 594B ldr r3, .L92
- 1838 0046 B622 movs r2, #182
- 1839 0048 9B5A ldrh r3, [r3, r2]
- 1840 .loc 4 255 13
- 1841 004a 5833 adds r3, r3, #88
- 1842 004c 5A00 lsls r2, r3, #1
- 1843 004e 574B ldr r3, .L92
- 1844 0050 D318 adds r3, r2, r3
- 1845 0052 0833 adds r3, r3, #8
- 1846 0054 1900 movs r1, r3
- 1847 0056 0C24 movs r4, #12
- 1848 0058 3A19 adds r2, r7, r4
- 1849 005a 2625 movs r5, #38
- 1850 005c 7B19 adds r3, r7, r5
- 1851 005e 1B88 ldrh r3, [r3]
- 1852 0060 1800 movs r0, r3
- 1853 0062 FFF7FEFF bl rec_read
- 1854 0066 031E subs r3, r0, #0
- 1855 .loc 4 255 12
- 1856 0068 00D0 beq .LCB1513
- 1857 006a 9AE0 b .L91 @long jump
- 1858 .LCB1513:
- 1859 .LBB62:
- 256:User/rtu.c **** {
- 257:User/rtu.c **** uint8_t *p = &buf[sizeof(rec_data_t) * rtu_ctx.rec_pack.count];
- 1860 .loc 4 257 68
- 1861 006c 4F4B ldr r3, .L92
- 1862 006e B622 movs r2, #182
- 1863 0070 9B5A ldrh r3, [r3, r2]
- 1864 0072 1A00 movs r2, r3
- 1865 .loc 4 257 50
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 132
- 1866 0074 1300 movs r3, r2
- 1867 0076 DB00 lsls r3, r3, #3
- 1868 0078 9B1A subs r3, r3, r2
- 1869 007a 5B00 lsls r3, r3, #1
- 1870 007c 1A00 movs r2, r3
- 1871 .loc 4 257 22
- 1872 007e 7B68 ldr r3, [r7, #4]
- 1873 0080 9B18 adds r3, r3, r2
- 1874 0082 FB61 str r3, [r7, #28]
- 258:User/rtu.c ****
- 259:User/rtu.c **** *p++ = rec.timestamp >> 24;
- 1875 .loc 4 259 23
- 1876 0084 2000 movs r0, r4
- 1877 0086 3B18 adds r3, r7, r0
- 1878 0088 1B68 ldr r3, [r3]
- 1879 .loc 4 259 34
- 1880 008a 190E lsrs r1, r3, #24
- 1881 .loc 4 259 15
- 1882 008c FB69 ldr r3, [r7, #28]
- 1883 008e 5A1C adds r2, r3, #1
- 1884 0090 FA61 str r2, [r7, #28]
- 1885 .loc 4 259 18
- 1886 0092 CAB2 uxtb r2, r1
- 1887 0094 1A70 strb r2, [r3]
- 260:User/rtu.c **** *p++ = rec.timestamp >> 16;
- 1888 .loc 4 260 23
- 1889 0096 3B18 adds r3, r7, r0
- 1890 0098 1B68 ldr r3, [r3]
- 1891 .loc 4 260 34
- 1892 009a 190C lsrs r1, r3, #16
- 1893 .loc 4 260 15
- 1894 009c FB69 ldr r3, [r7, #28]
- 1895 009e 5A1C adds r2, r3, #1
- 1896 00a0 FA61 str r2, [r7, #28]
- 1897 .loc 4 260 18
- 1898 00a2 CAB2 uxtb r2, r1
- 1899 00a4 1A70 strb r2, [r3]
- 261:User/rtu.c **** *p++ = rec.timestamp >> 8;
- 1900 .loc 4 261 23
- 1901 00a6 3B18 adds r3, r7, r0
- 1902 00a8 1B68 ldr r3, [r3]
- 1903 .loc 4 261 34
- 1904 00aa 190A lsrs r1, r3, #8
- 1905 .loc 4 261 15
- 1906 00ac FB69 ldr r3, [r7, #28]
- 1907 00ae 5A1C adds r2, r3, #1
- 1908 00b0 FA61 str r2, [r7, #28]
- 1909 .loc 4 261 18
- 1910 00b2 CAB2 uxtb r2, r1
- 1911 00b4 1A70 strb r2, [r3]
- 262:User/rtu.c **** *p++ = rec.timestamp;
- 1912 .loc 4 262 23
- 1913 00b6 3B18 adds r3, r7, r0
- 1914 00b8 1968 ldr r1, [r3]
- 1915 .loc 4 262 15
- 1916 00ba FB69 ldr r3, [r7, #28]
- 1917 00bc 5A1C adds r2, r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 133
- 1918 00be FA61 str r2, [r7, #28]
- 1919 .loc 4 262 18
- 1920 00c0 CAB2 uxtb r2, r1
- 1921 00c2 1A70 strb r2, [r3]
- 263:User/rtu.c **** *p++ = rec.temperature >> 8;
- 1922 .loc 4 263 23
- 1923 00c4 3B18 adds r3, r7, r0
- 1924 00c6 9B88 ldrh r3, [r3, #4]
- 1925 .loc 4 263 18
- 1926 00c8 1B0A lsrs r3, r3, #8
- 1927 00ca 99B2 uxth r1, r3
- 1928 .loc 4 263 15
- 1929 00cc FB69 ldr r3, [r7, #28]
- 1930 00ce 5A1C adds r2, r3, #1
- 1931 00d0 FA61 str r2, [r7, #28]
- 1932 .loc 4 263 18
- 1933 00d2 CAB2 uxtb r2, r1
- 1934 00d4 1A70 strb r2, [r3]
- 264:User/rtu.c **** *p++ = rec.temperature;
- 1935 .loc 4 264 23
- 1936 00d6 3B18 adds r3, r7, r0
- 1937 00d8 9988 ldrh r1, [r3, #4]
- 1938 .loc 4 264 15
- 1939 00da FB69 ldr r3, [r7, #28]
- 1940 00dc 5A1C adds r2, r3, #1
- 1941 00de FA61 str r2, [r7, #28]
- 1942 .loc 4 264 18
- 1943 00e0 CAB2 uxtb r2, r1
- 1944 00e2 1A70 strb r2, [r3]
- 265:User/rtu.c **** *p++ = rec.humidity >> 8;
- 1945 .loc 4 265 23
- 1946 00e4 3B18 adds r3, r7, r0
- 1947 00e6 DB88 ldrh r3, [r3, #6]
- 1948 .loc 4 265 18
- 1949 00e8 1B0A lsrs r3, r3, #8
- 1950 00ea 99B2 uxth r1, r3
- 1951 .loc 4 265 15
- 1952 00ec FB69 ldr r3, [r7, #28]
- 1953 00ee 5A1C adds r2, r3, #1
- 1954 00f0 FA61 str r2, [r7, #28]
- 1955 .loc 4 265 18
- 1956 00f2 CAB2 uxtb r2, r1
- 1957 00f4 1A70 strb r2, [r3]
- 266:User/rtu.c **** *p++ = rec.humidity;
- 1958 .loc 4 266 23
- 1959 00f6 3B18 adds r3, r7, r0
- 1960 00f8 D988 ldrh r1, [r3, #6]
- 1961 .loc 4 266 15
- 1962 00fa FB69 ldr r3, [r7, #28]
- 1963 00fc 5A1C adds r2, r3, #1
- 1964 00fe FA61 str r2, [r7, #28]
- 1965 .loc 4 266 18
- 1966 0100 CAB2 uxtb r2, r1
- 1967 0102 1A70 strb r2, [r3]
- 267:User/rtu.c **** *p++ = rec.illuminance >> 24;
- 1968 .loc 4 267 23
- 1969 0104 3B18 adds r3, r7, r0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 134
- 1970 0106 9B68 ldr r3, [r3, #8]
- 1971 .loc 4 267 36
- 1972 0108 190E lsrs r1, r3, #24
- 1973 .loc 4 267 15
- 1974 010a FB69 ldr r3, [r7, #28]
- 1975 010c 5A1C adds r2, r3, #1
- 1976 010e FA61 str r2, [r7, #28]
- 1977 .loc 4 267 18
- 1978 0110 CAB2 uxtb r2, r1
- 1979 0112 1A70 strb r2, [r3]
- 268:User/rtu.c **** *p++ = rec.illuminance >> 16;
- 1980 .loc 4 268 23
- 1981 0114 3B18 adds r3, r7, r0
- 1982 0116 9B68 ldr r3, [r3, #8]
- 1983 .loc 4 268 36
- 1984 0118 190C lsrs r1, r3, #16
- 1985 .loc 4 268 15
- 1986 011a FB69 ldr r3, [r7, #28]
- 1987 011c 5A1C adds r2, r3, #1
- 1988 011e FA61 str r2, [r7, #28]
- 1989 .loc 4 268 18
- 1990 0120 CAB2 uxtb r2, r1
- 1991 0122 1A70 strb r2, [r3]
- 269:User/rtu.c **** *p++ = rec.illuminance >> 8;
- 1992 .loc 4 269 23
- 1993 0124 3B18 adds r3, r7, r0
- 1994 0126 9B68 ldr r3, [r3, #8]
- 1995 .loc 4 269 36
- 1996 0128 190A lsrs r1, r3, #8
- 1997 .loc 4 269 15
- 1998 012a FB69 ldr r3, [r7, #28]
- 1999 012c 5A1C adds r2, r3, #1
- 2000 012e FA61 str r2, [r7, #28]
- 2001 .loc 4 269 18
- 2002 0130 CAB2 uxtb r2, r1
- 2003 0132 1A70 strb r2, [r3]
- 270:User/rtu.c **** *p++ = rec.illuminance;
- 2004 .loc 4 270 23
- 2005 0134 3B18 adds r3, r7, r0
- 2006 0136 9968 ldr r1, [r3, #8]
- 2007 .loc 4 270 15
- 2008 0138 FB69 ldr r3, [r7, #28]
- 2009 013a 5A1C adds r2, r3, #1
- 2010 013c FA61 str r2, [r7, #28]
- 2011 .loc 4 270 18
- 2012 013e CAB2 uxtb r2, r1
- 2013 0140 1A70 strb r2, [r3]
- 271:User/rtu.c **** *p++ = rec.voltage >> 8;
- 2014 .loc 4 271 23
- 2015 0142 3B18 adds r3, r7, r0
- 2016 0144 9B89 ldrh r3, [r3, #12]
- 2017 .loc 4 271 18
- 2018 0146 1B0A lsrs r3, r3, #8
- 2019 0148 99B2 uxth r1, r3
- 2020 .loc 4 271 15
- 2021 014a FB69 ldr r3, [r7, #28]
- 2022 014c 5A1C adds r2, r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 135
- 2023 014e FA61 str r2, [r7, #28]
- 2024 .loc 4 271 18
- 2025 0150 CAB2 uxtb r2, r1
- 2026 0152 1A70 strb r2, [r3]
- 272:User/rtu.c **** *p++ = rec.voltage;
- 2027 .loc 4 272 23
- 2028 0154 3B18 adds r3, r7, r0
- 2029 0156 9989 ldrh r1, [r3, #12]
- 2030 .loc 4 272 15
- 2031 0158 FB69 ldr r3, [r7, #28]
- 2032 015a 5A1C adds r2, r3, #1
- 2033 015c FA61 str r2, [r7, #28]
- 2034 .loc 4 272 18
- 2035 015e CAB2 uxtb r2, r1
- 2036 0160 1A70 strb r2, [r3]
- 273:User/rtu.c ****
- 274:User/rtu.c **** start_index = rtu_ctx.rec_pack.index[rtu_ctx.rec_pack.count] + 1;
- 2037 .loc 4 274 66
- 2038 0162 124B ldr r3, .L92
- 2039 0164 B622 movs r2, #182
- 2040 0166 9B5A ldrh r3, [r3, r2]
- 2041 .loc 4 274 49
- 2042 0168 104A ldr r2, .L92
- 2043 016a 5833 adds r3, r3, #88
- 2044 016c 5B00 lsls r3, r3, #1
- 2045 016e D318 adds r3, r2, r3
- 2046 0170 0833 adds r3, r3, #8
- 2047 0172 1A88 ldrh r2, [r3]
- 2048 .loc 4 274 25
- 2049 0174 7B19 adds r3, r7, r5
- 2050 0176 0132 adds r2, r2, #1
- 2051 0178 1A80 strh r2, [r3]
- 275:User/rtu.c **** rtu_ctx.rec_pack.count++;
- 2052 .loc 4 275 29
- 2053 017a 0C4B ldr r3, .L92
- 2054 017c B622 movs r2, #182
- 2055 017e 9B5A ldrh r3, [r3, r2]
- 2056 .loc 4 275 35
- 2057 0180 0133 adds r3, r3, #1
- 2058 0182 99B2 uxth r1, r3
- 2059 0184 094B ldr r3, .L92
- 2060 0186 B622 movs r2, #182
- 2061 0188 9952 strh r1, [r3, r2]
- 2062 .LBE62:
- 249:User/rtu.c **** {
- 2063 .loc 4 249 44
- 2064 018a 3B6A ldr r3, [r7, #32]
- 2065 018c 0133 adds r3, r3, #1
- 2066 018e 3B62 str r3, [r7, #32]
- 2067 .L83:
- 249:User/rtu.c **** {
- 2068 .loc 4 249 23 discriminator 1
- 2069 0190 3B6A ldr r3, [r7, #32]
- 249:User/rtu.c **** {
- 2070 .loc 4 249 5 discriminator 1
- 2071 0192 772B cmp r3, #119
- 2072 0194 00D8 bhi .LCB1681
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 136
- 2073 0196 47E7 b .L88 @long jump
- 2074 .LCB1681:
- 2075 0198 04E0 b .L80
- 2076 .L89:
- 2077 .LBE61:
- 247:User/rtu.c **** }
- 2078 .loc 4 247 9
- 2079 019a C046 nop
- 2080 019c 02E0 b .L80
- 2081 .L90:
- 2082 .LBB63:
- 253:User/rtu.c **** }
- 2083 .loc 4 253 13
- 2084 019e C046 nop
- 2085 01a0 00E0 b .L80
- 2086 .L91:
- 276:User/rtu.c **** }
- 277:User/rtu.c **** else
- 278:User/rtu.c **** {
- 279:User/rtu.c **** break;
- 2087 .loc 4 279 13
- 2088 01a2 C046 nop
- 2089 .L80:
- 2090 .LBE63:
- 280:User/rtu.c **** }
- 281:User/rtu.c **** }
- 282:User/rtu.c **** }
- 2091 .loc 4 282 1
- 2092 01a4 BD46 mov sp, r7
- 2093 01a6 0AB0 add sp, sp, #40
- 2094 @ sp needed
- 2095 01a8 B0BD pop {r4, r5, r7, pc}
- 2096 .L93:
- 2097 01aa C046 .align 2
- 2098 .L92:
- 2099 01ac 00000000 .word rtu_ctx
- 2100 .cfi_endproc
- 2101 .LFE946:
- 2103 .section .text.rtu_unescape_data,"ax",%progbits
- 2104 .align 1
- 2105 .syntax unified
- 2106 .code 16
- 2107 .thumb_func
- 2109 rtu_unescape_data:
- 2110 .LFB947:
- 283:User/rtu.c ****
- 284:User/rtu.c **** static int rtu_unescape_data(const uint8_t *src, int src_len, uint8_t *dst, int dst_size)
- 285:User/rtu.c **** {
- 2111 .loc 4 285 1
- 2112 .cfi_startproc
- 2113 @ args = 0, pretend = 0, frame = 32
- 2114 @ frame_needed = 1, uses_anonymous_args = 0
- 2115 0000 80B5 push {r7, lr}
- 2116 .LCFI66:
- 2117 .cfi_def_cfa_offset 8
- 2118 .cfi_offset 7, -8
- 2119 .cfi_offset 14, -4
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 137
- 2120 0002 88B0 sub sp, sp, #32
- 2121 .LCFI67:
- 2122 .cfi_def_cfa_offset 40
- 2123 0004 00AF add r7, sp, #0
- 2124 .LCFI68:
- 2125 .cfi_def_cfa_register 7
- 2126 0006 F860 str r0, [r7, #12]
- 2127 0008 B960 str r1, [r7, #8]
- 2128 000a 7A60 str r2, [r7, #4]
- 2129 000c 3B60 str r3, [r7]
- 286:User/rtu.c **** const uint8_t *src_end = src + src_len;
- 2130 .loc 4 286 34
- 2131 000e BB68 ldr r3, [r7, #8]
- 2132 .loc 4 286 20
- 2133 0010 FA68 ldr r2, [r7, #12]
- 2134 0012 D318 adds r3, r2, r3
- 2135 0014 BB61 str r3, [r7, #24]
- 287:User/rtu.c **** uint8_t *dst_start = dst;
- 2136 .loc 4 287 14
- 2137 0016 7B68 ldr r3, [r7, #4]
- 2138 0018 7B61 str r3, [r7, #20]
- 288:User/rtu.c **** uint8_t *dst_end = dst + dst_size;
- 2139 .loc 4 288 28
- 2140 001a 3B68 ldr r3, [r7]
- 2141 .loc 4 288 14
- 2142 001c 7A68 ldr r2, [r7, #4]
- 2143 001e D318 adds r3, r2, r3
- 2144 0020 3B61 str r3, [r7, #16]
- 289:User/rtu.c ****
- 290:User/rtu.c **** while (src < src_end && dst < dst_end)
- 2145 .loc 4 290 11
- 2146 0022 32E0 b .L95
- 2147 .L102:
- 2148 .LBB64:
- 291:User/rtu.c **** {
- 292:User/rtu.c **** uint8_t byte = *src++;
- 2149 .loc 4 292 28
- 2150 0024 FB68 ldr r3, [r7, #12]
- 2151 0026 5A1C adds r2, r3, #1
- 2152 0028 FA60 str r2, [r7, #12]
- 2153 .loc 4 292 17
- 2154 002a 1F21 movs r1, #31
- 2155 002c 7A18 adds r2, r7, r1
- 2156 002e 1B78 ldrb r3, [r3]
- 2157 0030 1370 strb r3, [r2]
- 293:User/rtu.c **** if (byte == 0x7D)
- 2158 .loc 4 293 12
- 2159 0032 7B18 adds r3, r7, r1
- 2160 0034 1B78 ldrb r3, [r3]
- 2161 0036 7D2B cmp r3, #125
- 2162 0038 20D1 bne .L96
- 294:User/rtu.c **** {
- 295:User/rtu.c **** if (src < src_end)
- 2163 .loc 4 295 16
- 2164 003a FA68 ldr r2, [r7, #12]
- 2165 003c BB69 ldr r3, [r7, #24]
- 2166 003e 9A42 cmp r2, r3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 138
- 2167 0040 19D2 bcs .L97
- 296:User/rtu.c **** {
- 297:User/rtu.c **** byte = *src++;
- 2168 .loc 4 297 28
- 2169 0042 FB68 ldr r3, [r7, #12]
- 2170 0044 5A1C adds r2, r3, #1
- 2171 0046 FA60 str r2, [r7, #12]
- 2172 .loc 4 297 22
- 2173 0048 7A18 adds r2, r7, r1
- 2174 004a 1B78 ldrb r3, [r3]
- 2175 004c 1370 strb r3, [r2]
- 298:User/rtu.c **** if (byte == 0x5E)
- 2176 .loc 4 298 20
- 2177 004e 7B18 adds r3, r7, r1
- 2178 0050 1B78 ldrb r3, [r3]
- 2179 0052 5E2B cmp r3, #94
- 2180 0054 03D1 bne .L98
- 299:User/rtu.c **** {
- 300:User/rtu.c **** byte = 0x7E;
- 2181 .loc 4 300 26
- 2182 0056 7B18 adds r3, r7, r1
- 2183 0058 7E22 movs r2, #126
- 2184 005a 1A70 strb r2, [r3]
- 2185 005c 0EE0 b .L96
- 2186 .L98:
- 301:User/rtu.c **** }
- 302:User/rtu.c **** else if (byte == 0x5D)
- 2187 .loc 4 302 25
- 2188 005e 1F22 movs r2, #31
- 2189 0060 BB18 adds r3, r7, r2
- 2190 0062 1B78 ldrb r3, [r3]
- 2191 0064 5D2B cmp r3, #93
- 2192 0066 03D1 bne .L99
- 303:User/rtu.c **** {
- 304:User/rtu.c **** byte = 0x7D;
- 2193 .loc 4 304 26
- 2194 0068 BB18 adds r3, r7, r2
- 2195 006a 7D22 movs r2, #125
- 2196 006c 1A70 strb r2, [r3]
- 2197 006e 05E0 b .L96
- 2198 .L99:
- 305:User/rtu.c **** }
- 306:User/rtu.c **** else
- 307:User/rtu.c **** {
- 308:User/rtu.c **** return -1; // æ— æ•ˆçš„è½¬ä¹‰åº�列
- 2199 .loc 4 308 28
- 2200 0070 0123 movs r3, #1
- 2201 0072 5B42 rsbs r3, r3, #0
- 2202 0074 14E0 b .L100
- 2203 .L97:
- 309:User/rtu.c **** }
- 310:User/rtu.c **** }
- 311:User/rtu.c **** else
- 312:User/rtu.c **** {
- 313:User/rtu.c **** return -1; // 转义å—符å�Žé�¢æ²¡æœ‰æ•°æ�®
- 2204 .loc 4 313 24
- 2205 0076 0123 movs r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 139
- 2206 0078 5B42 rsbs r3, r3, #0
- 2207 007a 11E0 b .L100
- 2208 .L96:
- 314:User/rtu.c **** }
- 315:User/rtu.c **** }
- 316:User/rtu.c **** *dst++ = byte;
- 2209 .loc 4 316 13
- 2210 007c 7B68 ldr r3, [r7, #4]
- 2211 007e 5A1C adds r2, r3, #1
- 2212 0080 7A60 str r2, [r7, #4]
- 2213 .loc 4 316 16
- 2214 0082 1F22 movs r2, #31
- 2215 0084 BA18 adds r2, r7, r2
- 2216 0086 1278 ldrb r2, [r2]
- 2217 0088 1A70 strb r2, [r3]
- 2218 .L95:
- 2219 .LBE64:
- 290:User/rtu.c **** {
- 2220 .loc 4 290 11
- 2221 008a FA68 ldr r2, [r7, #12]
- 2222 008c BB69 ldr r3, [r7, #24]
- 2223 008e 9A42 cmp r2, r3
- 2224 0090 03D2 bcs .L101
- 290:User/rtu.c **** {
- 2225 .loc 4 290 26 discriminator 1
- 2226 0092 7A68 ldr r2, [r7, #4]
- 2227 0094 3B69 ldr r3, [r7, #16]
- 2228 0096 9A42 cmp r2, r3
- 2229 0098 C4D3 bcc .L102
- 2230 .L101:
- 317:User/rtu.c **** }
- 318:User/rtu.c ****
- 319:User/rtu.c **** return dst - dst_start;
- 2231 .loc 4 319 16
- 2232 009a 7A68 ldr r2, [r7, #4]
- 2233 009c 7B69 ldr r3, [r7, #20]
- 2234 009e D31A subs r3, r2, r3
- 2235 .L100:
- 320:User/rtu.c **** }
- 2236 .loc 4 320 1
- 2237 00a0 1800 movs r0, r3
- 2238 00a2 BD46 mov sp, r7
- 2239 00a4 08B0 add sp, sp, #32
- 2240 @ sp needed
- 2241 00a6 80BD pop {r7, pc}
- 2242 .cfi_endproc
- 2243 .LFE947:
- 2245 .section .text.rtu_send_realtime_data,"ax",%progbits
- 2246 .align 1
- 2247 .syntax unified
- 2248 .code 16
- 2249 .thumb_func
- 2251 rtu_send_realtime_data:
- 2252 .LFB948:
- 321:User/rtu.c ****
- 322:User/rtu.c **** // ��一�实时记录
- 323:User/rtu.c **** static void rtu_send_realtime_data(void)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 140
- 324:User/rtu.c **** {
- 2253 .loc 4 324 1
- 2254 .cfi_startproc
- 2255 @ args = 0, pretend = 0, frame = 40
- 2256 @ frame_needed = 1, uses_anonymous_args = 0
- 2257 0000 90B5 push {r4, r7, lr}
- 2258 .LCFI69:
- 2259 .cfi_def_cfa_offset 12
- 2260 .cfi_offset 4, -12
- 2261 .cfi_offset 7, -8
- 2262 .cfi_offset 14, -4
- 2263 0002 8BB0 sub sp, sp, #44
- 2264 .LCFI70:
- 2265 .cfi_def_cfa_offset 56
- 2266 0004 00AF add r7, sp, #0
- 2267 .LCFI71:
- 2268 .cfi_def_cfa_register 7
- 325:User/rtu.c **** uint8_t ack[14];
- 326:User/rtu.c **** sensor_data_t data;
- 327:User/rtu.c **** rtc_time_t time;
- 328:User/rtu.c **** uint32_t timestamp;
- 329:User/rtu.c ****
- 330:User/rtu.c **** rtc_get_time(&time);
- 2269 .loc 4 330 5
- 2270 0006 3B00 movs r3, r7
- 2271 0008 1800 movs r0, r3
- 2272 000a FFF7FEFF bl rtc_get_time
- 331:User/rtu.c **** timestamp = rtc_mktime(&time);
- 2273 .loc 4 331 17
- 2274 000e 3B00 movs r3, r7
- 2275 0010 1800 movs r0, r3
- 2276 0012 FFF7FEFF bl rtc_mktime
- 2277 0016 0300 movs r3, r0
- 2278 0018 7B62 str r3, [r7, #36]
- 332:User/rtu.c **** sensor_get_data(&data);
- 2279 .loc 4 332 5
- 2280 001a 0824 movs r4, #8
- 2281 001c 3B19 adds r3, r7, r4
- 2282 001e 1800 movs r0, r3
- 2283 0020 FFF7FEFF bl sensor_get_data
- 333:User/rtu.c **** data.voltage = data.voltage;
- 2284 .loc 4 333 24
- 2285 0024 2000 movs r0, r4
- 2286 0026 3B18 adds r3, r7, r0
- 2287 0028 1A89 ldrh r2, [r3, #8]
- 2288 .loc 4 333 18
- 2289 002a 3B18 adds r3, r7, r0
- 2290 002c 1A81 strh r2, [r3, #8]
- 334:User/rtu.c **** ack[0] = timestamp >> 24;
- 2291 .loc 4 334 24
- 2292 002e 7B6A ldr r3, [r7, #36]
- 2293 0030 1B0E lsrs r3, r3, #24
- 2294 .loc 4 334 12
- 2295 0032 DAB2 uxtb r2, r3
- 2296 0034 1421 movs r1, #20
- 2297 0036 7B18 adds r3, r7, r1
- 2298 0038 1A70 strb r2, [r3]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 141
- 335:User/rtu.c **** ack[1] = timestamp >> 16;
- 2299 .loc 4 335 24
- 2300 003a 7B6A ldr r3, [r7, #36]
- 2301 003c 1B0C lsrs r3, r3, #16
- 2302 .loc 4 335 12
- 2303 003e DAB2 uxtb r2, r3
- 2304 0040 7B18 adds r3, r7, r1
- 2305 0042 5A70 strb r2, [r3, #1]
- 336:User/rtu.c **** ack[2] = timestamp >> 8;
- 2306 .loc 4 336 24
- 2307 0044 7B6A ldr r3, [r7, #36]
- 2308 0046 1B0A lsrs r3, r3, #8
- 2309 .loc 4 336 12
- 2310 0048 DAB2 uxtb r2, r3
- 2311 004a 7B18 adds r3, r7, r1
- 2312 004c 9A70 strb r2, [r3, #2]
- 337:User/rtu.c **** ack[3] = timestamp;
- 2313 .loc 4 337 12
- 2314 004e 7B6A ldr r3, [r7, #36]
- 2315 0050 DAB2 uxtb r2, r3
- 2316 0052 7B18 adds r3, r7, r1
- 2317 0054 DA70 strb r2, [r3, #3]
- 338:User/rtu.c **** ack[4] = data.temperature >> 8;
- 2318 .loc 4 338 18
- 2319 0056 3B18 adds r3, r7, r0
- 2320 0058 0022 movs r2, #0
- 2321 005a 9B5E ldrsh r3, [r3, r2]
- 2322 .loc 4 338 12
- 2323 005c 1B12 asrs r3, r3, #8
- 2324 005e 1BB2 sxth r3, r3
- 2325 0060 DAB2 uxtb r2, r3
- 2326 0062 7B18 adds r3, r7, r1
- 2327 0064 1A71 strb r2, [r3, #4]
- 339:User/rtu.c **** ack[5] = data.temperature;
- 2328 .loc 4 339 18
- 2329 0066 3B18 adds r3, r7, r0
- 2330 0068 0022 movs r2, #0
- 2331 006a 9B5E ldrsh r3, [r3, r2]
- 2332 .loc 4 339 12
- 2333 006c DAB2 uxtb r2, r3
- 2334 006e 7B18 adds r3, r7, r1
- 2335 0070 5A71 strb r2, [r3, #5]
- 340:User/rtu.c **** ack[6] = data.humidity >> 8;
- 2336 .loc 4 340 18
- 2337 0072 3B18 adds r3, r7, r0
- 2338 0074 0222 movs r2, #2
- 2339 0076 9B5E ldrsh r3, [r3, r2]
- 2340 .loc 4 340 12
- 2341 0078 1B12 asrs r3, r3, #8
- 2342 007a 1BB2 sxth r3, r3
- 2343 007c DAB2 uxtb r2, r3
- 2344 007e 7B18 adds r3, r7, r1
- 2345 0080 9A71 strb r2, [r3, #6]
- 341:User/rtu.c **** ack[7] = data.humidity;
- 2346 .loc 4 341 18
- 2347 0082 3B18 adds r3, r7, r0
- 2348 0084 0222 movs r2, #2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 142
- 2349 0086 9B5E ldrsh r3, [r3, r2]
- 2350 .loc 4 341 12
- 2351 0088 DAB2 uxtb r2, r3
- 2352 008a 7B18 adds r3, r7, r1
- 2353 008c DA71 strb r2, [r3, #7]
- 342:User/rtu.c **** ack[8] = data.illuminance >> 24;
- 2354 .loc 4 342 18
- 2355 008e 3B18 adds r3, r7, r0
- 2356 0090 5B68 ldr r3, [r3, #4]
- 2357 .loc 4 342 31
- 2358 0092 1B0E lsrs r3, r3, #24
- 2359 .loc 4 342 12
- 2360 0094 DAB2 uxtb r2, r3
- 2361 0096 7B18 adds r3, r7, r1
- 2362 0098 1A72 strb r2, [r3, #8]
- 343:User/rtu.c **** ack[9] = data.illuminance >> 16;
- 2363 .loc 4 343 18
- 2364 009a 3B18 adds r3, r7, r0
- 2365 009c 5B68 ldr r3, [r3, #4]
- 2366 .loc 4 343 31
- 2367 009e 1B0C lsrs r3, r3, #16
- 2368 .loc 4 343 12
- 2369 00a0 DAB2 uxtb r2, r3
- 2370 00a2 7B18 adds r3, r7, r1
- 2371 00a4 5A72 strb r2, [r3, #9]
- 344:User/rtu.c **** ack[10] = data.illuminance >> 8;
- 2372 .loc 4 344 19
- 2373 00a6 3B18 adds r3, r7, r0
- 2374 00a8 5B68 ldr r3, [r3, #4]
- 2375 .loc 4 344 32
- 2376 00aa 1B0A lsrs r3, r3, #8
- 2377 .loc 4 344 13
- 2378 00ac DAB2 uxtb r2, r3
- 2379 00ae 7B18 adds r3, r7, r1
- 2380 00b0 9A72 strb r2, [r3, #10]
- 345:User/rtu.c **** ack[11] = data.illuminance;
- 2381 .loc 4 345 19
- 2382 00b2 3B18 adds r3, r7, r0
- 2383 00b4 5B68 ldr r3, [r3, #4]
- 2384 .loc 4 345 13
- 2385 00b6 DAB2 uxtb r2, r3
- 2386 00b8 7B18 adds r3, r7, r1
- 2387 00ba DA72 strb r2, [r3, #11]
- 346:User/rtu.c **** ack[12] = data.voltage >> 8;
- 2388 .loc 4 346 19
- 2389 00bc 3B18 adds r3, r7, r0
- 2390 00be 1B89 ldrh r3, [r3, #8]
- 2391 .loc 4 346 13
- 2392 00c0 1B0A lsrs r3, r3, #8
- 2393 00c2 9BB2 uxth r3, r3
- 2394 00c4 DAB2 uxtb r2, r3
- 2395 00c6 7B18 adds r3, r7, r1
- 2396 00c8 1A73 strb r2, [r3, #12]
- 347:User/rtu.c **** ack[13] = data.voltage;
- 2397 .loc 4 347 19
- 2398 00ca 3B18 adds r3, r7, r0
- 2399 00cc 1B89 ldrh r3, [r3, #8]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 143
- 2400 .loc 4 347 13
- 2401 00ce DAB2 uxtb r2, r3
- 2402 00d0 7B18 adds r3, r7, r1
- 2403 00d2 5A73 strb r2, [r3, #13]
- 348:User/rtu.c **** rtu_send_pkt(1, 0x05, ack, 14);
- 2404 .loc 4 348 5
- 2405 00d4 7A18 adds r2, r7, r1
- 2406 00d6 0E23 movs r3, #14
- 2407 00d8 0521 movs r1, #5
- 2408 00da 0120 movs r0, #1
- 2409 00dc FFF7FEFF bl rtu_send_pkt
- 349:User/rtu.c **** }
- 2410 .loc 4 349 1
- 2411 00e0 C046 nop
- 2412 00e2 BD46 mov sp, r7
- 2413 00e4 0BB0 add sp, sp, #44
- 2414 @ sp needed
- 2415 00e6 90BD pop {r4, r7, pc}
- 2416 .cfi_endproc
- 2417 .LFE948:
- 2419 .section .text.rtu_rx_proc,"ax",%progbits
- 2420 .align 1
- 2421 .global rtu_rx_proc
- 2422 .syntax unified
- 2423 .code 16
- 2424 .thumb_func
- 2426 rtu_rx_proc:
- 2427 .LFB949:
- 350:User/rtu.c ****
- 351:User/rtu.c **** int rtu_rx_proc(uint8_t *buf, int len)
- 352:User/rtu.c **** {
- 2428 .loc 4 352 1
- 2429 .cfi_startproc
- 2430 @ args = 0, pretend = 0, frame = 112
- 2431 @ frame_needed = 1, uses_anonymous_args = 0
- 2432 0000 F0B5 push {r4, r5, r6, r7, lr}
- 2433 .LCFI72:
- 2434 .cfi_def_cfa_offset 20
- 2435 .cfi_offset 4, -20
- 2436 .cfi_offset 5, -16
- 2437 .cfi_offset 6, -12
- 2438 .cfi_offset 7, -8
- 2439 .cfi_offset 14, -4
- 2440 0002 C646 mov lr, r8
- 2441 0004 00B5 push {lr}
- 2442 .LCFI73:
- 2443 .cfi_def_cfa_offset 24
- 2444 .cfi_offset 8, -24
- 2445 0006 9CB0 sub sp, sp, #112
- 2446 .LCFI74:
- 2447 .cfi_def_cfa_offset 136
- 2448 0008 00AF add r7, sp, #0
- 2449 .LCFI75:
- 2450 .cfi_def_cfa_register 7
- 2451 000a F861 str r0, [r7, #28]
- 2452 000c B961 str r1, [r7, #24]
- 353:User/rtu.c **** int processed = 0;
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 144
- 2453 .loc 4 353 9
- 2454 000e 0023 movs r3, #0
- 2455 0010 FB66 str r3, [r7, #108]
- 354:User/rtu.c ****
- 355:User/rtu.c **** while (len > 0)
- 2456 .loc 4 355 11
- 2457 0012 63E2 b .L105
- 2458 .L152:
- 2459 .LBB65:
- 356:User/rtu.c **** {
- 357:User/rtu.c **** // 查找帧头0x7D
- 358:User/rtu.c **** int frame_start = -1;
- 2460 .loc 4 358 13
- 2461 0014 0123 movs r3, #1
- 2462 0016 5B42 rsbs r3, r3, #0
- 2463 0018 BB66 str r3, [r7, #104]
- 2464 .LBB66:
- 359:User/rtu.c **** for (int i = 0; i < len; i++)
- 2465 .loc 4 359 18
- 2466 001a 0023 movs r3, #0
- 2467 001c 7B66 str r3, [r7, #100]
- 2468 .loc 4 359 9
- 2469 001e 22E0 b .L106
- 2470 .L111:
- 360:User/rtu.c **** {
- 361:User/rtu.c **** if (buf[i] == 0x7D)
- 2471 .loc 4 361 20
- 2472 0020 7B6E ldr r3, [r7, #100]
- 2473 0022 FA69 ldr r2, [r7, #28]
- 2474 0024 D318 adds r3, r2, r3
- 2475 0026 1B78 ldrb r3, [r3]
- 2476 .loc 4 361 16
- 2477 0028 7D2B cmp r3, #125
- 2478 002a 19D1 bne .L107
- 362:User/rtu.c **** {
- 363:User/rtu.c **** if (i + 1 < len)
- 2479 .loc 4 363 23
- 2480 002c 7B6E ldr r3, [r7, #100]
- 2481 002e 0133 adds r3, r3, #1
- 2482 .loc 4 363 20
- 2483 0030 BA69 ldr r2, [r7, #24]
- 2484 0032 9A42 cmp r2, r3
- 2485 0034 11DD ble .L108
- 364:User/rtu.c **** {
- 365:User/rtu.c **** if (buf[i + 1] == 0x5E || buf[i + 1] == 0x5D)
- 2486 .loc 4 365 28
- 2487 0036 7B6E ldr r3, [r7, #100]
- 2488 0038 0133 adds r3, r3, #1
- 2489 003a FA69 ldr r2, [r7, #28]
- 2490 003c D318 adds r3, r2, r3
- 2491 003e 1B78 ldrb r3, [r3]
- 2492 .loc 4 365 24
- 2493 0040 5E2B cmp r3, #94
- 2494 0042 06D0 beq .L109
- 2495 .loc 4 365 50 discriminator 1
- 2496 0044 7B6E ldr r3, [r7, #100]
- 2497 0046 0133 adds r3, r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 145
- 2498 0048 FA69 ldr r2, [r7, #28]
- 2499 004a D318 adds r3, r2, r3
- 2500 004c 1B78 ldrb r3, [r3]
- 2501 .loc 4 365 44 discriminator 1
- 2502 004e 5D2B cmp r3, #93
- 2503 0050 03D1 bne .L108
- 2504 .L109:
- 366:User/rtu.c **** {
- 367:User/rtu.c **** i++;
- 2505 .loc 4 367 26
- 2506 0052 7B6E ldr r3, [r7, #100]
- 2507 0054 0133 adds r3, r3, #1
- 2508 0056 7B66 str r3, [r7, #100]
- 368:User/rtu.c **** continue;
- 2509 .loc 4 368 25
- 2510 0058 02E0 b .L107
- 2511 .L108:
- 369:User/rtu.c **** }
- 370:User/rtu.c **** }
- 371:User/rtu.c **** frame_start = i;
- 2512 .loc 4 371 29
- 2513 005a 7B6E ldr r3, [r7, #100]
- 2514 005c BB66 str r3, [r7, #104]
- 372:User/rtu.c **** break;
- 2515 .loc 4 372 17
- 2516 005e 06E0 b .L110
- 2517 .L107:
- 359:User/rtu.c **** {
- 2518 .loc 4 359 35 discriminator 2
- 2519 0060 7B6E ldr r3, [r7, #100]
- 2520 0062 0133 adds r3, r3, #1
- 2521 0064 7B66 str r3, [r7, #100]
- 2522 .L106:
- 359:User/rtu.c **** {
- 2523 .loc 4 359 9 discriminator 1
- 2524 0066 7A6E ldr r2, [r7, #100]
- 2525 0068 BB69 ldr r3, [r7, #24]
- 2526 006a 9A42 cmp r2, r3
- 2527 006c D8DB blt .L111
- 2528 .L110:
- 2529 .LBE66:
- 373:User/rtu.c **** }
- 374:User/rtu.c **** }
- 375:User/rtu.c ****
- 376:User/rtu.c **** if (frame_start < 0)
- 2530 .loc 4 376 12
- 2531 006e BB6E ldr r3, [r7, #104]
- 2532 0070 002B cmp r3, #0
- 2533 0072 00DA bge .LCB2098
- 2534 0074 37E2 b .L156 @long jump
- 2535 .LCB2098:
- 377:User/rtu.c **** {
- 378:User/rtu.c **** break;
- 379:User/rtu.c **** }
- 380:User/rtu.c ****
- 381:User/rtu.c **** if (frame_start > 0)
- 2536 .loc 4 381 12
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 146
- 2537 0076 BB6E ldr r3, [r7, #104]
- 2538 0078 002B cmp r3, #0
- 2539 007a 07DD ble .L114
- 382:User/rtu.c **** {
- 383:User/rtu.c **** buf += frame_start;
- 2540 .loc 4 383 17
- 2541 007c BB6E ldr r3, [r7, #104]
- 2542 007e FA69 ldr r2, [r7, #28]
- 2543 0080 D318 adds r3, r2, r3
- 2544 0082 FB61 str r3, [r7, #28]
- 384:User/rtu.c **** len -= frame_start;
- 2545 .loc 4 384 17
- 2546 0084 BA69 ldr r2, [r7, #24]
- 2547 0086 BB6E ldr r3, [r7, #104]
- 2548 0088 D31A subs r3, r2, r3
- 2549 008a BB61 str r3, [r7, #24]
- 2550 .L114:
- 385:User/rtu.c **** }
- 386:User/rtu.c ****
- 387:User/rtu.c **** if (len < 6)
- 2551 .loc 4 387 12
- 2552 008c BB69 ldr r3, [r7, #24]
- 2553 008e 052B cmp r3, #5
- 2554 0090 00DC bgt .LCB2114
- 2555 0092 2AE2 b .L157 @long jump
- 2556 .LCB2114:
- 388:User/rtu.c **** {
- 389:User/rtu.c **** break;
- 390:User/rtu.c **** }
- 391:User/rtu.c ****
- 392:User/rtu.c **** // 查找帧尾 0x7E
- 393:User/rtu.c **** int frame_end = -1;
- 2557 .loc 4 393 13
- 2558 0094 0123 movs r3, #1
- 2559 0096 5B42 rsbs r3, r3, #0
- 2560 0098 3B66 str r3, [r7, #96]
- 2561 .LBB67:
- 394:User/rtu.c **** for (int i = 1; i < len; i++)
- 2562 .loc 4 394 18
- 2563 009a 0123 movs r3, #1
- 2564 009c FB65 str r3, [r7, #92]
- 2565 .loc 4 394 9
- 2566 009e 0BE0 b .L116
- 2567 .L119:
- 395:User/rtu.c **** {
- 396:User/rtu.c **** if (buf[i] == 0x7E)
- 2568 .loc 4 396 20
- 2569 00a0 FB6D ldr r3, [r7, #92]
- 2570 00a2 FA69 ldr r2, [r7, #28]
- 2571 00a4 D318 adds r3, r2, r3
- 2572 00a6 1B78 ldrb r3, [r3]
- 2573 .loc 4 396 16
- 2574 00a8 7E2B cmp r3, #126
- 2575 00aa 02D1 bne .L117
- 397:User/rtu.c **** {
- 398:User/rtu.c **** frame_end = i;
- 2576 .loc 4 398 27
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 147
- 2577 00ac FB6D ldr r3, [r7, #92]
- 2578 00ae 3B66 str r3, [r7, #96]
- 399:User/rtu.c **** break;
- 2579 .loc 4 399 17
- 2580 00b0 06E0 b .L118
- 2581 .L117:
- 394:User/rtu.c **** {
- 2582 .loc 4 394 35 discriminator 2
- 2583 00b2 FB6D ldr r3, [r7, #92]
- 2584 00b4 0133 adds r3, r3, #1
- 2585 00b6 FB65 str r3, [r7, #92]
- 2586 .L116:
- 394:User/rtu.c **** {
- 2587 .loc 4 394 9 discriminator 1
- 2588 00b8 FA6D ldr r2, [r7, #92]
- 2589 00ba BB69 ldr r3, [r7, #24]
- 2590 00bc 9A42 cmp r2, r3
- 2591 00be EFDB blt .L119
- 2592 .L118:
- 2593 .LBE67:
- 400:User/rtu.c **** }
- 401:User/rtu.c **** }
- 402:User/rtu.c ****
- 403:User/rtu.c **** if (frame_end < 0)
- 2594 .loc 4 403 12
- 2595 00c0 3B6E ldr r3, [r7, #96]
- 2596 00c2 002B cmp r3, #0
- 2597 00c4 00DA bge .LCB2150
- 2598 00c6 12E2 b .L158 @long jump
- 2599 .LCB2150:
- 404:User/rtu.c **** {
- 405:User/rtu.c **** break;
- 406:User/rtu.c **** }
- 407:User/rtu.c ****
- 408:User/rtu.c **** // ��完整帧进行处�
- 409:User/rtu.c **** int frame_len = frame_end + 1;
- 2600 .loc 4 409 13
- 2601 00c8 3B6E ldr r3, [r7, #96]
- 2602 00ca 0133 adds r3, r3, #1
- 2603 00cc 7B65 str r3, [r7, #84]
- 410:User/rtu.c ****
- 411:User/rtu.c **** // 检查帧长度有效性
- 412:User/rtu.c **** if (frame_len < 6)
- 2604 .loc 4 412 12
- 2605 00ce 7B6D ldr r3, [r7, #84]
- 2606 00d0 052B cmp r3, #5
- 2607 00d2 08DC bgt .L121
- 413:User/rtu.c **** {
- 414:User/rtu.c **** buf += frame_len;
- 2608 .loc 4 414 17
- 2609 00d4 7B6D ldr r3, [r7, #84]
- 2610 00d6 FA69 ldr r2, [r7, #28]
- 2611 00d8 D318 adds r3, r2, r3
- 2612 00da FB61 str r3, [r7, #28]
- 415:User/rtu.c **** len -= frame_len;
- 2613 .loc 4 415 17
- 2614 00dc BA69 ldr r2, [r7, #24]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 148
- 2615 00de 7B6D ldr r3, [r7, #84]
- 2616 00e0 D31A subs r3, r2, r3
- 2617 00e2 BB61 str r3, [r7, #24]
- 416:User/rtu.c **** continue;
- 2618 .loc 4 416 13
- 2619 00e4 FAE1 b .L105
- 2620 .L121:
- 417:User/rtu.c **** }
- 418:User/rtu.c ****
- 419:User/rtu.c **** // 将已ç»�转义的å—节æ�¢å¤�
- 420:User/rtu.c **** uint8_t unescaped_buf[frame_len - 2]; // �包括起始符和结�符
- 2621 .loc 4 420 41
- 2622 00e6 7B6D ldr r3, [r7, #84]
- 2623 00e8 9A1E subs r2, r3, #2
- 2624 .loc 4 420 9
- 2625 00ea 6B46 mov r3, sp
- 2626 00ec 9846 mov r8, r3
- 2627 .loc 4 420 17
- 2628 00ee 531E subs r3, r2, #1
- 2629 00f0 3B65 str r3, [r7, #80]
- 2630 00f2 1300 movs r3, r2
- 2631 00f4 BB60 str r3, [r7, #8]
- 2632 00f6 0023 movs r3, #0
- 2633 00f8 FB60 str r3, [r7, #12]
- 2634 00fa B868 ldr r0, [r7, #8]
- 2635 00fc F968 ldr r1, [r7, #12]
- 2636 00fe 0300 movs r3, r0
- 2637 0100 5B0F lsrs r3, r3, #29
- 2638 0102 0E00 movs r6, r1
- 2639 0104 F500 lsls r5, r6, #3
- 2640 0106 1D43 orrs r5, r3
- 2641 0108 0300 movs r3, r0
- 2642 010a DC00 lsls r4, r3, #3
- 2643 010c 1300 movs r3, r2
- 2644 010e 3B60 str r3, [r7]
- 2645 0110 0023 movs r3, #0
- 2646 0112 7B60 str r3, [r7, #4]
- 2647 0114 3868 ldr r0, [r7]
- 2648 0116 7968 ldr r1, [r7, #4]
- 2649 0118 0300 movs r3, r0
- 2650 011a 5B0F lsrs r3, r3, #29
- 2651 011c 0E00 movs r6, r1
- 2652 011e F600 lsls r6, r6, #3
- 2653 0120 7E61 str r6, [r7, #20]
- 2654 0122 7E69 ldr r6, [r7, #20]
- 2655 0124 1E43 orrs r6, r3
- 2656 0126 7E61 str r6, [r7, #20]
- 2657 0128 0300 movs r3, r0
- 2658 012a DB00 lsls r3, r3, #3
- 2659 012c 3B61 str r3, [r7, #16]
- 2660 012e 1300 movs r3, r2
- 2661 0130 0733 adds r3, r3, #7
- 2662 0132 DB08 lsrs r3, r3, #3
- 2663 0134 DB00 lsls r3, r3, #3
- 2664 0136 6946 mov r1, sp
- 2665 0138 CB1A subs r3, r1, r3
- 2666 013a 9D46 mov sp, r3
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 149
- 2667 013c 6B46 mov r3, sp
- 2668 013e 0033 adds r3, r3, #0
- 2669 0140 FB64 str r3, [r7, #76]
- 421:User/rtu.c **** int unescaped_len = rtu_unescape_data(buf + 1, frame_len - 2, unescaped_buf, sizeof(unescap
- 2670 .loc 4 421 51
- 2671 0142 FB69 ldr r3, [r7, #28]
- 2672 0144 5E1C adds r6, r3, #1
- 2673 .loc 4 421 29
- 2674 0146 7B6D ldr r3, [r7, #84]
- 2675 0148 981E subs r0, r3, #2
- 2676 014a F96C ldr r1, [r7, #76]
- 2677 014c 1300 movs r3, r2
- 2678 014e 0A00 movs r2, r1
- 2679 0150 0100 movs r1, r0
- 2680 0152 3000 movs r0, r6
- 2681 0154 FFF7FEFF bl rtu_unescape_data
- 2682 0158 0300 movs r3, r0
- 2683 015a BB64 str r3, [r7, #72]
- 422:User/rtu.c **** if (unescaped_len < 0)
- 2684 .loc 4 422 12
- 2685 015c BB6C ldr r3, [r7, #72]
- 2686 015e 002B cmp r3, #0
- 2687 0160 08DA bge .L122
- 423:User/rtu.c **** {
- 424:User/rtu.c **** // 解转义错误,跳过æ¤å¸§ç»§ç»å¤„ç�†
- 425:User/rtu.c **** buf += frame_len;
- 2688 .loc 4 425 17
- 2689 0162 7B6D ldr r3, [r7, #84]
- 2690 0164 FA69 ldr r2, [r7, #28]
- 2691 0166 D318 adds r3, r2, r3
- 2692 0168 FB61 str r3, [r7, #28]
- 426:User/rtu.c **** len -= frame_len;
- 2693 .loc 4 426 17
- 2694 016a BA69 ldr r2, [r7, #24]
- 2695 016c 7B6D ldr r3, [r7, #84]
- 2696 016e D31A subs r3, r2, r3
- 2697 0170 BB61 str r3, [r7, #24]
- 427:User/rtu.c **** continue;
- 2698 .loc 4 427 13
- 2699 0172 B2E1 b .L123
- 2700 .L122:
- 428:User/rtu.c **** }
- 429:User/rtu.c ****
- 430:User/rtu.c **** // CRCæ ¡éªŒ
- 431:User/rtu.c **** if (CRC16(unescaped_buf, unescaped_len) != 0)
- 2701 .loc 4 431 13
- 2702 0174 BB6C ldr r3, [r7, #72]
- 2703 0176 9AB2 uxth r2, r3
- 2704 0178 FB6C ldr r3, [r7, #76]
- 2705 017a 1100 movs r1, r2
- 2706 017c 1800 movs r0, r3
- 2707 017e FFF7FEFF bl CRC16
- 2708 0182 031E subs r3, r0, #0
- 2709 .loc 4 431 12
- 2710 0184 08D0 beq .L124
- 432:User/rtu.c **** {
- 433:User/rtu.c **** buf += frame_len;
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 150
- 2711 .loc 4 433 17
- 2712 0186 7B6D ldr r3, [r7, #84]
- 2713 0188 FA69 ldr r2, [r7, #28]
- 2714 018a D318 adds r3, r2, r3
- 2715 018c FB61 str r3, [r7, #28]
- 434:User/rtu.c **** len -= frame_len;
- 2716 .loc 4 434 17
- 2717 018e BA69 ldr r2, [r7, #24]
- 2718 0190 7B6D ldr r3, [r7, #84]
- 2719 0192 D31A subs r3, r2, r3
- 2720 0194 BB61 str r3, [r7, #24]
- 435:User/rtu.c **** continue;
- 2721 .loc 4 435 13
- 2722 0196 A0E1 b .L123
- 2723 .L124:
- 436:User/rtu.c **** }
- 437:User/rtu.c ****
- 438:User/rtu.c **** if (unescaped_buf[1] == rtu_ctx.last_cmd)
- 2724 .loc 4 438 26
- 2725 0198 FB6C ldr r3, [r7, #76]
- 2726 019a 5A78 ldrb r2, [r3, #1]
- 2727 .loc 4 438 40
- 2728 019c DB4B ldr r3, .L164
- 2729 019e DB78 ldrb r3, [r3, #3]
- 2730 .loc 4 438 12
- 2731 01a0 9A42 cmp r2, r3
- 2732 01a2 02D1 bne .L125
- 439:User/rtu.c **** {
- 440:User/rtu.c **** rtu_ctx.tsk_tmo = 0;
- 2733 .loc 4 440 29
- 2734 01a4 D94B ldr r3, .L164
- 2735 01a6 0022 movs r2, #0
- 2736 01a8 DA60 str r2, [r3, #12]
- 2737 .L125:
- 441:User/rtu.c **** }
- 442:User/rtu.c ****
- 443:User/rtu.c **** switch (unescaped_buf[1])
- 2738 .loc 4 443 30
- 2739 01aa FB6C ldr r3, [r7, #76]
- 2740 01ac 5B78 ldrb r3, [r3, #1]
- 2741 .loc 4 443 9
- 2742 01ae 072B cmp r3, #7
- 2743 01b0 00D9 bls .LCB2275
- 2744 01b2 7DE1 b .L159 @long jump
- 2745 .LCB2275:
- 2746 01b4 9A00 lsls r2, r3, #2
- 2747 01b6 D64B ldr r3, .L164+4
- 2748 01b8 D318 adds r3, r2, r3
- 2749 01ba 1B68 ldr r3, [r3]
- 2750 01bc 9F46 mov pc, r3
- 2751 .section .rodata.rtu_rx_proc,"a",%progbits
- 2752 .align 2
- 2753 .L128:
- 2754 0000 B0040000 .word .L159
- 2755 0004 BE010000 .word .L129
- 2756 0008 EE010000 .word .L133
- 2757 000c 1E020000 .word .L132
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 151
- 2758 0010 B8020000 .word .L131
- 2759 0014 DE030000 .word .L130
- 2760 0018 BE010000 .word .L129
- 2761 001c E4030000 .word .L127
- 2762 .section .text.rtu_rx_proc
- 2763 .L129:
- 444:User/rtu.c **** {
- 445:User/rtu.c **** case 0x01: // 状æ€�应ç”
- 446:User/rtu.c **** case 0x06: // 掉电通知的应ç”
- 447:User/rtu.c **** {
- 448:User/rtu.c **** if (unescaped_len >= 6)
- 2764 .loc 4 448 16
- 2765 01be BB6C ldr r3, [r7, #72]
- 2766 01c0 052B cmp r3, #5
- 2767 01c2 00DC bgt .LCB2289
- 2768 01c4 76E1 b .L160 @long jump
- 2769 .LCB2289:
- 2770 .LBB68:
- 449:User/rtu.c **** {
- 450:User/rtu.c **** uint32_t sta;
- 451:User/rtu.c **** sta = (uint32_t)(unescaped_buf[2] << 24 | unescaped_buf[3] << 16 |
- 2771 .loc 4 451 47
- 2772 01c6 FB6C ldr r3, [r7, #76]
- 2773 01c8 9B78 ldrb r3, [r3, #2]
- 2774 .loc 4 451 51
- 2775 01ca 1A06 lsls r2, r3, #24
- 2776 .loc 4 451 72
- 2777 01cc FB6C ldr r3, [r7, #76]
- 2778 01ce DB78 ldrb r3, [r3, #3]
- 2779 .loc 4 451 76
- 2780 01d0 1B04 lsls r3, r3, #16
- 2781 .loc 4 451 57
- 2782 01d2 1A43 orrs r2, r3
- 452:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
- 2783 .loc 4 452 47
- 2784 01d4 FB6C ldr r3, [r7, #76]
- 2785 01d6 1B79 ldrb r3, [r3, #4]
- 2786 .loc 4 452 51
- 2787 01d8 1B02 lsls r3, r3, #8
- 451:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
- 2788 .loc 4 451 82
- 2789 01da 1343 orrs r3, r2
- 2790 .loc 4 452 71
- 2791 01dc FA6C ldr r2, [r7, #76]
- 2792 01de 5279 ldrb r2, [r2, #5]
- 2793 .loc 4 452 56
- 2794 01e0 1343 orrs r3, r2
- 451:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
- 2795 .loc 4 451 21
- 2796 01e2 7B63 str r3, [r7, #52]
- 453:User/rtu.c **** rtu_parse_sta(sta);
- 2797 .loc 4 453 17
- 2798 01e4 7B6B ldr r3, [r7, #52]
- 2799 01e6 1800 movs r0, r3
- 2800 01e8 FFF7FEFF bl rtu_parse_sta
- 2801 .LBE68:
- 454:User/rtu.c **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 152
- 455:User/rtu.c **** }
- 456:User/rtu.c **** break;
- 2802 .loc 4 456 9
- 2803 01ec 62E1 b .L160
- 2804 .L133:
- 2805 .LBB69:
- 457:User/rtu.c **** case 0x02: // è®°å½•ä¸Šä¼ çš„åº”ç”
- 458:User/rtu.c **** // è®°å½•ä¸Šä¼ æˆ�åŠŸï¼Œåˆ é™¤å·²ç»�å�‘é€�的记录
- 459:User/rtu.c **** for (int i = 0; i < rtu_ctx.rec_pack.count; i++)
- 2806 .loc 4 459 22
- 2807 01ee 0023 movs r3, #0
- 2808 01f0 BB65 str r3, [r7, #88]
- 2809 .loc 4 459 13
- 2810 01f2 0CE0 b .L136
- 2811 .L137:
- 460:User/rtu.c **** {
- 461:User/rtu.c **** rec_delete(rtu_ctx.rec_pack.index[i]);
- 2812 .loc 4 461 17 discriminator 3
- 2813 01f4 C54A ldr r2, .L164
- 2814 01f6 BB6D ldr r3, [r7, #88]
- 2815 01f8 5833 adds r3, r3, #88
- 2816 01fa 5B00 lsls r3, r3, #1
- 2817 01fc D318 adds r3, r2, r3
- 2818 01fe 0833 adds r3, r3, #8
- 2819 0200 1B88 ldrh r3, [r3]
- 2820 0202 1800 movs r0, r3
- 2821 0204 FFF7FEFF bl rec_delete
- 459:User/rtu.c **** {
- 2822 .loc 4 459 58 discriminator 3
- 2823 0208 BB6D ldr r3, [r7, #88]
- 2824 020a 0133 adds r3, r3, #1
- 2825 020c BB65 str r3, [r7, #88]
- 2826 .L136:
- 459:User/rtu.c **** {
- 2827 .loc 4 459 49 discriminator 1
- 2828 020e BF4B ldr r3, .L164
- 2829 0210 B622 movs r2, #182
- 2830 0212 9B5A ldrh r3, [r3, r2]
- 2831 0214 1A00 movs r2, r3
- 459:User/rtu.c **** {
- 2832 .loc 4 459 13 discriminator 1
- 2833 0216 BB6D ldr r3, [r7, #88]
- 2834 0218 9342 cmp r3, r2
- 2835 021a EBDB blt .L137
- 2836 .LBE69:
- 462:User/rtu.c **** }
- 463:User/rtu.c **** break;
- 2837 .loc 4 463 13
- 2838 021c 51E1 b .L135
- 2839 .L132:
- 464:User/rtu.c **** case 0x03: // æ ¡æ—¶åº”ç”
- 465:User/rtu.c **** {
- 466:User/rtu.c **** if (unescaped_len >= 6)
- 2840 .loc 4 466 16
- 2841 021e BB6C ldr r3, [r7, #72]
- 2842 0220 052B cmp r3, #5
- 2843 0222 00DC bgt .LCB2349
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 153
- 2844 0224 48E1 b .L161 @long jump
- 2845 .LCB2349:
- 2846 .LBB70:
- 467:User/rtu.c **** {
- 468:User/rtu.c **** uint32_t server_time, local_time;
- 469:User/rtu.c **** rtc_time_t time;
- 470:User/rtu.c ****
- 471:User/rtu.c **** server_time = (uint32_t)(unescaped_buf[2] << 24 | unescaped_buf[3] << 16 |
- 2847 .loc 4 471 55
- 2848 0226 FB6C ldr r3, [r7, #76]
- 2849 0228 9B78 ldrb r3, [r3, #2]
- 2850 .loc 4 471 59
- 2851 022a 1A06 lsls r2, r3, #24
- 2852 .loc 4 471 80
- 2853 022c FB6C ldr r3, [r7, #76]
- 2854 022e DB78 ldrb r3, [r3, #3]
- 2855 .loc 4 471 84
- 2856 0230 1B04 lsls r3, r3, #16
- 2857 .loc 4 471 65
- 2858 0232 1A43 orrs r2, r3
- 472:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
- 2859 .loc 4 472 55
- 2860 0234 FB6C ldr r3, [r7, #76]
- 2861 0236 1B79 ldrb r3, [r3, #4]
- 2862 .loc 4 472 59
- 2863 0238 1B02 lsls r3, r3, #8
- 471:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
- 2864 .loc 4 471 90
- 2865 023a 1343 orrs r3, r2
- 2866 .loc 4 472 79
- 2867 023c FA6C ldr r2, [r7, #76]
- 2868 023e 5279 ldrb r2, [r2, #5]
- 2869 .loc 4 472 64
- 2870 0240 1343 orrs r3, r2
- 471:User/rtu.c **** unescaped_buf[4] << 8 | unescaped_buf[5]);
- 2871 .loc 4 471 29
- 2872 0242 FB63 str r3, [r7, #60]
- 473:User/rtu.c **** rtc_get_time(&time);
- 2873 .loc 4 473 17
- 2874 0244 1426 movs r6, #20
- 2875 0246 1823 movs r3, #24
- 2876 0248 F218 adds r2, r6, r3
- 2877 024a D319 adds r3, r2, r7
- 2878 024c 1800 movs r0, r3
- 2879 024e FFF7FEFF bl rtc_get_time
- 474:User/rtu.c **** local_time = rtc_mktime(&time);
- 2880 .loc 4 474 30
- 2881 0252 1823 movs r3, #24
- 2882 0254 F318 adds r3, r6, r3
- 2883 0256 DB19 adds r3, r3, r7
- 2884 0258 1800 movs r0, r3
- 2885 025a FFF7FEFF bl rtc_mktime
- 2886 025e 0300 movs r3, r0
- 2887 0260 BB63 str r3, [r7, #56]
- 475:User/rtu.c ****
- 476:User/rtu.c **** // æ ¹æ�®æœ�åŠ¡å™¨æ—¶é—´æ ¡å‡†æœ¬æœºæ—¶é—´
- 477:User/rtu.c **** if (diff_abs(server_time, local_time) > 2)
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 154
- 2888 .loc 4 477 55
- 2889 0262 FA6B ldr r2, [r7, #60]
- 2890 0264 BB6B ldr r3, [r7, #56]
- 2891 0266 9A42 cmp r2, r3
- 2892 0268 08D9 bls .L139
- 2893 .loc 4 477 21 discriminator 1
- 2894 026a FA6B ldr r2, [r7, #60]
- 2895 026c BB6B ldr r3, [r7, #56]
- 2896 026e D31A subs r3, r2, r3
- 2897 .loc 4 477 55 discriminator 1
- 2898 0270 0222 movs r2, #2
- 2899 0272 9A42 cmp r2, r3
- 2900 0274 9B41 sbcs r3, r3, r3
- 2901 0276 5B42 rsbs r3, r3, #0
- 2902 0278 DBB2 uxtb r3, r3
- 2903 027a 07E0 b .L140
- 2904 .L139:
- 2905 .loc 4 477 21 discriminator 2
- 2906 027c BA6B ldr r2, [r7, #56]
- 2907 027e FB6B ldr r3, [r7, #60]
- 2908 0280 D31A subs r3, r2, r3
- 2909 .loc 4 477 55 discriminator 2
- 2910 0282 0222 movs r2, #2
- 2911 0284 9A42 cmp r2, r3
- 2912 0286 9B41 sbcs r3, r3, r3
- 2913 0288 5B42 rsbs r3, r3, #0
- 2914 028a DBB2 uxtb r3, r3
- 2915 .L140:
- 2916 .loc 4 477 20 discriminator 4
- 2917 028c 002B cmp r3, #0
- 2918 028e 0ED0 beq .L141
- 478:User/rtu.c **** {
- 479:User/rtu.c **** rtc_gmtime(&time, server_time);
- 2919 .loc 4 479 21
- 2920 0290 FA6B ldr r2, [r7, #60]
- 2921 0292 1426 movs r6, #20
- 2922 0294 1823 movs r3, #24
- 2923 0296 F118 adds r1, r6, r3
- 2924 0298 CB19 adds r3, r1, r7
- 2925 029a 1100 movs r1, r2
- 2926 029c 1800 movs r0, r3
- 2927 029e FFF7FEFF bl rtc_gmtime
- 480:User/rtu.c **** rtc_set_time(&time);
- 2928 .loc 4 480 21
- 2929 02a2 1823 movs r3, #24
- 2930 02a4 F318 adds r3, r6, r3
- 2931 02a6 DB19 adds r3, r3, r7
- 2932 02a8 1800 movs r0, r3
- 2933 02aa FFF7FEFF bl rtc_set_time
- 2934 .L141:
- 481:User/rtu.c **** }
- 482:User/rtu.c **** rtu_ctx.time_syncd = 1;
- 2935 .loc 4 482 36
- 2936 02ae 974B ldr r3, .L164
- 2937 02b0 A022 movs r2, #160
- 2938 02b2 0121 movs r1, #1
- 2939 02b4 9950 str r1, [r3, r2]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 155
- 2940 .LBE70:
- 483:User/rtu.c **** }
- 484:User/rtu.c **** }
- 485:User/rtu.c **** break;
- 2941 .loc 4 485 9
- 2942 02b6 FFE0 b .L161
- 2943 .L131:
- 486:User/rtu.c **** case 0x04: // å�‚æ•°å�Œæ¥è¯·æ±‚的应ç”
- 487:User/rtu.c **** {
- 488:User/rtu.c **** if (unescaped_len >= 7)
- 2944 .loc 4 488 16
- 2945 02b8 BB6C ldr r3, [r7, #72]
- 2946 02ba 062B cmp r3, #6
- 2947 02bc 00DC bgt .LCB2439
- 2948 02be FDE0 b .L162 @long jump
- 2949 .LCB2439:
- 2950 .LBB71:
- 489:User/rtu.c **** {
- 490:User/rtu.c **** uint32_t para_ver;
- 491:User/rtu.c ****
- 492:User/rtu.c **** // 获å�–4å—节å�‚数版本å�·ï¼Œå¤§ç«¯æ¨¡å¼�
- 493:User/rtu.c **** para_ver = (uint32_t)((unescaped_buf[2] << 24) | (unescaped_buf[3] << 16) |
- 2951 .loc 4 493 53
- 2952 02c0 FB6C ldr r3, [r7, #76]
- 2953 02c2 9B78 ldrb r3, [r3, #2]
- 2954 .loc 4 493 57
- 2955 02c4 1A06 lsls r2, r3, #24
- 2956 .loc 4 493 80
- 2957 02c6 FB6C ldr r3, [r7, #76]
- 2958 02c8 DB78 ldrb r3, [r3, #3]
- 2959 .loc 4 493 84
- 2960 02ca 1B04 lsls r3, r3, #16
- 2961 .loc 4 493 64
- 2962 02cc 1A43 orrs r2, r3
- 494:User/rtu.c **** (unescaped_buf[4] << 8) | unescaped_buf[5]);
- 2963 .loc 4 494 53
- 2964 02ce FB6C ldr r3, [r7, #76]
- 2965 02d0 1B79 ldrb r3, [r3, #4]
- 2966 .loc 4 494 57
- 2967 02d2 1B02 lsls r3, r3, #8
- 493:User/rtu.c **** (unescaped_buf[4] << 8) | unescaped_buf[5]);
- 2968 .loc 4 493 91
- 2969 02d4 1343 orrs r3, r2
- 2970 .loc 4 494 78
- 2971 02d6 FA6C ldr r2, [r7, #76]
- 2972 02d8 5279 ldrb r2, [r2, #5]
- 2973 .loc 4 494 63
- 2974 02da 1343 orrs r3, r2
- 493:User/rtu.c **** (unescaped_buf[4] << 8) | unescaped_buf[5]);
- 2975 .loc 4 493 26
- 2976 02dc 3B64 str r3, [r7, #64]
- 495:User/rtu.c **** if (para_ver != para.ver)
- 2977 .loc 4 495 37
- 2978 02de 8D4B ldr r3, .L164+8
- 2979 02e0 1A78 ldrb r2, [r3]
- 2980 02e2 5978 ldrb r1, [r3, #1]
- 2981 02e4 0902 lsls r1, r1, #8
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 156
- 2982 02e6 0A43 orrs r2, r1
- 2983 02e8 9978 ldrb r1, [r3, #2]
- 2984 02ea 0904 lsls r1, r1, #16
- 2985 02ec 0A43 orrs r2, r1
- 2986 02ee DB78 ldrb r3, [r3, #3]
- 2987 02f0 1B06 lsls r3, r3, #24
- 2988 02f2 1343 orrs r3, r2
- 2989 02f4 1A00 movs r2, r3
- 2990 .loc 4 495 20
- 2991 02f6 3B6C ldr r3, [r7, #64]
- 2992 02f8 9342 cmp r3, r2
- 2993 02fa 6BD0 beq .L143
- 496:User/rtu.c **** {
- 497:User/rtu.c **** // 获�新的�数
- 498:User/rtu.c **** para.ver = para_ver;
- 2994 .loc 4 498 30
- 2995 02fc 854B ldr r3, .L164+8
- 2996 02fe 2822 movs r2, #40
- 2997 0300 1826 movs r6, #24
- 2998 0302 9219 adds r2, r2, r6
- 2999 0304 D219 adds r2, r2, r7
- 3000 0306 1078 ldrb r0, [r2]
- 3001 0308 1A78 ldrb r2, [r3]
- 3002 030a 0021 movs r1, #0
- 3003 030c 0A40 ands r2, r1
- 3004 030e 111C adds r1, r2, #0
- 3005 0310 021C adds r2, r0, #0
- 3006 0312 0A43 orrs r2, r1
- 3007 0314 1A70 strb r2, [r3]
- 3008 0316 2922 movs r2, #41
- 3009 0318 9219 adds r2, r2, r6
- 3010 031a D219 adds r2, r2, r7
- 3011 031c 1078 ldrb r0, [r2]
- 3012 031e 5A78 ldrb r2, [r3, #1]
- 3013 0320 0021 movs r1, #0
- 3014 0322 0A40 ands r2, r1
- 3015 0324 111C adds r1, r2, #0
- 3016 0326 021C adds r2, r0, #0
- 3017 0328 0A43 orrs r2, r1
- 3018 032a 5A70 strb r2, [r3, #1]
- 3019 032c 2A22 movs r2, #42
- 3020 032e 9219 adds r2, r2, r6
- 3021 0330 D219 adds r2, r2, r7
- 3022 0332 1078 ldrb r0, [r2]
- 3023 0334 9A78 ldrb r2, [r3, #2]
- 3024 0336 0021 movs r1, #0
- 3025 0338 0A40 ands r2, r1
- 3026 033a 111C adds r1, r2, #0
- 3027 033c 021C adds r2, r0, #0
- 3028 033e 0A43 orrs r2, r1
- 3029 0340 9A70 strb r2, [r3, #2]
- 3030 0342 2B22 movs r2, #43
- 3031 0344 9219 adds r2, r2, r6
- 3032 0346 D219 adds r2, r2, r7
- 3033 0348 1078 ldrb r0, [r2]
- 3034 034a DA78 ldrb r2, [r3, #3]
- 3035 034c 0021 movs r1, #0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 157
- 3036 034e 0A40 ands r2, r1
- 3037 0350 111C adds r1, r2, #0
- 3038 0352 021C adds r2, r0, #0
- 3039 0354 0A43 orrs r2, r1
- 3040 0356 DA70 strb r2, [r3, #3]
- 499:User/rtu.c **** para.mode = unescaped_buf[6];
- 3041 .loc 4 499 46
- 3042 0358 FB6C ldr r3, [r7, #76]
- 3043 035a 9A79 ldrb r2, [r3, #6]
- 3044 .loc 4 499 31
- 3045 035c 6D4B ldr r3, .L164+8
- 3046 035e 1A71 strb r2, [r3, #4]
- 500:User/rtu.c **** if (unescaped_len >= 8)
- 3047 .loc 4 500 24
- 3048 0360 BB6C ldr r3, [r7, #72]
- 3049 0362 072B cmp r3, #7
- 3050 0364 03DD ble .L144
- 501:User/rtu.c **** para.light_mode_hours = unescaped_buf[7];
- 3051 .loc 4 501 62
- 3052 0366 FB6C ldr r3, [r7, #76]
- 3053 0368 DA79 ldrb r2, [r3, #7]
- 3054 .loc 4 501 47
- 3055 036a 6A4B ldr r3, .L164+8
- 3056 036c 5A71 strb r2, [r3, #5]
- 3057 .L144:
- 502:User/rtu.c **** if (unescaped_len >= 9)
- 3058 .loc 4 502 24
- 3059 036e BB6C ldr r3, [r7, #72]
- 3060 0370 082B cmp r3, #8
- 3061 0372 03DD ble .L145
- 503:User/rtu.c **** para.time_mode_start = unescaped_buf[8];
- 3062 .loc 4 503 61
- 3063 0374 FB6C ldr r3, [r7, #76]
- 3064 0376 1A7A ldrb r2, [r3, #8]
- 3065 .loc 4 503 46
- 3066 0378 664B ldr r3, .L164+8
- 3067 037a 9A71 strb r2, [r3, #6]
- 3068 .L145:
- 504:User/rtu.c **** if (unescaped_len >= 10)
- 3069 .loc 4 504 24
- 3070 037c BB6C ldr r3, [r7, #72]
- 3071 037e 092B cmp r3, #9
- 3072 0380 03DD ble .L146
- 505:User/rtu.c **** para.time_mode_end = unescaped_buf[9];
- 3073 .loc 4 505 59
- 3074 0382 FB6C ldr r3, [r7, #76]
- 3075 0384 5A7A ldrb r2, [r3, #9]
- 3076 .loc 4 505 44
- 3077 0386 634B ldr r3, .L164+8
- 3078 0388 DA71 strb r2, [r3, #7]
- 3079 .L146:
- 506:User/rtu.c **** if (unescaped_len >= 12)
- 3080 .loc 4 506 24
- 3081 038a BB6C ldr r3, [r7, #72]
- 3082 038c 0B2B cmp r3, #11
- 3083 038e 1DDD ble .L147
- 507:User/rtu.c **** para.photo_interval = ((uint16_t)unescaped_buf[10] << 8) + unescaped_buf[11
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 158
- 3084 .loc 4 507 71
- 3085 0390 FB6C ldr r3, [r7, #76]
- 3086 0392 9B7A ldrb r3, [r3, #10]
- 3087 0394 9BB2 uxth r3, r3
- 3088 .loc 4 507 76
- 3089 0396 1B02 lsls r3, r3, #8
- 3090 0398 9AB2 uxth r2, r3
- 3091 .loc 4 507 97
- 3092 039a FB6C ldr r3, [r7, #76]
- 3093 039c DB7A ldrb r3, [r3, #11]
- 3094 039e 9BB2 uxth r3, r3
- 3095 .loc 4 507 82
- 3096 03a0 D318 adds r3, r2, r3
- 3097 03a2 98B2 uxth r0, r3
- 3098 .loc 4 507 45
- 3099 03a4 5B49 ldr r1, .L164+8
- 3100 03a6 FF23 movs r3, #255
- 3101 03a8 0340 ands r3, r0
- 3102 03aa 1E00 movs r6, r3
- 3103 03ac 0A7A ldrb r2, [r1, #8]
- 3104 03ae 0023 movs r3, #0
- 3105 03b0 1340 ands r3, r2
- 3106 03b2 1A1C adds r2, r3, #0
- 3107 03b4 331C adds r3, r6, #0
- 3108 03b6 1343 orrs r3, r2
- 3109 03b8 0B72 strb r3, [r1, #8]
- 3110 03ba 030A lsrs r3, r0, #8
- 3111 03bc 98B2 uxth r0, r3
- 3112 03be 4B7A ldrb r3, [r1, #9]
- 3113 03c0 0022 movs r2, #0
- 3114 03c2 1340 ands r3, r2
- 3115 03c4 1A1C adds r2, r3, #0
- 3116 03c6 031C adds r3, r0, #0
- 3117 03c8 1343 orrs r3, r2
- 3118 03ca 4B72 strb r3, [r1, #9]
- 3119 .L147:
- 508:User/rtu.c **** para_write(¶);
- 3120 .loc 4 508 21
- 3121 03cc 514B ldr r3, .L164+8
- 3122 03ce 1800 movs r0, r3
- 3123 03d0 FFF7FEFF bl para_write
- 3124 .L143:
- 509:User/rtu.c **** }
- 510:User/rtu.c **** rtu_ctx.para_chked = 1;
- 3125 .loc 4 510 36
- 3126 03d4 4D4B ldr r3, .L164
- 3127 03d6 A822 movs r2, #168
- 3128 03d8 0121 movs r1, #1
- 3129 03da 9950 str r1, [r3, r2]
- 3130 .LBE71:
- 511:User/rtu.c **** }
- 512:User/rtu.c **** }
- 513:User/rtu.c **** break;
- 3131 .loc 4 513 9
- 3132 03dc 6EE0 b .L162
- 3133 .L130:
- 514:User/rtu.c **** case 0x05: // RTU获�实时数�的请求
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 159
- 515:User/rtu.c **** {
- 516:User/rtu.c **** rtu_send_realtime_data();
- 3134 .loc 4 516 13
- 3135 03de FFF7FEFF bl rtu_send_realtime_data
- 517:User/rtu.c **** break;
- 3136 .loc 4 517 13
- 3137 03e2 6EE0 b .L135
- 3138 .L127:
- 3139 .LBB72:
- 518:User/rtu.c **** }
- 519:User/rtu.c **** case CMD_OTA_START: //RTU YMODEM�级的请求
- 520:User/rtu.c **** {
- 521:User/rtu.c **** if (rtu_ctx.ota_ongoing)
- 3140 .loc 4 521 24
- 3141 03e4 494B ldr r3, .L164
- 3142 03e6 9C22 movs r2, #156
- 3143 03e8 9B58 ldr r3, [r3, r2]
- 3144 .loc 4 521 16
- 3145 03ea 002B cmp r3, #0
- 3146 03ec 68D1 bne .L163
- 522:User/rtu.c **** {
- 523:User/rtu.c **** break;
- 524:User/rtu.c **** }
- 525:User/rtu.c **** rtu_ctx.ota_ongoing = unescaped_buf[2];
- 3147 .loc 4 525 48
- 3148 03ee FB6C ldr r3, [r7, #76]
- 3149 03f0 9B78 ldrb r3, [r3, #2]
- 3150 03f2 1900 movs r1, r3
- 3151 .loc 4 525 33
- 3152 03f4 454B ldr r3, .L164
- 3153 03f6 9C22 movs r2, #156
- 3154 03f8 9950 str r1, [r3, r2]
- 526:User/rtu.c **** //å…³é—æŽ¥æ”¶ä¸æ–
- 527:User/rtu.c **** LL_USART_DisableIT_RXNE(COM_RTU);
- 3155 .loc 4 527 13
- 3156 03fa 474B ldr r3, .L164+12
- 3157 03fc 1800 movs r0, r3
- 3158 03fe FFF7FEFF bl LL_USART_DisableIT_RXNE_RXFNE
- 528:User/rtu.c **** uint32_t recvSize = 0;
- 3159 .loc 4 528 22
- 3160 0402 0023 movs r3, #0
- 3161 0404 BB62 str r3, [r7, #40]
- 529:User/rtu.c **** // flashStartAddr = 0,flashMaxSize = 0 表示从 0 开始,直到芯片末尾
- 530:User/rtu.c **** int32_t ret = Ymodem_ReceiveToW25Qxx(EXT_FLASH_FW_DATA_ADDR, APP_MAX_SIZE, &recvSize);
- 3162 .loc 4 530 27
- 3163 0406 1023 movs r3, #16
- 3164 0408 1822 movs r2, #24
- 3165 040a 9B18 adds r3, r3, r2
- 3166 040c DA19 adds r2, r3, r7
- 3167 040e C423 movs r3, #196
- 3168 0410 5B02 lsls r3, r3, #9
- 3169 0412 4248 ldr r0, .L164+16
- 3170 0414 1900 movs r1, r3
- 3171 0416 FFF7FEFF bl Ymodem_ReceiveToW25Qxx
- 3172 041a 0300 movs r3, r0
- 3173 041c 7B64 str r3, [r7, #68]
- 531:User/rtu.c ****
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 160
- 532:User/rtu.c **** if (ret == 0)
- 3174 .loc 4 532 16
- 3175 041e 7B6C ldr r3, [r7, #68]
- 3176 0420 002B cmp r3, #0
- 3177 0422 2ED1 bne .L150
- 3178 .LBB73:
- 533:User/rtu.c **** {
- 534:User/rtu.c **** // recvSize å—节的文件已ç»�从 flash 地å�€ 0 开始å˜å¥½äº†
- 535:User/rtu.c **** // 这里å�¯ä»¥å�šæ ¡éªŒã€�å�¯åŠ¨åº”ç”¨ã€�æ›´æ–°æ ‡å¿—ä½�ç‰æ“�作
- 536:User/rtu.c **** //æ ‡å¿—ä½�写入外部flash,先擦å�Žå†™ï¼ŒæŒ‰æ‰‡åŒºæ“¦é™¤
- 537:User/rtu.c **** W25qxx_EraseSector(EXT_FLASH_FW_FLAG_ADDR);
- 3179 .loc 4 537 17
- 3180 0424 F023 movs r3, #240
- 3181 0426 1B01 lsls r3, r3, #4
- 3182 0428 1800 movs r0, r3
- 3183 042a FFF7FEFF bl W25qxx_EraseSector
- 538:User/rtu.c **** W25qxx_WriteByte(0xAA,EXT_FLASH_FW_FLAG_ADDR);
- 3184 .loc 4 538 17
- 3185 042e F023 movs r3, #240
- 3186 0430 1B01 lsls r3, r3, #4
- 3187 0432 1900 movs r1, r3
- 3188 0434 AA20 movs r0, #170
- 3189 0436 FFF7FEFF bl W25qxx_WriteByte
- 539:User/rtu.c **** //文件大å°�写入外部flash recvSize(å—节数)
- 540:User/rtu.c **** // å°†uint32_tçš„4个å—节分别写入
- 541:User/rtu.c **** W25qxx_WriteByte((recvSize >> 0) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 0); // å—节0
- 3190 .loc 4 541 44
- 3191 043a BB6A ldr r3, [r7, #40]
- 3192 .loc 4 541 17
- 3193 043c FF22 movs r2, #255
- 3194 043e 1340 ands r3, r2
- 3195 0440 374A ldr r2, .L164+20
- 3196 0442 1100 movs r1, r2
- 3197 0444 1800 movs r0, r3
- 3198 0446 FFF7FEFF bl W25qxx_WriteByte
- 542:User/rtu.c **** W25qxx_WriteByte((recvSize >> 8) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 1); // å—节1
- 3199 .loc 4 542 44
- 3200 044a BB6A ldr r3, [r7, #40]
- 3201 044c 1B0A lsrs r3, r3, #8
- 3202 .loc 4 542 17
- 3203 044e FF22 movs r2, #255
- 3204 0450 1340 ands r3, r2
- 3205 0452 344A ldr r2, .L164+24
- 3206 0454 1100 movs r1, r2
- 3207 0456 1800 movs r0, r3
- 3208 0458 FFF7FEFF bl W25qxx_WriteByte
- 543:User/rtu.c **** W25qxx_WriteByte((recvSize >> 16) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 2); // å—节2
- 3209 .loc 4 543 44
- 3210 045c BB6A ldr r3, [r7, #40]
- 3211 045e 1B0C lsrs r3, r3, #16
- 3212 .loc 4 543 17
- 3213 0460 FF22 movs r2, #255
- 3214 0462 1340 ands r3, r2
- 3215 0464 304A ldr r2, .L164+28
- 3216 0466 1100 movs r1, r2
- 3217 0468 1800 movs r0, r3
- 3218 046a FFF7FEFF bl W25qxx_WriteByte
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 161
- 544:User/rtu.c **** W25qxx_WriteByte((recvSize >> 24) & 0xFF, EXT_FLASH_FW_SIZE_ADDR + 3); // å—节3
- 3219 .loc 4 544 17
- 3220 046e BB6A ldr r3, [r7, #40]
- 3221 .loc 4 544 44
- 3222 0470 1B0E lsrs r3, r3, #24
- 3223 .loc 4 544 17
- 3224 0472 2E4A ldr r2, .L164+32
- 3225 0474 1100 movs r1, r2
- 3226 0476 1800 movs r0, r3
- 3227 0478 FFF7FEFF bl W25qxx_WriteByte
- 545:User/rtu.c **** //��
- 546:User/rtu.c **** HAL_NVIC_SystemReset();
- 3228 .loc 4 546 17
- 3229 047c FFF7FEFF bl HAL_NVIC_SystemReset
- 3230 .LBE73:
- 547:User/rtu.c **** }
- 548:User/rtu.c **** else
- 549:User/rtu.c **** {
- 550:User/rtu.c **** // 失败:æ�¢å¤�串å�£å¸§æŽ¥æ”¶ï¼Œæ¸…除 ota_ongoing æ ‡è®°
- 551:User/rtu.c **** rtu_ctx.ota_ongoing = 0;
- 552:User/rtu.c **** LL_USART_EnableIT_RXNE(COM_RTU);
- 553:User/rtu.c **** // å�¯é€‰ï¼šæŠŠé”™è¯¯ç �返回给上ä½�机,方便调试
- 554:User/rtu.c **** uint8_t err = (uint8_t)(ret & 0xFF);
- 555:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, &err, 1);
- 556:User/rtu.c **** }
- 557:User/rtu.c **** break;
- 3231 .loc 4 557 13
- 3232 0480 1FE0 b .L135
- 3233 .L150:
- 3234 .LBB74:
- 551:User/rtu.c **** LL_USART_EnableIT_RXNE(COM_RTU);
- 3235 .loc 4 551 37
- 3236 0482 224B ldr r3, .L164
- 3237 0484 9C22 movs r2, #156
- 3238 0486 0021 movs r1, #0
- 3239 0488 9950 str r1, [r3, r2]
- 552:User/rtu.c **** // å�¯é€‰ï¼šæŠŠé”™è¯¯ç �返回给上ä½�机,方便调试
- 3240 .loc 4 552 17
- 3241 048a 234B ldr r3, .L164+12
- 3242 048c 1800 movs r0, r3
- 3243 048e FFF7FEFF bl LL_USART_EnableIT_RXNE_RXFNE
- 554:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, &err, 1);
- 3244 .loc 4 554 31
- 3245 0492 7B6C ldr r3, [r7, #68]
- 3246 0494 DAB2 uxtb r2, r3
- 554:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, &err, 1);
- 3247 .loc 4 554 25
- 3248 0496 0F21 movs r1, #15
- 3249 0498 1820 movs r0, #24
- 3250 049a 0B18 adds r3, r1, r0
- 3251 049c DB19 adds r3, r3, r7
- 3252 049e 1A70 strb r2, [r3]
- 555:User/rtu.c **** }
- 3253 .loc 4 555 17
- 3254 04a0 0B18 adds r3, r1, r0
- 3255 04a2 DA19 adds r2, r3, r7
- 3256 04a4 0123 movs r3, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 162
- 3257 04a6 0721 movs r1, #7
- 3258 04a8 0120 movs r0, #1
- 3259 04aa FFF7FEFF bl rtu_send_pkt
- 3260 .LBE74:
- 3261 .loc 4 557 13
- 3262 04ae 08E0 b .L135
- 3263 .L159:
- 3264 .LBE72:
- 558:User/rtu.c **** }
- 559:User/rtu.c **** default:
- 560:User/rtu.c **** break;
- 3265 .loc 4 560 13
- 3266 04b0 C046 nop
- 3267 04b2 06E0 b .L135
- 3268 .L160:
- 456:User/rtu.c **** case 0x02: // è®°å½•ä¸Šä¼ çš„åº”ç”
- 3269 .loc 4 456 9
- 3270 04b4 C046 nop
- 3271 04b6 04E0 b .L135
- 3272 .L161:
- 485:User/rtu.c **** case 0x04: // å�‚æ•°å�Œæ¥è¯·æ±‚的应ç”
- 3273 .loc 4 485 9
- 3274 04b8 C046 nop
- 3275 04ba 02E0 b .L135
- 3276 .L162:
- 513:User/rtu.c **** case 0x05: // RTU获�实时数�的请求
- 3277 .loc 4 513 9
- 3278 04bc C046 nop
- 3279 04be 00E0 b .L135
- 3280 .L163:
- 3281 .LBB75:
- 523:User/rtu.c **** }
- 3282 .loc 4 523 17
- 3283 04c0 C046 nop
- 3284 .L135:
- 3285 .LBE75:
- 561:User/rtu.c **** }
- 562:User/rtu.c ****
- 563:User/rtu.c **** // 移动到下一帧
- 564:User/rtu.c **** buf += frame_len;
- 3286 .loc 4 564 13 discriminator 9
- 3287 04c2 7B6D ldr r3, [r7, #84]
- 3288 04c4 FA69 ldr r2, [r7, #28]
- 3289 04c6 D318 adds r3, r2, r3
- 3290 04c8 FB61 str r3, [r7, #28]
- 565:User/rtu.c **** len -= frame_len;
- 3291 .loc 4 565 13 discriminator 9
- 3292 04ca BA69 ldr r2, [r7, #24]
- 3293 04cc 7B6D ldr r3, [r7, #84]
- 3294 04ce D31A subs r3, r2, r3
- 3295 04d0 BB61 str r3, [r7, #24]
- 566:User/rtu.c **** processed = 1;
- 3296 .loc 4 566 19 discriminator 9
- 3297 04d2 0123 movs r3, #1
- 3298 04d4 FB66 str r3, [r7, #108]
- 3299 04d6 C546 mov sp, r8
- 3300 04d8 00E0 b .L105
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 163
- 3301 .L123:
- 3302 04da C546 mov sp, r8
- 3303 .L105:
- 3304 .LBE65:
- 355:User/rtu.c **** {
- 3305 .loc 4 355 11
- 3306 04dc BB69 ldr r3, [r7, #24]
- 3307 04de 002B cmp r3, #0
- 3308 04e0 00DD ble .LCB2760
- 3309 04e2 97E5 b .L152 @long jump
- 3310 .LCB2760:
- 3311 04e4 04E0 b .L113
- 3312 .L156:
- 3313 .LBB76:
- 378:User/rtu.c **** }
- 3314 .loc 4 378 13
- 3315 04e6 C046 nop
- 3316 04e8 02E0 b .L113
- 3317 .L157:
- 389:User/rtu.c **** }
- 3318 .loc 4 389 13
- 3319 04ea C046 nop
- 3320 04ec 00E0 b .L113
- 3321 .L158:
- 405:User/rtu.c **** }
- 3322 .loc 4 405 13
- 3323 04ee C046 nop
- 3324 .L113:
- 3325 .LBE76:
- 567:User/rtu.c **** }
- 568:User/rtu.c ****
- 569:User/rtu.c **** return processed ? 0 : -1;
- 3326 .loc 4 569 26
- 3327 04f0 FB6E ldr r3, [r7, #108]
- 3328 04f2 002B cmp r3, #0
- 3329 04f4 01D0 beq .L153
- 3330 .loc 4 569 26 is_stmt 0 discriminator 1
- 3331 04f6 0023 movs r3, #0
- 3332 04f8 01E0 b .L155
- 3333 .L153:
- 3334 .loc 4 569 26 discriminator 2
- 3335 04fa 0123 movs r3, #1
- 3336 04fc 5B42 rsbs r3, r3, #0
- 3337 .L155:
- 570:User/rtu.c **** }
- 3338 .loc 4 570 1 is_stmt 1 discriminator 5
- 3339 04fe 1800 movs r0, r3
- 3340 0500 BD46 mov sp, r7
- 3341 0502 1CB0 add sp, sp, #112
- 3342 @ sp needed
- 3343 0504 80BC pop {r7}
- 3344 0506 B846 mov r8, r7
- 3345 0508 F0BD pop {r4, r5, r6, r7, pc}
- 3346 .L165:
- 3347 050a C046 .align 2
- 3348 .L164:
- 3349 050c 00000000 .word rtu_ctx
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 164
- 3350 0510 00000000 .word .L128
- 3351 0514 00000000 .word para
- 3352 0518 00440040 .word 1073759232
- 3353 051c 010F0000 .word 3841
- 3354 0520 0100F000 .word 15728641
- 3355 0524 0200F000 .word 15728642
- 3356 0528 0300F000 .word 15728643
- 3357 052c 0400F000 .word 15728644
- 3358 .cfi_endproc
- 3359 .LFE949:
- 3361 .section .text.rtu_task,"ax",%progbits
- 3362 .align 1
- 3363 .global rtu_task
- 3364 .syntax unified
- 3365 .code 16
- 3366 .thumb_func
- 3368 rtu_task:
- 3369 .LFB950:
- 571:User/rtu.c ****
- 572:User/rtu.c **** void rtu_task(void)
- 573:User/rtu.c **** {
- 3370 .loc 4 573 1
- 3371 .cfi_startproc
- 3372 @ args = 0, pretend = 0, frame = 648
- 3373 @ frame_needed = 1, uses_anonymous_args = 0
- 3374 0000 B0B5 push {r4, r5, r7, lr}
- 3375 .LCFI76:
- 3376 .cfi_def_cfa_offset 16
- 3377 .cfi_offset 4, -16
- 3378 .cfi_offset 5, -12
- 3379 .cfi_offset 7, -8
- 3380 .cfi_offset 14, -4
- 3381 0002 D74C ldr r4, .L217
- 3382 0004 A544 add sp, sp, r4
- 3383 .LCFI77:
- 3384 .cfi_def_cfa_offset 664
- 3385 0006 00AF add r7, sp, #0
- 3386 .LCFI78:
- 3387 .cfi_def_cfa_register 7
- 574:User/rtu.c **** uint8_t buf[256];
- 575:User/rtu.c **** int len;
- 576:User/rtu.c ****
- 577:User/rtu.c **** if (rtu_read(buf, sizeof(buf), &len) == 0)
- 3388 .loc 4 577 9
- 3389 0008 B624 movs r4, #182
- 3390 000a 6400 lsls r4, r4, #1
- 3391 000c 3A19 adds r2, r7, r4
- 3392 000e 8023 movs r3, #128
- 3393 0010 5900 lsls r1, r3, #1
- 3394 0012 B825 movs r5, #184
- 3395 0014 6D00 lsls r5, r5, #1
- 3396 0016 7B19 adds r3, r7, r5
- 3397 0018 1800 movs r0, r3
- 3398 001a FFF7FEFF bl rtu_read
- 3399 001e 031E subs r3, r0, #0
- 3400 .loc 4 577 8
- 3401 0020 06D1 bne .L167
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 165
- 578:User/rtu.c **** {
- 579:User/rtu.c **** rtu_rx_proc(buf, len);
- 3402 .loc 4 579 9
- 3403 0022 3B19 adds r3, r7, r4
- 3404 0024 1A68 ldr r2, [r3]
- 3405 0026 7B19 adds r3, r7, r5
- 3406 0028 1100 movs r1, r2
- 3407 002a 1800 movs r0, r3
- 3408 002c FFF7FEFF bl rtu_rx_proc
- 3409 .L167:
- 580:User/rtu.c **** }
- 581:User/rtu.c ****
- 582:User/rtu.c **** // 最大è¿�è¡Œæ—¶é—´æ£€æŸ¥ï¼Œè§£å†³é€šè®¯ä¸¢å¤±æ—¶æ— æ³•ä¼‘çœ çš„é—®é¢˜
- 583:User/rtu.c **** if(rtu_ctx.online == 0)
- 3410 .loc 4 583 15
- 3411 0030 CC4B ldr r3, .L217+4
- 3412 0032 9822 movs r2, #152
- 3413 0034 9B58 ldr r3, [r3, r2]
- 3414 .loc 4 583 7
- 3415 0036 002B cmp r3, #0
- 3416 0038 28D1 bne .L168
- 584:User/rtu.c **** {
- 585:User/rtu.c **** if ((HAL_GetTick() - rtu_ctx.running_timer) > RTU_MAX_RUN_TIME)
- 3417 .loc 4 585 14
- 3418 003a FFF7FEFF bl HAL_GetTick
- 3419 003e 0200 movs r2, r0
- 3420 .loc 4 585 37
- 3421 0040 C84B ldr r3, .L217+4
- 3422 0042 5B68 ldr r3, [r3, #4]
- 3423 .loc 4 585 28
- 3424 0044 D31A subs r3, r2, r3
- 3425 .loc 4 585 12
- 3426 0046 C84A ldr r2, .L217+8
- 3427 0048 9342 cmp r3, r2
- 3428 004a 1FD9 bls .L168
- 586:User/rtu.c **** {
- 587:User/rtu.c **** // 如果当å‰�ä¸�是æ£åœ¨é€šçŸ¥æŽ‰ç”µæˆ–å·²ç»�空闲,则强制进入掉电æµ�程
- 588:User/rtu.c **** if (rtu_ctx.tsk_sta != RTU_STA_NOTYIFY_POWER_DOWN &&
- 3429 .loc 4 588 24
- 3430 004c C54B ldr r3, .L217+4
- 3431 004e 5B78 ldrb r3, [r3, #1]
- 3432 .loc 4 588 16
- 3433 0050 092B cmp r3, #9
- 3434 0052 1BD0 beq .L168
- 589:User/rtu.c **** rtu_ctx.tsk_sta != RTU_STA_IDLE &&
- 3435 .loc 4 589 24 discriminator 1
- 3436 0054 C34B ldr r3, .L217+4
- 3437 0056 5B78 ldrb r3, [r3, #1]
- 588:User/rtu.c **** rtu_ctx.tsk_sta != RTU_STA_IDLE &&
- 3438 .loc 4 588 63 discriminator 1
- 3439 0058 002B cmp r3, #0
- 3440 005a 17D0 beq .L168
- 590:User/rtu.c **** rtu_ctx.power_down_ongoing == 0)
- 3441 .loc 4 590 24
- 3442 005c C14B ldr r3, .L217+4
- 3443 005e B422 movs r2, #180
- 3444 0060 9B5C ldrb r3, [r3, r2]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 166
- 589:User/rtu.c **** rtu_ctx.tsk_sta != RTU_STA_IDLE &&
- 3445 .loc 4 589 49
- 3446 0062 002B cmp r3, #0
- 3447 0064 12D1 bne .L168
- 591:User/rtu.c **** {
- 592:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
- 3448 .loc 4 592 40
- 3449 0066 BF4B ldr r3, .L217+4
- 3450 0068 B522 movs r2, #181
- 3451 006a 0521 movs r1, #5
- 3452 006c 9954 strb r1, [r3, r2]
- 593:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
- 3453 .loc 4 593 33
- 3454 006e BD4B ldr r3, .L217+4
- 3455 0070 0922 movs r2, #9
- 3456 0072 5A70 strb r2, [r3, #1]
- 594:User/rtu.c ****
- 595:User/rtu.c **** // 清除å�¯èƒ½çš„å¿™æ ‡è®°
- 596:User/rtu.c **** rtu_ctx.rec_ongoing = 0;
- 3457 .loc 4 596 37
- 3458 0074 BB4B ldr r3, .L217+4
- 3459 0076 B022 movs r2, #176
- 3460 0078 0021 movs r1, #0
- 3461 007a 9950 str r1, [r3, r2]
- 597:User/rtu.c **** rtu_ctx.ota_ongoing = 0;
- 3462 .loc 4 597 37
- 3463 007c B94B ldr r3, .L217+4
- 3464 007e 9C22 movs r2, #156
- 3465 0080 0021 movs r1, #0
- 3466 0082 9950 str r1, [r3, r2]
- 598:User/rtu.c **** rtu_ctx.photo_ongoing = 0;
- 3467 .loc 4 598 39
- 3468 0084 B74B ldr r3, .L217+4
- 3469 0086 AC22 movs r2, #172
- 3470 0088 0021 movs r1, #0
- 3471 008a 9950 str r1, [r3, r2]
- 3472 .L168:
- 599:User/rtu.c **** }
- 600:User/rtu.c **** }
- 601:User/rtu.c **** }
- 602:User/rtu.c ****
- 603:User/rtu.c **** switch (rtu_ctx.tsk_sta)
- 3473 .loc 4 603 20
- 3474 008c B54B ldr r3, .L217+4
- 3475 008e 5B78 ldrb r3, [r3, #1]
- 3476 .loc 4 603 5
- 3477 0090 092B cmp r3, #9
- 3478 0092 04D8 bhi .L169
- 3479 0094 9A00 lsls r2, r3, #2
- 3480 0096 B54B ldr r3, .L217+12
- 3481 0098 D318 adds r3, r2, r3
- 3482 009a 1B68 ldr r3, [r3]
- 3483 009c 9F46 mov pc, r3
- 3484 .section .rodata.rtu_task,"a",%progbits
- 3485 .align 2
- 3486 .L171:
- 3487 0000 9E000000 .word .L169
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 167
- 3488 0004 A4000000 .word .L179
- 3489 0008 EA000000 .word .L178
- 3490 000c 26010000 .word .L177
- 3491 0010 0A010000 .word .L176
- 3492 0014 F2010000 .word .L175
- 3493 0018 94020000 .word .L174
- 3494 001c F0050000 .word .L173
- 3495 0020 84030000 .word .L172
- 3496 0024 76050000 .word .L170
- 3497 .section .text.rtu_task
- 3498 .L169:
- 604:User/rtu.c **** {
- 605:User/rtu.c **** default:
- 606:User/rtu.c **** case RTU_STA_IDLE:
- 607:User/rtu.c **** rtu_deinit();
- 3499 .loc 4 607 9
- 3500 009e FFF7FEFF bl rtu_deinit
- 608:User/rtu.c **** break;
- 3501 .loc 4 608 9
- 3502 00a2 CDE2 b .L180
- 3503 .L179:
- 3504 .LBB77:
- 609:User/rtu.c **** case RTU_STA_GET_STATUS:
- 610:User/rtu.c **** {
- 611:User/rtu.c **** uint8_t reason = rtu_ctx.trig_src&0x7f;
- 3505 .loc 4 611 37
- 3506 00a4 AF4B ldr r3, .L217+4
- 3507 00a6 1B78 ldrb r3, [r3]
- 3508 .loc 4 611 46
- 3509 00a8 7F22 movs r2, #127
- 3510 00aa 1340 ands r3, r2
- 3511 00ac DAB2 uxtb r2, r3
- 3512 .loc 4 611 21
- 3513 00ae B04B ldr r3, .L217+16
- 3514 00b0 A221 movs r1, #162
- 3515 00b2 8900 lsls r1, r1, #2
- 3516 00b4 5B18 adds r3, r3, r1
- 3517 00b6 DB19 adds r3, r3, r7
- 3518 00b8 1A70 strb r2, [r3]
- 612:User/rtu.c ****
- 613:User/rtu.c **** rtu_send_pkt(1, 1, &reason, 1);
- 3519 .loc 4 613 13
- 3520 00ba 6C23 movs r3, #108
- 3521 00bc FF33 adds r3, r3, #255
- 3522 00be FA18 adds r2, r7, r3
- 3523 00c0 0123 movs r3, #1
- 3524 00c2 0121 movs r1, #1
- 3525 00c4 0120 movs r0, #1
- 3526 00c6 FFF7FEFF bl rtu_send_pkt
- 614:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 3527 .loc 4 614 29
- 3528 00ca A64B ldr r3, .L217+4
- 3529 00cc 0722 movs r2, #7
- 3530 00ce 5A70 strb r2, [r3, #1]
- 615:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 3531 .loc 4 615 33
- 3532 00d0 FFF7FEFF bl HAL_GetTick
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 168
- 3533 00d4 0200 movs r2, r0
- 3534 .loc 4 615 31
- 3535 00d6 A34B ldr r3, .L217+4
- 3536 00d8 9A60 str r2, [r3, #8]
- 616:User/rtu.c **** rtu_ctx.tsk_tmo = 1000;
- 3537 .loc 4 616 29
- 3538 00da A24B ldr r3, .L217+4
- 3539 00dc FA22 movs r2, #250
- 3540 00de 9200 lsls r2, r2, #2
- 3541 00e0 DA60 str r2, [r3, #12]
- 617:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_CHK_ONLINE;
- 3542 .loc 4 617 30
- 3543 00e2 A04B ldr r3, .L217+4
- 3544 00e4 0222 movs r2, #2
- 3545 00e6 9A70 strb r2, [r3, #2]
- 3546 .LBE77:
- 618:User/rtu.c **** }
- 619:User/rtu.c **** break;
- 3547 .loc 4 619 9
- 3548 00e8 AAE2 b .L180
- 3549 .L178:
- 620:User/rtu.c **** case RTU_STA_CHK_ONLINE:
- 621:User/rtu.c **** if (rtu_ctx.online == 0)
- 3550 .loc 4 621 20
- 3551 00ea 9E4B ldr r3, .L217+4
- 3552 00ec 9822 movs r2, #152
- 3553 00ee 9B58 ldr r3, [r3, r2]
- 3554 .loc 4 621 12
- 3555 00f0 002B cmp r3, #0
- 3556 00f2 03D1 bne .L181
- 622:User/rtu.c **** {
- 623:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
- 3557 .loc 4 623 29
- 3558 00f4 9B4B ldr r3, .L217+4
- 3559 00f6 0122 movs r2, #1
- 3560 00f8 5A70 strb r2, [r3, #1]
- 3561 00fa 02E0 b .L182
- 3562 .L181:
- 624:User/rtu.c **** }
- 625:User/rtu.c **** else
- 626:User/rtu.c **** {
- 627:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_OTA;
- 3563 .loc 4 627 29
- 3564 00fc 994B ldr r3, .L217+4
- 3565 00fe 0422 movs r2, #4
- 3566 0100 5A70 strb r2, [r3, #1]
- 3567 .L182:
- 628:User/rtu.c **** // rtu_ctx.tsk_sta = RTU_STA_CHK_PARA;
- 629:User/rtu.c **** // rtu_ctx.para_chked = 0;
- 630:User/rtu.c **** }
- 631:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_OTA;
- 3568 .loc 4 631 26
- 3569 0102 984B ldr r3, .L217+4
- 3570 0104 0422 movs r2, #4
- 3571 0106 5A70 strb r2, [r3, #1]
- 632:User/rtu.c **** break;
- 3572 .loc 4 632 9
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 169
- 3573 0108 9AE2 b .L180
- 3574 .L176:
- 633:User/rtu.c **** case RTU_STA_CHK_OTA:
- 634:User/rtu.c **** rtu_send_pkt(1, CMD_OTA_START, 0, 1);
- 3575 .loc 4 634 13
- 3576 010a 0123 movs r3, #1
- 3577 010c 0022 movs r2, #0
- 3578 010e 0721 movs r1, #7
- 3579 0110 0120 movs r0, #1
- 3580 0112 FFF7FEFF bl rtu_send_pkt
- 635:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_PARA;
- 3581 .loc 4 635 29
- 3582 0116 934B ldr r3, .L217+4
- 3583 0118 0322 movs r2, #3
- 3584 011a 5A70 strb r2, [r3, #1]
- 636:User/rtu.c **** rtu_ctx.para_chked = 0;
- 3585 .loc 4 636 32
- 3586 011c 914B ldr r3, .L217+4
- 3587 011e A822 movs r2, #168
- 3588 0120 0021 movs r1, #0
- 3589 0122 9950 str r1, [r3, r2]
- 637:User/rtu.c **** break;
- 3590 .loc 4 637 9
- 3591 0124 8CE2 b .L180
- 3592 .L177:
- 638:User/rtu.c **** case RTU_STA_CHK_PARA:
- 639:User/rtu.c **** if (rtu_ctx.para_chked == 0)
- 3593 .loc 4 639 20
- 3594 0126 8F4B ldr r3, .L217+4
- 3595 0128 A822 movs r2, #168
- 3596 012a 9B58 ldr r3, [r3, r2]
- 3597 .loc 4 639 12
- 3598 012c 002B cmp r3, #0
- 3599 012e 5CD1 bne .L183
- 3600 .LBB78:
- 640:User/rtu.c **** {
- 641:User/rtu.c **** uint8_t req[4];
- 642:User/rtu.c ****
- 643:User/rtu.c **** req[0] = para.ver >> 24;
- 3601 .loc 4 643 26
- 3602 0130 904B ldr r3, .L217+20
- 3603 0132 1A78 ldrb r2, [r3]
- 3604 0134 5978 ldrb r1, [r3, #1]
- 3605 0136 0902 lsls r1, r1, #8
- 3606 0138 0A43 orrs r2, r1
- 3607 013a 9978 ldrb r1, [r3, #2]
- 3608 013c 0904 lsls r1, r1, #16
- 3609 013e 0A43 orrs r2, r1
- 3610 0140 DB78 ldrb r3, [r3, #3]
- 3611 0142 1B06 lsls r3, r3, #24
- 3612 0144 1343 orrs r3, r2
- 3613 .loc 4 643 31
- 3614 0146 1B0E lsrs r3, r3, #24
- 3615 .loc 4 643 20
- 3616 0148 DAB2 uxtb r2, r3
- 3617 014a 8B4B ldr r3, .L217+24
- 3618 014c A220 movs r0, #162
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 170
- 3619 014e 8000 lsls r0, r0, #2
- 3620 0150 1B18 adds r3, r3, r0
- 3621 0152 DB19 adds r3, r3, r7
- 3622 0154 1A70 strb r2, [r3]
- 644:User/rtu.c **** req[1] = para.ver >> 16;
- 3623 .loc 4 644 26
- 3624 0156 874B ldr r3, .L217+20
- 3625 0158 1A78 ldrb r2, [r3]
- 3626 015a 5978 ldrb r1, [r3, #1]
- 3627 015c 0902 lsls r1, r1, #8
- 3628 015e 0A43 orrs r2, r1
- 3629 0160 9978 ldrb r1, [r3, #2]
- 3630 0162 0904 lsls r1, r1, #16
- 3631 0164 0A43 orrs r2, r1
- 3632 0166 DB78 ldrb r3, [r3, #3]
- 3633 0168 1B06 lsls r3, r3, #24
- 3634 016a 1343 orrs r3, r2
- 3635 .loc 4 644 31
- 3636 016c 1B0C lsrs r3, r3, #16
- 3637 .loc 4 644 20
- 3638 016e DAB2 uxtb r2, r3
- 3639 0170 814B ldr r3, .L217+24
- 3640 0172 1B18 adds r3, r3, r0
- 3641 0174 DB19 adds r3, r3, r7
- 3642 0176 5A70 strb r2, [r3, #1]
- 645:User/rtu.c **** req[2] = para.ver >> 8;
- 3643 .loc 4 645 26
- 3644 0178 7E4B ldr r3, .L217+20
- 3645 017a 1A78 ldrb r2, [r3]
- 3646 017c 5978 ldrb r1, [r3, #1]
- 3647 017e 0902 lsls r1, r1, #8
- 3648 0180 0A43 orrs r2, r1
- 3649 0182 9978 ldrb r1, [r3, #2]
- 3650 0184 0904 lsls r1, r1, #16
- 3651 0186 0A43 orrs r2, r1
- 3652 0188 DB78 ldrb r3, [r3, #3]
- 3653 018a 1B06 lsls r3, r3, #24
- 3654 018c 1343 orrs r3, r2
- 3655 .loc 4 645 31
- 3656 018e 1B0A lsrs r3, r3, #8
- 3657 .loc 4 645 20
- 3658 0190 DAB2 uxtb r2, r3
- 3659 0192 794B ldr r3, .L217+24
- 3660 0194 1B18 adds r3, r3, r0
- 3661 0196 DB19 adds r3, r3, r7
- 3662 0198 9A70 strb r2, [r3, #2]
- 646:User/rtu.c **** req[3] = para.ver;
- 3663 .loc 4 646 26
- 3664 019a 764B ldr r3, .L217+20
- 3665 019c 1A78 ldrb r2, [r3]
- 3666 019e 5978 ldrb r1, [r3, #1]
- 3667 01a0 0902 lsls r1, r1, #8
- 3668 01a2 0A43 orrs r2, r1
- 3669 01a4 9978 ldrb r1, [r3, #2]
- 3670 01a6 0904 lsls r1, r1, #16
- 3671 01a8 0A43 orrs r2, r1
- 3672 01aa DB78 ldrb r3, [r3, #3]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 171
- 3673 01ac 1B06 lsls r3, r3, #24
- 3674 01ae 1343 orrs r3, r2
- 3675 .loc 4 646 20
- 3676 01b0 DAB2 uxtb r2, r3
- 3677 01b2 714B ldr r3, .L217+24
- 3678 01b4 1B18 adds r3, r3, r0
- 3679 01b6 DB19 adds r3, r3, r7
- 3680 01b8 DA70 strb r2, [r3, #3]
- 647:User/rtu.c **** rtu_send_pkt(1, 4, req, 4);
- 3681 .loc 4 647 13
- 3682 01ba B223 movs r3, #178
- 3683 01bc 5B00 lsls r3, r3, #1
- 3684 01be FA18 adds r2, r7, r3
- 3685 01c0 0423 movs r3, #4
- 3686 01c2 0421 movs r1, #4
- 3687 01c4 0120 movs r0, #1
- 3688 01c6 FFF7FEFF bl rtu_send_pkt
- 648:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 3689 .loc 4 648 29
- 3690 01ca 664B ldr r3, .L217+4
- 3691 01cc 0722 movs r2, #7
- 3692 01ce 5A70 strb r2, [r3, #1]
- 649:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 3693 .loc 4 649 33
- 3694 01d0 FFF7FEFF bl HAL_GetTick
- 3695 01d4 0200 movs r2, r0
- 3696 .loc 4 649 31
- 3697 01d6 634B ldr r3, .L217+4
- 3698 01d8 9A60 str r2, [r3, #8]
- 650:User/rtu.c **** rtu_ctx.tsk_tmo = 1000;
- 3699 .loc 4 650 29
- 3700 01da 624B ldr r3, .L217+4
- 3701 01dc FA22 movs r2, #250
- 3702 01de 9200 lsls r2, r2, #2
- 3703 01e0 DA60 str r2, [r3, #12]
- 651:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_TIME_SYNC;
- 3704 .loc 4 651 30
- 3705 01e2 604B ldr r3, .L217+4
- 3706 01e4 0522 movs r2, #5
- 3707 01e6 9A70 strb r2, [r3, #2]
- 3708 .LBE78:
- 652:User/rtu.c **** }
- 653:User/rtu.c **** else
- 654:User/rtu.c **** {
- 655:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_TIME_SYNC;
- 656:User/rtu.c **** }
- 657:User/rtu.c **** break;
- 3709 .loc 4 657 9
- 3710 01e8 2AE2 b .L180
- 3711 .L183:
- 655:User/rtu.c **** }
- 3712 .loc 4 655 29
- 3713 01ea 5E4B ldr r3, .L217+4
- 3714 01ec 0522 movs r2, #5
- 3715 01ee 5A70 strb r2, [r3, #1]
- 3716 .loc 4 657 9
- 3717 01f0 26E2 b .L180
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 172
- 3718 .L175:
- 658:User/rtu.c **** case RTU_STA_TIME_SYNC:
- 659:User/rtu.c **** if (rtu_ctx.time_syncd == 0)
- 3719 .loc 4 659 20
- 3720 01f2 5C4B ldr r3, .L217+4
- 3721 01f4 A022 movs r2, #160
- 3722 01f6 9B58 ldr r3, [r3, r2]
- 3723 .loc 4 659 12
- 3724 01f8 002B cmp r3, #0
- 3725 01fa 47D1 bne .L185
- 3726 .LBB79:
- 660:User/rtu.c **** {
- 661:User/rtu.c **** uint8_t req[4];
- 662:User/rtu.c **** rtc_time_t time;
- 663:User/rtu.c **** uint32_t timestamp;
- 664:User/rtu.c ****
- 665:User/rtu.c **** rtc_get_time(&time);
- 3727 .loc 4 665 13
- 3728 01fc AC24 movs r4, #172
- 3729 01fe 6400 lsls r4, r4, #1
- 3730 0200 3B19 adds r3, r7, r4
- 3731 0202 1800 movs r0, r3
- 3732 0204 FFF7FEFF bl rtc_get_time
- 666:User/rtu.c **** timestamp = rtc_mktime(&time);
- 3733 .loc 4 666 25
- 3734 0208 3B19 adds r3, r7, r4
- 3735 020a 1800 movs r0, r3
- 3736 020c FFF7FEFF bl rtc_mktime
- 3737 0210 0300 movs r3, r0
- 3738 0212 9C21 movs r1, #156
- 3739 0214 8900 lsls r1, r1, #2
- 3740 0216 7A18 adds r2, r7, r1
- 3741 0218 1360 str r3, [r2]
- 667:User/rtu.c ****
- 668:User/rtu.c **** // 填充本地时间戳
- 669:User/rtu.c **** req[0] = timestamp >> 24;
- 3742 .loc 4 669 32
- 3743 021a 7B18 adds r3, r7, r1
- 3744 021c 1B68 ldr r3, [r3]
- 3745 021e 1B0E lsrs r3, r3, #24
- 3746 .loc 4 669 20
- 3747 0220 DAB2 uxtb r2, r3
- 3748 0222 564B ldr r3, .L217+28
- 3749 0224 A220 movs r0, #162
- 3750 0226 8000 lsls r0, r0, #2
- 3751 0228 1B18 adds r3, r3, r0
- 3752 022a DB19 adds r3, r3, r7
- 3753 022c 1A70 strb r2, [r3]
- 670:User/rtu.c **** req[1] = timestamp >> 16;
- 3754 .loc 4 670 32
- 3755 022e 7B18 adds r3, r7, r1
- 3756 0230 1B68 ldr r3, [r3]
- 3757 0232 1B0C lsrs r3, r3, #16
- 3758 .loc 4 670 20
- 3759 0234 DAB2 uxtb r2, r3
- 3760 0236 514B ldr r3, .L217+28
- 3761 0238 1B18 adds r3, r3, r0
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 173
- 3762 023a DB19 adds r3, r3, r7
- 3763 023c 5A70 strb r2, [r3, #1]
- 671:User/rtu.c **** req[2] = timestamp >> 8;
- 3764 .loc 4 671 32
- 3765 023e 7B18 adds r3, r7, r1
- 3766 0240 1B68 ldr r3, [r3]
- 3767 0242 1B0A lsrs r3, r3, #8
- 3768 .loc 4 671 20
- 3769 0244 DAB2 uxtb r2, r3
- 3770 0246 4D4B ldr r3, .L217+28
- 3771 0248 1B18 adds r3, r3, r0
- 3772 024a DB19 adds r3, r3, r7
- 3773 024c 9A70 strb r2, [r3, #2]
- 672:User/rtu.c **** req[3] = timestamp;
- 3774 .loc 4 672 20
- 3775 024e 7B18 adds r3, r7, r1
- 3776 0250 1B68 ldr r3, [r3]
- 3777 0252 DAB2 uxtb r2, r3
- 3778 0254 494B ldr r3, .L217+28
- 3779 0256 1B18 adds r3, r3, r0
- 3780 0258 DB19 adds r3, r3, r7
- 3781 025a DA70 strb r2, [r3, #3]
- 673:User/rtu.c **** rtu_send_pkt(1, 3, req, 4);
- 3782 .loc 4 673 13
- 3783 025c B023 movs r3, #176
- 3784 025e 5B00 lsls r3, r3, #1
- 3785 0260 FA18 adds r2, r7, r3
- 3786 0262 0423 movs r3, #4
- 3787 0264 0321 movs r1, #3
- 3788 0266 0120 movs r0, #1
- 3789 0268 FFF7FEFF bl rtu_send_pkt
- 674:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 3790 .loc 4 674 29
- 3791 026c 3D4B ldr r3, .L217+4
- 3792 026e 0722 movs r2, #7
- 3793 0270 5A70 strb r2, [r3, #1]
- 675:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 3794 .loc 4 675 33
- 3795 0272 FFF7FEFF bl HAL_GetTick
- 3796 0276 0200 movs r2, r0
- 3797 .loc 4 675 31
- 3798 0278 3A4B ldr r3, .L217+4
- 3799 027a 9A60 str r2, [r3, #8]
- 676:User/rtu.c **** rtu_ctx.tsk_tmo = 1000;
- 3800 .loc 4 676 29
- 3801 027c 394B ldr r3, .L217+4
- 3802 027e FA22 movs r2, #250
- 3803 0280 9200 lsls r2, r2, #2
- 3804 0282 DA60 str r2, [r3, #12]
- 677:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_SND_REC;
- 3805 .loc 4 677 30
- 3806 0284 374B ldr r3, .L217+4
- 3807 0286 0622 movs r2, #6
- 3808 0288 9A70 strb r2, [r3, #2]
- 3809 .LBE79:
- 678:User/rtu.c **** }
- 679:User/rtu.c **** else
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 174
- 680:User/rtu.c **** {
- 681:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_SND_REC;
- 682:User/rtu.c **** }
- 683:User/rtu.c **** break;
- 3810 .loc 4 683 9
- 3811 028a D9E1 b .L180
- 3812 .L185:
- 681:User/rtu.c **** }
- 3813 .loc 4 681 29
- 3814 028c 354B ldr r3, .L217+4
- 3815 028e 0622 movs r2, #6
- 3816 0290 5A70 strb r2, [r3, #1]
- 3817 .loc 4 683 9
- 3818 0292 D5E1 b .L180
- 3819 .L174:
- 684:User/rtu.c **** case RTU_STA_SND_REC:
- 685:User/rtu.c **** {
- 686:User/rtu.c **** // 按键触å�‘ã€�0点触å�‘æ—¶ä¸Šä¼ è®°å½•
- 687:User/rtu.c **** if (rtu_ctx.trig_src != 1)
- 3820 .loc 4 687 20
- 3821 0294 334B ldr r3, .L217+4
- 3822 0296 1B78 ldrb r3, [r3]
- 3823 .loc 4 687 12
- 3824 0298 012B cmp r3, #1
- 3825 029a 5DD0 beq .L187
- 688:User/rtu.c **** {
- 689:User/rtu.c **** if (!sensor_is_busy())
- 3826 .loc 4 689 18
- 3827 029c FFF7FEFF bl sensor_is_busy
- 3828 02a0 031E subs r3, r0, #0
- 3829 .loc 4 689 16
- 3830 02a2 00D0 beq .LCB3218
- 3831 02a4 C9E1 b .L213 @long jump
- 3832 .LCB3218:
- 690:User/rtu.c **** {
- 691:User/rtu.c **** // 0点唤醒时,��24�时记录
- 692:User/rtu.c **** if (rtu_ctx.trig_src == 0)
- 3833 .loc 4 692 28
- 3834 02a6 2F4B ldr r3, .L217+4
- 3835 02a8 1B78 ldrb r3, [r3]
- 3836 .loc 4 692 20
- 3837 02aa 002B cmp r3, #0
- 3838 02ac 33D1 bne .L189
- 3839 .LBB80:
- 693:User/rtu.c **** {
- 694:User/rtu.c **** uint8_t rec_buf[sizeof(rec_data_t) * 24] = {0};
- 3840 .loc 4 694 29
- 3841 02ae 2C4B ldr r3, .L217
- 3842 02b0 A222 movs r2, #162
- 3843 02b2 9200 lsls r2, r2, #2
- 3844 02b4 9B18 adds r3, r3, r2
- 3845 02b6 DB19 adds r3, r3, r7
- 3846 02b8 0022 movs r2, #0
- 3847 02ba 1A60 str r2, [r3]
- 3848 02bc 0433 adds r3, r3, #4
- 3849 02be A622 movs r2, #166
- 3850 02c0 5200 lsls r2, r2, #1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 175
- 3851 02c2 0021 movs r1, #0
- 3852 02c4 1800 movs r0, r3
- 3853 02c6 FFF7FEFF bl memset
- 695:User/rtu.c ****
- 696:User/rtu.c **** rtu_pack_rec(rec_buf, sizeof(rec_buf));
- 3854 .loc 4 696 21
- 3855 02ca A823 movs r3, #168
- 3856 02cc 5A00 lsls r2, r3, #1
- 3857 02ce 3B00 movs r3, r7
- 3858 02d0 1100 movs r1, r2
- 3859 02d2 1800 movs r0, r3
- 3860 02d4 FFF7FEFF bl rtu_pack_rec
- 697:User/rtu.c **** if (rtu_ctx.rec_pack.count)
- 3861 .loc 4 697 41
- 3862 02d8 224B ldr r3, .L217+4
- 3863 02da B622 movs r2, #182
- 3864 02dc 9B5A ldrh r3, [r3, r2]
- 3865 .loc 4 697 24
- 3866 02de 002B cmp r3, #0
- 3867 02e0 15D0 beq .L190
- 698:User/rtu.c **** {
- 699:User/rtu.c **** rtu_send_pkt(1, 2, rec_buf, sizeof(rec_buf));
- 3868 .loc 4 699 25
- 3869 02e2 A823 movs r3, #168
- 3870 02e4 5B00 lsls r3, r3, #1
- 3871 02e6 3A00 movs r2, r7
- 3872 02e8 0221 movs r1, #2
- 3873 02ea 0120 movs r0, #1
- 3874 02ec FFF7FEFF bl rtu_send_pkt
- 700:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 3875 .loc 4 700 41
- 3876 02f0 1C4B ldr r3, .L217+4
- 3877 02f2 0722 movs r2, #7
- 3878 02f4 5A70 strb r2, [r3, #1]
- 701:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 3879 .loc 4 701 45
- 3880 02f6 FFF7FEFF bl HAL_GetTick
- 3881 02fa 0200 movs r2, r0
- 3882 .loc 4 701 43
- 3883 02fc 194B ldr r3, .L217+4
- 3884 02fe 9A60 str r2, [r3, #8]
- 702:User/rtu.c **** rtu_ctx.tsk_tmo = 5000;
- 3885 .loc 4 702 41
- 3886 0300 184B ldr r3, .L217+4
- 3887 0302 1F4A ldr r2, .L217+32
- 3888 0304 DA60 str r2, [r3, #12]
- 703:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_GET_STATUS;
- 3889 .loc 4 703 42
- 3890 0306 174B ldr r3, .L217+4
- 3891 0308 0122 movs r2, #1
- 3892 030a 9A70 strb r2, [r3, #2]
- 3893 .LBE80:
- 704:User/rtu.c **** }
- 705:User/rtu.c **** else
- 706:User/rtu.c **** {
- 707:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_READY;
- 708:User/rtu.c **** }
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 176
- 709:User/rtu.c **** }
- 710:User/rtu.c **** // 按键唤醒时,��一�实时数�
- 711:User/rtu.c **** else if(rtu_ctx.trig_src == 2)
- 712:User/rtu.c **** {
- 713:User/rtu.c **** rtu_send_realtime_data();
- 714:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 715:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 716:User/rtu.c ****
- 717:User/rtu.c **** // 延时1S�转到RTU_STA_WAIT_READY状�
- 718:User/rtu.c **** rtu_ctx.tsk_tmo = 0;
- 719:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_WAIT_READY;
- 720:User/rtu.c ****
- 721:User/rtu.c **** // 250930å¢žåŠ ï¼Œé˜²æ¢é‡�å¤�上ä¼
- 722:User/rtu.c **** rtu_ctx.trig_src |= 0x80;
- 723:User/rtu.c **** }
- 724:User/rtu.c **** else
- 725:User/rtu.c **** {
- 726:User/rtu.c **** // 按键唤醒,且已���了一�实时数�
- 727:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_READY;
- 728:User/rtu.c **** }
- 729:User/rtu.c **** }
- 730:User/rtu.c **** }
- 731:User/rtu.c **** else
- 732:User/rtu.c **** {
- 733:User/rtu.c **** // �照间隔唤醒,���记录
- 734:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_READY;
- 735:User/rtu.c **** }
- 736:User/rtu.c **** }
- 737:User/rtu.c **** break;
- 3894 .loc 4 737 5
- 3895 030c 95E1 b .L213
- 3896 .L190:
- 3897 .LBB81:
- 707:User/rtu.c **** }
- 3898 .loc 4 707 41
- 3899 030e 154B ldr r3, .L217+4
- 3900 0310 0822 movs r2, #8
- 3901 0312 5A70 strb r2, [r3, #1]
- 3902 .LBE81:
- 3903 .loc 4 737 5
- 3904 0314 91E1 b .L213
- 3905 .L189:
- 711:User/rtu.c **** {
- 3906 .loc 4 711 32
- 3907 0316 134B ldr r3, .L217+4
- 3908 0318 1B78 ldrb r3, [r3]
- 711:User/rtu.c **** {
- 3909 .loc 4 711 24
- 3910 031a 022B cmp r3, #2
- 3911 031c 18D1 bne .L192
- 713:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 3912 .loc 4 713 21
- 3913 031e FFF7FEFF bl rtu_send_realtime_data
- 714:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 3914 .loc 4 714 37
- 3915 0322 104B ldr r3, .L217+4
- 3916 0324 0722 movs r2, #7
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 177
- 3917 0326 5A70 strb r2, [r3, #1]
- 715:User/rtu.c ****
- 3918 .loc 4 715 41
- 3919 0328 FFF7FEFF bl HAL_GetTick
- 3920 032c 0200 movs r2, r0
- 715:User/rtu.c ****
- 3921 .loc 4 715 39
- 3922 032e 0D4B ldr r3, .L217+4
- 3923 0330 9A60 str r2, [r3, #8]
- 718:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_WAIT_READY;
- 3924 .loc 4 718 37
- 3925 0332 0C4B ldr r3, .L217+4
- 3926 0334 0022 movs r2, #0
- 3927 0336 DA60 str r2, [r3, #12]
- 719:User/rtu.c ****
- 3928 .loc 4 719 38
- 3929 0338 0A4B ldr r3, .L217+4
- 3930 033a 0822 movs r2, #8
- 3931 033c 9A70 strb r2, [r3, #2]
- 722:User/rtu.c **** }
- 3932 .loc 4 722 38
- 3933 033e 094B ldr r3, .L217+4
- 3934 0340 1B78 ldrb r3, [r3]
- 3935 0342 8022 movs r2, #128
- 3936 0344 5242 rsbs r2, r2, #0
- 3937 0346 1343 orrs r3, r2
- 3938 0348 DAB2 uxtb r2, r3
- 3939 034a 064B ldr r3, .L217+4
- 3940 034c 1A70 strb r2, [r3]
- 3941 .loc 4 737 5
- 3942 034e 74E1 b .L213
- 3943 .L192:
- 727:User/rtu.c **** }
- 3944 .loc 4 727 37
- 3945 0350 044B ldr r3, .L217+4
- 3946 0352 0822 movs r2, #8
- 3947 0354 5A70 strb r2, [r3, #1]
- 3948 .loc 4 737 5
- 3949 0356 70E1 b .L213
- 3950 .L187:
- 734:User/rtu.c **** }
- 3951 .loc 4 734 29
- 3952 0358 024B ldr r3, .L217+4
- 3953 035a 0822 movs r2, #8
- 3954 035c 5A70 strb r2, [r3, #1]
- 3955 .loc 4 737 5
- 3956 035e 6CE1 b .L213
- 3957 .L218:
- 3958 .align 2
- 3959 .L217:
- 3960 0360 78FDFFFF .word -648
- 3961 0364 00000000 .word rtu_ctx
- 3962 0368 20BF0200 .word 180000
- 3963 036c 00000000 .word .L171
- 3964 0370 E3FEFFFF .word -285
- 3965 0374 00000000 .word para
- 3966 0378 DCFEFFFF .word -292
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 178
- 3967 037c D8FEFFFF .word -296
- 3968 0380 88130000 .word 5000
- 3969 .L172:
- 738:User/rtu.c **** case RTU_STA_WAIT_READY:
- 739:User/rtu.c **** if (rtu_ctx.ota_ongoing == 0 && rtu_ctx.photo_ongoing == 0 && rtu_ctx.rec_ongoing == 0)
- 3970 .loc 4 739 20
- 3971 0384 B14B ldr r3, .L219
- 3972 0386 9C22 movs r2, #156
- 3973 0388 9B58 ldr r3, [r3, r2]
- 3974 .loc 4 739 12
- 3975 038a 002B cmp r3, #0
- 3976 038c 00D0 beq .LCB3343
- 3977 038e ECE0 b .L193 @long jump
- 3978 .LCB3343:
- 3979 .loc 4 739 48 discriminator 1
- 3980 0390 AE4B ldr r3, .L219
- 3981 0392 AC22 movs r2, #172
- 3982 0394 9B58 ldr r3, [r3, r2]
- 3983 .loc 4 739 38 discriminator 1
- 3984 0396 002B cmp r3, #0
- 3985 0398 00D0 beq .LCB3348
- 3986 039a E6E0 b .L193 @long jump
- 3987 .LCB3348:
- 3988 .loc 4 739 78 discriminator 2
- 3989 039c AB4B ldr r3, .L219
- 3990 039e B022 movs r2, #176
- 3991 03a0 9B58 ldr r3, [r3, r2]
- 3992 .loc 4 739 68 discriminator 2
- 3993 03a2 002B cmp r3, #0
- 3994 03a4 00D0 beq .LCB3353
- 3995 03a6 E0E0 b .L193 @long jump
- 3996 .LCB3353:
- 3997 .LBB82:
- 740:User/rtu.c **** {
- 741:User/rtu.c **** rtc_time_t t;
- 742:User/rtu.c **** int is_in_time_window = 0;
- 3998 .loc 4 742 17
- 3999 03a8 0023 movs r3, #0
- 4000 03aa A124 movs r4, #161
- 4001 03ac A400 lsls r4, r4, #2
- 4002 03ae 3A19 adds r2, r7, r4
- 4003 03b0 1360 str r3, [r2]
- 743:User/rtu.c ****
- 744:User/rtu.c **** rtc_get_time(&t);
- 4004 .loc 4 744 13
- 4005 03b2 A823 movs r3, #168
- 4006 03b4 5B00 lsls r3, r3, #1
- 4007 03b6 FB18 adds r3, r7, r3
- 4008 03b8 1800 movs r0, r3
- 4009 03ba FFF7FEFF bl rtc_get_time
- 745:User/rtu.c ****
- 746:User/rtu.c **** // 检查是�在10点的特殊窗�期内(时控模�下也��留)
- 747:User/rtu.c **** if (t.tm_hour == 0x10 && rtu_last_wakeup_hour != 0x10)
- 4010 .loc 4 747 18
- 4011 03be A44B ldr r3, .L219+4
- 4012 03c0 A222 movs r2, #162
- 4013 03c2 9200 lsls r2, r2, #2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 179
- 4014 03c4 9B18 adds r3, r3, r2
- 4015 03c6 DB19 adds r3, r3, r7
- 4016 03c8 DB78 ldrb r3, [r3, #3]
- 4017 .loc 4 747 16
- 4018 03ca 102B cmp r3, #16
- 4019 03cc 27D1 bne .L194
- 4020 .loc 4 747 59 discriminator 1
- 4021 03ce A14B ldr r3, .L219+8
- 4022 03d0 1B78 ldrb r3, [r3]
- 4023 .loc 4 747 35 discriminator 1
- 4024 03d2 102B cmp r3, #16
- 4025 03d4 23D0 beq .L194
- 748:User/rtu.c **** {
- 749:User/rtu.c **** // �天10点唤醒时,预留10分钟的窗�期
- 750:User/rtu.c **** if ((HAL_GetTick() - rtu_ctx.running_timer) < 10 * 60 * 1000ul)
- 4026 .loc 4 750 22
- 4027 03d6 FFF7FEFF bl HAL_GetTick
- 4028 03da 0200 movs r2, r0
- 4029 .loc 4 750 45
- 4030 03dc 9B4B ldr r3, .L219
- 4031 03de 5B68 ldr r3, [r3, #4]
- 4032 .loc 4 750 36
- 4033 03e0 D31A subs r3, r2, r3
- 4034 .loc 4 750 20
- 4035 03e2 9D4A ldr r2, .L219+12
- 4036 03e4 9342 cmp r3, r2
- 4037 03e6 06D8 bhi .L195
- 751:User/rtu.c **** {
- 752:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
- 4038 .loc 4 752 37
- 4039 03e8 984B ldr r3, .L219
- 4040 03ea 0122 movs r2, #1
- 4041 03ec 5A70 strb r2, [r3, #1]
- 753:User/rtu.c **** is_in_time_window = 1;
- 4042 .loc 4 753 39
- 4043 03ee 0123 movs r3, #1
- 4044 03f0 3A19 adds r2, r7, r4
- 4045 03f2 1360 str r3, [r2]
- 4046 03f4 13E0 b .L194
- 4047 .L195:
- 754:User/rtu.c **** }
- 755:User/rtu.c **** else
- 756:User/rtu.c **** {
- 757:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
- 4048 .loc 4 757 44
- 4049 03f6 954B ldr r3, .L219
- 4050 03f8 B522 movs r2, #181
- 4051 03fa 0521 movs r1, #5
- 4052 03fc 9954 strb r1, [r3, r2]
- 758:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
- 4053 .loc 4 758 37
- 4054 03fe 934B ldr r3, .L219
- 4055 0400 0922 movs r2, #9
- 4056 0402 5A70 strb r2, [r3, #1]
- 759:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
- 4057 .loc 4 759 45
- 4058 0404 924B ldr r3, .L219+4
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 180
- 4059 0406 A222 movs r2, #162
- 4060 0408 9200 lsls r2, r2, #2
- 4061 040a 9B18 adds r3, r3, r2
- 4062 040c DB19 adds r3, r3, r7
- 4063 040e DA78 ldrb r2, [r3, #3]
- 4064 .loc 4 759 42
- 4065 0410 904B ldr r3, .L219+8
- 4066 0412 1A70 strb r2, [r3]
- 760:User/rtu.c **** is_in_time_window = 1;
- 4067 .loc 4 760 39
- 4068 0414 0123 movs r3, #1
- 4069 0416 A122 movs r2, #161
- 4070 0418 9200 lsls r2, r2, #2
- 4071 041a BA18 adds r2, r7, r2
- 4072 041c 1360 str r3, [r2]
- 4073 .L194:
- 761:User/rtu.c **** }
- 762:User/rtu.c **** }
- 763:User/rtu.c ****
- 764:User/rtu.c **** // 如果�在10点窗�期,按照原有逻辑处�
- 765:User/rtu.c **** if (!is_in_time_window)
- 4074 .loc 4 765 16
- 4075 041e A123 movs r3, #161
- 4076 0420 9B00 lsls r3, r3, #2
- 4077 0422 FB18 adds r3, r7, r3
- 4078 0424 1B68 ldr r3, [r3]
- 4079 0426 002B cmp r3, #0
- 4080 0428 00D0 beq .LCB3423
- 4081 042a A2E0 b .L214 @long jump
- 4082 .LCB3423:
- 766:User/rtu.c **** {
- 767:User/rtu.c **** // 如果是时控模�,检查当�时间是�在设定的时间范围内
- 768:User/rtu.c **** if (para.mode == 1)
- 4083 .loc 4 768 25
- 4084 042c 8B4B ldr r3, .L219+16
- 4085 042e 1B79 ldrb r3, [r3, #4]
- 4086 .loc 4 768 20
- 4087 0430 012B cmp r3, #1
- 4088 0432 00D0 beq .LCB3427
- 4089 0434 89E0 b .L197 @long jump
- 4090 .LCB3427:
- 4091 .LBB83:
- 769:User/rtu.c **** {
- 770:User/rtu.c **** uint32_t now_min = t.tm_hour * 60 + t.tm_min;
- 4092 .loc 4 770 41
- 4093 0436 864B ldr r3, .L219+4
- 4094 0438 A221 movs r1, #162
- 4095 043a 8900 lsls r1, r1, #2
- 4096 043c 5B18 adds r3, r3, r1
- 4097 043e DB19 adds r3, r3, r7
- 4098 0440 DB78 ldrb r3, [r3, #3]
- 4099 0442 1A00 movs r2, r3
- 4100 .loc 4 770 50
- 4101 0444 1300 movs r3, r2
- 4102 0446 1B01 lsls r3, r3, #4
- 4103 0448 9B1A subs r3, r3, r2
- 4104 044a 9B00 lsls r3, r3, #2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 181
- 4105 044c 1A00 movs r2, r3
- 4106 .loc 4 770 58
- 4107 044e 804B ldr r3, .L219+4
- 4108 0450 5B18 adds r3, r3, r1
- 4109 0452 DB19 adds r3, r3, r7
- 4110 0454 1B79 ldrb r3, [r3, #4]
- 4111 .loc 4 770 55
- 4112 0456 D318 adds r3, r2, r3
- 4113 .loc 4 770 30
- 4114 0458 9F21 movs r1, #159
- 4115 045a 8900 lsls r1, r1, #2
- 4116 045c 7A18 adds r2, r7, r1
- 4117 045e 1360 str r3, [r2]
- 771:User/rtu.c **** uint32_t start_min = para.time_mode_start * 60;
- 4118 .loc 4 771 46
- 4119 0460 7E4B ldr r3, .L219+16
- 4120 0462 9B79 ldrb r3, [r3, #6]
- 4121 0464 1A00 movs r2, r3
- 4122 .loc 4 771 63
- 4123 0466 1300 movs r3, r2
- 4124 0468 1B01 lsls r3, r3, #4
- 4125 046a 9B1A subs r3, r3, r2
- 4126 046c 9B00 lsls r3, r3, #2
- 4127 .loc 4 771 30
- 4128 046e 9E20 movs r0, #158
- 4129 0470 8000 lsls r0, r0, #2
- 4130 0472 3A18 adds r2, r7, r0
- 4131 0474 1360 str r3, [r2]
- 772:User/rtu.c **** uint32_t end_min = para.time_mode_end * 60 + 59;
- 4132 .loc 4 772 44
- 4133 0476 794B ldr r3, .L219+16
- 4134 0478 DB79 ldrb r3, [r3, #7]
- 4135 047a 1A00 movs r2, r3
- 4136 .loc 4 772 59
- 4137 047c 1300 movs r3, r2
- 4138 047e 1B01 lsls r3, r3, #4
- 4139 0480 9B1A subs r3, r3, r2
- 4140 0482 9B00 lsls r3, r3, #2
- 4141 .loc 4 772 64
- 4142 0484 3B33 adds r3, r3, #59
- 4143 .loc 4 772 30
- 4144 0486 9D24 movs r4, #157
- 4145 0488 A400 lsls r4, r4, #2
- 4146 048a 3A19 adds r2, r7, r4
- 4147 048c 1360 str r3, [r2]
- 773:User/rtu.c **** uint32_t time_range = 0;
- 4148 .loc 4 773 30
- 4149 048e 0023 movs r3, #0
- 4150 0490 A022 movs r2, #160
- 4151 0492 9200 lsls r2, r2, #2
- 4152 0494 BA18 adds r2, r7, r2
- 4153 0496 1360 str r3, [r2]
- 774:User/rtu.c ****
- 775:User/rtu.c **** // 处�跨天情况
- 776:User/rtu.c **** if (end_min >= start_min)
- 4154 .loc 4 776 24
- 4155 0498 3B19 adds r3, r7, r4
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 182
- 4156 049a 1A68 ldr r2, [r3]
- 4157 049c 3B18 adds r3, r7, r0
- 4158 049e 1B68 ldr r3, [r3]
- 4159 04a0 9A42 cmp r2, r3
- 4160 04a2 13D3 bcc .L198
- 777:User/rtu.c **** {
- 778:User/rtu.c **** // �跨天
- 779:User/rtu.c **** time_range = (now_min > start_min && now_min <= end_min) ? 1 : 0;
- 4161 .loc 4 779 86
- 4162 04a4 7B18 adds r3, r7, r1
- 4163 04a6 1A68 ldr r2, [r3]
- 4164 04a8 3B18 adds r3, r7, r0
- 4165 04aa 1B68 ldr r3, [r3]
- 4166 04ac 9A42 cmp r2, r3
- 4167 04ae 07D9 bls .L199
- 4168 .loc 4 779 86 is_stmt 0 discriminator 1
- 4169 04b0 7B18 adds r3, r7, r1
- 4170 04b2 1A68 ldr r2, [r3]
- 4171 04b4 3B19 adds r3, r7, r4
- 4172 04b6 1B68 ldr r3, [r3]
- 4173 04b8 9A42 cmp r2, r3
- 4174 04ba 01D8 bhi .L199
- 4175 .loc 4 779 86 discriminator 3
- 4176 04bc 0123 movs r3, #1
- 4177 04be 00E0 b .L200
- 4178 .L199:
- 4179 .loc 4 779 86 discriminator 4
- 4180 04c0 0023 movs r3, #0
- 4181 .L200:
- 4182 .loc 4 779 36 is_stmt 1 discriminator 6
- 4183 04c2 A022 movs r2, #160
- 4184 04c4 9200 lsls r2, r2, #2
- 4185 04c6 BA18 adds r2, r7, r2
- 4186 04c8 1360 str r3, [r2]
- 4187 04ca 18E0 b .L201
- 4188 .L198:
- 780:User/rtu.c **** }
- 781:User/rtu.c **** else
- 782:User/rtu.c **** {
- 783:User/rtu.c **** // 跨天情况 (例如 23:00 到 01:00)
- 784:User/rtu.c **** time_range = (now_min > start_min || now_min <= end_min) ? 1 : 0;
- 4189 .loc 4 784 86
- 4190 04cc 9F21 movs r1, #159
- 4191 04ce 8900 lsls r1, r1, #2
- 4192 04d0 7B18 adds r3, r7, r1
- 4193 04d2 1A68 ldr r2, [r3]
- 4194 04d4 9E23 movs r3, #158
- 4195 04d6 9B00 lsls r3, r3, #2
- 4196 04d8 FB18 adds r3, r7, r3
- 4197 04da 1B68 ldr r3, [r3]
- 4198 04dc 9A42 cmp r2, r3
- 4199 04de 07D8 bhi .L202
- 4200 .loc 4 784 86 is_stmt 0 discriminator 2
- 4201 04e0 7B18 adds r3, r7, r1
- 4202 04e2 1A68 ldr r2, [r3]
- 4203 04e4 9D23 movs r3, #157
- 4204 04e6 9B00 lsls r3, r3, #2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 183
- 4205 04e8 FB18 adds r3, r7, r3
- 4206 04ea 1B68 ldr r3, [r3]
- 4207 04ec 9A42 cmp r2, r3
- 4208 04ee 01D8 bhi .L203
- 4209 .L202:
- 4210 .loc 4 784 86 discriminator 3
- 4211 04f0 0123 movs r3, #1
- 4212 04f2 00E0 b .L204
- 4213 .L203:
- 4214 .loc 4 784 86 discriminator 4
- 4215 04f4 0023 movs r3, #0
- 4216 .L204:
- 4217 .loc 4 784 36 is_stmt 1 discriminator 6
- 4218 04f6 A022 movs r2, #160
- 4219 04f8 9200 lsls r2, r2, #2
- 4220 04fa BA18 adds r2, r7, r2
- 4221 04fc 1360 str r3, [r2]
- 4222 .L201:
- 785:User/rtu.c **** }
- 786:User/rtu.c ****
- 787:User/rtu.c **** // 如果当��在时控时间段内,进入掉电�程
- 788:User/rtu.c **** if (!time_range)
- 4223 .loc 4 788 24
- 4224 04fe A023 movs r3, #160
- 4225 0500 9B00 lsls r3, r3, #2
- 4226 0502 FB18 adds r3, r7, r3
- 4227 0504 1B68 ldr r3, [r3]
- 4228 0506 002B cmp r3, #0
- 4229 0508 0FD1 bne .L205
- 789:User/rtu.c **** {
- 790:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
- 4230 .loc 4 790 48
- 4231 050a 504B ldr r3, .L219
- 4232 050c B522 movs r2, #181
- 4233 050e 0521 movs r1, #5
- 4234 0510 9954 strb r1, [r3, r2]
- 791:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
- 4235 .loc 4 791 41
- 4236 0512 4E4B ldr r3, .L219
- 4237 0514 0922 movs r2, #9
- 4238 0516 5A70 strb r2, [r3, #1]
- 792:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
- 4239 .loc 4 792 49
- 4240 0518 4D4B ldr r3, .L219+4
- 4241 051a A222 movs r2, #162
- 4242 051c 9200 lsls r2, r2, #2
- 4243 051e 9B18 adds r3, r3, r2
- 4244 0520 DB19 adds r3, r3, r7
- 4245 0522 DA78 ldrb r2, [r3, #3]
- 4246 .loc 4 792 46
- 4247 0524 4B4B ldr r3, .L219+8
- 4248 0526 1A70 strb r2, [r3]
- 4249 .LBE83:
- 4250 .LBE82:
- 740:User/rtu.c **** rtc_time_t t;
- 4251 .loc 4 740 9
- 4252 0528 23E0 b .L214
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 184
- 4253 .L205:
- 4254 .LBB85:
- 4255 .LBB84:
- 793:User/rtu.c **** }
- 794:User/rtu.c **** else
- 795:User/rtu.c **** {
- 796:User/rtu.c **** // å¦‚æžœåœ¨æ—¶æŽ§æ—¶é—´æ®µå†…ï¼Œç»§ç»æ‰§è¡ŒåŽŸé€»è¾‘
- 797:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
- 4256 .loc 4 797 48
- 4257 052a 484B ldr r3, .L219
- 4258 052c B522 movs r2, #181
- 4259 052e 0521 movs r1, #5
- 4260 0530 9954 strb r1, [r3, r2]
- 798:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
- 4261 .loc 4 798 41
- 4262 0532 464B ldr r3, .L219
- 4263 0534 0922 movs r2, #9
- 4264 0536 5A70 strb r2, [r3, #1]
- 799:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
- 4265 .loc 4 799 49
- 4266 0538 454B ldr r3, .L219+4
- 4267 053a A222 movs r2, #162
- 4268 053c 9200 lsls r2, r2, #2
- 4269 053e 9B18 adds r3, r3, r2
- 4270 0540 DB19 adds r3, r3, r7
- 4271 0542 DA78 ldrb r2, [r3, #3]
- 4272 .loc 4 799 46
- 4273 0544 434B ldr r3, .L219+8
- 4274 0546 1A70 strb r2, [r3]
- 4275 .LBE84:
- 4276 .LBE85:
- 740:User/rtu.c **** rtc_time_t t;
- 4277 .loc 4 740 9
- 4278 0548 13E0 b .L214
- 4279 .L197:
- 4280 .LBB86:
- 800:User/rtu.c **** }
- 801:User/rtu.c **** }
- 802:User/rtu.c **** else
- 803:User/rtu.c **** {
- 804:User/rtu.c **** // 光控模�,使用原�的逻辑
- 805:User/rtu.c **** rtu_ctx.power_down_cnt = 5;
- 4281 .loc 4 805 44
- 4282 054a 404B ldr r3, .L219
- 4283 054c B522 movs r2, #181
- 4284 054e 0521 movs r1, #5
- 4285 0550 9954 strb r1, [r3, r2]
- 806:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_NOTYIFY_POWER_DOWN;
- 4286 .loc 4 806 37
- 4287 0552 3E4B ldr r3, .L219
- 4288 0554 0922 movs r2, #9
- 4289 0556 5A70 strb r2, [r3, #1]
- 807:User/rtu.c **** rtu_last_wakeup_hour = t.tm_hour;
- 4290 .loc 4 807 45
- 4291 0558 3D4B ldr r3, .L219+4
- 4292 055a A222 movs r2, #162
- 4293 055c 9200 lsls r2, r2, #2
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 185
- 4294 055e 9B18 adds r3, r3, r2
- 4295 0560 DB19 adds r3, r3, r7
- 4296 0562 DA78 ldrb r2, [r3, #3]
- 4297 .loc 4 807 42
- 4298 0564 3B4B ldr r3, .L219+8
- 4299 0566 1A70 strb r2, [r3]
- 4300 .LBE86:
- 740:User/rtu.c **** rtc_time_t t;
- 4301 .loc 4 740 9
- 4302 0568 03E0 b .L214
- 4303 .L193:
- 808:User/rtu.c **** }
- 809:User/rtu.c **** }
- 810:User/rtu.c **** }
- 811:User/rtu.c **** else
- 812:User/rtu.c **** {
- 813:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
- 4304 .loc 4 813 29
- 4305 056a 384B ldr r3, .L219
- 4306 056c 0122 movs r2, #1
- 4307 056e 5A70 strb r2, [r3, #1]
- 814:User/rtu.c **** }
- 815:User/rtu.c **** break;
- 4308 .loc 4 815 9
- 4309 0570 66E0 b .L180
- 4310 .L214:
- 740:User/rtu.c **** rtc_time_t t;
- 4311 .loc 4 740 9
- 4312 0572 C046 nop
- 4313 .loc 4 815 9
- 4314 0574 64E0 b .L180
- 4315 .L170:
- 816:User/rtu.c **** case RTU_STA_NOTYIFY_POWER_DOWN:
- 817:User/rtu.c **** // 250929å¢žåŠ ï¼Œrtuåº”ç”æœ€æ–°çš„状æ€�,如果检查状æ€�为busy,则返回到状æ€�
- 818:User/rtu.c **** // 解决RTU任务�动延迟的问题
- 819:User/rtu.c **** if (rtu_ctx.ota_ongoing || rtu_ctx.photo_ongoing || rtu_ctx.rec_ongoing)
- 4316 .loc 4 819 20
- 4317 0576 354B ldr r3, .L219
- 4318 0578 9C22 movs r2, #156
- 4319 057a 9B58 ldr r3, [r3, r2]
- 4320 .loc 4 819 12
- 4321 057c 002B cmp r3, #0
- 4322 057e 09D1 bne .L207
- 4323 .loc 4 819 43 discriminator 1
- 4324 0580 324B ldr r3, .L219
- 4325 0582 AC22 movs r2, #172
- 4326 0584 9B58 ldr r3, [r3, r2]
- 4327 .loc 4 819 33 discriminator 1
- 4328 0586 002B cmp r3, #0
- 4329 0588 04D1 bne .L207
- 4330 .loc 4 819 68 discriminator 2
- 4331 058a 304B ldr r3, .L219
- 4332 058c B022 movs r2, #176
- 4333 058e 9B58 ldr r3, [r3, r2]
- 4334 .loc 4 819 58 discriminator 2
- 4335 0590 002B cmp r3, #0
- 4336 0592 03D0 beq .L208
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 186
- 4337 .L207:
- 820:User/rtu.c **** {
- 821:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_GET_STATUS;
- 4338 .loc 4 821 29
- 4339 0594 2D4B ldr r3, .L219
- 4340 0596 0122 movs r2, #1
- 4341 0598 5A70 strb r2, [r3, #1]
- 822:User/rtu.c **** break;
- 4342 .loc 4 822 13
- 4343 059a 51E0 b .L180
- 4344 .L208:
- 823:User/rtu.c **** }
- 824:User/rtu.c **** rtu_ctx.power_down_ongoing = 1;
- 4345 .loc 4 824 37
- 4346 059c 2B4B ldr r3, .L219
- 4347 059e B422 movs r2, #180
- 4348 05a0 0121 movs r1, #1
- 4349 05a2 9954 strb r1, [r3, r2]
- 825:User/rtu.c **** if (rtu_ctx.power_down_cnt)
- 4350 .loc 4 825 20
- 4351 05a4 294B ldr r3, .L219
- 4352 05a6 B522 movs r2, #181
- 4353 05a8 9B5C ldrb r3, [r3, r2]
- 4354 .loc 4 825 12
- 4355 05aa 002B cmp r3, #0
- 4356 05ac 1CD0 beq .L209
- 826:User/rtu.c **** {
- 827:User/rtu.c **** rtu_send_pkt(1, 0x06, &rtu_ctx.power_down_cnt, 1);
- 4357 .loc 4 827 13
- 4358 05ae 2C4A ldr r2, .L219+20
- 4359 05b0 0123 movs r3, #1
- 4360 05b2 0621 movs r1, #6
- 4361 05b4 0120 movs r0, #1
- 4362 05b6 FFF7FEFF bl rtu_send_pkt
- 828:User/rtu.c **** rtu_ctx.power_down_cnt--;
- 4363 .loc 4 828 20
- 4364 05ba 244B ldr r3, .L219
- 4365 05bc B522 movs r2, #181
- 4366 05be 9B5C ldrb r3, [r3, r2]
- 4367 .loc 4 828 35
- 4368 05c0 013B subs r3, r3, #1
- 4369 05c2 D9B2 uxtb r1, r3
- 4370 05c4 214B ldr r3, .L219
- 4371 05c6 B522 movs r2, #181
- 4372 05c8 9954 strb r1, [r3, r2]
- 829:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_WAIT_RESP;
- 4373 .loc 4 829 29
- 4374 05ca 204B ldr r3, .L219
- 4375 05cc 0722 movs r2, #7
- 4376 05ce 5A70 strb r2, [r3, #1]
- 830:User/rtu.c **** rtu_ctx.tsk_timer = HAL_GetTick();
- 4377 .loc 4 830 33
- 4378 05d0 FFF7FEFF bl HAL_GetTick
- 4379 05d4 0200 movs r2, r0
- 4380 .loc 4 830 31
- 4381 05d6 1D4B ldr r3, .L219
- 4382 05d8 9A60 str r2, [r3, #8]
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 187
- 831:User/rtu.c **** rtu_ctx.tsk_tmo = 0; // 设置超时时间为0ï¼Œæ— è®ºè¶…æ—¶æˆ–æ”¶åˆ°åº”ç”,都会åœ
- 4383 .loc 4 831 29
- 4384 05da 1C4B ldr r3, .L219
- 4385 05dc 0022 movs r2, #0
- 4386 05de DA60 str r2, [r3, #12]
- 832:User/rtu.c **** rtu_ctx.next_sta = RTU_STA_NOTYIFY_POWER_DOWN;
- 4387 .loc 4 832 30
- 4388 05e0 1A4B ldr r3, .L219
- 4389 05e2 0922 movs r2, #9
- 4390 05e4 9A70 strb r2, [r3, #2]
- 833:User/rtu.c **** }
- 834:User/rtu.c **** else
- 835:User/rtu.c **** {
- 836:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_IDLE;
- 837:User/rtu.c **** }
- 838:User/rtu.c **** break;
- 4391 .loc 4 838 9
- 4392 05e6 2BE0 b .L180
- 4393 .L209:
- 836:User/rtu.c **** }
- 4394 .loc 4 836 29
- 4395 05e8 184B ldr r3, .L219
- 4396 05ea 0022 movs r2, #0
- 4397 05ec 5A70 strb r2, [r3, #1]
- 4398 .loc 4 838 9
- 4399 05ee 27E0 b .L180
- 4400 .L173:
- 839:User/rtu.c **** case RTU_STA_WAIT_RESP:
- 840:User/rtu.c **** if (rtu_ctx.tsk_tmo)
- 4401 .loc 4 840 20
- 4402 05f0 164B ldr r3, .L219
- 4403 05f2 DB68 ldr r3, [r3, #12]
- 4404 .loc 4 840 12
- 4405 05f4 002B cmp r3, #0
- 4406 05f6 11D0 beq .L211
- 841:User/rtu.c **** {
- 842:User/rtu.c **** if (HAL_GetTick() - rtu_ctx.tsk_timer > rtu_ctx.tsk_tmo)
- 4407 .loc 4 842 17
- 4408 05f8 FFF7FEFF bl HAL_GetTick
- 4409 05fc 0200 movs r2, r0
- 4410 .loc 4 842 40
- 4411 05fe 134B ldr r3, .L219
- 4412 0600 9B68 ldr r3, [r3, #8]
- 4413 .loc 4 842 31
- 4414 0602 D21A subs r2, r2, r3
- 4415 .loc 4 842 60
- 4416 0604 114B ldr r3, .L219
- 4417 0606 DB68 ldr r3, [r3, #12]
- 4418 .loc 4 842 16
- 4419 0608 9A42 cmp r2, r3
- 4420 060a 18D9 bls .L215
- 843:User/rtu.c **** {
- 844:User/rtu.c **** // 250930å¢žåŠ é€šä¿¡ä¸¢å¤±å®¹é”™å¤„ç�†ï¼šè®¾ç½®online为0,解决窗å�£æœŸé€šè®¯ä
- 845:User/rtu.c **** rtu_ctx.online = 0;
- 4421 .loc 4 845 32
- 4422 060c 0F4B ldr r3, .L219
- 4423 060e 9822 movs r2, #152
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 188
- 4424 0610 0021 movs r1, #0
- 4425 0612 9950 str r1, [r3, r2]
- 846:User/rtu.c **** rtu_ctx.tsk_sta = RTU_STA_CHK_ONLINE;
- 4426 .loc 4 846 33
- 4427 0614 0D4B ldr r3, .L219
- 4428 0616 0222 movs r2, #2
- 4429 0618 5A70 strb r2, [r3, #1]
- 847:User/rtu.c **** }
- 848:User/rtu.c **** }
- 849:User/rtu.c **** else if (HAL_GetTick() - rtu_ctx.tsk_timer > 1000)
- 850:User/rtu.c **** {
- 851:User/rtu.c **** rtu_ctx.tsk_sta = rtu_ctx.next_sta;
- 852:User/rtu.c **** }
- 853:User/rtu.c **** break;
- 4430 .loc 4 853 9
- 4431 061a 10E0 b .L215
- 4432 .L211:
- 849:User/rtu.c **** {
- 4433 .loc 4 849 18
- 4434 061c FFF7FEFF bl HAL_GetTick
- 4435 0620 0200 movs r2, r0
- 849:User/rtu.c **** {
- 4436 .loc 4 849 41
- 4437 0622 0A4B ldr r3, .L219
- 4438 0624 9B68 ldr r3, [r3, #8]
- 849:User/rtu.c **** {
- 4439 .loc 4 849 32
- 4440 0626 D21A subs r2, r2, r3
- 849:User/rtu.c **** {
- 4441 .loc 4 849 17
- 4442 0628 FA23 movs r3, #250
- 4443 062a 9B00 lsls r3, r3, #2
- 4444 062c 9A42 cmp r2, r3
- 4445 062e 06D9 bls .L215
- 851:User/rtu.c **** }
- 4446 .loc 4 851 38
- 4447 0630 064B ldr r3, .L219
- 4448 0632 9A78 ldrb r2, [r3, #2]
- 851:User/rtu.c **** }
- 4449 .loc 4 851 29
- 4450 0634 054B ldr r3, .L219
- 4451 0636 5A70 strb r2, [r3, #1]
- 4452 .loc 4 853 9
- 4453 0638 01E0 b .L215
- 4454 .L213:
- 737:User/rtu.c **** case RTU_STA_WAIT_READY:
- 4455 .loc 4 737 5
- 4456 063a C046 nop
- 4457 063c 00E0 b .L216
- 4458 .L215:
- 4459 .loc 4 853 9
- 4460 063e C046 nop
- 4461 .L180:
- 4462 .L216:
- 854:User/rtu.c **** }
- 855:User/rtu.c **** }
- 4463 .loc 4 855 1
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 189
- 4464 0640 C046 nop
- 4465 0642 BD46 mov sp, r7
- 4466 0644 A223 movs r3, #162
- 4467 0646 9B00 lsls r3, r3, #2
- 4468 0648 9D44 add sp, sp, r3
- 4469 @ sp needed
- 4470 064a B0BD pop {r4, r5, r7, pc}
- 4471 .L220:
- 4472 .align 2
- 4473 .L219:
- 4474 064c 00000000 .word rtu_ctx
- 4475 0650 C8FEFFFF .word -312
- 4476 0654 00000000 .word rtu_last_wakeup_hour
- 4477 0658 BF270900 .word 599999
- 4478 065c 00000000 .word para
- 4479 0660 B5000000 .word rtu_ctx+181
- 4480 .cfi_endproc
- 4481 .LFE950:
- 4483 .section .text.rtu_irq_handle,"ax",%progbits
- 4484 .align 1
- 4485 .global rtu_irq_handle
- 4486 .syntax unified
- 4487 .code 16
- 4488 .thumb_func
- 4490 rtu_irq_handle:
- 4491 .LFB951:
- 856:User/rtu.c ****
- 857:User/rtu.c **** void rtu_irq_handle(void)
- 858:User/rtu.c **** {
- 4492 .loc 4 858 1
- 4493 .cfi_startproc
- 4494 @ args = 0, pretend = 0, frame = 8
- 4495 @ frame_needed = 1, uses_anonymous_args = 0
- 4496 0000 90B5 push {r4, r7, lr}
- 4497 .LCFI79:
- 4498 .cfi_def_cfa_offset 12
- 4499 .cfi_offset 4, -12
- 4500 .cfi_offset 7, -8
- 4501 .cfi_offset 14, -4
- 4502 0002 83B0 sub sp, sp, #12
- 4503 .LCFI80:
- 4504 .cfi_def_cfa_offset 24
- 4505 0004 00AF add r7, sp, #0
- 4506 .LCFI81:
- 4507 .cfi_def_cfa_register 7
- 859:User/rtu.c **** if (LL_USART_IsEnabledIT_RXNE(COM_RTU) && LL_USART_IsActiveFlag_RXNE(COM_RTU))
- 4508 .loc 4 859 9
- 4509 0006 274B ldr r3, .L227
- 4510 0008 1800 movs r0, r3
- 4511 000a FFF7FEFF bl LL_USART_IsEnabledIT_RXNE_RXFNE
- 4512 000e 031E subs r3, r0, #0
- 4513 .loc 4 859 8
- 4514 0010 21D0 beq .L222
- 4515 .loc 4 859 47 discriminator 1
- 4516 0012 244B ldr r3, .L227
- 4517 0014 1800 movs r0, r3
- 4518 0016 FFF7FEFF bl LL_USART_IsActiveFlag_RXNE_RXFNE
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 190
- 4519 001a 031E subs r3, r0, #0
- 4520 .loc 4 859 44 discriminator 1
- 4521 001c 1BD0 beq .L222
- 4522 .LBB87:
- 860:User/rtu.c **** {
- 861:User/rtu.c **** uint8_t tmp;
- 862:User/rtu.c ****
- 863:User/rtu.c **** tmp = LL_USART_ReceiveData8(COM_RTU);
- 4523 .loc 4 863 15
- 4524 001e FC1D adds r4, r7, #7
- 4525 0020 204B ldr r3, .L227
- 4526 0022 1800 movs r0, r3
- 4527 0024 FFF7FEFF bl LL_USART_ReceiveData8
- 4528 0028 0300 movs r3, r0
- 4529 002a 2370 strb r3, [r4]
- 864:User/rtu.c **** if (rtu_ctx.rx_len < sizeof(rtu_ctx.rx_buf))
- 4530 .loc 4 864 20
- 4531 002c 1E4B ldr r3, .L227+4
- 4532 002e 1B69 ldr r3, [r3, #16]
- 4533 .loc 4 864 12
- 4534 0030 7F2B cmp r3, #127
- 4535 0032 0BD8 bhi .L223
- 865:User/rtu.c **** {
- 866:User/rtu.c **** rtu_ctx.rx_buf[rtu_ctx.rx_len] = tmp;
- 4536 .loc 4 866 35
- 4537 0034 1C4B ldr r3, .L227+4
- 4538 0036 1B69 ldr r3, [r3, #16]
- 4539 .loc 4 866 44
- 4540 0038 1B4A ldr r2, .L227+4
- 4541 003a D318 adds r3, r2, r3
- 4542 003c FA1D adds r2, r7, #7
- 4543 003e 1278 ldrb r2, [r2]
- 4544 0040 1A76 strb r2, [r3, #24]
- 867:User/rtu.c **** rtu_ctx.rx_len++;
- 4545 .loc 4 867 20
- 4546 0042 194B ldr r3, .L227+4
- 4547 0044 1B69 ldr r3, [r3, #16]
- 4548 .loc 4 867 27
- 4549 0046 5A1C adds r2, r3, #1
- 4550 0048 174B ldr r3, .L227+4
- 4551 004a 1A61 str r2, [r3, #16]
- 4552 .L223:
- 868:User/rtu.c **** }
- 869:User/rtu.c **** rtu_ctx.rx_timer = HAL_GetTick();
- 4553 .loc 4 869 28
- 4554 004c FFF7FEFF bl HAL_GetTick
- 4555 0050 0200 movs r2, r0
- 4556 .loc 4 869 26
- 4557 0052 154B ldr r3, .L227+4
- 4558 0054 5A61 str r2, [r3, #20]
- 4559 .L222:
- 4560 .LBE87:
- 870:User/rtu.c **** }
- 871:User/rtu.c ****
- 872:User/rtu.c **** if (LL_USART_IsActiveFlag_ORE(COM_RTU))
- 4561 .loc 4 872 9
- 4562 0056 134B ldr r3, .L227
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 191
- 4563 0058 1800 movs r0, r3
- 4564 005a FFF7FEFF bl LL_USART_IsActiveFlag_ORE
- 4565 005e 031E subs r3, r0, #0
- 4566 .loc 4 872 8
- 4567 0060 07D0 beq .L224
- 873:User/rtu.c **** {
- 874:User/rtu.c **** LL_USART_ClearFlag_ORE(COM_RTU);
- 4568 .loc 4 874 9
- 4569 0062 104B ldr r3, .L227
- 4570 0064 1800 movs r0, r3
- 4571 0066 FFF7FEFF bl LL_USART_ClearFlag_ORE
- 875:User/rtu.c **** LL_USART_DisableIT_ERROR(COM_RTU);
- 4572 .loc 4 875 9
- 4573 006a 0E4B ldr r3, .L227
- 4574 006c 1800 movs r0, r3
- 4575 006e FFF7FEFF bl LL_USART_DisableIT_ERROR
- 4576 .L224:
- 876:User/rtu.c **** }
- 877:User/rtu.c ****
- 878:User/rtu.c **** if (LL_USART_IsEnabledIT_TC(COM_RTU) && LL_USART_IsActiveFlag_TC(COM_RTU))
- 4577 .loc 4 878 9
- 4578 0072 0C4B ldr r3, .L227
- 4579 0074 1800 movs r0, r3
- 4580 0076 FFF7FEFF bl LL_USART_IsEnabledIT_TC
- 4581 007a 031E subs r3, r0, #0
- 4582 .loc 4 878 8
- 4583 007c 0DD0 beq .L226
- 4584 .loc 4 878 45 discriminator 1
- 4585 007e 094B ldr r3, .L227
- 4586 0080 1800 movs r0, r3
- 4587 0082 FFF7FEFF bl LL_USART_IsActiveFlag_TC
- 4588 0086 031E subs r3, r0, #0
- 4589 .loc 4 878 42 discriminator 1
- 4590 0088 07D0 beq .L226
- 879:User/rtu.c **** {
- 880:User/rtu.c **** LL_USART_ClearFlag_TC(COM_RTU);
- 4591 .loc 4 880 9
- 4592 008a 064B ldr r3, .L227
- 4593 008c 1800 movs r0, r3
- 4594 008e FFF7FEFF bl LL_USART_ClearFlag_TC
- 881:User/rtu.c **** LL_USART_DisableIT_TC(COM_RTU);
- 4595 .loc 4 881 9
- 4596 0092 044B ldr r3, .L227
- 4597 0094 1800 movs r0, r3
- 4598 0096 FFF7FEFF bl LL_USART_DisableIT_TC
- 4599 .L226:
- 882:User/rtu.c **** }
- 883:User/rtu.c **** }
- 4600 .loc 4 883 1
- 4601 009a C046 nop
- 4602 009c BD46 mov sp, r7
- 4603 009e 03B0 add sp, sp, #12
- 4604 @ sp needed
- 4605 00a0 90BD pop {r4, r7, pc}
- 4606 .L228:
- 4607 00a2 C046 .align 2
- 4608 .L227:
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 192
- 4609 00a4 00440040 .word 1073759232
- 4610 00a8 00000000 .word rtu_ctx
- 4611 .cfi_endproc
- 4612 .LFE951:
- 4614 .text
- 4615 .Letext0:
- 4616 .file 5 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\machine\\_default_
- 4617 .file 6 "f:\\toolchain\\gcc-arm-none-eabi-10.3-2021.10\\arm-none-eabi\\include\\sys\\_stdint.h"
- 4618 .file 7 "User/para.h"
- 4619 .file 8 "Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h"
- 4620 .file 9 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h"
- 4621 .file 10 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_gpio.h"
- 4622 .file 11 "User/rec.h"
- 4623 .file 12 "User/app_rtc.h"
- 4624 .file 13 "User/sensor.h"
- 4625 .file 14 "Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h"
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 193
- DEFINED SYMBOLS
- *ABS*:00000000 rtu.c
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:18 .rodata.CHANNEL_OFFSET_TAB:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:21 .rodata.CHANNEL_OFFSET_TAB:00000000 CHANNEL_OFFSET_TAB
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:24 .rodata.USART_PRESCALER_TAB:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:27 .rodata.USART_PRESCALER_TAB:00000000 USART_PRESCALER_TAB
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:41 .text.LL_USART_IsActiveFlag_ORE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:46 .text.LL_USART_IsActiveFlag_ORE:00000000 LL_USART_IsActiveFlag_ORE
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:90 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:95 .text.LL_USART_IsActiveFlag_RXNE_RXFNE:00000000 LL_USART_IsActiveFlag_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:138 .text.LL_USART_IsActiveFlag_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:143 .text.LL_USART_IsActiveFlag_TC:00000000 LL_USART_IsActiveFlag_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:186 .text.LL_USART_ClearFlag_ORE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:191 .text.LL_USART_ClearFlag_ORE:00000000 LL_USART_ClearFlag_ORE
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:223 .text.LL_USART_ClearFlag_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:228 .text.LL_USART_ClearFlag_TC:00000000 LL_USART_ClearFlag_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:260 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:265 .text.LL_USART_EnableIT_RXNE_RXFNE:00000000 LL_USART_EnableIT_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:351 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:356 .text.LL_USART_DisableIT_RXNE_RXFNE:00000000 LL_USART_DisableIT_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:442 .text.LL_USART_DisableIT_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:447 .text.LL_USART_DisableIT_TC:00000000 LL_USART_DisableIT_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:533 .text.LL_USART_DisableIT_ERROR:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:538 .text.LL_USART_DisableIT_ERROR:00000000 LL_USART_DisableIT_ERROR
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:624 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:629 .text.LL_USART_IsEnabledIT_RXNE_RXFNE:00000000 LL_USART_IsEnabledIT_RXNE_RXFNE
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:672 .text.LL_USART_IsEnabledIT_TC:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:677 .text.LL_USART_IsEnabledIT_TC:00000000 LL_USART_IsEnabledIT_TC
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:720 .text.LL_USART_ReceiveData8:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:725 .text.LL_USART_ReceiveData8:00000000 LL_USART_ReceiveData8
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:758 .text.LL_USART_TransmitData8:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:763 .text.LL_USART_TransmitData8:00000000 LL_USART_TransmitData8
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:799 .text.LL_APB1_GRP1_DisableClock:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:804 .text.LL_APB1_GRP1_DisableClock:00000000 LL_APB1_GRP1_DisableClock
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:840 .text.LL_APB1_GRP1_DisableClock:00000020 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:849 .bss.rtu_ctx:00000000 rtu_ctx
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:846 .bss.rtu_ctx:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:854 .bss.rtu_last_wakeup_hour:00000000 rtu_last_wakeup_hour
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:855 .bss.rtu_last_wakeup_hour:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:857 .rodata:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:861 .text.rtu_init:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:867 .text.rtu_init:00000000 rtu_init
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:952 .text.rtu_init:00000070 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:959 .text.rtu_deinit:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:965 .text.rtu_deinit:00000000 rtu_deinit
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1041 .text.rtu_deinit:0000006c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1048 .text.rtu_write:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1053 .text.rtu_write:00000000 rtu_write
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1124 .text.rtu_write:0000004c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1129 .text.rtu_escape_data:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1134 .text.rtu_escape_data:00000000 rtu_escape_data
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1294 .text.rtu_send_pkt:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1300 .text.rtu_send_pkt:00000000 rtu_send_pkt
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1575 .text.rtu_send_pkt:000001c8 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1589 .text.rtu_read:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1595 .text.rtu_read:00000000 rtu_read
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1684 .text.rtu_read:00000064 $d
- ARM GAS C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s page 194
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1690 .text.rtu_parse_sta:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1696 .text.rtu_parse_sta:00000000 rtu_parse_sta
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1761 .text.rtu_parse_sta:0000004c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1766 .text.rtu_pack_rec:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:1772 .text.rtu_pack_rec:00000000 rtu_pack_rec
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2099 .text.rtu_pack_rec:000001ac $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2104 .text.rtu_unescape_data:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2109 .text.rtu_unescape_data:00000000 rtu_unescape_data
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2246 .text.rtu_send_realtime_data:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2251 .text.rtu_send_realtime_data:00000000 rtu_send_realtime_data
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2420 .text.rtu_rx_proc:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2426 .text.rtu_rx_proc:00000000 rtu_rx_proc
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:2752 .rodata.rtu_rx_proc:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3349 .text.rtu_rx_proc:0000050c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3362 .text.rtu_task:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3368 .text.rtu_task:00000000 rtu_task
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3485 .rodata.rtu_task:00000000 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3960 .text.rtu_task:00000360 $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:3971 .text.rtu_task:00000384 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4474 .text.rtu_task:0000064c $d
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4484 .text.rtu_irq_handle:00000000 $t
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4490 .text.rtu_irq_handle:00000000 rtu_irq_handle
- C:\Users\ADMINI~1\AppData\Local\Temp\cc3zmNPm.s:4609 .text.rtu_irq_handle:000000a4 $d
- UNDEFINED SYMBOLS
- pm_get_lock
- memset
- MX_USART2_UART_Init
- HAL_GPIO_WritePin
- HAL_GetTick
- LL_USART_DeInit
- LL_GPIO_Init
- pm_release_lock
- memcpy
- CRC16
- rec_read
- rtc_get_time
- rtc_mktime
- sensor_get_data
- rec_delete
- rtc_gmtime
- rtc_set_time
- para_write
- Ymodem_ReceiveToW25Qxx
- W25qxx_EraseSector
- W25qxx_WriteByte
- HAL_NVIC_SystemReset
- para
- sensor_is_busy
|