hc32f448.h 733 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588
  1. /**
  2. *******************************************************************************
  3. * @file HC32F448.h
  4. * @brief Headerfile for HC32F448 series MCU
  5. @verbatim
  6. Change Logs:
  7. Date Author Notes
  8. 2022-12-31 CDT First version
  9. @endverbatim
  10. *******************************************************************************
  11. * Copyright (C) 2022, Xiaohua Semiconductor Co., Ltd. All rights reserved.
  12. *
  13. * This software component is licensed by XHSC under BSD 3-Clause license
  14. * (the "License"); You may not use this file except in compliance with the
  15. * License. You may obtain a copy of the License at:
  16. * opensource.org/licenses/BSD-3-Clause
  17. *
  18. *******************************************************************************
  19. **/
  20. #ifndef __HC32F448_H__
  21. #define __HC32F448_H__
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /*******************************************************************************
  26. * Configuration of the Cortex-M4 Processor and Core Peripherals
  27. ******************************************************************************/
  28. #define __MPU_PRESENT 1 /*!< HC32F448 provides MPU */
  29. #define __VTOR_PRESENT 1 /*!< HC32F448 supported vector table registers */
  30. #define __NVIC_PRIO_BITS 4 /*!< HC32F448 uses 4 Bits for the Priority Levels */
  31. #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
  32. #define __FPU_PRESENT 1 /*!< FPU present */
  33. /*******************************************************************************
  34. * Interrupt Number Definition
  35. ******************************************************************************/
  36. typedef enum {
  37. NMI_IRQn = -14, /* 2 Non Maskable */
  38. HardFault_IRQn = -13, /* 3 Hard Fault */
  39. MemManageFault_IRQn = -12, /* 4 MemManage Fault */
  40. BusFault_IRQn = -11, /* 5 Bus Fault */
  41. UsageFault_IRQn = -10, /* 6 Usage Fault */
  42. SVC_IRQn = -5, /* 11 SVCall */
  43. DebugMonitor_IRQn = -4, /* 12 DebugMonitor */
  44. PendSV_IRQn = -2, /* 14 Pend SV */
  45. SysTick_IRQn = -1, /* 15 System Tick */
  46. INT000_IRQn = 0,
  47. INT001_IRQn = 1,
  48. INT002_IRQn = 2,
  49. INT003_IRQn = 3,
  50. INT004_IRQn = 4,
  51. INT005_IRQn = 5,
  52. INT006_IRQn = 6,
  53. INT007_IRQn = 7,
  54. INT008_IRQn = 8,
  55. INT009_IRQn = 9,
  56. INT010_IRQn = 10,
  57. INT011_IRQn = 11,
  58. INT012_IRQn = 12,
  59. INT013_IRQn = 13,
  60. INT014_IRQn = 14,
  61. INT015_IRQn = 15,
  62. EXTINT_PORT_EIRQ0_IRQn = 16,
  63. EXTINT_PORT_EIRQ1_IRQn = 17,
  64. EXTINT_PORT_EIRQ2_IRQn = 18,
  65. EXTINT_PORT_EIRQ3_IRQn = 19,
  66. EXTINT_PORT_EIRQ4_IRQn = 20,
  67. EXTINT_PORT_EIRQ5_IRQn = 21,
  68. EXTINT_PORT_EIRQ6_IRQn = 22,
  69. EXTINT_PORT_EIRQ7_IRQn = 23,
  70. EXTINT_PORT_EIRQ8_IRQn = 24,
  71. EXTINT_PORT_EIRQ9_IRQn = 25,
  72. EXTINT_PORT_EIRQ10_IRQn = 26,
  73. EXTINT_PORT_EIRQ11_IRQn = 27,
  74. EXTINT_PORT_EIRQ12_IRQn = 28,
  75. EXTINT_PORT_EIRQ13_IRQn = 29,
  76. EXTINT_PORT_EIRQ14_IRQn = 30,
  77. EXTINT_PORT_EIRQ15_IRQn = 31,
  78. SWINT0_IRQn = 0,
  79. SWINT1_IRQn = 1,
  80. SWINT2_IRQn = 2,
  81. SWINT3_IRQn = 3,
  82. SWINT4_IRQn = 4,
  83. SWINT5_IRQn = 5,
  84. SWINT6_IRQn = 6,
  85. SWINT7_IRQn = 7,
  86. SWINT8_IRQn = 8,
  87. SWINT9_IRQn = 9,
  88. SWINT10_IRQn = 10,
  89. SWINT11_IRQn = 11,
  90. SWINT12_IRQn = 12,
  91. SWINT13_IRQn = 13,
  92. SWINT14_IRQn = 14,
  93. SWINT15_IRQn = 15,
  94. SWINT16_IRQn = 16,
  95. SWINT17_IRQn = 17,
  96. SWINT18_IRQn = 18,
  97. SWINT19_IRQn = 19,
  98. SWINT20_IRQn = 20,
  99. SWINT21_IRQn = 21,
  100. SWINT22_IRQn = 22,
  101. SWINT23_IRQn = 23,
  102. SWINT24_IRQn = 24,
  103. SWINT25_IRQn = 25,
  104. SWINT26_IRQn = 26,
  105. SWINT27_IRQn = 27,
  106. SWINT28_IRQn = 28,
  107. SWINT29_IRQn = 29,
  108. SWINT30_IRQn = 30,
  109. SWINT31_IRQn = 31,
  110. DMA1_ERR_IRQn = 32,
  111. DMA1_TC0_BTC0_IRQn = 33,
  112. DMA1_TC1_BTC1_IRQn = 34,
  113. DMA1_TC2_BTC2_IRQn = 35,
  114. DMA1_TC3_BTC3_IRQn = 36,
  115. DMA1_TC4_BTC4_IRQn = 37,
  116. DMA1_TC5_BTC5_IRQn = 38,
  117. EFM_PEERR_RDCOL_IRQn = 39,
  118. EFM_OPTEND_IRQn = 40,
  119. QSPI_IRQn = 41,
  120. DCU1_IRQn = 42,
  121. DCU2_IRQn = 43,
  122. DCU3_IRQn = 44,
  123. DCU4_IRQn = 45,
  124. DMA2_ERR_IRQn = 46,
  125. DMA2_TC0_BTC0_IRQn = 47,
  126. DMA2_TC1_BTC1_IRQn = 48,
  127. DMA2_TC2_BTC2_IRQn = 49,
  128. DMA2_TC3_BTC3_IRQn = 50,
  129. DMA2_TC4_BTC4_IRQn = 51,
  130. DMA2_TC5_BTC5_IRQn = 52,
  131. TMR0_1_IRQn = 53,
  132. TMR0_2_IRQn = 54,
  133. RTC_IRQn = 55,
  134. XTAL_IRQn = 56,
  135. WKTM_IRQn = 57,
  136. SWDT_IRQn = 58,
  137. TMR6_1_GCMP_IRQn = 59,
  138. TMR6_1_OVF_UDF_IRQn = 60,
  139. TMR6_1_DTE_IRQn = 61,
  140. TMR6_1_SCMP_IRQn = 62,
  141. TMRA_1_OVF_UDF_IRQn = 63,
  142. TMRA_1_CMP_IRQn = 64,
  143. TMR6_2_GCMP_IRQn = 65,
  144. TMR6_2_OVF_UDF_IRQn = 66,
  145. TMR6_2_DTE_IRQn = 67,
  146. TMR6_2_SCMP_IRQn = 68,
  147. TMRA_2_OVF_UDF_IRQn = 69,
  148. TMRA_2_CMP_IRQn = 70,
  149. TMRA_3_OVF_UDF_IRQn = 71,
  150. TMRA_3_CMP_IRQn = 72,
  151. TMRA_4_OVF_UDF_IRQn = 73,
  152. TMRA_4_CMP_IRQn = 74,
  153. TMR4_1_GCMP_IRQn = 75,
  154. TMR4_1_OVF_UDF_IRQn = 76,
  155. TMR4_1_RELOAD_IRQn = 77,
  156. TMR4_1_SCMP_IRQn = 78,
  157. TMR4_2_GCMP_IRQn = 79,
  158. TMR4_2_OVF_UDF_IRQn = 80,
  159. TMR4_2_RELOAD_IRQn = 81,
  160. TMR4_2_SCMP_IRQn = 82,
  161. TMR4_3_GCMP_IRQn = 83,
  162. TMR4_3_OVF_UDF_IRQn = 84,
  163. TMR4_3_RELOAD_IRQn = 85,
  164. TMR4_3_SCMP_IRQn = 86,
  165. I2C1_IRQn = 87,
  166. I2C2_IRQn = 88,
  167. CMP1_IRQ_IRQn = 89,
  168. CMP2_IRQ_IRQn = 90,
  169. CMP3_IRQ_IRQn = 91,
  170. CMP4_IRQ_IRQn = 92,
  171. USART1_IRQn = 93,
  172. USART1_TCI_IRQn = 94,
  173. USART2_IRQn = 95,
  174. USART2_TCI_IRQn = 96,
  175. SPI1_IRQn = 97,
  176. TMRA_5_OVF_UDF_IRQn = 98,
  177. TMRA_5_CMP_IRQn = 99,
  178. EVENT_PORT1_IRQn = 100,
  179. EVENT_PORT2_IRQn = 101,
  180. EVENT_PORT3_IRQn = 102,
  181. EVENT_PORT4_IRQn = 103,
  182. USART3_IRQn = 104,
  183. USART3_TCI_IRQn = 105,
  184. USART4_IRQn = 106,
  185. USART4_TCI_IRQn = 107,
  186. SPI2_IRQn = 108,
  187. SPI3_IRQn = 109,
  188. EMB_GR0_IRQn = 110,
  189. EMB_GR1_IRQn = 111,
  190. EMB_GR2_IRQn = 112,
  191. EMB_GR3_IRQn = 113,
  192. USART5_IRQn = 114,
  193. USART5_TCI_IRQn = 115,
  194. USART6_IRQn = 116,
  195. USART6_TCI_IRQn = 117,
  196. MCAN1_INT0_IRQn = 118,
  197. MCAN1_INT1_IRQn = 119,
  198. MCAN2_INT0_IRQn = 120,
  199. MCAN2_INT1_IRQn = 121,
  200. USART1_WUPI_IRQn = 122,
  201. LVD1_IRQn = 123,
  202. LVD2_IRQn = 124,
  203. FCM_IRQn = 125,
  204. WDT_IRQn = 126,
  205. CTC_IRQn = 127,
  206. ADC1_IRQn = 128,
  207. ADC2_IRQn = 129,
  208. ADC3_IRQn = 130,
  209. TRNG_IRQn = 131,
  210. } IRQn_Type;
  211. #include <core_cm4.h>
  212. #include <stdint.h>
  213. /**
  214. *******************************************************************************
  215. ** \brief Event number enumeration
  216. ******************************************************************************/
  217. typedef enum {
  218. EVT_SRC_SWI_IRQ0 = 0U,
  219. EVT_SRC_SWI_IRQ1 = 1U,
  220. EVT_SRC_SWI_IRQ2 = 2U,
  221. EVT_SRC_SWI_IRQ3 = 3U,
  222. EVT_SRC_SWI_IRQ4 = 4U,
  223. EVT_SRC_SWI_IRQ5 = 5U,
  224. EVT_SRC_SWI_IRQ6 = 6U,
  225. EVT_SRC_SWI_IRQ7 = 7U,
  226. EVT_SRC_SWI_IRQ8 = 8U,
  227. EVT_SRC_SWI_IRQ9 = 9U,
  228. EVT_SRC_SWI_IRQ10 = 10U,
  229. EVT_SRC_SWI_IRQ11 = 11U,
  230. EVT_SRC_SWI_IRQ12 = 12U,
  231. EVT_SRC_SWI_IRQ13 = 13U,
  232. EVT_SRC_SWI_IRQ14 = 14U,
  233. EVT_SRC_SWI_IRQ15 = 15U,
  234. EVT_SRC_SWI_IRQ16 = 16U,
  235. EVT_SRC_SWI_IRQ17 = 17U,
  236. EVT_SRC_SWI_IRQ18 = 18U,
  237. EVT_SRC_SWI_IRQ19 = 19U,
  238. EVT_SRC_SWI_IRQ20 = 20U,
  239. EVT_SRC_SWI_IRQ21 = 21U,
  240. EVT_SRC_SWI_IRQ22 = 22U,
  241. EVT_SRC_SWI_IRQ23 = 23U,
  242. EVT_SRC_SWI_IRQ24 = 24U,
  243. EVT_SRC_SWI_IRQ25 = 25U,
  244. EVT_SRC_SWI_IRQ26 = 26U,
  245. EVT_SRC_SWI_IRQ27 = 27U,
  246. EVT_SRC_SWI_IRQ28 = 28U,
  247. EVT_SRC_SWI_IRQ29 = 29U,
  248. EVT_SRC_SWI_IRQ30 = 30U,
  249. EVT_SRC_SWI_IRQ31 = 31U,
  250. /* External Interrupt */
  251. EVT_SRC_PORT_EIRQ0 = 0U, /* EIRQ0 */
  252. EVT_SRC_PORT_EIRQ1 = 1U, /* EIRQ1 */
  253. EVT_SRC_PORT_EIRQ2 = 2U, /* EIRQ2 */
  254. EVT_SRC_PORT_EIRQ3 = 3U, /* EIRQ3 */
  255. EVT_SRC_PORT_EIRQ4 = 4U, /* EIRQ4 */
  256. EVT_SRC_PORT_EIRQ5 = 5U, /* EIRQ5 */
  257. EVT_SRC_PORT_EIRQ6 = 6U, /* EIRQ6 */
  258. EVT_SRC_PORT_EIRQ7 = 7U, /* EIRQ7 */
  259. EVT_SRC_PORT_EIRQ8 = 8U, /* EIRQ8 */
  260. EVT_SRC_PORT_EIRQ9 = 9U, /* EIRQ9 */
  261. EVT_SRC_PORT_EIRQ10 = 10U, /* EIRQ10 */
  262. EVT_SRC_PORT_EIRQ11 = 11U, /* EIRQ11 */
  263. EVT_SRC_PORT_EIRQ12 = 12U, /* EIRQ12 */
  264. EVT_SRC_PORT_EIRQ13 = 13U, /* EIRQ13 */
  265. EVT_SRC_PORT_EIRQ14 = 14U, /* EIRQ14 */
  266. EVT_SRC_PORT_EIRQ15 = 15U, /* EIRQ15 */
  267. /* DMA_1 */
  268. EVT_SRC_DMA1_TC0 = 33U, /* DMA_1_TC0 */
  269. EVT_SRC_DMA1_BTC0 = 34U, /* DMA_1_BTC0 */
  270. EVT_SRC_DMA1_TC1 = 35U, /* DMA_1_TC1 */
  271. EVT_SRC_DMA1_BTC1 = 36U, /* DMA_1_BTC1 */
  272. EVT_SRC_DMA1_TC2 = 37U, /* DMA_1_TC2 */
  273. EVT_SRC_DMA1_BTC2 = 38U, /* DMA_1_BTC2 */
  274. EVT_SRC_DMA1_TC3 = 39U, /* DMA_1_TC3 */
  275. EVT_SRC_DMA1_BTC3 = 40U, /* DMA_1_BTC3 */
  276. EVT_SRC_DMA1_TC4 = 41U, /* DMA_1_TC4 */
  277. EVT_SRC_DMA1_BTC4 = 42U, /* DMA_1_BTC4 */
  278. EVT_SRC_DMA1_TC5 = 43U, /* DMA_1_TC5 */
  279. EVT_SRC_DMA1_BTC5 = 44U, /* DMA_1_BTC5 */
  280. /* EFM */
  281. EVT_SRC_EFM_OPTEND = 51U, /* EFM_OPTEND */
  282. /* DCU */
  283. EVT_SRC_DCU1 = 55U, /* DCU1 */
  284. EVT_SRC_DCU2 = 56U, /* DCU2 */
  285. EVT_SRC_DCU3 = 57U, /* DCU3 */
  286. EVT_SRC_DCU4 = 58U, /* DCU4 */
  287. /* DMA2 */
  288. EVT_SRC_DMA2_TC0 = 65U, /* DMA_2_TC0 */
  289. EVT_SRC_DMA2_BTC0 = 66U, /* DMA_2_BTC0 */
  290. EVT_SRC_DMA2_TC1 = 67U, /* DMA_2_TC1 */
  291. EVT_SRC_DMA2_BTC1 = 68U, /* DMA_2_BTC1 */
  292. EVT_SRC_DMA2_TC2 = 69U, /* DMA_2_TC2 */
  293. EVT_SRC_DMA2_BTC2 = 70U, /* DMA_2_BTC2 */
  294. EVT_SRC_DMA2_TC3 = 71U, /* DMA_2_TC3 */
  295. EVT_SRC_DMA2_BTC3 = 72U, /* DMA_2_BTC3 */
  296. EVT_SRC_DMA2_TC4 = 73U, /* DMA_2_TC4 */
  297. EVT_SRC_DMA2_BTC4 = 74U, /* DMA_2_BTC4 */
  298. EVT_SRC_DMA2_TC5 = 75U, /* DMA_2_TC5 */
  299. EVT_SRC_DMA2_BTC5 = 76U, /* DMA_2_BTC5 */
  300. /* TIMER0 */
  301. EVT_SRC_TMR0_1_CMP_A = 96U, /* TMR0_1_CMPA */
  302. EVT_SRC_TMR0_1_CMP_B = 97U, /* TMR0_1_CMPB */
  303. EVT_SRC_TMR0_2_CMP_A = 98U, /* TMR0_2_CMPA */
  304. EVT_SRC_TMR0_2_CMP_B = 99U, /* TMR0_2_CMPB */
  305. /* RTC */
  306. EVT_SRC_RTC_ALM = 121U, /* RTC_ALM */
  307. EVT_SRC_RTC_PRD = 122U, /* RTC_PRD */
  308. /* TIMER6_1 */
  309. EVT_SRC_TMR6_1_GCMP_A = 128U, /* TMR6_1_GCMA */
  310. EVT_SRC_TMR6_1_GCMP_B = 129U, /* TMR6_1_GCMB */
  311. EVT_SRC_TMR6_1_GCMP_C = 130U, /* TMR6_1_GCMC */
  312. EVT_SRC_TMR6_1_GCMP_D = 131U, /* TMR6_1_GCMD */
  313. EVT_SRC_TMR6_1_GCMP_E = 132U, /* TMR6_1_GCME */
  314. EVT_SRC_TMR6_1_GCMP_F = 133U, /* TMR6_1_GCMF */
  315. EVT_SRC_TMR6_1_OVF = 134U, /* TMR6_1_GOVF */
  316. EVT_SRC_TMR6_1_UDF = 135U, /* TMR6_1_GUDF */
  317. EVT_SRC_TMR6_1_SCMP_A = 137U, /* TMR6_1_SCMA */
  318. EVT_SRC_TMR6_1_SCMP_B = 138U, /* TMR6_1_SCMB */
  319. /* TIMERA_1 */
  320. EVT_SRC_TMRA_1_OVF = 139U, /* TMRA_1_OVF */
  321. EVT_SRC_TMRA_1_UDF = 140U, /* TMRA_1_UDF */
  322. EVT_SRC_TMRA_1_CMP = 141U, /* TMRA_1_CMP */
  323. /* TIMER6_2 */
  324. EVT_SRC_TMR6_2_GCMP_A = 144U, /* TMR6_2_GCMA */
  325. EVT_SRC_TMR6_2_GCMP_B = 145U, /* TMR6_2_GCMB */
  326. EVT_SRC_TMR6_2_GCMP_C = 146U, /* TMR6_2_GCMC */
  327. EVT_SRC_TMR6_2_GCMP_D = 147U, /* TMR6_2_GCMD */
  328. EVT_SRC_TMR6_2_GCMP_E = 148U, /* TMR6_2_GCME */
  329. EVT_SRC_TMR6_2_GCMP_F = 149U, /* TMR6_2_GCMF */
  330. EVT_SRC_TMR6_2_OVF = 150U, /* TMR6_2_GOVF */
  331. EVT_SRC_TMR6_2_UDF = 151U, /* TMR6_2_GUDF */
  332. EVT_SRC_TMR6_2_SCMP_A = 153U, /* TMR6_2_SCMA */
  333. EVT_SRC_TMR6_2_SCMP_B = 154U, /* TMR6_2_SCMB */
  334. /* TIMERA_2 */
  335. EVT_SRC_TMRA_2_OVF = 155U, /* TMRA_2_OVF */
  336. EVT_SRC_TMRA_2_UDF = 156U, /* TMRA_2_UDF */
  337. EVT_SRC_TMRA_2_CMP = 157U, /* TMRA_2_CMP */
  338. /* TIMERA_3 */
  339. EVT_SRC_TMRA_3_OVF = 171U, /* TMRA_3_OVF */
  340. EVT_SRC_TMRA_3_UDF = 172U, /* TMRA_3_UDF */
  341. EVT_SRC_TMRA_3_CMP = 173U, /* TMRA_3_CMP */
  342. /* TIMERA_4 */
  343. EVT_SRC_TMRA_4_OVF = 187U, /* TMRA_4_OVF */
  344. EVT_SRC_TMRA_4_UDF = 188U, /* TMRA_4_UDF */
  345. EVT_SRC_TMRA_4_CMP = 189U, /* TMRA_4_CMP */
  346. /* TIMER4_1 */
  347. EVT_SRC_TMR4_1_GCMP_UH = 192U, /* TMR4_1_GCMUH */
  348. EVT_SRC_TMR4_1_GCMP_UL = 193U, /* TMR4_1_GCMUL */
  349. EVT_SRC_TMR4_1_GCMP_VH = 194U, /* TMR4_1_GCMVH */
  350. EVT_SRC_TMR4_1_GCMP_VL = 195U, /* TMR4_1_GCMVL */
  351. EVT_SRC_TMR4_1_GCMP_WH = 196U, /* TMR4_1_GCMWH */
  352. EVT_SRC_TMR4_1_GCMP_WL = 197U, /* TMR4_1_GCMWL */
  353. EVT_SRC_TMR4_1_GCMP_XH = 198U, /* TMR4_1_GCMXH */
  354. EVT_SRC_TMR4_1_GCMP_XL = 199U, /* TMR4_1_GCMXL */
  355. EVT_SRC_TMR4_1_OVF = 200U, /* TMR4_1_GOVF */
  356. EVT_SRC_TMR4_1_UDF = 201U, /* TMR4_1_GUDF */
  357. EVT_SRC_TMR4_1_RELOAD_U = 202U, /* TMR4_1_GRLU */
  358. EVT_SRC_TMR4_1_RELOAD_V = 203U, /* TMR4_1_GRLV */
  359. EVT_SRC_TMR4_1_RELOAD_W = 204U, /* TMR4_1_GRLW */
  360. EVT_SRC_TMR4_1_RELOAD_X = 205U, /* TMR4_1_GRLX */
  361. EVT_SRC_TMR4_1_SCMP_UH = 206U, /* TMR4_1_SCMUH */
  362. EVT_SRC_TMR4_1_SCMP_UL = 207U, /* TMR4_1_SCMUL */
  363. EVT_SRC_TMR4_1_SCMP_VH = 208U, /* TMR4_1_SCMVH */
  364. EVT_SRC_TMR4_1_SCMP_VL = 209U, /* TMR4_1_SCMVL */
  365. EVT_SRC_TMR4_1_SCMP_WH = 210U, /* TMR4_1_SCMWH */
  366. EVT_SRC_TMR4_1_SCMP_WL = 211U, /* TMR4_1_SCMWL */
  367. EVT_SRC_TMR4_1_SCMP_XH = 212U, /* TMR4_1_SCMXH */
  368. EVT_SRC_TMR4_1_SCMP_XL = 213U, /* TMR4_1_SCMXL */
  369. /* TIMER4_2 */
  370. EVT_SRC_TMR4_2_GCMP_UH = 224U, /* TMR4_2_GCMUH */
  371. EVT_SRC_TMR4_2_GCMP_UL = 225U, /* TMR4_2_GCMUL */
  372. EVT_SRC_TMR4_2_GCMP_VH = 226U, /* TMR4_2_GCMVH */
  373. EVT_SRC_TMR4_2_GCMP_VL = 227U, /* TMR4_2_GCMVL */
  374. EVT_SRC_TMR4_2_GCMP_WH = 228U, /* TMR4_2_GCMWH */
  375. EVT_SRC_TMR4_2_GCMP_WL = 229U, /* TMR4_2_GCMWL */
  376. EVT_SRC_TMR4_2_GCMP_XH = 230U, /* TMR4_2_GCMXH */
  377. EVT_SRC_TMR4_2_GCMP_XL = 231U, /* TMR4_2_GCMXL */
  378. EVT_SRC_TMR4_2_OVF = 232U, /* TMR4_2_GOVF */
  379. EVT_SRC_TMR4_2_UDF = 233U, /* TMR4_2_GUDF */
  380. EVT_SRC_TMR4_2_RELOAD_U = 234U, /* TMR4_2_GRLU */
  381. EVT_SRC_TMR4_2_RELOAD_V = 235U, /* TMR4_2_GRLV */
  382. EVT_SRC_TMR4_2_RELOAD_W = 236U, /* TMR4_2_GRLW */
  383. EVT_SRC_TMR4_2_RELOAD_X = 237U, /* TMR4_2_GRLX */
  384. EVT_SRC_TMR4_2_SCMP_UH = 238U, /* TMR4_2_SCMUH */
  385. EVT_SRC_TMR4_2_SCMP_UL = 239U, /* TMR4_2_SCMUL */
  386. EVT_SRC_TMR4_2_SCMP_VH = 240U, /* TMR4_2_SCMVH */
  387. EVT_SRC_TMR4_2_SCMP_VL = 241U, /* TMR4_2_SCMVL */
  388. EVT_SRC_TMR4_2_SCMP_WH = 242U, /* TMR4_2_SCMWH */
  389. EVT_SRC_TMR4_2_SCMP_WL = 243U, /* TMR4_2_SCMWL */
  390. EVT_SRC_TMR4_2_SCMP_XH = 244U, /* TMR4_2_SCMXH */
  391. EVT_SRC_TMR4_2_SCMP_XL = 245U, /* TMR4_2_SCMXL */
  392. /* TIMER4_3 */
  393. EVT_SRC_TMR4_3_GCMP_UH = 256U, /* TMR4_3_GCMUH */
  394. EVT_SRC_TMR4_3_GCMP_UL = 257U, /* TMR4_3_GCMUL */
  395. EVT_SRC_TMR4_3_GCMP_VH = 258U, /* TMR4_3_GCMVH */
  396. EVT_SRC_TMR4_3_GCMP_VL = 259U, /* TMR4_3_GCMVL */
  397. EVT_SRC_TMR4_3_GCMP_WH = 260U, /* TMR4_3_GCMWH */
  398. EVT_SRC_TMR4_3_GCMP_WL = 261U, /* TMR4_3_GCMWL */
  399. EVT_SRC_TMR4_3_GCMP_XH = 262U, /* TMR4_3_GCMXH */
  400. EVT_SRC_TMR4_3_GCMP_XL = 263U, /* TMR4_3_GCMXL */
  401. EVT_SRC_TMR4_3_OVF = 264U, /* TMR4_3_GOVF */
  402. EVT_SRC_TMR4_3_UDF = 265U, /* TMR4_3_GUDF */
  403. EVT_SRC_TMR4_3_RELOAD_U = 266U, /* TMR4_3_GRLU */
  404. EVT_SRC_TMR4_3_RELOAD_V = 267U, /* TMR4_3_GRLV */
  405. EVT_SRC_TMR4_3_RELOAD_W = 268U, /* TMR4_3_GRLW */
  406. EVT_SRC_TMR4_3_RELOAD_X = 269U, /* TMR4_3_GRLX */
  407. EVT_SRC_TMR4_3_SCMP_UH = 270U, /* TMR4_3_SCMUH */
  408. EVT_SRC_TMR4_3_SCMP_UL = 271U, /* TMR4_3_SCMUL */
  409. EVT_SRC_TMR4_3_SCMP_VH = 272U, /* TMR4_3_SCMVH */
  410. EVT_SRC_TMR4_3_SCMP_VL = 273U, /* TMR4_3_SCMVL */
  411. EVT_SRC_TMR4_3_SCMP_WH = 274U, /* TMR4_3_SCMWH */
  412. EVT_SRC_TMR4_3_SCMP_WL = 275U, /* TMR4_3_SCMWL */
  413. EVT_SRC_TMR4_3_SCMP_XH = 276U, /* TMR4_3_SCMXH */
  414. EVT_SRC_TMR4_3_SCMP_XL = 277U, /* TMR4_3_SCMXL */
  415. /* I2C1 */
  416. EVT_SRC_I2C1_RXI = 288U, /* I2C_1_RXI */
  417. EVT_SRC_I2C1_TXI = 289U, /* I2C_1_TXI */
  418. EVT_SRC_I2C1_TEI = 290U, /* I2C_1_TEI */
  419. EVT_SRC_I2C1_EEI = 291U, /* I2C_1_EEI */
  420. /* I2C2 */
  421. EVT_SRC_I2C2_RXI = 292U, /* I2C_2_RXI */
  422. EVT_SRC_I2C2_TXI = 293U, /* I2C_2_TXI */
  423. EVT_SRC_I2C2_TEI = 294U, /* I2C_2_TEI */
  424. EVT_SRC_I2C2_EEI = 295U, /* I2C_2_EEI */
  425. /* CMP */
  426. EVT_SRC_CMP1 = 312U, /* CMP_1_IRQ */
  427. EVT_SRC_CMP2 = 313U, /* CMP_2_IRQ */
  428. EVT_SRC_CMP3 = 314U, /* CMP_3_IRQ */
  429. EVT_SRC_CMP4 = 315U, /* CMP_4_IRQ */
  430. /* USART1 */
  431. EVT_SRC_USART1_EI = 321U, /* USART_1_EI */
  432. EVT_SRC_USART1_RI = 322U, /* USART_1_RI */
  433. EVT_SRC_USART1_TI = 323U, /* USART_1_TI */
  434. EVT_SRC_USART1_RTO = 324U, /* USART_1_RTO */
  435. EVT_SRC_USART1_TCI = 326U, /* USART_1_TCI */
  436. /* USART2 */
  437. EVT_SRC_USART2_EI = 328U, /* USART_2_EI */
  438. EVT_SRC_USART2_RI = 329U, /* USART_2_RI */
  439. EVT_SRC_USART2_TI = 330U, /* USART_2_TI */
  440. EVT_SRC_USART2_RTO = 331U, /* USART_2_RTO */
  441. EVT_SRC_USART2_TCI = 333U, /* USART_2_TCI */
  442. /* SPI1 */
  443. EVT_SRC_SPI1_SPRI = 334U, /* SPI_1_SPRI */
  444. EVT_SRC_SPI1_SPTI = 335U, /* SPI_1_SPTI */
  445. EVT_SRC_SPI1_SPII = 336U, /* SPI_1_SPII */
  446. EVT_SRC_SPI1_SPEI = 337U, /* SPI_1_SPEI */
  447. EVT_SRC_SPI1_SPEND = 338U, /* SPI_1_SPEND */
  448. /* TIMERA_5 */
  449. EVT_SRC_TMRA_5_OVF = 340U, /* TMRA_5_OVF */
  450. EVT_SRC_TMRA_5_UDF = 341U, /* TMRA_5_UDF */
  451. EVT_SRC_TMRA_5_CMP = 342U, /* TMRA_5_CMP */
  452. /* EVENT PORT */
  453. EVT_SRC_EVENT_PORT1 = 348U, /* EVENT_PORT1 */
  454. EVT_SRC_EVENT_PORT2 = 349U, /* EVENT_PORT2 */
  455. EVT_SRC_EVENT_PORT3 = 350U, /* EVENT_PORT3 */
  456. EVT_SRC_EVENT_PORT4 = 351U, /* EVENT_PORT4 */
  457. /* USART3 */
  458. EVT_SRC_USART3_BRKWKPI = 352U, /* USART_3_BRKWKPI */
  459. EVT_SRC_USART3_EI = 353U, /* USART_3_EI */
  460. EVT_SRC_USART3_RI = 354U, /* USART_3_RI */
  461. EVT_SRC_USART3_TI = 355U, /* USART_3_TI */
  462. EVT_SRC_USART3_TCI = 358U, /* USART_3_TCI */
  463. /* USART4 */
  464. EVT_SRC_USART4_EI = 360U, /* USART_4_EI */
  465. EVT_SRC_USART4_RI = 361U, /* USART_4_RI */
  466. EVT_SRC_USART4_TI = 362U, /* USART_4_TI */
  467. EVT_SRC_USART4_RTO = 363U, /* USART_4_RTO */
  468. EVT_SRC_USART4_TCI = 365U, /* USART_4_TCI */
  469. /* SPI2 */
  470. EVT_SRC_SPI2_SPRI = 366U, /* SPI_2_SPRI */
  471. EVT_SRC_SPI2_SPTI = 367U, /* SPI_2_SPTI */
  472. EVT_SRC_SPI2_SPII = 368U, /* SPI_2_SPII */
  473. EVT_SRC_SPI2_SPEI = 369U, /* SPI_2_SPEI */
  474. EVT_SRC_SPI2_SPEND = 370U, /* SPI_2_SPEND */
  475. /* SPI3 */
  476. EVT_SRC_SPI3_SPRI = 371U, /* SPI_3_SPRI */
  477. EVT_SRC_SPI3_SPTI = 372U, /* SPI_3_SPTI */
  478. EVT_SRC_SPI3_SPII = 373U, /* SPI_3_SPII */
  479. EVT_SRC_SPI3_SPEI = 374U, /* SPI_3_SPEI */
  480. EVT_SRC_SPI3_SPEND = 375U, /* SPI_3_SPEND */
  481. /* USART5 */
  482. EVT_SRC_USART5_EI = 385U, /* USART_5_EI */
  483. EVT_SRC_USART5_RI = 386U, /* USART_5_RI */
  484. EVT_SRC_USART5_TI = 387U, /* USART_5_TI */
  485. EVT_SRC_USART5_RTO = 388U, /* USART_5_RTO */
  486. EVT_SRC_USART5_TCI = 390U, /* USART_5_TCI */
  487. /* USART6 */
  488. EVT_SRC_USART6_BRKWKPI = 391U, /* USART_6_BRKWKPI */
  489. EVT_SRC_USART6_EI = 392U, /* USART_6_EI */
  490. EVT_SRC_USART6_RI = 393U, /* USART_6_RI */
  491. EVT_SRC_USART6_TI = 394U, /* USART_6_TI */
  492. EVT_SRC_USART6_TCI = 396U, /* USART_6_TCI */
  493. /* AOS */
  494. EVT_SRC_AOS_STRG = 415U, /* AOS_STRG */
  495. /* LVD */
  496. EVT_SRC_LVD1 = 465U, /* LVD1 */
  497. EVT_SRC_LVD2 = 466U, /* LVD2 */
  498. /* OTS */
  499. EVT_SRC_OTS = 467U, /* OTS */
  500. /* WDT */
  501. EVT_SRC_WDT_REFUDF = 471U, /* WDT_REFUDF */
  502. /* ADC1 */
  503. EVT_SRC_ADC1_EOCA = 480U, /* ADC_1_EOCA */
  504. EVT_SRC_ADC1_EOCB = 481U, /* ADC_1_EOCB */
  505. EVT_SRC_ADC1_CMP0 = 482U, /* ADC_1_CMP0 */
  506. EVT_SRC_ADC1_CMP1 = 483U, /* ADC_1_CMP1 */
  507. /* ADC2 */
  508. EVT_SRC_ADC2_EOCA = 484U, /* ADC_2_EOCA */
  509. EVT_SRC_ADC2_EOCB = 485U, /* ADC_2_EOCB */
  510. EVT_SRC_ADC2_CMP0 = 486U, /* ADC_2_CMP0 */
  511. EVT_SRC_ADC2_CMP1 = 487U, /* ADC_2_CMP1 */
  512. /* ADC3 */
  513. EVT_SRC_ADC3_EOCA = 488U, /* ADC_3_EOCA */
  514. EVT_SRC_ADC3_EOCB = 489U, /* ADC_3_EOCB */
  515. EVT_SRC_ADC3_CMP0 = 490U, /* ADC_3_CMP0 */
  516. EVT_SRC_ADC3_CMP1 = 491U, /* ADC_3_CMP1 */
  517. /* TRNG */
  518. EVT_SRC_TRNG_END = 492U, /* TRNG_END */
  519. EVT_SRC_MAX = 511U,
  520. } en_event_src_t;
  521. /**
  522. *******************************************************************************
  523. ** \brief Interrupt number enumeration
  524. ******************************************************************************/
  525. typedef enum {
  526. INT_SRC_SWI_IRQ0 = 0U,
  527. INT_SRC_SWI_IRQ1 = 1U,
  528. INT_SRC_SWI_IRQ2 = 2U,
  529. INT_SRC_SWI_IRQ3 = 3U,
  530. INT_SRC_SWI_IRQ4 = 4U,
  531. INT_SRC_SWI_IRQ5 = 5U,
  532. INT_SRC_SWI_IRQ6 = 6U,
  533. INT_SRC_SWI_IRQ7 = 7U,
  534. INT_SRC_SWI_IRQ8 = 8U,
  535. INT_SRC_SWI_IRQ9 = 9U,
  536. INT_SRC_SWI_IRQ10 = 10U,
  537. INT_SRC_SWI_IRQ11 = 11U,
  538. INT_SRC_SWI_IRQ12 = 12U,
  539. INT_SRC_SWI_IRQ13 = 13U,
  540. INT_SRC_SWI_IRQ14 = 14U,
  541. INT_SRC_SWI_IRQ15 = 15U,
  542. INT_SRC_SWI_IRQ16 = 16U,
  543. INT_SRC_SWI_IRQ17 = 17U,
  544. INT_SRC_SWI_IRQ18 = 18U,
  545. INT_SRC_SWI_IRQ19 = 19U,
  546. INT_SRC_SWI_IRQ20 = 20U,
  547. INT_SRC_SWI_IRQ21 = 21U,
  548. INT_SRC_SWI_IRQ22 = 22U,
  549. INT_SRC_SWI_IRQ23 = 23U,
  550. INT_SRC_SWI_IRQ24 = 24U,
  551. INT_SRC_SWI_IRQ25 = 25U,
  552. INT_SRC_SWI_IRQ26 = 26U,
  553. INT_SRC_SWI_IRQ27 = 27U,
  554. INT_SRC_SWI_IRQ28 = 28U,
  555. INT_SRC_SWI_IRQ29 = 29U,
  556. INT_SRC_SWI_IRQ30 = 30U,
  557. INT_SRC_SWI_IRQ31 = 31U,
  558. /* External Interrupt */
  559. INT_SRC_PORT_EIRQ0 = 0U, /* EIRQ0 */
  560. INT_SRC_PORT_EIRQ1 = 1U, /* EIRQ1 */
  561. INT_SRC_PORT_EIRQ2 = 2U, /* EIRQ2 */
  562. INT_SRC_PORT_EIRQ3 = 3U, /* EIRQ3 */
  563. INT_SRC_PORT_EIRQ4 = 4U, /* EIRQ4 */
  564. INT_SRC_PORT_EIRQ5 = 5U, /* EIRQ5 */
  565. INT_SRC_PORT_EIRQ6 = 6U, /* EIRQ6 */
  566. INT_SRC_PORT_EIRQ7 = 7U, /* EIRQ7 */
  567. INT_SRC_PORT_EIRQ8 = 8U, /* EIRQ8 */
  568. INT_SRC_PORT_EIRQ9 = 9U, /* EIRQ9 */
  569. INT_SRC_PORT_EIRQ10 = 10U, /* EIRQ10 */
  570. INT_SRC_PORT_EIRQ11 = 11U, /* EIRQ11 */
  571. INT_SRC_PORT_EIRQ12 = 12U, /* EIRQ12 */
  572. INT_SRC_PORT_EIRQ13 = 13U, /* EIRQ13 */
  573. INT_SRC_PORT_EIRQ14 = 14U, /* EIRQ14 */
  574. INT_SRC_PORT_EIRQ15 = 15U, /* EIRQ15 */
  575. /* DMA_1 */
  576. INT_SRC_DMA1_ERR = 32U, /* DMA_1_ERR */
  577. INT_SRC_DMA1_TC0 = 33U, /* DMA_1_TC0 */
  578. INT_SRC_DMA1_BTC0 = 34U, /* DMA_1_BTC0 */
  579. INT_SRC_DMA1_TC1 = 35U, /* DMA_1_TC1 */
  580. INT_SRC_DMA1_BTC1 = 36U, /* DMA_1_BTC1 */
  581. INT_SRC_DMA1_TC2 = 37U, /* DMA_1_TC2 */
  582. INT_SRC_DMA1_BTC2 = 38U, /* DMA_1_BTC2 */
  583. INT_SRC_DMA1_TC3 = 39U, /* DMA_1_TC3 */
  584. INT_SRC_DMA1_BTC3 = 40U, /* DMA_1_BTC3 */
  585. INT_SRC_DMA1_TC4 = 41U, /* DMA_1_TC4 */
  586. INT_SRC_DMA1_BTC4 = 42U, /* DMA_1_BTC4 */
  587. INT_SRC_DMA1_TC5 = 43U, /* DMA_1_TC5 */
  588. INT_SRC_DMA1_BTC5 = 44U, /* DMA_1_BTC5 */
  589. /* EFM */
  590. INT_SRC_EFM_PEERR = 49U, /* EFM_PEERR */
  591. INT_SRC_EFM_RDCOL = 50U, /* EFM_RDCOL */
  592. INT_SRC_EFM_OPTEND = 51U, /* EFM_OPTEND */
  593. /* QSPI */
  594. INT_SRC_QSPI_INTR = 54U, /* QSPI_INTR */
  595. /* DCU */
  596. INT_SRC_DCU1 = 55U, /* DCU1 */
  597. INT_SRC_DCU2 = 56U, /* DCU2 */
  598. INT_SRC_DCU3 = 57U, /* DCU3 */
  599. INT_SRC_DCU4 = 57U, /* DCU4 */
  600. /* DMA2 */
  601. INT_SRC_DMA2_ERR = 64U, /* DMA_2_ERR */
  602. INT_SRC_DMA2_TC0 = 65U, /* DMA_2_TC0 */
  603. INT_SRC_DMA2_BTC0 = 66U, /* DMA_2_BTC0 */
  604. INT_SRC_DMA2_TC1 = 67U, /* DMA_2_TC1 */
  605. INT_SRC_DMA2_BTC1 = 68U, /* DMA_2_BTC1 */
  606. INT_SRC_DMA2_TC2 = 69U, /* DMA_2_TC2 */
  607. INT_SRC_DMA2_BTC2 = 70U, /* DMA_2_BTC2 */
  608. INT_SRC_DMA2_TC3 = 71U, /* DMA_2_TC3 */
  609. INT_SRC_DMA2_BTC3 = 72U, /* DMA_2_BTC3 */
  610. INT_SRC_DMA2_TC4 = 73U, /* DMA_2_TC4 */
  611. INT_SRC_DMA2_BTC4 = 74U, /* DMA_2_BTC4 */
  612. INT_SRC_DMA2_TC5 = 75U, /* DMA_2_TC5 */
  613. INT_SRC_DMA2_BTC5 = 76U, /* DMA_2_BTC5 */
  614. /* TIMER0 */
  615. INT_SRC_TMR0_1_CMP_A = 96U, /* TMR0_1_CMPA */
  616. INT_SRC_TMR0_1_CMP_B = 97U, /* TMR0_1_CMPB */
  617. INT_SRC_TMR0_1_OVF_A = 98U, /* TMR0_1_OVFA */
  618. INT_SRC_TMR0_1_OVF_B = 99U, /* TMR0_1_OVFB */
  619. INT_SRC_TMR0_2_CMP_A = 100U, /* TMR0_2_CMPA */
  620. INT_SRC_TMR0_2_CMP_B = 101U, /* TMR0_2_CMPB */
  621. INT_SRC_TMR0_2_OVF_A = 102U, /* TMR0_2_OVFA */
  622. INT_SRC_TMR0_2_OVF_B = 103U, /* TMR0_2_OVFB */
  623. /* RTC */
  624. INT_SRC_RTC_TP = 120U, /* RTC_TP */
  625. INT_SRC_RTC_ALM = 121U, /* RTC_ALM */
  626. INT_SRC_RTC_PRD = 122U, /* RTC_PRD */
  627. /* XTAL */
  628. INT_SRC_XTAL_STOP = 125U, /* XTAL_STOP */
  629. /* WKTM */
  630. INT_SRC_WKTM_PRD = 126U, /* WKTM_PRD */
  631. /* SWDT */
  632. INT_SRC_SWDT_REFUDF = 127U, /* SWDT_REFUDF */
  633. /* TIMER6_1 */
  634. INT_SRC_TMR6_1_GCMP_A = 128U, /* TMR6_1_GCMA */
  635. INT_SRC_TMR6_1_GCMP_B = 129U, /* TMR6_1_GCMB */
  636. INT_SRC_TMR6_1_GCMP_C = 130U, /* TMR6_1_GCMC */
  637. INT_SRC_TMR6_1_GCMP_D = 131U, /* TMR6_1_GCMD */
  638. INT_SRC_TMR6_1_GCMP_E = 132U, /* TMR6_1_GCME */
  639. INT_SRC_TMR6_1_GCMP_F = 133U, /* TMR6_1_GCMF */
  640. INT_SRC_TMR6_1_OVF = 134U, /* TMR6_1_GOVF */
  641. INT_SRC_TMR6_1_UDF = 135U, /* TMR6_1_GUDF */
  642. INT_SRC_TMR6_1_DTE = 136U, /* TMR6_1_GDTE */
  643. INT_SRC_TMR6_1_SCMP_A = 137U, /* TMR6_1_SCMA */
  644. INT_SRC_TMR6_1_SCMP_B = 138U, /* TMR6_1_SCMB */
  645. /* TIMERA_1 */
  646. INT_SRC_TMRA_1_OVF = 139U, /* TMRA_1_OVF */
  647. INT_SRC_TMRA_1_UDF = 140U, /* TMRA_1_UDF */
  648. INT_SRC_TMRA_1_CMP = 141U, /* TMRA_1_CMP */
  649. /* TIMER6_2 */
  650. INT_SRC_TMR6_2_GCMP_A = 144U, /* TMR6_2_GCMA */
  651. INT_SRC_TMR6_2_GCMP_B = 145U, /* TMR6_2_GCMB */
  652. INT_SRC_TMR6_2_GCMP_C = 146U, /* TMR6_2_GCMC */
  653. INT_SRC_TMR6_2_GCMP_D = 147U, /* TMR6_2_GCMD */
  654. INT_SRC_TMR6_2_GCMP_E = 148U, /* TMR6_2_GCME */
  655. INT_SRC_TMR6_2_GCMP_F = 149U, /* TMR6_2_GCMF */
  656. INT_SRC_TMR6_2_OVF = 150U, /* TMR6_2_GOVF */
  657. INT_SRC_TMR6_2_UDF = 151U, /* TMR6_2_GUDF */
  658. INT_SRC_TMR6_2_DTE = 152U, /* TMR6_2_GDTE */
  659. INT_SRC_TMR6_2_SCMP_A = 153U, /* TMR6_2_SCMA */
  660. INT_SRC_TMR6_2_SCMP_B = 154U, /* TMR6_2_SCMB */
  661. /* TIMERA_2 */
  662. INT_SRC_TMRA_2_OVF = 155U, /* TMRA_2_OVF */
  663. INT_SRC_TMRA_2_UDF = 156U, /* TMRA_2_UDF */
  664. INT_SRC_TMRA_2_CMP = 157U, /* TMRA_2_CMP */
  665. /* TIMERA_3 */
  666. INT_SRC_TMRA_3_OVF = 171U, /* TMRA_3_OVF */
  667. INT_SRC_TMRA_3_UDF = 172U, /* TMRA_3_UDF */
  668. INT_SRC_TMRA_3_CMP = 173U, /* TMRA_3_CMP */
  669. /* TIMERA_4 */
  670. INT_SRC_TMRA_4_OVF = 187U, /* TMRA_4_OVF */
  671. INT_SRC_TMRA_4_UDF = 188U, /* TMRA_4_UDF */
  672. INT_SRC_TMRA_4_CMP = 189U, /* TMRA_4_CMP */
  673. /* TIMER4_1 */
  674. INT_SRC_TMR4_1_GCMP_UH = 192U, /* TMR4_1_GCMUH */
  675. INT_SRC_TMR4_1_GCMP_UL = 193U, /* TMR4_1_GCMUL */
  676. INT_SRC_TMR4_1_GCMP_VH = 194U, /* TMR4_1_GCMVH */
  677. INT_SRC_TMR4_1_GCMP_VL = 195U, /* TMR4_1_GCMVL */
  678. INT_SRC_TMR4_1_GCMP_WH = 196U, /* TMR4_1_GCMWH */
  679. INT_SRC_TMR4_1_GCMP_WL = 197U, /* TMR4_1_GCMWL */
  680. INT_SRC_TMR4_1_GCMP_XH = 198U, /* TMR4_1_GCMXH */
  681. INT_SRC_TMR4_1_GCMP_XL = 199U, /* TMR4_1_GCMXL */
  682. INT_SRC_TMR4_1_OVF = 200U, /* TMR4_1_GOVF */
  683. INT_SRC_TMR4_1_UDF = 201U, /* TMR4_1_GUDF */
  684. INT_SRC_TMR4_1_RELOAD_U = 202U, /* TMR4_1_GRLU */
  685. INT_SRC_TMR4_1_RELOAD_V = 203U, /* TMR4_1_GRLV */
  686. INT_SRC_TMR4_1_RELOAD_W = 204U, /* TMR4_1_GRLW */
  687. INT_SRC_TMR4_1_RELOAD_X = 205U, /* TMR4_1_GRLX */
  688. INT_SRC_TMR4_1_SCMP_UH = 206U, /* TMR4_1_SCMUH */
  689. INT_SRC_TMR4_1_SCMP_UL = 207U, /* TMR4_1_SCMUL */
  690. INT_SRC_TMR4_1_SCMP_VH = 208U, /* TMR4_1_SCMVH */
  691. INT_SRC_TMR4_1_SCMP_VL = 209U, /* TMR4_1_SCMVL */
  692. INT_SRC_TMR4_1_SCMP_WH = 210U, /* TMR4_1_SCMWH */
  693. INT_SRC_TMR4_1_SCMP_WL = 211U, /* TMR4_1_SCMWL */
  694. INT_SRC_TMR4_1_SCMP_XH = 212U, /* TMR4_1_SCMXH */
  695. INT_SRC_TMR4_1_SCMP_XL = 213U, /* TMR4_1_SCMXL */
  696. /* TIMER4_2 */
  697. INT_SRC_TMR4_2_GCMP_UH = 224U, /* TMR4_2_GCMUH */
  698. INT_SRC_TMR4_2_GCMP_UL = 225U, /* TMR4_2_GCMUL */
  699. INT_SRC_TMR4_2_GCMP_VH = 226U, /* TMR4_2_GCMVH */
  700. INT_SRC_TMR4_2_GCMP_VL = 227U, /* TMR4_2_GCMVL */
  701. INT_SRC_TMR4_2_GCMP_WH = 228U, /* TMR4_2_GCMWH */
  702. INT_SRC_TMR4_2_GCMP_WL = 229U, /* TMR4_2_GCMWL */
  703. INT_SRC_TMR4_2_GCMP_XH = 230U, /* TMR4_2_GCMXH */
  704. INT_SRC_TMR4_2_GCMP_XL = 231U, /* TMR4_2_GCMXL */
  705. INT_SRC_TMR4_2_OVF = 232U, /* TMR4_2_GOVF */
  706. INT_SRC_TMR4_2_UDF = 233U, /* TMR4_2_GUDF */
  707. INT_SRC_TMR4_2_RELOAD_U = 234U, /* TMR4_2_GRLU */
  708. INT_SRC_TMR4_2_RELOAD_V = 235U, /* TMR4_2_GRLV */
  709. INT_SRC_TMR4_2_RELOAD_W = 236U, /* TMR4_2_GRLW */
  710. INT_SRC_TMR4_2_RELOAD_X = 237U, /* TMR4_2_GRLX */
  711. INT_SRC_TMR4_2_SCMP_UH = 238U, /* TMR4_2_SCMUH */
  712. INT_SRC_TMR4_2_SCMP_UL = 239U, /* TMR4_2_SCMUL */
  713. INT_SRC_TMR4_2_SCMP_VH = 240U, /* TMR4_2_SCMVH */
  714. INT_SRC_TMR4_2_SCMP_VL = 241U, /* TMR4_2_SCMVL */
  715. INT_SRC_TMR4_2_SCMP_WH = 242U, /* TMR4_2_SCMWH */
  716. INT_SRC_TMR4_2_SCMP_WL = 243U, /* TMR4_2_SCMWL */
  717. INT_SRC_TMR4_2_SCMP_XH = 244U, /* TMR4_2_SCMXH */
  718. INT_SRC_TMR4_2_SCMP_XL = 245U, /* TMR4_2_SCMXL */
  719. /* TIMER4_3 */
  720. INT_SRC_TMR4_3_GCMP_UH = 256U, /* TMR4_3_GCMUH */
  721. INT_SRC_TMR4_3_GCMP_UL = 257U, /* TMR4_3_GCMUL */
  722. INT_SRC_TMR4_3_GCMP_VH = 258U, /* TMR4_3_GCMVH */
  723. INT_SRC_TMR4_3_GCMP_VL = 259U, /* TMR4_3_GCMVL */
  724. INT_SRC_TMR4_3_GCMP_WH = 260U, /* TMR4_3_GCMWH */
  725. INT_SRC_TMR4_3_GCMP_WL = 261U, /* TMR4_3_GCMWL */
  726. INT_SRC_TMR4_3_GCMP_XH = 262U, /* TMR4_3_GCMXH */
  727. INT_SRC_TMR4_3_GCMP_XL = 263U, /* TMR4_3_GCMXL */
  728. INT_SRC_TMR4_3_OVF = 264U, /* TMR4_3_GOVF */
  729. INT_SRC_TMR4_3_UDF = 265U, /* TMR4_3_GUDF */
  730. INT_SRC_TMR4_3_RELOAD_U = 266U, /* TMR4_3_GRLU */
  731. INT_SRC_TMR4_3_RELOAD_V = 267U, /* TMR4_3_GRLV */
  732. INT_SRC_TMR4_3_RELOAD_W = 268U, /* TMR4_3_GRLW */
  733. INT_SRC_TMR4_3_RELOAD_X = 269U, /* TMR4_3_GRLX */
  734. INT_SRC_TMR4_3_SCMP_UH = 270U, /* TMR4_3_SCMUH */
  735. INT_SRC_TMR4_3_SCMP_UL = 271U, /* TMR4_3_SCMUL */
  736. INT_SRC_TMR4_3_SCMP_VH = 272U, /* TMR4_3_SCMVH */
  737. INT_SRC_TMR4_3_SCMP_VL = 273U, /* TMR4_3_SCMVL */
  738. INT_SRC_TMR4_3_SCMP_WH = 274U, /* TMR4_3_SCMWH */
  739. INT_SRC_TMR4_3_SCMP_WL = 275U, /* TMR4_3_SCMWL */
  740. INT_SRC_TMR4_3_SCMP_XH = 276U, /* TMR4_3_SCMXH */
  741. INT_SRC_TMR4_3_SCMP_XL = 277U, /* TMR4_3_SCMXL */
  742. /* I2C1 */
  743. INT_SRC_I2C1_RXI = 288U, /* I2C_1_RXI */
  744. INT_SRC_I2C1_TXI = 289U, /* I2C_1_TXI */
  745. INT_SRC_I2C1_TEI = 290U, /* I2C_1_TEI */
  746. INT_SRC_I2C1_EEI = 291U, /* I2C_1_EEI */
  747. /* I2C2 */
  748. INT_SRC_I2C2_RXI = 292U, /* I2C_2_RXI */
  749. INT_SRC_I2C2_TXI = 293U, /* I2C_2_TXI */
  750. INT_SRC_I2C2_TEI = 294U, /* I2C_2_TEI */
  751. INT_SRC_I2C2_EEI = 295U, /* I2C_2_EEI */
  752. /* CMP */
  753. INT_SRC_CMP1 = 312U, /* CMP_1_IRQ */
  754. INT_SRC_CMP2 = 313U, /* CMP_2_IRQ */
  755. INT_SRC_CMP3 = 314U, /* CMP_3_IRQ */
  756. INT_SRC_CMP4 = 315U, /* CMP_4_IRQ */
  757. /* USART1 */
  758. INT_SRC_USART1_EI = 321U, /* USART_1_EI */
  759. INT_SRC_USART1_RI = 322U, /* USART_1_RI */
  760. INT_SRC_USART1_TI = 323U, /* USART_1_TI */
  761. INT_SRC_USART1_RTO = 324U, /* USART_1_RTO */
  762. INT_SRC_USART1_TENDI = 325U, /* USART_1_TENDI */
  763. INT_SRC_USART1_TCI = 326U, /* USART_1_TCI */
  764. /* USART2 */
  765. INT_SRC_USART2_EI = 328U, /* USART_2_EI */
  766. INT_SRC_USART2_RI = 329U, /* USART_2_RI */
  767. INT_SRC_USART2_TI = 330U, /* USART_2_TI */
  768. INT_SRC_USART2_RTO = 331U, /* USART_2_RTO */
  769. INT_SRC_USART2_TENDI = 332U, /* USART_2_TENDI */
  770. INT_SRC_USART2_TCI = 333U, /* USART_2_TCI */
  771. /* SPI1 */
  772. INT_SRC_SPI1_SPRI = 334U, /* SPI_1_SPRI */
  773. INT_SRC_SPI1_SPTI = 335U, /* SPI_1_SPTI */
  774. INT_SRC_SPI1_SPII = 336U, /* SPI_1_SPII */
  775. INT_SRC_SPI1_SPEI = 337U, /* SPI_1_SPEI */
  776. /* TIMERA_5 */
  777. INT_SRC_TMRA_5_OVF = 340U, /* TMRA_5_OVF */
  778. INT_SRC_TMRA_5_UDF = 341U, /* TMRA_5_UDF */
  779. INT_SRC_TMRA_5_CMP = 342U, /* TMRA_5_CMP */
  780. /* EVENT PORT */
  781. INT_SRC_EVENT_PORT1 = 348U, /* EVENT_PORT1 */
  782. INT_SRC_EVENT_PORT2 = 349U, /* EVENT_PORT2 */
  783. INT_SRC_EVENT_PORT3 = 350U, /* EVENT_PORT3 */
  784. INT_SRC_EVENT_PORT4 = 351U, /* EVENT_PORT4 */
  785. /* USART3 */
  786. INT_SRC_USART3_BRKWKPI = 352U, /* USART_3_BRKWKPI */
  787. INT_SRC_USART3_EI = 353U, /* USART_3_EI */
  788. INT_SRC_USART3_RI = 354U, /* USART_3_RI */
  789. INT_SRC_USART3_TI = 355U, /* USART_3_TI */
  790. INT_SRC_USART3_TENDI = 357U, /* USART_3_TENDI */
  791. INT_SRC_USART3_TCI = 358U, /* USART_3_TCI */
  792. /* USART4 */
  793. INT_SRC_USART4_EI = 360U, /* USART_4_EI */
  794. INT_SRC_USART4_RI = 361U, /* USART_4_RI */
  795. INT_SRC_USART4_TI = 362U, /* USART_4_TI */
  796. INT_SRC_USART4_RTO = 363U, /* USART_4_RTO */
  797. INT_SRC_USART4_TENDI = 364U, /* USART_4_TENDI */
  798. INT_SRC_USART4_TCI = 365U, /* USART_4_TCI */
  799. /* SPI2 */
  800. INT_SRC_SPI2_SPRI = 366U, /* SPI_2_SPRI */
  801. INT_SRC_SPI2_SPTI = 367U, /* SPI_2_SPTI */
  802. INT_SRC_SPI2_SPII = 368U, /* SPI_2_SPII */
  803. INT_SRC_SPI2_SPEI = 369U, /* SPI_2_SPEI */
  804. /* SPI3 */
  805. INT_SRC_SPI3_SPRI = 371U, /* SPI_3_SPRI */
  806. INT_SRC_SPI3_SPTI = 372U, /* SPI_3_SPTI */
  807. INT_SRC_SPI3_SPII = 373U, /* SPI_3_SPII */
  808. INT_SRC_SPI3_SPEI = 374U, /* SPI_3_SPEI */
  809. /* EMB */
  810. INT_SRC_EMB_GR0 = 376U, /* EMB_GR0 */
  811. INT_SRC_EMB_GR1 = 377U, /* EMB_GR1 */
  812. INT_SRC_EMB_GR2 = 378U, /* EMB_GR2 */
  813. INT_SRC_EMB_GR3 = 379U, /* EMB_GR3 */
  814. /* USART5 */
  815. INT_SRC_USART5_EI = 385U, /* USART_5_EI */
  816. INT_SRC_USART5_RI = 386U, /* USART_5_RI */
  817. INT_SRC_USART5_TI = 387U, /* USART_5_TI */
  818. INT_SRC_USART5_RTO = 388U, /* USART_5_RTO */
  819. INT_SRC_USART5_TENDI = 389U, /* USART_5_TENDI */
  820. INT_SRC_USART5_TCI = 390U, /* USART_5_TCI */
  821. /* USART6 */
  822. INT_SRC_USART6_BRKWKPI = 391U, /* USART_6_BRKWKPI */
  823. INT_SRC_USART6_EI = 392U, /* USART_6_EI */
  824. INT_SRC_USART6_RI = 393U, /* USART_6_RI */
  825. INT_SRC_USART6_TI = 394U, /* USART_6_TI */
  826. INT_SRC_USART6_TENDI = 395U, /* USART_6_TENDI */
  827. INT_SRC_USART6_TCI = 396U, /* USART_6_TCI */
  828. /* MCAN */
  829. INT_SRC_MCAN1_INT0 = 408U, /* MCAN1_INT_LINE0 */
  830. INT_SRC_MCAN1_INT1 = 409U, /* MCAN1_INT_LINE1 */
  831. INT_SRC_MCAN2_INT0 = 410U, /* MCAN2_INT_LINE0 */
  832. INT_SRC_MCAN2_INT1 = 411U, /* MCAN2_INT_LINE1 */
  833. /* USART1 */
  834. INT_SRC_USART1_WUPI = 464U, /* USART_1_WUPI */
  835. /* LVD */
  836. INT_SRC_LVD1 = 465U, /* LVD1 */
  837. INT_SRC_LVD2 = 466U, /* LVD2 */
  838. /* FCM */
  839. INT_SRC_FCMFERRI = 468U, /* FCMFERRI */
  840. INT_SRC_FCMMENDI = 469U, /* FCMMENDI */
  841. INT_SRC_FCMCOVFI = 470U, /* FCMCOVFI */
  842. /* WDT */
  843. INT_SRC_WDT_REFUDF = 471U, /* WDT_REFUDF */
  844. /* CTC */
  845. INT_SRC_CTC_ERR = 472U, /* CTC_ERR */
  846. /* ADC1 */
  847. INT_SRC_ADC1_EOCA = 480U, /* ADC_1_EOCA */
  848. INT_SRC_ADC1_EOCB = 481U, /* ADC_1_EOCB */
  849. INT_SRC_ADC1_CMP0 = 482U, /* ADC_1_CMP0 */
  850. INT_SRC_ADC1_CMP1 = 483U, /* ADC_1_CMP1 */
  851. /* ADC2 */
  852. INT_SRC_ADC2_EOCA = 484U, /* ADC_2_EOCA */
  853. INT_SRC_ADC2_EOCB = 485U, /* ADC_2_EOCB */
  854. INT_SRC_ADC2_CMP0 = 486U, /* ADC_2_CMP0 */
  855. INT_SRC_ADC2_CMP1 = 487U, /* ADC_2_CMP1 */
  856. /* ADC3 */
  857. INT_SRC_ADC3_EOCA = 488U, /* ADC_3_EOCA */
  858. INT_SRC_ADC3_EOCB = 489U, /* ADC_3_EOCB */
  859. INT_SRC_ADC3_CMP0 = 490U, /* ADC_3_CMP0 */
  860. INT_SRC_ADC3_CMP1 = 491U, /* ADC_3_CMP1 */
  861. /* TRNG */
  862. INT_SRC_TRNG_END = 492U, /* TRNG_END */
  863. INT_SRC_MAX = 511U,
  864. } en_int_src_t;
  865. #if defined ( __CC_ARM )
  866. #pragma anon_unions
  867. #endif
  868. /******************************************************************************/
  869. /* Device Specific Peripheral Registers structures */
  870. /******************************************************************************/
  871. /**
  872. * @brief ADC
  873. */
  874. typedef struct {
  875. __IO uint8_t STR;
  876. uint8_t RESERVED0[1];
  877. __IO uint16_t CR0;
  878. __IO uint16_t CR1;
  879. __IO uint16_t CR2;
  880. uint8_t RESERVED1[2];
  881. __IO uint16_t TRGSR;
  882. __IO uint32_t CHSELRA;
  883. __IO uint32_t CHSELRB;
  884. __IO uint32_t AVCHSELR;
  885. __IO uint8_t EXCHSELR;
  886. uint8_t RESERVED2[7];
  887. __IO uint8_t SSTR0;
  888. __IO uint8_t SSTR1;
  889. __IO uint8_t SSTR2;
  890. __IO uint8_t SSTR3;
  891. __IO uint8_t SSTR4;
  892. __IO uint8_t SSTR5;
  893. __IO uint8_t SSTR6;
  894. __IO uint8_t SSTR7;
  895. __IO uint8_t SSTR8;
  896. __IO uint8_t SSTR9;
  897. __IO uint8_t SSTR10;
  898. __IO uint8_t SSTR11;
  899. __IO uint8_t SSTR12;
  900. __IO uint8_t SSTR13;
  901. __IO uint8_t SSTR14;
  902. __IO uint8_t SSTR15;
  903. uint8_t RESERVED3[8];
  904. __IO uint16_t CHMUXR0;
  905. __IO uint16_t CHMUXR1;
  906. __IO uint16_t CHMUXR2;
  907. __IO uint16_t CHMUXR3;
  908. uint8_t RESERVED4[4];
  909. __I uint8_t ISR;
  910. __IO uint8_t ICR;
  911. __O uint8_t ISCLRR;
  912. uint8_t RESERVED5[5];
  913. __IO uint16_t SYNCCR;
  914. uint8_t RESERVED6[2];
  915. __I uint16_t DR0;
  916. __I uint16_t DR1;
  917. __I uint16_t DR2;
  918. __I uint16_t DR3;
  919. __I uint16_t DR4;
  920. __I uint16_t DR5;
  921. __I uint16_t DR6;
  922. __I uint16_t DR7;
  923. __I uint16_t DR8;
  924. __I uint16_t DR9;
  925. __I uint16_t DR10;
  926. __I uint16_t DR11;
  927. __I uint16_t DR12;
  928. __I uint16_t DR13;
  929. __I uint16_t DR14;
  930. __I uint16_t DR15;
  931. uint8_t RESERVED7[48];
  932. __IO uint16_t AWDCR;
  933. __I uint8_t AWDSR;
  934. __O uint8_t AWDSCLRR;
  935. __IO uint16_t AWD0DR0;
  936. __IO uint16_t AWD0DR1;
  937. __IO uint8_t AWD0CHSR;
  938. uint8_t RESERVED8[3];
  939. __IO uint16_t AWD1DR0;
  940. __IO uint16_t AWD1DR1;
  941. __IO uint8_t AWD1CHSR;
  942. } CM_ADC_TypeDef;
  943. /**
  944. * @brief AES
  945. */
  946. typedef struct {
  947. __IO uint32_t CR;
  948. uint8_t RESERVED0[12];
  949. __IO uint32_t DR0;
  950. __IO uint32_t DR1;
  951. __IO uint32_t DR2;
  952. __IO uint32_t DR3;
  953. __IO uint32_t KR0;
  954. __IO uint32_t KR1;
  955. __IO uint32_t KR2;
  956. __IO uint32_t KR3;
  957. __IO uint32_t KR4;
  958. __IO uint32_t KR5;
  959. __IO uint32_t KR6;
  960. __IO uint32_t KR7;
  961. } CM_AES_TypeDef;
  962. /**
  963. * @brief AOS
  964. */
  965. typedef struct {
  966. __O uint32_t INTSFTTRG;
  967. __IO uint32_t DCU_TRGSEL1;
  968. __IO uint32_t DCU_TRGSEL2;
  969. __IO uint32_t DCU_TRGSEL3;
  970. __IO uint32_t DCU_TRGSEL4;
  971. __IO uint32_t DMA1_TRGSEL0;
  972. __IO uint32_t DMA1_TRGSEL1;
  973. __IO uint32_t DMA1_TRGSEL2;
  974. __IO uint32_t DMA1_TRGSEL3;
  975. __IO uint32_t DMA1_TRGSEL4;
  976. __IO uint32_t DMA1_TRGSEL5;
  977. __IO uint32_t DMA2_TRGSEL0;
  978. __IO uint32_t DMA2_TRGSEL1;
  979. __IO uint32_t DMA2_TRGSEL2;
  980. __IO uint32_t DMA2_TRGSEL3;
  981. __IO uint32_t DMA2_TRGSEL4;
  982. __IO uint32_t DMA2_TRGSEL5;
  983. __IO uint32_t DMA_TRGSELRC;
  984. __IO uint32_t TMR6_HTSSR0;
  985. __IO uint32_t TMR6_HTSSR1;
  986. __IO uint32_t TMR4_HTSSR0;
  987. __IO uint32_t TMR4_HTSSR1;
  988. __IO uint32_t TMR4_HTSSR2;
  989. __IO uint32_t PEVNTTRGSR12;
  990. __IO uint32_t PEVNTTRGSR34;
  991. __IO uint32_t TMR0_HTSSR;
  992. __IO uint32_t TMRA_HTSSR0;
  993. __IO uint32_t TMRA_HTSSR1;
  994. __IO uint32_t TMRA_HTSSR2;
  995. __IO uint32_t TMRA_HTSSR3;
  996. __IO uint32_t ADC1_ITRGSELR0;
  997. __IO uint32_t ADC1_ITRGSELR1;
  998. __IO uint32_t ADC2_ITRGSELR0;
  999. __IO uint32_t ADC2_ITRGSELR1;
  1000. __IO uint32_t ADC3_ITRGSELR0;
  1001. __IO uint32_t ADC3_ITRGSELR1;
  1002. __IO uint32_t COMTRG1;
  1003. __IO uint32_t COMTRG2;
  1004. uint8_t RESERVED0[104];
  1005. __IO uint32_t PEVNTDIRR1;
  1006. __I uint32_t PEVNTIDR1;
  1007. __IO uint32_t PEVNTODR1;
  1008. __IO uint32_t PEVNTORR1;
  1009. __IO uint32_t PEVNTOSR1;
  1010. __IO uint32_t PEVNTRISR1;
  1011. __IO uint32_t PEVNTFAL1;
  1012. __IO uint32_t PEVNTDIRR2;
  1013. __I uint32_t PEVNTIDR2;
  1014. __IO uint32_t PEVNTODR2;
  1015. __IO uint32_t PEVNTORR2;
  1016. __IO uint32_t PEVNTOSR2;
  1017. __IO uint32_t PEVNTRISR2;
  1018. __IO uint32_t PEVNTFAL2;
  1019. __IO uint32_t PEVNTDIRR3;
  1020. __I uint32_t PEVNTIDR3;
  1021. __IO uint32_t PEVNTODR3;
  1022. __IO uint32_t PEVNTORR3;
  1023. __IO uint32_t PEVNTOSR3;
  1024. __IO uint32_t PEVNTRISR3;
  1025. __IO uint32_t PEVNTFAL3;
  1026. __IO uint32_t PEVNTDIRR4;
  1027. __I uint32_t PEVNTIDR4;
  1028. __IO uint32_t PEVNTODR4;
  1029. __IO uint32_t PEVNTORR4;
  1030. __IO uint32_t PEVNTOSR4;
  1031. __IO uint32_t PEVNTRISR4;
  1032. __IO uint32_t PEVNTFAL4;
  1033. __IO uint32_t PEVNTNFCR;
  1034. uint8_t RESERVED1[140];
  1035. __IO uint32_t PLU0_CR;
  1036. __IO uint32_t PLU1_CR;
  1037. __IO uint32_t PLU2_CR;
  1038. __IO uint32_t PLU3_CR;
  1039. __IO uint32_t PLU0_TRGSELA;
  1040. __IO uint32_t PLU0_TRGSELB;
  1041. __IO uint32_t PLU0_TRGSELC;
  1042. __IO uint32_t PLU0_TRGSELD;
  1043. __IO uint32_t PLU1_TRGSELA;
  1044. __IO uint32_t PLU1_TRGSELB;
  1045. __IO uint32_t PLU1_TRGSELC;
  1046. __IO uint32_t PLU1_TRGSELD;
  1047. __IO uint32_t PLU2_TRGSELA;
  1048. __IO uint32_t PLU2_TRGSELB;
  1049. __IO uint32_t PLU2_TRGSELC;
  1050. __IO uint32_t PLU2_TRGSELD;
  1051. __IO uint32_t PLU3_TRGSELA;
  1052. __IO uint32_t PLU3_TRGSELB;
  1053. __IO uint32_t PLU3_TRGSELC;
  1054. __IO uint32_t PLU3_TRGSELD;
  1055. } CM_AOS_TypeDef;
  1056. /**
  1057. * @brief CMP
  1058. */
  1059. typedef struct {
  1060. __IO uint8_t MDR;
  1061. __IO uint8_t FIR;
  1062. __IO uint8_t OCR;
  1063. uint8_t RESERVED0[1];
  1064. __IO uint32_t PMSR;
  1065. uint8_t RESERVED1[8];
  1066. __IO uint32_t BWSR1;
  1067. __IO uint16_t BWSR2;
  1068. uint8_t RESERVED2[2];
  1069. __IO uint32_t SCCR;
  1070. __IO uint32_t SCMR;
  1071. } CM_CMP_TypeDef;
  1072. /**
  1073. * @brief CMU
  1074. */
  1075. typedef struct {
  1076. uint8_t RESERVED0[24];
  1077. __IO uint32_t XTALDIVR;
  1078. __IO uint32_t XTALDIVCR;
  1079. uint8_t RESERVED1[19504];
  1080. __IO uint8_t XTALCFGR;
  1081. uint8_t RESERVED2[3];
  1082. __IO uint8_t XTAL32CR;
  1083. uint8_t RESERVED3[3];
  1084. __IO uint8_t XTAL32CFGR;
  1085. uint8_t RESERVED4[15];
  1086. __IO uint8_t XTAL32NFR;
  1087. uint8_t RESERVED5[3];
  1088. __IO uint8_t LRCCR;
  1089. uint8_t RESERVED6[7];
  1090. __IO uint8_t LRCTRM;
  1091. uint8_t RESERVED7[29595];
  1092. __IO uint16_t PERICKSEL;
  1093. uint8_t RESERVED8[6];
  1094. __IO uint16_t CANCKCFGR;
  1095. uint8_t RESERVED9[6];
  1096. __IO uint32_t SCFGR;
  1097. uint8_t RESERVED10[2];
  1098. __IO uint8_t CKSWR;
  1099. uint8_t RESERVED11[3];
  1100. __IO uint8_t PLLHCR;
  1101. uint8_t RESERVED12[7];
  1102. __IO uint8_t XTALCR;
  1103. uint8_t RESERVED13[3];
  1104. __IO uint8_t HRCCR;
  1105. uint8_t RESERVED14[1];
  1106. __IO uint8_t MRCCR;
  1107. uint8_t RESERVED15[3];
  1108. __IO uint8_t OSCSTBSR;
  1109. __IO uint8_t MCO1CFGR;
  1110. __IO uint8_t MCO2CFGR;
  1111. __IO uint8_t TPIUCKCFGR;
  1112. __IO uint8_t XTALSTDCR;
  1113. __IO uint8_t XTALSTDSR;
  1114. uint8_t RESERVED16[31];
  1115. __IO uint8_t MRCTRM;
  1116. __IO uint8_t HRCTRM;
  1117. uint8_t RESERVED17[63];
  1118. __IO uint8_t XTALSTBCR;
  1119. uint8_t RESERVED18[93];
  1120. __IO uint32_t PLLHCFGR;
  1121. } CM_CMU_TypeDef;
  1122. /**
  1123. * @brief CRC
  1124. */
  1125. typedef struct {
  1126. __IO uint32_t CR;
  1127. __IO uint32_t RESLT;
  1128. uint8_t RESERVED0[120];
  1129. __I uint32_t DAT0;
  1130. __I uint32_t DAT1;
  1131. __I uint32_t DAT2;
  1132. __I uint32_t DAT3;
  1133. __I uint32_t DAT4;
  1134. __I uint32_t DAT5;
  1135. __I uint32_t DAT6;
  1136. __I uint32_t DAT7;
  1137. __I uint32_t DAT8;
  1138. __I uint32_t DAT9;
  1139. __I uint32_t DAT10;
  1140. __I uint32_t DAT11;
  1141. __I uint32_t DAT12;
  1142. __I uint32_t DAT13;
  1143. __I uint32_t DAT14;
  1144. __I uint32_t DAT15;
  1145. __I uint32_t DAT16;
  1146. __I uint32_t DAT17;
  1147. __I uint32_t DAT18;
  1148. __I uint32_t DAT19;
  1149. __I uint32_t DAT20;
  1150. __I uint32_t DAT21;
  1151. __I uint32_t DAT22;
  1152. __I uint32_t DAT23;
  1153. __I uint32_t DAT24;
  1154. __I uint32_t DAT25;
  1155. __I uint32_t DAT26;
  1156. __I uint32_t DAT27;
  1157. __I uint32_t DAT28;
  1158. __I uint32_t DAT29;
  1159. __I uint32_t DAT30;
  1160. __I uint32_t DAT31;
  1161. } CM_CRC_TypeDef;
  1162. /**
  1163. * @brief CTC
  1164. */
  1165. typedef struct {
  1166. __IO uint32_t CR1;
  1167. __IO uint32_t CR2;
  1168. __I uint32_t STR;
  1169. __I uint16_t CNT;
  1170. } CM_CTC_TypeDef;
  1171. /**
  1172. * @brief DAC
  1173. */
  1174. typedef struct {
  1175. __IO uint16_t DADR1;
  1176. __IO uint16_t DADR2;
  1177. __IO uint16_t DACR;
  1178. __IO uint16_t DAADPCR;
  1179. uint8_t RESERVED0[20];
  1180. __IO uint16_t DAOCR;
  1181. } CM_DAC_TypeDef;
  1182. /**
  1183. * @brief DBGC
  1184. */
  1185. typedef struct {
  1186. __IO uint32_t AUTHID0;
  1187. __IO uint32_t AUTHID1;
  1188. __IO uint32_t AUTHID2;
  1189. __I uint32_t CHIPID;
  1190. __IO uint32_t MCUSTAT;
  1191. __IO uint32_t MCUCTL;
  1192. __IO uint32_t FMCCTL;
  1193. __IO uint32_t MCUDBGCSTAT;
  1194. __IO uint32_t MCUSTPCTL;
  1195. __IO uint32_t MCUTRACECTL;
  1196. __IO uint32_t MCUSTPCTL2;
  1197. } CM_DBGC_TypeDef;
  1198. /**
  1199. * @brief DCU
  1200. */
  1201. typedef struct {
  1202. __IO uint32_t CTL;
  1203. __I uint32_t FLAG;
  1204. __IO uint32_t DATA0;
  1205. __IO uint32_t DATA1;
  1206. __IO uint32_t DATA2;
  1207. __O uint32_t FLAGCLR;
  1208. __IO uint32_t INTEVTSEL;
  1209. } CM_DCU_TypeDef;
  1210. /**
  1211. * @brief DMA
  1212. */
  1213. typedef struct {
  1214. __IO uint32_t EN;
  1215. __I uint32_t INTSTAT0;
  1216. __I uint32_t INTSTAT1;
  1217. __IO uint32_t INTMASK0;
  1218. __IO uint32_t INTMASK1;
  1219. __O uint32_t INTCLR0;
  1220. __O uint32_t INTCLR1;
  1221. __IO uint32_t CHEN;
  1222. __I uint32_t REQSTAT;
  1223. __I uint32_t CHSTAT;
  1224. uint8_t RESERVED0[4];
  1225. __IO uint32_t RCFGCTL;
  1226. uint8_t RESERVED1[4];
  1227. __O uint32_t CHENCLR;
  1228. uint8_t RESERVED2[8];
  1229. __IO uint32_t SAR0;
  1230. __IO uint32_t DAR0;
  1231. __IO uint32_t DTCTL0;
  1232. union {
  1233. __IO uint32_t RPT0;
  1234. __IO uint32_t RPTB0;
  1235. };
  1236. union {
  1237. __IO uint32_t SNSEQCTL0;
  1238. __IO uint32_t SNSEQCTLB0;
  1239. };
  1240. union {
  1241. __IO uint32_t DNSEQCTL0;
  1242. __IO uint32_t DNSEQCTLB0;
  1243. };
  1244. __IO uint32_t LLP0;
  1245. __IO uint32_t CHCTL0;
  1246. __I uint32_t MONSAR0;
  1247. __I uint32_t MONDAR0;
  1248. __I uint32_t MONDTCTL0;
  1249. __I uint32_t MONRPT0;
  1250. __I uint32_t MONSNSEQCTL0;
  1251. __I uint32_t MONDNSEQCTL0;
  1252. uint8_t RESERVED3[8];
  1253. __IO uint32_t SAR1;
  1254. __IO uint32_t DAR1;
  1255. __IO uint32_t DTCTL1;
  1256. union {
  1257. __IO uint32_t RPT1;
  1258. __IO uint32_t RPTB1;
  1259. };
  1260. union {
  1261. __IO uint32_t SNSEQCTL1;
  1262. __IO uint32_t SNSEQCTLB1;
  1263. };
  1264. union {
  1265. __IO uint32_t DNSEQCTL1;
  1266. __IO uint32_t DNSEQCTLB1;
  1267. };
  1268. __IO uint32_t LLP1;
  1269. __IO uint32_t CHCTL1;
  1270. __I uint32_t MONSAR1;
  1271. __I uint32_t MONDAR1;
  1272. __I uint32_t MONDTCTL1;
  1273. __I uint32_t MONRPT1;
  1274. __I uint32_t MONSNSEQCTL1;
  1275. __I uint32_t MONDNSEQCTL1;
  1276. uint8_t RESERVED4[8];
  1277. __IO uint32_t SAR2;
  1278. __IO uint32_t DAR2;
  1279. __IO uint32_t DTCTL2;
  1280. union {
  1281. __IO uint32_t RPT2;
  1282. __IO uint32_t RPTB2;
  1283. };
  1284. union {
  1285. __IO uint32_t SNSEQCTL2;
  1286. __IO uint32_t SNSEQCTLB2;
  1287. };
  1288. union {
  1289. __IO uint32_t DNSEQCTL2;
  1290. __IO uint32_t DNSEQCTLB2;
  1291. };
  1292. __IO uint32_t LLP2;
  1293. __IO uint32_t CHCTL2;
  1294. __I uint32_t MONSAR2;
  1295. __I uint32_t MONDAR2;
  1296. __I uint32_t MONDTCTL2;
  1297. __I uint32_t MONRPT2;
  1298. __I uint32_t MONSNSEQCTL2;
  1299. __I uint32_t MONDNSEQCTL2;
  1300. uint8_t RESERVED5[8];
  1301. __IO uint32_t SAR3;
  1302. __IO uint32_t DAR3;
  1303. __IO uint32_t DTCTL3;
  1304. union {
  1305. __IO uint32_t RPT3;
  1306. __IO uint32_t RPTB3;
  1307. };
  1308. union {
  1309. __IO uint32_t SNSEQCTL3;
  1310. __IO uint32_t SNSEQCTLB3;
  1311. };
  1312. union {
  1313. __IO uint32_t DNSEQCTL3;
  1314. __IO uint32_t DNSEQCTLB3;
  1315. };
  1316. __IO uint32_t LLP3;
  1317. __IO uint32_t CHCTL3;
  1318. __I uint32_t MONSAR3;
  1319. __I uint32_t MONDAR3;
  1320. __I uint32_t MONDTCTL3;
  1321. __I uint32_t MONRPT3;
  1322. __I uint32_t MONSNSEQCTL3;
  1323. __I uint32_t MONDNSEQCTL3;
  1324. uint8_t RESERVED6[8];
  1325. __IO uint32_t SAR4;
  1326. __IO uint32_t DAR4;
  1327. __IO uint32_t DTCTL4;
  1328. union {
  1329. __IO uint32_t RPT4;
  1330. __IO uint32_t RPTB4;
  1331. };
  1332. union {
  1333. __IO uint32_t SNSEQCTL4;
  1334. __IO uint32_t SNSEQCTLB4;
  1335. };
  1336. union {
  1337. __IO uint32_t DNSEQCTL4;
  1338. __IO uint32_t DNSEQCTLB4;
  1339. };
  1340. __IO uint32_t LLP4;
  1341. __IO uint32_t CHCTL4;
  1342. __I uint32_t MONSAR4;
  1343. __I uint32_t MONDAR4;
  1344. __I uint32_t MONDTCTL4;
  1345. __I uint32_t MONRPT4;
  1346. __I uint32_t MONSNSEQCTL4;
  1347. __I uint32_t MONDNSEQCTL4;
  1348. uint8_t RESERVED7[8];
  1349. __IO uint32_t SAR5;
  1350. __IO uint32_t DAR5;
  1351. __IO uint32_t DTCTL5;
  1352. union {
  1353. __IO uint32_t RPT5;
  1354. __IO uint32_t RPTB5;
  1355. };
  1356. union {
  1357. __IO uint32_t SNSEQCTL5;
  1358. __IO uint32_t SNSEQCTLB5;
  1359. };
  1360. union {
  1361. __IO uint32_t DNSEQCTL5;
  1362. __IO uint32_t DNSEQCTLB5;
  1363. };
  1364. __IO uint32_t LLP5;
  1365. __IO uint32_t CHCTL5;
  1366. __I uint32_t MONSAR5;
  1367. __I uint32_t MONDAR5;
  1368. __I uint32_t MONDTCTL5;
  1369. __I uint32_t MONRPT5;
  1370. __I uint32_t MONSNSEQCTL5;
  1371. __I uint32_t MONDNSEQCTL5;
  1372. } CM_DMA_TypeDef;
  1373. /**
  1374. * @brief EFM
  1375. */
  1376. typedef struct {
  1377. __IO uint32_t FAPRT;
  1378. __IO uint32_t KEY1;
  1379. __IO uint32_t KEY2;
  1380. uint8_t RESERVED0[8];
  1381. __IO uint32_t FSTP;
  1382. __IO uint32_t FRMC;
  1383. __IO uint32_t FWMC;
  1384. __I uint32_t FSR;
  1385. __IO uint32_t FSCLR;
  1386. __IO uint32_t FITE;
  1387. __I uint32_t FSWP;
  1388. uint8_t RESERVED1[16];
  1389. __I uint32_t CHIPID;
  1390. uint8_t RESERVED2[12];
  1391. __I uint32_t UQID0;
  1392. __I uint32_t UQID1;
  1393. __I uint32_t UQID2;
  1394. uint8_t RESERVED3[164];
  1395. __IO uint32_t MMF_REMPRT;
  1396. __IO uint32_t MMF_REMCR0;
  1397. __IO uint32_t MMF_REMCR1;
  1398. uint8_t RESERVED4[116];
  1399. __IO uint32_t WLOCK;
  1400. uint8_t RESERVED5[12];
  1401. __IO uint32_t F0NWPRT;
  1402. } CM_EFM_TypeDef;
  1403. /**
  1404. * @brief EMB
  1405. */
  1406. typedef struct {
  1407. __IO uint32_t CTL1;
  1408. __IO uint32_t CTL2;
  1409. __IO uint32_t SOE;
  1410. __I uint32_t STAT;
  1411. __O uint32_t STATCLR;
  1412. __IO uint32_t INTEN;
  1413. __IO uint32_t RLSSEL;
  1414. } CM_EMB_TypeDef;
  1415. /**
  1416. * @brief FCM
  1417. */
  1418. typedef struct {
  1419. __IO uint32_t LVR;
  1420. __IO uint32_t UVR;
  1421. __I uint32_t CNTR;
  1422. __IO uint32_t STR;
  1423. __IO uint32_t MCCR;
  1424. __IO uint32_t RCCR;
  1425. __IO uint32_t RIER;
  1426. __I uint32_t SR;
  1427. __O uint32_t CLR;
  1428. } CM_FCM_TypeDef;
  1429. /**
  1430. * @brief GPIO
  1431. */
  1432. typedef struct {
  1433. __I uint16_t PIDRA;
  1434. uint8_t RESERVED0[2];
  1435. __IO uint16_t PODRA;
  1436. __IO uint16_t POERA;
  1437. __IO uint16_t POSRA;
  1438. __IO uint16_t PORRA;
  1439. __IO uint16_t POTRA;
  1440. uint8_t RESERVED1[2];
  1441. __I uint16_t PIDRB;
  1442. uint8_t RESERVED2[2];
  1443. __IO uint16_t PODRB;
  1444. __IO uint16_t POERB;
  1445. __IO uint16_t POSRB;
  1446. __IO uint16_t PORRB;
  1447. __IO uint16_t POTRB;
  1448. uint8_t RESERVED3[2];
  1449. __I uint16_t PIDRC;
  1450. uint8_t RESERVED4[2];
  1451. __IO uint16_t PODRC;
  1452. __IO uint16_t POERC;
  1453. __IO uint16_t POSRC;
  1454. __IO uint16_t PORRC;
  1455. __IO uint16_t POTRC;
  1456. uint8_t RESERVED5[2];
  1457. __I uint16_t PIDRD;
  1458. uint8_t RESERVED6[2];
  1459. __IO uint16_t PODRD;
  1460. __IO uint16_t POERD;
  1461. __IO uint16_t POSRD;
  1462. __IO uint16_t PORRD;
  1463. __IO uint16_t POTRD;
  1464. uint8_t RESERVED7[2];
  1465. __I uint16_t PIDRE;
  1466. uint8_t RESERVED8[2];
  1467. __IO uint16_t PODRE;
  1468. __IO uint16_t POERE;
  1469. __IO uint16_t POSRE;
  1470. __IO uint16_t PORRE;
  1471. __IO uint16_t POTRE;
  1472. uint8_t RESERVED9[2];
  1473. __I uint16_t PIDRH;
  1474. uint8_t RESERVED10[2];
  1475. __IO uint16_t PODRH;
  1476. __IO uint16_t POERH;
  1477. __IO uint16_t POSRH;
  1478. __IO uint16_t PORRH;
  1479. __IO uint16_t POTRH;
  1480. uint8_t RESERVED11[918];
  1481. __IO uint16_t PSPCR;
  1482. uint8_t RESERVED12[2];
  1483. __IO uint16_t PCCR;
  1484. uint8_t RESERVED13[2];
  1485. __IO uint16_t PWPR;
  1486. uint8_t RESERVED14[2];
  1487. __IO uint16_t PCRA0;
  1488. __IO uint16_t PFSRA0;
  1489. __IO uint16_t PCRA1;
  1490. __IO uint16_t PFSRA1;
  1491. __IO uint16_t PCRA2;
  1492. __IO uint16_t PFSRA2;
  1493. __IO uint16_t PCRA3;
  1494. __IO uint16_t PFSRA3;
  1495. __IO uint16_t PCRA4;
  1496. __IO uint16_t PFSRA4;
  1497. __IO uint16_t PCRA5;
  1498. __IO uint16_t PFSRA5;
  1499. __IO uint16_t PCRA6;
  1500. __IO uint16_t PFSRA6;
  1501. __IO uint16_t PCRA7;
  1502. __IO uint16_t PFSRA7;
  1503. __IO uint16_t PCRA8;
  1504. __IO uint16_t PFSRA8;
  1505. __IO uint16_t PCRA9;
  1506. __IO uint16_t PFSRA9;
  1507. __IO uint16_t PCRA10;
  1508. __IO uint16_t PFSRA10;
  1509. __IO uint16_t PCRA11;
  1510. __IO uint16_t PFSRA11;
  1511. __IO uint16_t PCRA12;
  1512. __IO uint16_t PFSRA12;
  1513. __IO uint16_t PCRA13;
  1514. __IO uint16_t PFSRA13;
  1515. __IO uint16_t PCRA14;
  1516. __IO uint16_t PFSRA14;
  1517. __IO uint16_t PCRA15;
  1518. __IO uint16_t PFSRA15;
  1519. __IO uint16_t PCRB0;
  1520. __IO uint16_t PFSRB0;
  1521. __IO uint16_t PCRB1;
  1522. __IO uint16_t PFSRB1;
  1523. __IO uint16_t PCRB2;
  1524. __IO uint16_t PFSRB2;
  1525. __IO uint16_t PCRB3;
  1526. __IO uint16_t PFSRB3;
  1527. __IO uint16_t PCRB4;
  1528. __IO uint16_t PFSRB4;
  1529. __IO uint16_t PCRB5;
  1530. __IO uint16_t PFSRB5;
  1531. __IO uint16_t PCRB6;
  1532. __IO uint16_t PFSRB6;
  1533. __IO uint16_t PCRB7;
  1534. __IO uint16_t PFSRB7;
  1535. __IO uint16_t PCRB8;
  1536. __IO uint16_t PFSRB8;
  1537. __IO uint16_t PCRB9;
  1538. __IO uint16_t PFSRB9;
  1539. __IO uint16_t PCRB10;
  1540. __IO uint16_t PFSRB10;
  1541. __IO uint16_t PCRB11;
  1542. __IO uint16_t PFSRB11;
  1543. __IO uint16_t PCRB12;
  1544. __IO uint16_t PFSRB12;
  1545. __IO uint16_t PCRB13;
  1546. __IO uint16_t PFSRB13;
  1547. __IO uint16_t PCRB14;
  1548. __IO uint16_t PFSRB14;
  1549. __IO uint16_t PCRB15;
  1550. __IO uint16_t PFSRB15;
  1551. __IO uint16_t PCRC0;
  1552. __IO uint16_t PFSRC0;
  1553. __IO uint16_t PCRC1;
  1554. __IO uint16_t PFSRC1;
  1555. __IO uint16_t PCRC2;
  1556. __IO uint16_t PFSRC2;
  1557. __IO uint16_t PCRC3;
  1558. __IO uint16_t PFSRC3;
  1559. __IO uint16_t PCRC4;
  1560. __IO uint16_t PFSRC4;
  1561. __IO uint16_t PCRC5;
  1562. __IO uint16_t PFSRC5;
  1563. __IO uint16_t PCRC6;
  1564. __IO uint16_t PFSRC6;
  1565. __IO uint16_t PCRC7;
  1566. __IO uint16_t PFSRC7;
  1567. __IO uint16_t PCRC8;
  1568. __IO uint16_t PFSRC8;
  1569. __IO uint16_t PCRC9;
  1570. __IO uint16_t PFSRC9;
  1571. __IO uint16_t PCRC10;
  1572. __IO uint16_t PFSRC10;
  1573. __IO uint16_t PCRC11;
  1574. __IO uint16_t PFSRC11;
  1575. __IO uint16_t PCRC12;
  1576. __IO uint16_t PFSRC12;
  1577. __IO uint16_t PCRC13;
  1578. __IO uint16_t PFSRC13;
  1579. __IO uint16_t PCRC14;
  1580. __IO uint16_t PFSRC14;
  1581. __IO uint16_t PCRC15;
  1582. __IO uint16_t PFSRC15;
  1583. __IO uint16_t PCRD0;
  1584. __IO uint16_t PFSRD0;
  1585. __IO uint16_t PCRD1;
  1586. __IO uint16_t PFSRD1;
  1587. __IO uint16_t PCRD2;
  1588. __IO uint16_t PFSRD2;
  1589. __IO uint16_t PCRD3;
  1590. __IO uint16_t PFSRD3;
  1591. __IO uint16_t PCRD4;
  1592. __IO uint16_t PFSRD4;
  1593. __IO uint16_t PCRD5;
  1594. __IO uint16_t PFSRD5;
  1595. __IO uint16_t PCRD6;
  1596. __IO uint16_t PFSRD6;
  1597. __IO uint16_t PCRD7;
  1598. __IO uint16_t PFSRD7;
  1599. __IO uint16_t PCRD8;
  1600. __IO uint16_t PFSRD8;
  1601. __IO uint16_t PCRD9;
  1602. __IO uint16_t PFSRD9;
  1603. __IO uint16_t PCRD10;
  1604. __IO uint16_t PFSRD10;
  1605. __IO uint16_t PCRD11;
  1606. __IO uint16_t PFSRD11;
  1607. __IO uint16_t PCRD12;
  1608. __IO uint16_t PFSRD12;
  1609. __IO uint16_t PCRD13;
  1610. __IO uint16_t PFSRD13;
  1611. __IO uint16_t PCRD14;
  1612. __IO uint16_t PFSRD14;
  1613. __IO uint16_t PCRD15;
  1614. __IO uint16_t PFSRD15;
  1615. __IO uint16_t PCRE0;
  1616. __IO uint16_t PFSRE0;
  1617. __IO uint16_t PCRE1;
  1618. __IO uint16_t PFSRE1;
  1619. __IO uint16_t PCRE2;
  1620. __IO uint16_t PFSRE2;
  1621. __IO uint16_t PCRE3;
  1622. __IO uint16_t PFSRE3;
  1623. __IO uint16_t PCRE4;
  1624. __IO uint16_t PFSRE4;
  1625. __IO uint16_t PCRE5;
  1626. __IO uint16_t PFSRE5;
  1627. __IO uint16_t PCRE6;
  1628. __IO uint16_t PFSRE6;
  1629. __IO uint16_t PCRE7;
  1630. __IO uint16_t PFSRE7;
  1631. __IO uint16_t PCRE8;
  1632. __IO uint16_t PFSRE8;
  1633. __IO uint16_t PCRE9;
  1634. __IO uint16_t PFSRE9;
  1635. __IO uint16_t PCRE10;
  1636. __IO uint16_t PFSRE10;
  1637. __IO uint16_t PCRE11;
  1638. __IO uint16_t PFSRE11;
  1639. __IO uint16_t PCRE12;
  1640. __IO uint16_t PFSRE12;
  1641. __IO uint16_t PCRE13;
  1642. __IO uint16_t PFSRE13;
  1643. __IO uint16_t PCRE14;
  1644. __IO uint16_t PFSRE14;
  1645. __IO uint16_t PCRE15;
  1646. __IO uint16_t PFSRE15;
  1647. __IO uint16_t PCRH0;
  1648. __IO uint16_t PFSRH0;
  1649. __IO uint16_t PCRH1;
  1650. __IO uint16_t PFSRH1;
  1651. __IO uint16_t PCRH2;
  1652. __IO uint16_t PFSRH2;
  1653. __IO uint16_t PCRH3;
  1654. __IO uint16_t PFSRH3;
  1655. __IO uint16_t PCRH4;
  1656. __IO uint16_t PFSRH4;
  1657. __IO uint16_t PCRH5;
  1658. __IO uint16_t PFSRH5;
  1659. __IO uint16_t PCRH6;
  1660. __IO uint16_t PFSRH6;
  1661. __IO uint16_t PCRH7;
  1662. __IO uint16_t PFSRH7;
  1663. __IO uint16_t PCRH8;
  1664. __IO uint16_t PFSRH8;
  1665. __IO uint16_t PCRH9;
  1666. __IO uint16_t PFSRH9;
  1667. __IO uint16_t PCRH10;
  1668. __IO uint16_t PFSRH10;
  1669. __IO uint16_t PCRH11;
  1670. __IO uint16_t PFSRH11;
  1671. __IO uint16_t PCRH12;
  1672. __IO uint16_t PFSRH12;
  1673. __IO uint16_t PCRH13;
  1674. __IO uint16_t PFSRH13;
  1675. __IO uint16_t PCRH14;
  1676. __IO uint16_t PFSRH14;
  1677. __IO uint16_t PCRH15;
  1678. __IO uint16_t PFSRH15;
  1679. } CM_GPIO_TypeDef;
  1680. /**
  1681. * @brief HASH
  1682. */
  1683. typedef struct {
  1684. __IO uint32_t CR;
  1685. uint8_t RESERVED0[12];
  1686. __IO uint32_t HR7;
  1687. __IO uint32_t HR6;
  1688. __IO uint32_t HR5;
  1689. __IO uint32_t HR4;
  1690. __IO uint32_t HR3;
  1691. __IO uint32_t HR2;
  1692. __IO uint32_t HR1;
  1693. __IO uint32_t HR0;
  1694. uint8_t RESERVED1[16];
  1695. __IO uint32_t DR15;
  1696. __IO uint32_t DR14;
  1697. __IO uint32_t DR13;
  1698. __IO uint32_t DR12;
  1699. __IO uint32_t DR11;
  1700. __IO uint32_t DR10;
  1701. __IO uint32_t DR9;
  1702. __IO uint32_t DR8;
  1703. __IO uint32_t DR7;
  1704. __IO uint32_t DR6;
  1705. __IO uint32_t DR5;
  1706. __IO uint32_t DR4;
  1707. __IO uint32_t DR3;
  1708. __IO uint32_t DR2;
  1709. __IO uint32_t DR1;
  1710. __IO uint32_t DR0;
  1711. } CM_HASH_TypeDef;
  1712. /**
  1713. * @brief I2C
  1714. */
  1715. typedef struct {
  1716. __IO uint32_t CR1;
  1717. __IO uint32_t CR2;
  1718. __IO uint32_t CR3;
  1719. __IO uint32_t CR4;
  1720. __IO uint32_t SLR0;
  1721. __IO uint32_t SLR1;
  1722. __IO uint32_t SLTR;
  1723. __IO uint32_t SR;
  1724. __O uint32_t CLR;
  1725. __O uint8_t DTR;
  1726. uint8_t RESERVED0[3];
  1727. __I uint8_t DRR;
  1728. uint8_t RESERVED1[3];
  1729. __IO uint32_t CCR;
  1730. __IO uint32_t FLTR;
  1731. __IO uint32_t FSTR;
  1732. __IO uint32_t SLVADDR;
  1733. } CM_I2C_TypeDef;
  1734. /**
  1735. * @brief ICG
  1736. */
  1737. typedef struct {
  1738. __I uint32_t ICG0;
  1739. __I uint32_t ICG1;
  1740. uint8_t RESERVED0[4];
  1741. __I uint32_t ICG3;
  1742. __I uint32_t ICG4;
  1743. } CM_ICG_TypeDef;
  1744. /**
  1745. * @brief INTC
  1746. */
  1747. typedef struct {
  1748. uint8_t RESERVED0[4];
  1749. __IO uint32_t NMIER;
  1750. __IO uint32_t NMIFR;
  1751. __IO uint32_t NMIFCR;
  1752. __IO uint32_t EIRQCR0;
  1753. __IO uint32_t EIRQCR1;
  1754. __IO uint32_t EIRQCR2;
  1755. __IO uint32_t EIRQCR3;
  1756. __IO uint32_t EIRQCR4;
  1757. __IO uint32_t EIRQCR5;
  1758. __IO uint32_t EIRQCR6;
  1759. __IO uint32_t EIRQCR7;
  1760. __IO uint32_t EIRQCR8;
  1761. __IO uint32_t EIRQCR9;
  1762. __IO uint32_t EIRQCR10;
  1763. __IO uint32_t EIRQCR11;
  1764. __IO uint32_t EIRQCR12;
  1765. __IO uint32_t EIRQCR13;
  1766. __IO uint32_t EIRQCR14;
  1767. __IO uint32_t EIRQCR15;
  1768. __IO uint32_t WKEN;
  1769. __IO uint32_t EIFR;
  1770. __IO uint32_t EIFCR;
  1771. __IO uint32_t INTSEL0;
  1772. __IO uint32_t INTSEL1;
  1773. __IO uint32_t INTSEL2;
  1774. __IO uint32_t INTSEL3;
  1775. __IO uint32_t INTSEL4;
  1776. __IO uint32_t INTSEL5;
  1777. __IO uint32_t INTSEL6;
  1778. __IO uint32_t INTSEL7;
  1779. __IO uint32_t INTSEL8;
  1780. __IO uint32_t INTSEL9;
  1781. __IO uint32_t INTSEL10;
  1782. __IO uint32_t INTSEL11;
  1783. __IO uint32_t INTSEL12;
  1784. __IO uint32_t INTSEL13;
  1785. __IO uint32_t INTSEL14;
  1786. __IO uint32_t INTSEL15;
  1787. __IO uint32_t INTMSK0;
  1788. __IO uint32_t INTMSK1;
  1789. __IO uint32_t INTMSK2;
  1790. __IO uint32_t INTMSK3;
  1791. __IO uint32_t INTMSK4;
  1792. __IO uint32_t INTMSK5;
  1793. __IO uint32_t INTMSK6;
  1794. __IO uint32_t INTMSK7;
  1795. __IO uint32_t INTMSK8;
  1796. __IO uint32_t INTMSK9;
  1797. __IO uint32_t INTMSK10;
  1798. __IO uint32_t INTMSK11;
  1799. __IO uint32_t INTMSK12;
  1800. __IO uint32_t INTMSK13;
  1801. __IO uint32_t INTMSK14;
  1802. __IO uint32_t INTMSK15;
  1803. __IO uint32_t SWIER;
  1804. __IO uint32_t EVTER;
  1805. __IO uint32_t IER;
  1806. } CM_INTC_TypeDef;
  1807. /**
  1808. * @brief KEYSCAN
  1809. */
  1810. typedef struct {
  1811. __IO uint32_t SCR;
  1812. __IO uint32_t SER;
  1813. __IO uint32_t SSR;
  1814. } CM_KEYSCAN_TypeDef;
  1815. /**
  1816. * @brief MCAN
  1817. */
  1818. typedef struct {
  1819. uint8_t RESERVED0[4];
  1820. __IO uint32_t ENDN;
  1821. uint8_t RESERVED1[4];
  1822. __IO uint32_t DBTP;
  1823. __IO uint32_t TEST;
  1824. __IO uint32_t RWD;
  1825. __IO uint32_t CCCR;
  1826. __IO uint32_t NBTP;
  1827. __IO uint32_t TSCC;
  1828. __IO uint32_t TSCV;
  1829. __IO uint32_t TOCC;
  1830. __IO uint32_t TOCV;
  1831. uint8_t RESERVED2[16];
  1832. __I uint32_t ECR;
  1833. __I uint32_t PSR;
  1834. __IO uint32_t TDCR;
  1835. uint8_t RESERVED3[4];
  1836. __IO uint32_t IR;
  1837. __IO uint32_t IE;
  1838. __IO uint32_t ILS;
  1839. __IO uint32_t ILE;
  1840. uint8_t RESERVED4[32];
  1841. __IO uint32_t GFC;
  1842. __IO uint32_t SIDFC;
  1843. __IO uint32_t XIDFC;
  1844. uint8_t RESERVED5[4];
  1845. __IO uint32_t XIDAM;
  1846. __I uint32_t HPMS;
  1847. __IO uint32_t NDAT1;
  1848. __IO uint32_t NDAT2;
  1849. __IO uint32_t RXF0C;
  1850. __I uint32_t RXF0S;
  1851. __IO uint32_t RXF0A;
  1852. __IO uint32_t RXBC;
  1853. __IO uint32_t RXF1C;
  1854. __I uint32_t RXF1S;
  1855. __IO uint32_t RXF1A;
  1856. __IO uint32_t RXESC;
  1857. __IO uint32_t TXBC;
  1858. __I uint32_t TXFQS;
  1859. __IO uint32_t TXESC;
  1860. __I uint32_t TXBRP;
  1861. __IO uint32_t TXBAR;
  1862. __IO uint32_t TXBCR;
  1863. __I uint32_t TXBTO;
  1864. __I uint32_t TXBCF;
  1865. __IO uint32_t TXBTIE;
  1866. __IO uint32_t TXBCIE;
  1867. uint8_t RESERVED6[8];
  1868. __IO uint32_t TXEFC;
  1869. __I uint32_t TXEFS;
  1870. __IO uint32_t TXEFA;
  1871. } CM_MCAN_TypeDef;
  1872. /**
  1873. * @brief MPU
  1874. */
  1875. typedef struct {
  1876. __IO uint32_t RGD0;
  1877. __IO uint32_t RGD1;
  1878. __IO uint32_t RGD2;
  1879. __IO uint32_t RGD3;
  1880. __IO uint32_t RGD4;
  1881. __IO uint32_t RGD5;
  1882. __IO uint32_t RGD6;
  1883. __IO uint32_t RGD7;
  1884. __IO uint32_t RGD8;
  1885. __IO uint32_t RGD9;
  1886. __IO uint32_t RGD10;
  1887. __IO uint32_t RGD11;
  1888. __IO uint32_t RGD12;
  1889. __IO uint32_t RGD13;
  1890. __IO uint32_t RGD14;
  1891. __IO uint32_t RGD15;
  1892. __I uint32_t SR;
  1893. __O uint32_t ECLR;
  1894. __IO uint32_t WP;
  1895. __IO uint32_t IPPR;
  1896. __IO uint32_t MSPPBA;
  1897. __IO uint32_t MSPPCTL;
  1898. __IO uint32_t PSPPBA;
  1899. __IO uint32_t PSPPCTL;
  1900. __IO uint32_t S1RGE;
  1901. __IO uint32_t S1RGWP;
  1902. __IO uint32_t S1RGRP;
  1903. __IO uint32_t S1CR;
  1904. __IO uint32_t S2RGE;
  1905. __IO uint32_t S2RGWP;
  1906. __IO uint32_t S2RGRP;
  1907. __IO uint32_t S2CR;
  1908. } CM_MPU_TypeDef;
  1909. /**
  1910. * @brief PERIC
  1911. */
  1912. typedef struct {
  1913. uint8_t RESERVED0[12];
  1914. __IO uint32_t SMC_ENAR;
  1915. uint8_t RESERVED1[4];
  1916. __IO uint32_t TMR_SYNENR;
  1917. uint8_t RESERVED2[4];
  1918. __IO uint32_t USART1_NFC;
  1919. } CM_PERIC_TypeDef;
  1920. /**
  1921. * @brief PWC
  1922. */
  1923. typedef struct {
  1924. __IO uint32_t FCG0;
  1925. __IO uint32_t FCG1;
  1926. __IO uint32_t FCG2;
  1927. __IO uint32_t FCG3;
  1928. __IO uint32_t FCG0PC;
  1929. uint8_t RESERVED0[17388];
  1930. __IO uint16_t WKTCR;
  1931. uint8_t RESERVED1[2046];
  1932. __IO uint8_t PWRC0;
  1933. uint8_t RESERVED2[3];
  1934. __IO uint8_t PWRC1;
  1935. uint8_t RESERVED3[3];
  1936. __IO uint8_t PWRC2;
  1937. uint8_t RESERVED4[3];
  1938. __IO uint8_t PWRC3;
  1939. uint8_t RESERVED5[3];
  1940. __IO uint8_t PWRC4;
  1941. uint8_t RESERVED6[3];
  1942. __IO uint8_t PVDCR0;
  1943. uint8_t RESERVED7[3];
  1944. __IO uint8_t PVDCR1;
  1945. uint8_t RESERVED8[3];
  1946. __IO uint8_t PVDFCR;
  1947. uint8_t RESERVED9[3];
  1948. __IO uint8_t PVDLCR;
  1949. uint8_t RESERVED10[7];
  1950. __IO uint8_t PDWKE0;
  1951. uint8_t RESERVED11[3];
  1952. __IO uint8_t PDWKE1;
  1953. uint8_t RESERVED12[3];
  1954. __IO uint8_t PDWKE2;
  1955. uint8_t RESERVED13[3];
  1956. __IO uint8_t PDWKES;
  1957. uint8_t RESERVED14[3];
  1958. __IO uint8_t PDWKF0;
  1959. uint8_t RESERVED15[3];
  1960. __IO uint8_t PDWKF1;
  1961. uint8_t RESERVED16[3];
  1962. __IO uint8_t PWRC5;
  1963. uint8_t RESERVED17[3];
  1964. __IO uint8_t PWRC6;
  1965. uint8_t RESERVED18[123];
  1966. __IO uint8_t PVDICR;
  1967. uint8_t RESERVED19[3];
  1968. __IO uint8_t PVDDSR;
  1969. uint8_t RESERVED20[3];
  1970. __IO uint32_t RAMPC0;
  1971. __IO uint32_t RAMOPM;
  1972. __IO uint32_t PRAMLPC;
  1973. uint8_t RESERVED21[29496];
  1974. __IO uint16_t STPMCR;
  1975. uint8_t RESERVED22[1008];
  1976. __IO uint16_t FPRC;
  1977. } CM_PWC_TypeDef;
  1978. /**
  1979. * @brief QSPI
  1980. */
  1981. typedef struct {
  1982. __IO uint32_t CR;
  1983. __IO uint32_t CSCR;
  1984. __IO uint32_t FCR;
  1985. __I uint32_t SR;
  1986. __IO uint32_t DCOM;
  1987. __IO uint32_t CCMD;
  1988. __IO uint32_t XCMD;
  1989. uint8_t RESERVED0[8];
  1990. __O uint32_t SR2;
  1991. uint8_t RESERVED1[2012];
  1992. __IO uint32_t EXAR;
  1993. } CM_QSPI_TypeDef;
  1994. /**
  1995. * @brief RMU
  1996. */
  1997. typedef struct {
  1998. __IO uint32_t FRST0;
  1999. __IO uint32_t FRST1;
  2000. __IO uint32_t FRST2;
  2001. __IO uint32_t FRST3;
  2002. __IO uint8_t PRSTCR0;
  2003. uint8_t RESERVED0[3];
  2004. __IO uint32_t RSTF0;
  2005. } CM_RMU_TypeDef;
  2006. /**
  2007. * @brief RTC
  2008. */
  2009. typedef struct {
  2010. __IO uint8_t CR0;
  2011. uint8_t RESERVED0[3];
  2012. __IO uint8_t CR1;
  2013. uint8_t RESERVED1[3];
  2014. __IO uint8_t CR2;
  2015. uint8_t RESERVED2[3];
  2016. __IO uint8_t CR3;
  2017. uint8_t RESERVED3[3];
  2018. __IO uint8_t SEC;
  2019. uint8_t RESERVED4[3];
  2020. __IO uint8_t MIN;
  2021. uint8_t RESERVED5[3];
  2022. __IO uint8_t HOUR;
  2023. uint8_t RESERVED6[3];
  2024. __IO uint8_t WEEK;
  2025. uint8_t RESERVED7[3];
  2026. __IO uint8_t DAY;
  2027. uint8_t RESERVED8[3];
  2028. __IO uint8_t MON;
  2029. uint8_t RESERVED9[3];
  2030. __IO uint8_t YEAR;
  2031. uint8_t RESERVED10[3];
  2032. __IO uint8_t ALMMIN;
  2033. uint8_t RESERVED11[3];
  2034. __IO uint8_t ALMHOUR;
  2035. uint8_t RESERVED12[3];
  2036. __IO uint8_t ALMWEEK;
  2037. uint8_t RESERVED13[3];
  2038. __IO uint8_t ERRCRH;
  2039. uint8_t RESERVED14[3];
  2040. __IO uint8_t ERRCRL;
  2041. } CM_RTC_TypeDef;
  2042. /**
  2043. * @brief SMC
  2044. */
  2045. typedef struct {
  2046. __I uint32_t STSR;
  2047. uint8_t RESERVED0[4];
  2048. __O uint32_t STCR0;
  2049. __O uint32_t STCR1;
  2050. __O uint32_t CMDR;
  2051. __O uint32_t TMCR;
  2052. __O uint32_t CPCR;
  2053. uint8_t RESERVED1[4];
  2054. __IO uint32_t RFTR;
  2055. uint8_t RESERVED2[220];
  2056. __I uint32_t TMSR0;
  2057. __I uint32_t CPSR0;
  2058. uint8_t RESERVED3[248];
  2059. __IO uint32_t BACR;
  2060. uint8_t RESERVED4[4];
  2061. __IO uint32_t CSCR0;
  2062. __IO uint32_t CSCR1;
  2063. } CM_SMC_TypeDef;
  2064. /**
  2065. * @brief SPI
  2066. */
  2067. typedef struct {
  2068. __IO uint32_t DR;
  2069. __IO uint32_t CR;
  2070. uint8_t RESERVED0[4];
  2071. __IO uint32_t CFG1;
  2072. uint8_t RESERVED1[4];
  2073. __IO uint32_t SR;
  2074. __IO uint32_t CFG2;
  2075. } CM_SPI_TypeDef;
  2076. /**
  2077. * @brief SRAMC
  2078. */
  2079. typedef struct {
  2080. __IO uint32_t WTCR;
  2081. __IO uint32_t WTPR;
  2082. __IO uint32_t CKCR;
  2083. __IO uint32_t CKPR;
  2084. __IO uint32_t CKSR;
  2085. __IO uint32_t SRAM0_EIEN;
  2086. __IO uint32_t SRAM0_EIBIT0;
  2087. __IO uint32_t SRAM0_EIBIT1;
  2088. __IO uint32_t SRAM0_ECCERRADDR;
  2089. __IO uint32_t SRAMB_EIEN;
  2090. __IO uint32_t SRAMB_EIBIT0;
  2091. __IO uint32_t SRAMB_EIBIT1;
  2092. __IO uint32_t SRAMB_ECCERRADDR;
  2093. } CM_SRAMC_TypeDef;
  2094. /**
  2095. * @brief SWDT
  2096. */
  2097. typedef struct {
  2098. __IO uint32_t CR;
  2099. __IO uint32_t SR;
  2100. __IO uint32_t RR;
  2101. } CM_SWDT_TypeDef;
  2102. /**
  2103. * @brief TMR0
  2104. */
  2105. typedef struct {
  2106. __IO uint32_t CNTAR;
  2107. __IO uint32_t CNTBR;
  2108. __IO uint32_t CMPAR;
  2109. __IO uint32_t CMPBR;
  2110. __IO uint32_t BCONR;
  2111. __IO uint32_t STFLR;
  2112. } CM_TMR0_TypeDef;
  2113. /**
  2114. * @brief TMR4
  2115. */
  2116. typedef struct {
  2117. __IO uint16_t OCCRUH;
  2118. uint8_t RESERVED0[2];
  2119. __IO uint16_t OCCRUL;
  2120. uint8_t RESERVED1[2];
  2121. __IO uint16_t OCCRVH;
  2122. uint8_t RESERVED2[2];
  2123. __IO uint16_t OCCRVL;
  2124. uint8_t RESERVED3[2];
  2125. __IO uint16_t OCCRWH;
  2126. uint8_t RESERVED4[2];
  2127. __IO uint16_t OCCRWL;
  2128. uint8_t RESERVED5[2];
  2129. __IO uint16_t OCCRXH;
  2130. uint8_t RESERVED6[2];
  2131. __IO uint16_t OCCRXL;
  2132. uint8_t RESERVED7[2];
  2133. __IO uint16_t OCSRU;
  2134. __IO uint16_t OCERU;
  2135. __IO uint16_t OCSRV;
  2136. __IO uint16_t OCERV;
  2137. __IO uint16_t OCSRW;
  2138. __IO uint16_t OCERW;
  2139. __IO uint16_t OCSRX;
  2140. __IO uint16_t OCERX;
  2141. __IO uint16_t OCMRHUH;
  2142. uint8_t RESERVED8[2];
  2143. __IO uint32_t OCMRLUL;
  2144. __IO uint16_t OCMRHVH;
  2145. uint8_t RESERVED9[2];
  2146. __IO uint32_t OCMRLVL;
  2147. __IO uint16_t OCMRHWH;
  2148. uint8_t RESERVED10[2];
  2149. __IO uint32_t OCMRLWL;
  2150. __IO uint16_t OCMRHXH;
  2151. uint8_t RESERVED11[2];
  2152. __IO uint32_t OCMRLXL;
  2153. __IO uint16_t CPSR;
  2154. uint8_t RESERVED12[2];
  2155. __IO uint16_t CNTR;
  2156. uint8_t RESERVED13[2];
  2157. __IO uint16_t CCSR;
  2158. __IO uint16_t CVPR;
  2159. __IO uint32_t PSCR;
  2160. uint8_t RESERVED14[34];
  2161. __IO uint16_t PFSRU;
  2162. __IO uint16_t PDARU;
  2163. __IO uint16_t PDBRU;
  2164. uint8_t RESERVED15[2];
  2165. __IO uint16_t PFSRV;
  2166. __IO uint16_t PDARV;
  2167. __IO uint16_t PDBRV;
  2168. uint8_t RESERVED16[2];
  2169. __IO uint16_t PFSRW;
  2170. __IO uint16_t PDARW;
  2171. __IO uint16_t PDBRW;
  2172. uint8_t RESERVED17[2];
  2173. __IO uint16_t PFSRX;
  2174. __IO uint16_t PDARX;
  2175. __IO uint16_t PDBRX;
  2176. __IO uint16_t POCRU;
  2177. uint8_t RESERVED18[2];
  2178. __IO uint16_t POCRV;
  2179. uint8_t RESERVED19[2];
  2180. __IO uint16_t POCRW;
  2181. uint8_t RESERVED20[2];
  2182. __IO uint16_t POCRX;
  2183. uint8_t RESERVED21[2];
  2184. __IO uint16_t SCCRUH;
  2185. uint8_t RESERVED22[2];
  2186. __IO uint16_t SCCRUL;
  2187. uint8_t RESERVED23[2];
  2188. __IO uint16_t SCCRVH;
  2189. uint8_t RESERVED24[2];
  2190. __IO uint16_t SCCRVL;
  2191. uint8_t RESERVED25[2];
  2192. __IO uint16_t SCCRWH;
  2193. uint8_t RESERVED26[2];
  2194. __IO uint16_t SCCRWL;
  2195. uint8_t RESERVED27[2];
  2196. __IO uint16_t SCCRXH;
  2197. uint8_t RESERVED28[2];
  2198. __IO uint16_t SCCRXL;
  2199. uint8_t RESERVED29[2];
  2200. __IO uint16_t SCSRUH;
  2201. __IO uint16_t SCMRUH;
  2202. __IO uint16_t SCSRUL;
  2203. __IO uint16_t SCMRUL;
  2204. __IO uint16_t SCSRVH;
  2205. __IO uint16_t SCMRVH;
  2206. __IO uint16_t SCSRVL;
  2207. __IO uint16_t SCMRVL;
  2208. __IO uint16_t SCSRWH;
  2209. __IO uint16_t SCMRWH;
  2210. __IO uint16_t SCSRWL;
  2211. __IO uint16_t SCMRWL;
  2212. __IO uint16_t SCSRXH;
  2213. __IO uint16_t SCMRXH;
  2214. __IO uint16_t SCSRXL;
  2215. __IO uint16_t SCMRXL;
  2216. __IO uint16_t SCER;
  2217. uint8_t RESERVED30[2];
  2218. __IO uint32_t RCSR;
  2219. __IO uint16_t SCIR;
  2220. uint8_t RESERVED31[2];
  2221. __IO uint16_t SCFR;
  2222. } CM_TMR4_TypeDef;
  2223. /**
  2224. * @brief TMR6
  2225. */
  2226. typedef struct {
  2227. __IO uint32_t CNTER;
  2228. __IO uint32_t UPDAR;
  2229. uint8_t RESERVED0[56];
  2230. __IO uint32_t PERAR;
  2231. __IO uint32_t PERBR;
  2232. __IO uint32_t PERCR;
  2233. uint8_t RESERVED1[52];
  2234. __IO uint32_t GCMAR;
  2235. __IO uint32_t GCMBR;
  2236. __IO uint32_t GCMCR;
  2237. __IO uint32_t GCMDR;
  2238. __IO uint32_t GCMER;
  2239. __IO uint32_t GCMFR;
  2240. uint8_t RESERVED2[40];
  2241. __IO uint32_t SCMAR;
  2242. __IO uint32_t SCMBR;
  2243. __IO uint32_t SCMCR;
  2244. __IO uint32_t SCMDR;
  2245. __IO uint32_t SCMER;
  2246. __IO uint32_t SCMFR;
  2247. uint8_t RESERVED3[40];
  2248. __IO uint32_t DTUAR;
  2249. __IO uint32_t DTDAR;
  2250. __IO uint32_t DTUBR;
  2251. __IO uint32_t DTDBR;
  2252. uint8_t RESERVED4[48];
  2253. __IO uint32_t GCONR;
  2254. __IO uint32_t ICONR;
  2255. __IO uint32_t BCONR;
  2256. __IO uint32_t DCONR;
  2257. uint8_t RESERVED5[4];
  2258. __IO uint32_t PCNAR;
  2259. __IO uint32_t PCNBR;
  2260. __IO uint32_t FCNGR;
  2261. __IO uint32_t VPERR;
  2262. __IO uint32_t STFLR;
  2263. uint8_t RESERVED6[24];
  2264. __IO uint32_t HSTAR;
  2265. __IO uint32_t HSTPR;
  2266. __IO uint32_t HCLRR;
  2267. __IO uint32_t HUPDR;
  2268. __IO uint32_t HCPAR;
  2269. __IO uint32_t HCPBR;
  2270. __IO uint32_t HCUPR;
  2271. __IO uint32_t HCDOR;
  2272. } CM_TMR6_TypeDef;
  2273. /**
  2274. * @brief TMR6CR
  2275. */
  2276. typedef struct {
  2277. uint8_t RESERVED0[1004];
  2278. __IO uint32_t FCNTR;
  2279. __IO uint32_t SSTAR;
  2280. __IO uint32_t SSTPR;
  2281. __IO uint32_t SCLRR;
  2282. __IO uint32_t SUPDR;
  2283. } CM_TMR6CR_TypeDef;
  2284. /**
  2285. * @brief TMRA
  2286. */
  2287. typedef struct {
  2288. __IO uint32_t CNTER;
  2289. __IO uint32_t PERAR;
  2290. uint8_t RESERVED0[56];
  2291. __IO uint32_t CMPAR1;
  2292. __IO uint32_t CMPAR2;
  2293. __IO uint32_t CMPAR3;
  2294. __IO uint32_t CMPAR4;
  2295. __IO uint32_t CMPAR5;
  2296. __IO uint32_t CMPAR6;
  2297. __IO uint32_t CMPAR7;
  2298. __IO uint32_t CMPAR8;
  2299. uint8_t RESERVED1[32];
  2300. __IO uint16_t BCSTR;
  2301. uint8_t RESERVED2[2];
  2302. __IO uint16_t HCONR;
  2303. uint8_t RESERVED3[2];
  2304. __IO uint16_t HCUPR;
  2305. uint8_t RESERVED4[2];
  2306. __IO uint16_t HCDOR;
  2307. uint8_t RESERVED5[2];
  2308. __IO uint16_t ICONR;
  2309. uint8_t RESERVED6[2];
  2310. __IO uint16_t ECONR;
  2311. uint8_t RESERVED7[2];
  2312. __IO uint16_t FCONR;
  2313. uint8_t RESERVED8[2];
  2314. __IO uint16_t STFLR;
  2315. uint8_t RESERVED9[34];
  2316. __IO uint16_t BCONR1;
  2317. uint8_t RESERVED10[6];
  2318. __IO uint16_t BCONR2;
  2319. uint8_t RESERVED11[6];
  2320. __IO uint16_t BCONR3;
  2321. uint8_t RESERVED12[6];
  2322. __IO uint16_t BCONR4;
  2323. uint8_t RESERVED13[38];
  2324. __IO uint16_t CCONR1;
  2325. uint8_t RESERVED14[2];
  2326. __IO uint16_t CCONR2;
  2327. uint8_t RESERVED15[2];
  2328. __IO uint16_t CCONR3;
  2329. uint8_t RESERVED16[2];
  2330. __IO uint16_t CCONR4;
  2331. uint8_t RESERVED17[2];
  2332. __IO uint16_t CCONR5;
  2333. uint8_t RESERVED18[2];
  2334. __IO uint16_t CCONR6;
  2335. uint8_t RESERVED19[2];
  2336. __IO uint16_t CCONR7;
  2337. uint8_t RESERVED20[2];
  2338. __IO uint16_t CCONR8;
  2339. uint8_t RESERVED21[34];
  2340. __IO uint16_t PCONR1;
  2341. uint8_t RESERVED22[2];
  2342. __IO uint16_t PCONR2;
  2343. uint8_t RESERVED23[2];
  2344. __IO uint16_t PCONR3;
  2345. uint8_t RESERVED24[2];
  2346. __IO uint16_t PCONR4;
  2347. uint8_t RESERVED25[2];
  2348. __IO uint16_t PCONR5;
  2349. uint8_t RESERVED26[2];
  2350. __IO uint16_t PCONR6;
  2351. uint8_t RESERVED27[2];
  2352. __IO uint16_t PCONR7;
  2353. uint8_t RESERVED28[2];
  2354. __IO uint16_t PCONR8;
  2355. } CM_TMRA_TypeDef;
  2356. /**
  2357. * @brief TRNG
  2358. */
  2359. typedef struct {
  2360. __IO uint32_t CR;
  2361. __IO uint32_t MR;
  2362. uint8_t RESERVED0[4];
  2363. __I uint32_t DR0;
  2364. __I uint32_t DR1;
  2365. } CM_TRNG_TypeDef;
  2366. /**
  2367. * @brief USART
  2368. */
  2369. typedef struct {
  2370. __I uint32_t SR;
  2371. __IO uint32_t DR;
  2372. __IO uint32_t BRR;
  2373. __IO uint32_t CR1;
  2374. __IO uint32_t CR2;
  2375. __IO uint32_t CR3;
  2376. __IO uint32_t PR;
  2377. __I uint32_t LBMC;
  2378. } CM_USART_TypeDef;
  2379. /**
  2380. * @brief WDT
  2381. */
  2382. typedef struct {
  2383. __IO uint32_t CR;
  2384. __IO uint32_t SR;
  2385. __IO uint32_t RR;
  2386. } CM_WDT_TypeDef;
  2387. /******************************************************************************/
  2388. /* Memory Base Address */
  2389. /******************************************************************************/
  2390. #define EFM_BASE (0x00000000UL) /*!< EFM base address in the alias region */
  2391. #define SRAM_BASE (0x1FFF8000UL) /*!< SRAM base address in the alias region */
  2392. #define SMC_BASE (0x60000000UL) /*!< SMC base address in the alias region */
  2393. #define QSPI_BASE (0x98000000UL) /*!< QSPI base address in the alias region */
  2394. /******************************************************************************/
  2395. /* Device Specific Peripheral Base Address */
  2396. /******************************************************************************/
  2397. #define CM_ADC1_BASE (0x40040000UL)
  2398. #define CM_ADC2_BASE (0x40040400UL)
  2399. #define CM_ADC3_BASE (0x40040800UL)
  2400. #define CM_AES_BASE (0x40008000UL)
  2401. #define CM_AOS_BASE (0x40010800UL)
  2402. #define CM_CMP1_BASE (0x40038800UL)
  2403. #define CM_CMP2_BASE (0x40038900UL)
  2404. #define CM_CMP3_BASE (0x40038C00UL)
  2405. #define CM_CMP4_BASE (0x40038D00UL)
  2406. #define CM_CMU_BASE (0x40048000UL)
  2407. #define CM_CRC_BASE (0x40008C00UL)
  2408. #define CM_CTC_BASE (0x40049C00UL)
  2409. #define CM_DAC_BASE (0x40041000UL)
  2410. #define CM_DBGC_BASE (0xE0042000UL)
  2411. #define CM_DCU1_BASE (0x40056000UL)
  2412. #define CM_DCU2_BASE (0x40056400UL)
  2413. #define CM_DCU3_BASE (0x40056800UL)
  2414. #define CM_DCU4_BASE (0x40056C00UL)
  2415. #define CM_DMA1_BASE (0x40053000UL)
  2416. #define CM_DMA2_BASE (0x40053400UL)
  2417. #define CM_EFM_BASE (0x40010400UL)
  2418. #define CM_EMB0_BASE (0x40017C00UL)
  2419. #define CM_EMB1_BASE (0x40017C20UL)
  2420. #define CM_EMB2_BASE (0x40017C40UL)
  2421. #define CM_EMB3_BASE (0x40017C60UL)
  2422. #define CM_FCM_BASE (0x40048400UL)
  2423. #define CM_GPIO_BASE (0x40053800UL)
  2424. #define CM_HASH_BASE (0x40008400UL)
  2425. #define CM_I2C1_BASE (0x4003B400UL)
  2426. #define CM_I2C2_BASE (0x4003B800UL)
  2427. #define CM_ICG_BASE (0x00000400UL)
  2428. #define CM_INTC_BASE (0x40051000UL)
  2429. #define CM_KEYSCAN_BASE (0x40050C00UL)
  2430. #define CM_MCAN1_BASE (0x40029000UL)
  2431. #define CM_MCAN2_BASE (0x40029400UL)
  2432. #define CM_MPU_BASE (0x40050000UL)
  2433. #define CM_PERIC_BASE (0x40055400UL)
  2434. #define CM_PWC_BASE (0x40048000UL)
  2435. #define CM_QSPI_BASE (0x9C000000UL)
  2436. #define CM_RMU_BASE (0x4004CCE0UL)
  2437. #define CM_RTC_BASE (0x4004C000UL)
  2438. #define CM_SMC_BASE (0x88000000UL)
  2439. #define CM_SPI1_BASE (0x4001C000UL)
  2440. #define CM_SPI2_BASE (0x4001C400UL)
  2441. #define CM_SPI3_BASE (0x40020000UL)
  2442. #define CM_SRAMC_BASE (0x40050800UL)
  2443. #define CM_SWDT_BASE (0x40049400UL)
  2444. #define CM_TMR0_1_BASE (0x40024000UL)
  2445. #define CM_TMR0_2_BASE (0x40024400UL)
  2446. #define CM_TMR4_1_BASE (0x40038000UL)
  2447. #define CM_TMR4_2_BASE (0x40038400UL)
  2448. #define CM_TMR4_3_BASE (0x40038E00UL)
  2449. #define CM_TMR6_1_BASE (0x4003C000UL)
  2450. #define CM_TMR6_2_BASE (0x4003C400UL)
  2451. #define CM_TMR6CR_BASE (0x4003C000UL)
  2452. #define CM_TMRA_1_BASE (0x4003A000UL)
  2453. #define CM_TMRA_2_BASE (0x4003A400UL)
  2454. #define CM_TMRA_3_BASE (0x4003A800UL)
  2455. #define CM_TMRA_4_BASE (0x4003AC00UL)
  2456. #define CM_TMRA_5_BASE (0x40026000UL)
  2457. #define CM_TRNG_BASE (0x40042000UL)
  2458. #define CM_USART1_BASE (0x4001CC00UL)
  2459. #define CM_USART2_BASE (0x4001D000UL)
  2460. #define CM_USART3_BASE (0x4001D400UL)
  2461. #define CM_USART4_BASE (0x40020C00UL)
  2462. #define CM_USART5_BASE (0x40021000UL)
  2463. #define CM_USART6_BASE (0x40021400UL)
  2464. #define CM_WDT_BASE (0x40049000UL)
  2465. /******************************************************************************/
  2466. /* Device Specific Peripheral declaration & memory map */
  2467. /******************************************************************************/
  2468. #define CM_ADC1 ((CM_ADC_TypeDef *)CM_ADC1_BASE)
  2469. #define CM_ADC2 ((CM_ADC_TypeDef *)CM_ADC2_BASE)
  2470. #define CM_ADC3 ((CM_ADC_TypeDef *)CM_ADC3_BASE)
  2471. #define CM_AES ((CM_AES_TypeDef *)CM_AES_BASE)
  2472. #define CM_AOS ((CM_AOS_TypeDef *)CM_AOS_BASE)
  2473. #define CM_CMP1 ((CM_CMP_TypeDef *)CM_CMP1_BASE)
  2474. #define CM_CMP2 ((CM_CMP_TypeDef *)CM_CMP2_BASE)
  2475. #define CM_CMP3 ((CM_CMP_TypeDef *)CM_CMP3_BASE)
  2476. #define CM_CMP4 ((CM_CMP_TypeDef *)CM_CMP4_BASE)
  2477. #define CM_CMU ((CM_CMU_TypeDef *)CM_CMU_BASE)
  2478. #define CM_CRC ((CM_CRC_TypeDef *)CM_CRC_BASE)
  2479. #define CM_CTC ((CM_CTC_TypeDef *)CM_CTC_BASE)
  2480. #define CM_DAC ((CM_DAC_TypeDef *)CM_DAC_BASE)
  2481. #define CM_DBGC ((CM_DBGC_TypeDef *)CM_DBGC_BASE)
  2482. #define CM_DCU1 ((CM_DCU_TypeDef *)CM_DCU1_BASE)
  2483. #define CM_DCU2 ((CM_DCU_TypeDef *)CM_DCU2_BASE)
  2484. #define CM_DCU3 ((CM_DCU_TypeDef *)CM_DCU3_BASE)
  2485. #define CM_DCU4 ((CM_DCU_TypeDef *)CM_DCU4_BASE)
  2486. #define CM_DMA1 ((CM_DMA_TypeDef *)CM_DMA1_BASE)
  2487. #define CM_DMA2 ((CM_DMA_TypeDef *)CM_DMA2_BASE)
  2488. #define CM_EFM ((CM_EFM_TypeDef *)CM_EFM_BASE)
  2489. #define CM_EMB0 ((CM_EMB_TypeDef *)CM_EMB0_BASE)
  2490. #define CM_EMB1 ((CM_EMB_TypeDef *)CM_EMB1_BASE)
  2491. #define CM_EMB2 ((CM_EMB_TypeDef *)CM_EMB2_BASE)
  2492. #define CM_EMB3 ((CM_EMB_TypeDef *)CM_EMB3_BASE)
  2493. #define CM_FCM ((CM_FCM_TypeDef *)CM_FCM_BASE)
  2494. #define CM_GPIO ((CM_GPIO_TypeDef *)CM_GPIO_BASE)
  2495. #define CM_HASH ((CM_HASH_TypeDef *)CM_HASH_BASE)
  2496. #define CM_I2C1 ((CM_I2C_TypeDef *)CM_I2C1_BASE)
  2497. #define CM_I2C2 ((CM_I2C_TypeDef *)CM_I2C2_BASE)
  2498. #define CM_ICG ((CM_ICG_TypeDef *)CM_ICG_BASE)
  2499. #define CM_INTC ((CM_INTC_TypeDef *)CM_INTC_BASE)
  2500. #define CM_KEYSCAN ((CM_KEYSCAN_TypeDef *)CM_KEYSCAN_BASE)
  2501. #define CM_MCAN1 ((CM_MCAN_TypeDef *)CM_MCAN1_BASE)
  2502. #define CM_MCAN2 ((CM_MCAN_TypeDef *)CM_MCAN2_BASE)
  2503. #define CM_MPU ((CM_MPU_TypeDef *)CM_MPU_BASE)
  2504. #define CM_PERIC ((CM_PERIC_TypeDef *)CM_PERIC_BASE)
  2505. #define CM_PWC ((CM_PWC_TypeDef *)CM_PWC_BASE)
  2506. #define CM_QSPI ((CM_QSPI_TypeDef *)CM_QSPI_BASE)
  2507. #define CM_RMU ((CM_RMU_TypeDef *)CM_RMU_BASE)
  2508. #define CM_RTC ((CM_RTC_TypeDef *)CM_RTC_BASE)
  2509. #define CM_SMC ((CM_SMC_TypeDef *)CM_SMC_BASE)
  2510. #define CM_SPI1 ((CM_SPI_TypeDef *)CM_SPI1_BASE)
  2511. #define CM_SPI2 ((CM_SPI_TypeDef *)CM_SPI2_BASE)
  2512. #define CM_SPI3 ((CM_SPI_TypeDef *)CM_SPI3_BASE)
  2513. #define CM_SRAMC ((CM_SRAMC_TypeDef *)CM_SRAMC_BASE)
  2514. #define CM_SWDT ((CM_SWDT_TypeDef *)CM_SWDT_BASE)
  2515. #define CM_TMR0_1 ((CM_TMR0_TypeDef *)CM_TMR0_1_BASE)
  2516. #define CM_TMR0_2 ((CM_TMR0_TypeDef *)CM_TMR0_2_BASE)
  2517. #define CM_TMR4_1 ((CM_TMR4_TypeDef *)CM_TMR4_1_BASE)
  2518. #define CM_TMR4_2 ((CM_TMR4_TypeDef *)CM_TMR4_2_BASE)
  2519. #define CM_TMR4_3 ((CM_TMR4_TypeDef *)CM_TMR4_3_BASE)
  2520. #define CM_TMR6_1 ((CM_TMR6_TypeDef *)CM_TMR6_1_BASE)
  2521. #define CM_TMR6_2 ((CM_TMR6_TypeDef *)CM_TMR6_2_BASE)
  2522. #define CM_TMR6CR ((CM_TMR6CR_TypeDef *)CM_TMR6CR_BASE)
  2523. #define CM_TMRA_1 ((CM_TMRA_TypeDef *)CM_TMRA_1_BASE)
  2524. #define CM_TMRA_2 ((CM_TMRA_TypeDef *)CM_TMRA_2_BASE)
  2525. #define CM_TMRA_3 ((CM_TMRA_TypeDef *)CM_TMRA_3_BASE)
  2526. #define CM_TMRA_4 ((CM_TMRA_TypeDef *)CM_TMRA_4_BASE)
  2527. #define CM_TMRA_5 ((CM_TMRA_TypeDef *)CM_TMRA_5_BASE)
  2528. #define CM_TRNG ((CM_TRNG_TypeDef *)CM_TRNG_BASE)
  2529. #define CM_USART1 ((CM_USART_TypeDef *)CM_USART1_BASE)
  2530. #define CM_USART2 ((CM_USART_TypeDef *)CM_USART2_BASE)
  2531. #define CM_USART3 ((CM_USART_TypeDef *)CM_USART3_BASE)
  2532. #define CM_USART4 ((CM_USART_TypeDef *)CM_USART4_BASE)
  2533. #define CM_USART5 ((CM_USART_TypeDef *)CM_USART5_BASE)
  2534. #define CM_USART6 ((CM_USART_TypeDef *)CM_USART6_BASE)
  2535. #define CM_WDT ((CM_WDT_TypeDef *)CM_WDT_BASE)
  2536. /******************************************************************************/
  2537. /* Peripheral Registers Bits Definition */
  2538. /******************************************************************************/
  2539. /*******************************************************************************
  2540. Bit definition for Peripheral ADC
  2541. *******************************************************************************/
  2542. /* Bit definition for ADC_STR register */
  2543. #define ADC_STR_STRT (0x01U)
  2544. /* Bit definition for ADC_CR0 register */
  2545. #define ADC_CR0_MS_POS (0U)
  2546. #define ADC_CR0_MS (0x0007U)
  2547. #define ADC_CR0_ACCSEL_POS (4U)
  2548. #define ADC_CR0_ACCSEL (0x0030U)
  2549. #define ADC_CR0_ACCSEL_0 (0x0010U)
  2550. #define ADC_CR0_ACCSEL_1 (0x0020U)
  2551. #define ADC_CR0_CLREN_POS (6U)
  2552. #define ADC_CR0_CLREN (0x0040U)
  2553. #define ADC_CR0_DFMT_POS (7U)
  2554. #define ADC_CR0_DFMT (0x0080U)
  2555. #define ADC_CR0_AVCNT_POS (8U)
  2556. #define ADC_CR0_AVCNT (0x0700U)
  2557. /* Bit definition for ADC_CR1 register */
  2558. #define ADC_CR1_RSCHSEL_POS (2U)
  2559. #define ADC_CR1_RSCHSEL (0x0004U)
  2560. /* Bit definition for ADC_CR2 register */
  2561. #define ADC_CR2_OVSS_POS (8U)
  2562. #define ADC_CR2_OVSS (0x0F00U)
  2563. #define ADC_CR2_OVSMOD_POS (12U)
  2564. #define ADC_CR2_OVSMOD (0x1000U)
  2565. /* Bit definition for ADC_TRGSR register */
  2566. #define ADC_TRGSR_TRGSELA_POS (0U)
  2567. #define ADC_TRGSR_TRGSELA (0x0003U)
  2568. #define ADC_TRGSR_TRGSELA_0 (0x0001U)
  2569. #define ADC_TRGSR_TRGSELA_1 (0x0002U)
  2570. #define ADC_TRGSR_TRGENA_POS (7U)
  2571. #define ADC_TRGSR_TRGENA (0x0080U)
  2572. #define ADC_TRGSR_TRGSELB_POS (8U)
  2573. #define ADC_TRGSR_TRGSELB (0x0300U)
  2574. #define ADC_TRGSR_TRGSELB_0 (0x0100U)
  2575. #define ADC_TRGSR_TRGSELB_1 (0x0200U)
  2576. #define ADC_TRGSR_TRGENB_POS (15U)
  2577. #define ADC_TRGSR_TRGENB (0x8000U)
  2578. /* Bit definition for ADC_CHSELRA register */
  2579. #define ADC_CHSELRA_CHSELA (0x0000FFFFUL)
  2580. /* Bit definition for ADC_CHSELRB register */
  2581. #define ADC_CHSELRB_CHSELB (0x0000FFFFUL)
  2582. /* Bit definition for ADC_AVCHSELR register */
  2583. #define ADC_AVCHSELR_AVCHSEL (0x0000FFFFUL)
  2584. /* Bit definition for ADC_EXCHSELR register */
  2585. #define ADC_EXCHSELR_EXCHSEL (0x01U)
  2586. /* Bit definition for ADC_SSTR0 register */
  2587. #define ADC_SSTR0 (0xFFU)
  2588. /* Bit definition for ADC_SSTR1 register */
  2589. #define ADC_SSTR1 (0xFFU)
  2590. /* Bit definition for ADC_SSTR2 register */
  2591. #define ADC_SSTR2 (0xFFU)
  2592. /* Bit definition for ADC_SSTR3 register */
  2593. #define ADC_SSTR3 (0xFFU)
  2594. /* Bit definition for ADC_SSTR4 register */
  2595. #define ADC_SSTR4 (0xFFU)
  2596. /* Bit definition for ADC_SSTR5 register */
  2597. #define ADC_SSTR5 (0xFFU)
  2598. /* Bit definition for ADC_SSTR6 register */
  2599. #define ADC_SSTR6 (0xFFU)
  2600. /* Bit definition for ADC_SSTR7 register */
  2601. #define ADC_SSTR7 (0xFFU)
  2602. /* Bit definition for ADC_SSTR8 register */
  2603. #define ADC_SSTR8 (0xFFU)
  2604. /* Bit definition for ADC_SSTR9 register */
  2605. #define ADC_SSTR9 (0xFFU)
  2606. /* Bit definition for ADC_SSTR10 register */
  2607. #define ADC_SSTR10 (0xFFU)
  2608. /* Bit definition for ADC_SSTR11 register */
  2609. #define ADC_SSTR11 (0xFFU)
  2610. /* Bit definition for ADC_SSTR12 register */
  2611. #define ADC_SSTR12 (0xFFU)
  2612. /* Bit definition for ADC_SSTR13 register */
  2613. #define ADC_SSTR13 (0xFFU)
  2614. /* Bit definition for ADC_SSTR14 register */
  2615. #define ADC_SSTR14 (0xFFU)
  2616. /* Bit definition for ADC_SSTR15 register */
  2617. #define ADC_SSTR15 (0xFFU)
  2618. /* Bit definition for ADC_CHMUXR0 register */
  2619. #define ADC_CHMUXR0_CH00MUX_POS (0U)
  2620. #define ADC_CHMUXR0_CH00MUX (0x000FU)
  2621. #define ADC_CHMUXR0_CH01MUX_POS (4U)
  2622. #define ADC_CHMUXR0_CH01MUX (0x00F0U)
  2623. #define ADC_CHMUXR0_CH02MUX_POS (8U)
  2624. #define ADC_CHMUXR0_CH02MUX (0x0F00U)
  2625. #define ADC_CHMUXR0_CH03MUX_POS (12U)
  2626. #define ADC_CHMUXR0_CH03MUX (0xF000U)
  2627. /* Bit definition for ADC_CHMUXR1 register */
  2628. #define ADC_CHMUXR1_CH04MUX_POS (0U)
  2629. #define ADC_CHMUXR1_CH04MUX (0x000FU)
  2630. #define ADC_CHMUXR1_CH05MUX_POS (4U)
  2631. #define ADC_CHMUXR1_CH05MUX (0x00F0U)
  2632. #define ADC_CHMUXR1_CH06MUX_POS (8U)
  2633. #define ADC_CHMUXR1_CH06MUX (0x0F00U)
  2634. #define ADC_CHMUXR1_CH07MUX_POS (12U)
  2635. #define ADC_CHMUXR1_CH07MUX (0xF000U)
  2636. /* Bit definition for ADC_CHMUXR2 register */
  2637. #define ADC_CHMUXR2_CH08MUX_POS (0U)
  2638. #define ADC_CHMUXR2_CH08MUX (0x000FU)
  2639. #define ADC_CHMUXR2_CH09MUX_POS (4U)
  2640. #define ADC_CHMUXR2_CH09MUX (0x00F0U)
  2641. #define ADC_CHMUXR2_CH10MUX_POS (8U)
  2642. #define ADC_CHMUXR2_CH10MUX (0x0F00U)
  2643. #define ADC_CHMUXR2_CH11MUX_POS (12U)
  2644. #define ADC_CHMUXR2_CH11MUX (0xF000U)
  2645. /* Bit definition for ADC_CHMUXR3 register */
  2646. #define ADC_CHMUXR3_CH12MUX_POS (0U)
  2647. #define ADC_CHMUXR3_CH12MUX (0x000FU)
  2648. #define ADC_CHMUXR3_CH13MUX_POS (4U)
  2649. #define ADC_CHMUXR3_CH13MUX (0x00F0U)
  2650. #define ADC_CHMUXR3_CH14MUX_POS (8U)
  2651. #define ADC_CHMUXR3_CH14MUX (0x0F00U)
  2652. #define ADC_CHMUXR3_CH15MUX_POS (12U)
  2653. #define ADC_CHMUXR3_CH15MUX (0xF000U)
  2654. /* Bit definition for ADC_ISR register */
  2655. #define ADC_ISR_EOCAF_POS (0U)
  2656. #define ADC_ISR_EOCAF (0x01U)
  2657. #define ADC_ISR_EOCBF_POS (1U)
  2658. #define ADC_ISR_EOCBF (0x02U)
  2659. #define ADC_ISR_SASTPDF_POS (4U)
  2660. #define ADC_ISR_SASTPDF (0x10U)
  2661. /* Bit definition for ADC_ICR register */
  2662. #define ADC_ICR_EOCAIEN_POS (0U)
  2663. #define ADC_ICR_EOCAIEN (0x01U)
  2664. #define ADC_ICR_EOCBIEN_POS (1U)
  2665. #define ADC_ICR_EOCBIEN (0x02U)
  2666. /* Bit definition for ADC_ISCLRR register */
  2667. #define ADC_ISCLRR_CLREOCAF_POS (0U)
  2668. #define ADC_ISCLRR_CLREOCAF (0x01U)
  2669. #define ADC_ISCLRR_CLREOCBF_POS (1U)
  2670. #define ADC_ISCLRR_CLREOCBF (0x02U)
  2671. #define ADC_ISCLRR_CLRSASTPDF_POS (4U)
  2672. #define ADC_ISCLRR_CLRSASTPDF (0x10U)
  2673. /* Bit definition for ADC_SYNCCR register */
  2674. #define ADC_SYNCCR_SYNCEN_POS (0U)
  2675. #define ADC_SYNCCR_SYNCEN (0x0001U)
  2676. #define ADC_SYNCCR_SYNCMD_POS (4U)
  2677. #define ADC_SYNCCR_SYNCMD (0x0070U)
  2678. #define ADC_SYNCCR_SYNCDLY_POS (8U)
  2679. #define ADC_SYNCCR_SYNCDLY (0xFF00U)
  2680. /* Bit definition for ADC_DR0 register */
  2681. #define ADC_DR0 (0xFFFFU)
  2682. /* Bit definition for ADC_DR1 register */
  2683. #define ADC_DR1 (0xFFFFU)
  2684. /* Bit definition for ADC_DR2 register */
  2685. #define ADC_DR2 (0xFFFFU)
  2686. /* Bit definition for ADC_DR3 register */
  2687. #define ADC_DR3 (0xFFFFU)
  2688. /* Bit definition for ADC_DR4 register */
  2689. #define ADC_DR4 (0xFFFFU)
  2690. /* Bit definition for ADC_DR5 register */
  2691. #define ADC_DR5 (0xFFFFU)
  2692. /* Bit definition for ADC_DR6 register */
  2693. #define ADC_DR6 (0xFFFFU)
  2694. /* Bit definition for ADC_DR7 register */
  2695. #define ADC_DR7 (0xFFFFU)
  2696. /* Bit definition for ADC_DR8 register */
  2697. #define ADC_DR8 (0xFFFFU)
  2698. /* Bit definition for ADC_DR9 register */
  2699. #define ADC_DR9 (0xFFFFU)
  2700. /* Bit definition for ADC_DR10 register */
  2701. #define ADC_DR10 (0xFFFFU)
  2702. /* Bit definition for ADC_DR11 register */
  2703. #define ADC_DR11 (0xFFFFU)
  2704. /* Bit definition for ADC_DR12 register */
  2705. #define ADC_DR12 (0xFFFFU)
  2706. /* Bit definition for ADC_DR13 register */
  2707. #define ADC_DR13 (0xFFFFU)
  2708. /* Bit definition for ADC_DR14 register */
  2709. #define ADC_DR14 (0xFFFFU)
  2710. /* Bit definition for ADC_DR15 register */
  2711. #define ADC_DR15 (0xFFFFU)
  2712. /* Bit definition for ADC_AWDCR register */
  2713. #define ADC_AWDCR_AWD0EN_POS (0U)
  2714. #define ADC_AWDCR_AWD0EN (0x0001U)
  2715. #define ADC_AWDCR_AWD0IEN_POS (1U)
  2716. #define ADC_AWDCR_AWD0IEN (0x0002U)
  2717. #define ADC_AWDCR_AWD0MD_POS (2U)
  2718. #define ADC_AWDCR_AWD0MD (0x0004U)
  2719. #define ADC_AWDCR_AWD1EN_POS (4U)
  2720. #define ADC_AWDCR_AWD1EN (0x0010U)
  2721. #define ADC_AWDCR_AWD1IEN_POS (5U)
  2722. #define ADC_AWDCR_AWD1IEN (0x0020U)
  2723. #define ADC_AWDCR_AWD1MD_POS (6U)
  2724. #define ADC_AWDCR_AWD1MD (0x0040U)
  2725. #define ADC_AWDCR_AWDCM_POS (8U)
  2726. #define ADC_AWDCR_AWDCM (0x0300U)
  2727. #define ADC_AWDCR_AWDCM_0 (0x0100U)
  2728. #define ADC_AWDCR_AWDCM_1 (0x0200U)
  2729. /* Bit definition for ADC_AWDSR register */
  2730. #define ADC_AWDSR_AWD0F_POS (0U)
  2731. #define ADC_AWDSR_AWD0F (0x01U)
  2732. #define ADC_AWDSR_AWD1F_POS (1U)
  2733. #define ADC_AWDSR_AWD1F (0x02U)
  2734. #define ADC_AWDSR_AWDCMF_POS (4U)
  2735. #define ADC_AWDSR_AWDCMF (0x10U)
  2736. /* Bit definition for ADC_AWDSCLRR register */
  2737. #define ADC_AWDSCLRR_CLRAWD0F_POS (0U)
  2738. #define ADC_AWDSCLRR_CLRAWD0F (0x01U)
  2739. #define ADC_AWDSCLRR_CLRAWD1F_POS (1U)
  2740. #define ADC_AWDSCLRR_CLRAWD1F (0x02U)
  2741. #define ADC_AWDSCLRR_CLRAWDCMF_POS (4U)
  2742. #define ADC_AWDSCLRR_CLRAWDCMF (0x10U)
  2743. /* Bit definition for ADC_AWD0DR0 register */
  2744. #define ADC_AWD0DR0 (0xFFFFU)
  2745. /* Bit definition for ADC_AWD0DR1 register */
  2746. #define ADC_AWD0DR1 (0xFFFFU)
  2747. /* Bit definition for ADC_AWD0CHSR register */
  2748. #define ADC_AWD0CHSR_AWDCH (0x1FU)
  2749. /* Bit definition for ADC_AWD1DR0 register */
  2750. #define ADC_AWD1DR0 (0xFFFFU)
  2751. /* Bit definition for ADC_AWD1DR1 register */
  2752. #define ADC_AWD1DR1 (0xFFFFU)
  2753. /* Bit definition for ADC_AWD1CHSR register */
  2754. #define ADC_AWD1CHSR_AWDCH (0x1FU)
  2755. /*******************************************************************************
  2756. Bit definition for Peripheral AES
  2757. *******************************************************************************/
  2758. /* Bit definition for AES_CR register */
  2759. #define AES_CR_START_POS (0U)
  2760. #define AES_CR_START (0x00000001UL)
  2761. #define AES_CR_MODE_POS (1U)
  2762. #define AES_CR_MODE (0x00000002UL)
  2763. #define AES_CR_KEYSIZE_POS (3U)
  2764. #define AES_CR_KEYSIZE (0x00000018UL)
  2765. /* Bit definition for AES_DR0 register */
  2766. #define AES_DR0 (0xFFFFFFFFUL)
  2767. /* Bit definition for AES_DR1 register */
  2768. #define AES_DR1 (0xFFFFFFFFUL)
  2769. /* Bit definition for AES_DR2 register */
  2770. #define AES_DR2 (0xFFFFFFFFUL)
  2771. /* Bit definition for AES_DR3 register */
  2772. #define AES_DR3 (0xFFFFFFFFUL)
  2773. /* Bit definition for AES_KR0 register */
  2774. #define AES_KR0 (0xFFFFFFFFUL)
  2775. /* Bit definition for AES_KR1 register */
  2776. #define AES_KR1 (0xFFFFFFFFUL)
  2777. /* Bit definition for AES_KR2 register */
  2778. #define AES_KR2 (0xFFFFFFFFUL)
  2779. /* Bit definition for AES_KR3 register */
  2780. #define AES_KR3 (0xFFFFFFFFUL)
  2781. /* Bit definition for AES_KR4 register */
  2782. #define AES_KR4 (0xFFFFFFFFUL)
  2783. /* Bit definition for AES_KR5 register */
  2784. #define AES_KR5 (0xFFFFFFFFUL)
  2785. /* Bit definition for AES_KR6 register */
  2786. #define AES_KR6 (0xFFFFFFFFUL)
  2787. /* Bit definition for AES_KR7 register */
  2788. #define AES_KR7 (0xFFFFFFFFUL)
  2789. /*******************************************************************************
  2790. Bit definition for Peripheral AOS
  2791. *******************************************************************************/
  2792. /* Bit definition for AOS_INTSFTTRG register */
  2793. #define AOS_INTSFTTRG_STRG (0x00000001UL)
  2794. /* Bit definition for AOS_DCU_TRGSEL register */
  2795. #define AOS_DCU_TRGSEL_TRGSEL_POS (0U)
  2796. #define AOS_DCU_TRGSEL_TRGSEL (0x000001FFUL)
  2797. #define AOS_DCU_TRGSEL_PLCHSEL_POS (16U)
  2798. #define AOS_DCU_TRGSEL_PLCHSEL (0x00070000UL)
  2799. #define AOS_DCU_TRGSEL_COMEN_POS (30U)
  2800. #define AOS_DCU_TRGSEL_COMEN (0xC0000000UL)
  2801. #define AOS_DCU_TRGSEL_COMEN_0 (0x40000000UL)
  2802. #define AOS_DCU_TRGSEL_COMEN_1 (0x80000000UL)
  2803. /* Bit definition for AOS_DMA1_TRGSEL register */
  2804. #define AOS_DMA1_TRGSEL_TRGSEL_POS (0U)
  2805. #define AOS_DMA1_TRGSEL_TRGSEL (0x000001FFUL)
  2806. #define AOS_DMA1_TRGSEL_PLCHSEL_POS (16U)
  2807. #define AOS_DMA1_TRGSEL_PLCHSEL (0x00070000UL)
  2808. #define AOS_DMA1_TRGSEL_COMEN_POS (30U)
  2809. #define AOS_DMA1_TRGSEL_COMEN (0xC0000000UL)
  2810. #define AOS_DMA1_TRGSEL_COMEN_0 (0x40000000UL)
  2811. #define AOS_DMA1_TRGSEL_COMEN_1 (0x80000000UL)
  2812. /* Bit definition for AOS_DMA2_TRGSEL register */
  2813. #define AOS_DMA2_TRGSEL_TRGSEL_POS (0U)
  2814. #define AOS_DMA2_TRGSEL_TRGSEL (0x000001FFUL)
  2815. #define AOS_DMA2_TRGSEL_PLCHSEL_POS (16U)
  2816. #define AOS_DMA2_TRGSEL_PLCHSEL (0x00070000UL)
  2817. #define AOS_DMA2_TRGSEL_COMEN_POS (30U)
  2818. #define AOS_DMA2_TRGSEL_COMEN (0xC0000000UL)
  2819. #define AOS_DMA2_TRGSEL_COMEN_0 (0x40000000UL)
  2820. #define AOS_DMA2_TRGSEL_COMEN_1 (0x80000000UL)
  2821. /* Bit definition for AOS_DMA_TRGSELRC register */
  2822. #define AOS_DMA_TRGSELRC_TRGSEL_POS (0U)
  2823. #define AOS_DMA_TRGSELRC_TRGSEL (0x000001FFUL)
  2824. #define AOS_DMA_TRGSELRC_PLCHSEL_POS (16U)
  2825. #define AOS_DMA_TRGSELRC_PLCHSEL (0x00070000UL)
  2826. #define AOS_DMA_TRGSELRC_COMEN_POS (30U)
  2827. #define AOS_DMA_TRGSELRC_COMEN (0xC0000000UL)
  2828. #define AOS_DMA_TRGSELRC_COMEN_0 (0x40000000UL)
  2829. #define AOS_DMA_TRGSELRC_COMEN_1 (0x80000000UL)
  2830. /* Bit definition for AOS_TMR6_HTSSR register */
  2831. #define AOS_TMR6_HTSSR_TRGSEL_POS (0U)
  2832. #define AOS_TMR6_HTSSR_TRGSEL (0x000001FFUL)
  2833. #define AOS_TMR6_HTSSR_PLCHSEL_POS (16U)
  2834. #define AOS_TMR6_HTSSR_PLCHSEL (0x00070000UL)
  2835. #define AOS_TMR6_HTSSR_COMEN_POS (30U)
  2836. #define AOS_TMR6_HTSSR_COMEN (0xC0000000UL)
  2837. #define AOS_TMR6_HTSSR_COMEN_0 (0x40000000UL)
  2838. #define AOS_TMR6_HTSSR_COMEN_1 (0x80000000UL)
  2839. /* Bit definition for AOS_TMR4_HTSSR register */
  2840. #define AOS_TMR4_HTSSR_TRGSEL_POS (0U)
  2841. #define AOS_TMR4_HTSSR_TRGSEL (0x000001FFUL)
  2842. #define AOS_TMR4_HTSSR_PLCHSEL_POS (16U)
  2843. #define AOS_TMR4_HTSSR_PLCHSEL (0x00070000UL)
  2844. #define AOS_TMR4_HTSSR_COMEN_POS (30U)
  2845. #define AOS_TMR4_HTSSR_COMEN (0xC0000000UL)
  2846. #define AOS_TMR4_HTSSR_COMEN_0 (0x40000000UL)
  2847. #define AOS_TMR4_HTSSR_COMEN_1 (0x80000000UL)
  2848. /* Bit definition for AOS_PEVNTTRGSR12 register */
  2849. #define AOS_PEVNTTRGSR12_TRGSEL_POS (0U)
  2850. #define AOS_PEVNTTRGSR12_TRGSEL (0x000001FFUL)
  2851. #define AOS_PEVNTTRGSR12_PLCHSEL_POS (16U)
  2852. #define AOS_PEVNTTRGSR12_PLCHSEL (0x00070000UL)
  2853. #define AOS_PEVNTTRGSR12_COMEN_POS (30U)
  2854. #define AOS_PEVNTTRGSR12_COMEN (0xC0000000UL)
  2855. #define AOS_PEVNTTRGSR12_COMEN_0 (0x40000000UL)
  2856. #define AOS_PEVNTTRGSR12_COMEN_1 (0x80000000UL)
  2857. /* Bit definition for AOS_PEVNTTRGSR34 register */
  2858. #define AOS_PEVNTTRGSR34_TRGSEL_POS (0U)
  2859. #define AOS_PEVNTTRGSR34_TRGSEL (0x000001FFUL)
  2860. #define AOS_PEVNTTRGSR34_PLCHSEL_POS (16U)
  2861. #define AOS_PEVNTTRGSR34_PLCHSEL (0x00070000UL)
  2862. #define AOS_PEVNTTRGSR34_COMEN_POS (30U)
  2863. #define AOS_PEVNTTRGSR34_COMEN (0xC0000000UL)
  2864. #define AOS_PEVNTTRGSR34_COMEN_0 (0x40000000UL)
  2865. #define AOS_PEVNTTRGSR34_COMEN_1 (0x80000000UL)
  2866. /* Bit definition for AOS_TMR0_HTSSR register */
  2867. #define AOS_TMR0_HTSSR_TRGSEL_POS (0U)
  2868. #define AOS_TMR0_HTSSR_TRGSEL (0x000001FFUL)
  2869. #define AOS_TMR0_HTSSR_PLCHSEL_POS (16U)
  2870. #define AOS_TMR0_HTSSR_PLCHSEL (0x00070000UL)
  2871. #define AOS_TMR0_HTSSR_COMEN_POS (30U)
  2872. #define AOS_TMR0_HTSSR_COMEN (0xC0000000UL)
  2873. #define AOS_TMR0_HTSSR_COMEN_0 (0x40000000UL)
  2874. #define AOS_TMR0_HTSSR_COMEN_1 (0x80000000UL)
  2875. /* Bit definition for AOS_TMRA_HTSSR register */
  2876. #define AOS_TMRA_HTSSR_TRGSEL_POS (0U)
  2877. #define AOS_TMRA_HTSSR_TRGSEL (0x000001FFUL)
  2878. #define AOS_TMRA_HTSSR_PLCHSEL_POS (16U)
  2879. #define AOS_TMRA_HTSSR_PLCHSEL (0x00070000UL)
  2880. #define AOS_TMRA_HTSSR_COMEN_POS (30U)
  2881. #define AOS_TMRA_HTSSR_COMEN (0xC0000000UL)
  2882. #define AOS_TMRA_HTSSR_COMEN_0 (0x40000000UL)
  2883. #define AOS_TMRA_HTSSR_COMEN_1 (0x80000000UL)
  2884. /* Bit definition for AOS_ADC1_ITRGSELR register */
  2885. #define AOS_ADC1_ITRGSELR_TRGSEL_POS (0U)
  2886. #define AOS_ADC1_ITRGSELR_TRGSEL (0x000001FFUL)
  2887. #define AOS_ADC1_ITRGSELR_PLCHSEL_POS (16U)
  2888. #define AOS_ADC1_ITRGSELR_PLCHSEL (0x00070000UL)
  2889. #define AOS_ADC1_ITRGSELR_COMEN_POS (30U)
  2890. #define AOS_ADC1_ITRGSELR_COMEN (0xC0000000UL)
  2891. #define AOS_ADC1_ITRGSELR_COMEN_0 (0x40000000UL)
  2892. #define AOS_ADC1_ITRGSELR_COMEN_1 (0x80000000UL)
  2893. /* Bit definition for AOS_ADC2_ITRGSELR register */
  2894. #define AOS_ADC2_ITRGSELR_TRGSEL_POS (0U)
  2895. #define AOS_ADC2_ITRGSELR_TRGSEL (0x000001FFUL)
  2896. #define AOS_ADC2_ITRGSELR_PLCHSEL_POS (16U)
  2897. #define AOS_ADC2_ITRGSELR_PLCHSEL (0x00070000UL)
  2898. #define AOS_ADC2_ITRGSELR_COMEN_POS (30U)
  2899. #define AOS_ADC2_ITRGSELR_COMEN (0xC0000000UL)
  2900. #define AOS_ADC2_ITRGSELR_COMEN_0 (0x40000000UL)
  2901. #define AOS_ADC2_ITRGSELR_COMEN_1 (0x80000000UL)
  2902. /* Bit definition for AOS_ADC3_ITRGSELR register */
  2903. #define AOS_ADC3_ITRGSELR_TRGSEL_POS (0U)
  2904. #define AOS_ADC3_ITRGSELR_TRGSEL (0x000001FFUL)
  2905. #define AOS_ADC3_ITRGSELR_PLCHSEL_POS (16U)
  2906. #define AOS_ADC3_ITRGSELR_PLCHSEL (0x00070000UL)
  2907. #define AOS_ADC3_ITRGSELR_COMEN_POS (30U)
  2908. #define AOS_ADC3_ITRGSELR_COMEN (0xC0000000UL)
  2909. #define AOS_ADC3_ITRGSELR_COMEN_0 (0x40000000UL)
  2910. #define AOS_ADC3_ITRGSELR_COMEN_1 (0x80000000UL)
  2911. /* Bit definition for AOS_COMTRG register */
  2912. #define AOS_COMTRG_TRGSEL (0x000001FFUL)
  2913. /* Bit definition for AOS_PEVNTDIRR register */
  2914. #define AOS_PEVNTDIRR_PDIR (0x0000FFFFUL)
  2915. /* Bit definition for AOS_PEVNTIDR register */
  2916. #define AOS_PEVNTIDR_PIN (0x0000FFFFUL)
  2917. /* Bit definition for AOS_PEVNTODR register */
  2918. #define AOS_PEVNTODR_POUT (0x0000FFFFUL)
  2919. /* Bit definition for AOS_PEVNTORR register */
  2920. #define AOS_PEVNTORR_POR (0x0000FFFFUL)
  2921. /* Bit definition for AOS_PEVNTOSR register */
  2922. #define AOS_PEVNTOSR_POS (0x0000FFFFUL)
  2923. /* Bit definition for AOS_PEVNTRISR register */
  2924. #define AOS_PEVNTRISR_RIS (0x0000FFFFUL)
  2925. /* Bit definition for AOS_PEVNTFAL register */
  2926. #define AOS_PEVNTFAL_FAL (0x0000FFFFUL)
  2927. /* Bit definition for AOS_PEVNTNFCR register */
  2928. #define AOS_PEVNTNFCR_NFEN1_POS (0U)
  2929. #define AOS_PEVNTNFCR_NFEN1 (0x00000001UL)
  2930. #define AOS_PEVNTNFCR_DIVS1_POS (1U)
  2931. #define AOS_PEVNTNFCR_DIVS1 (0x00000006UL)
  2932. #define AOS_PEVNTNFCR_NFEN2_POS (8U)
  2933. #define AOS_PEVNTNFCR_NFEN2 (0x00000100UL)
  2934. #define AOS_PEVNTNFCR_DIVS2_POS (9U)
  2935. #define AOS_PEVNTNFCR_DIVS2 (0x00000600UL)
  2936. #define AOS_PEVNTNFCR_NFEN3_POS (16U)
  2937. #define AOS_PEVNTNFCR_NFEN3 (0x00010000UL)
  2938. #define AOS_PEVNTNFCR_DIVS3_POS (17U)
  2939. #define AOS_PEVNTNFCR_DIVS3 (0x00060000UL)
  2940. #define AOS_PEVNTNFCR_NFEN4_POS (24U)
  2941. #define AOS_PEVNTNFCR_NFEN4 (0x01000000UL)
  2942. #define AOS_PEVNTNFCR_DIVS4_POS (25U)
  2943. #define AOS_PEVNTNFCR_DIVS4 (0x06000000UL)
  2944. /* Bit definition for AOS_PLU_CR register */
  2945. #define AOS_PLU_CR_PLMODE_POS (0U)
  2946. #define AOS_PLU_CR_PLMODE (0x00000003UL)
  2947. #define AOS_PLU_CR_PLINASEL_POS (8U)
  2948. #define AOS_PLU_CR_PLINASEL (0x00000300UL)
  2949. #define AOS_PLU_CR_PLINBSEL_POS (10U)
  2950. #define AOS_PLU_CR_PLINBSEL (0x00000C00UL)
  2951. #define AOS_PLU_CR_PLINCSEL_POS (12U)
  2952. #define AOS_PLU_CR_PLINCSEL (0x00003000UL)
  2953. #define AOS_PLU_CR_PLINDSEL_POS (14U)
  2954. #define AOS_PLU_CR_PLINDSEL (0x0000C000UL)
  2955. /* Bit definition for AOS_PLU_TRGSELA register */
  2956. #define AOS_PLU_TRGSELA_PLTRGSEL (0x000001FFUL)
  2957. /* Bit definition for AOS_PLU_TRGSELB register */
  2958. #define AOS_PLU_TRGSELB_PLTRGSEL (0x000001FFUL)
  2959. /* Bit definition for AOS_PLU_TRGSELC register */
  2960. #define AOS_PLU_TRGSELC_PLTRGSEL (0x000001FFUL)
  2961. /* Bit definition for AOS_PLU_TRGSELD register */
  2962. #define AOS_PLU_TRGSELD_PLTRGSEL (0x000001FFUL)
  2963. /*******************************************************************************
  2964. Bit definition for Peripheral CMP
  2965. *******************************************************************************/
  2966. /* Bit definition for CMP_MDR register */
  2967. #define CMP_MDR_CENA_POS (0U)
  2968. #define CMP_MDR_CENA (0x01U)
  2969. #define CMP_MDR_CWDE_POS (1U)
  2970. #define CMP_MDR_CWDE (0x02U)
  2971. #define CMP_MDR_CSMD_POS (2U)
  2972. #define CMP_MDR_CSMD (0x0CU)
  2973. #define CMP_MDR_CSMD_0 (0x04U)
  2974. #define CMP_MDR_CSMD_1 (0x08U)
  2975. #define CMP_MDR_CSST_POS (4U)
  2976. #define CMP_MDR_CSST (0x10U)
  2977. #define CMP_MDR_CMON_POS (7U)
  2978. #define CMP_MDR_CMON (0x80U)
  2979. /* Bit definition for CMP_FIR register */
  2980. #define CMP_FIR_FCKS_POS (0U)
  2981. #define CMP_FIR_FCKS (0x07U)
  2982. #define CMP_FIR_CIEN_POS (3U)
  2983. #define CMP_FIR_CIEN (0x08U)
  2984. #define CMP_FIR_EDGS_POS (4U)
  2985. #define CMP_FIR_EDGS (0x30U)
  2986. #define CMP_FIR_EDGS_0 (0x10U)
  2987. #define CMP_FIR_EDGS_1 (0x20U)
  2988. #define CMP_FIR_CFF_POS (6U)
  2989. #define CMP_FIR_CFF (0x40U)
  2990. #define CMP_FIR_CRF_POS (7U)
  2991. #define CMP_FIR_CRF (0x80U)
  2992. /* Bit definition for CMP_OCR register */
  2993. #define CMP_OCR_COEN_POS (0U)
  2994. #define CMP_OCR_COEN (0x01U)
  2995. #define CMP_OCR_COPS_POS (1U)
  2996. #define CMP_OCR_COPS (0x02U)
  2997. #define CMP_OCR_CPOE_POS (2U)
  2998. #define CMP_OCR_CPOE (0x04U)
  2999. #define CMP_OCR_BWEN_POS (4U)
  3000. #define CMP_OCR_BWEN (0x10U)
  3001. #define CMP_OCR_BWMD_POS (5U)
  3002. #define CMP_OCR_BWMD (0x20U)
  3003. #define CMP_OCR_BWOL_POS (6U)
  3004. #define CMP_OCR_BWOL (0xC0U)
  3005. #define CMP_OCR_BWOL_0 (0x40U)
  3006. #define CMP_OCR_BWOL_1 (0x80U)
  3007. /* Bit definition for CMP_PMSR register */
  3008. #define CMP_PMSR_RVSL_POS (0U)
  3009. #define CMP_PMSR_RVSL (0x0000000FUL)
  3010. #define CMP_PMSR_RVSL_0 (0x00000001UL)
  3011. #define CMP_PMSR_RVSL_1 (0x00000002UL)
  3012. #define CMP_PMSR_RVSL_2 (0x00000004UL)
  3013. #define CMP_PMSR_RVSL_3 (0x00000008UL)
  3014. #define CMP_PMSR_CVSL_POS (16U)
  3015. #define CMP_PMSR_CVSL (0x000F0000UL)
  3016. #define CMP_PMSR_CVSL_0 (0x00010000UL)
  3017. #define CMP_PMSR_CVSL_1 (0x00020000UL)
  3018. #define CMP_PMSR_CVSL_2 (0x00040000UL)
  3019. #define CMP_PMSR_CVSL_3 (0x00080000UL)
  3020. /* Bit definition for CMP_BWSR1 register */
  3021. #define CMP_BWSR1_CTWS0_POS (0U)
  3022. #define CMP_BWSR1_CTWS0 (0x00000001UL)
  3023. #define CMP_BWSR1_CTWS1_POS (1U)
  3024. #define CMP_BWSR1_CTWS1 (0x00000002UL)
  3025. #define CMP_BWSR1_CTWS2_POS (2U)
  3026. #define CMP_BWSR1_CTWS2 (0x00000004UL)
  3027. #define CMP_BWSR1_CTWS3_POS (3U)
  3028. #define CMP_BWSR1_CTWS3 (0x00000008UL)
  3029. #define CMP_BWSR1_CTWS4_POS (4U)
  3030. #define CMP_BWSR1_CTWS4 (0x00000010UL)
  3031. #define CMP_BWSR1_CTWS5_POS (5U)
  3032. #define CMP_BWSR1_CTWS5 (0x00000020UL)
  3033. #define CMP_BWSR1_CTWS6_POS (6U)
  3034. #define CMP_BWSR1_CTWS6 (0x00000040UL)
  3035. #define CMP_BWSR1_CTWS7_POS (7U)
  3036. #define CMP_BWSR1_CTWS7 (0x00000080UL)
  3037. #define CMP_BWSR1_CTWS8_POS (8U)
  3038. #define CMP_BWSR1_CTWS8 (0x00000100UL)
  3039. #define CMP_BWSR1_CTWS9_POS (9U)
  3040. #define CMP_BWSR1_CTWS9 (0x00000200UL)
  3041. #define CMP_BWSR1_CTWS10_POS (10U)
  3042. #define CMP_BWSR1_CTWS10 (0x00000400UL)
  3043. #define CMP_BWSR1_CTWS11_POS (11U)
  3044. #define CMP_BWSR1_CTWS11 (0x00000800UL)
  3045. #define CMP_BWSR1_CTWS12_POS (12U)
  3046. #define CMP_BWSR1_CTWS12 (0x00001000UL)
  3047. #define CMP_BWSR1_CTWS13_POS (13U)
  3048. #define CMP_BWSR1_CTWS13 (0x00002000UL)
  3049. #define CMP_BWSR1_CTWS14_POS (14U)
  3050. #define CMP_BWSR1_CTWS14 (0x00004000UL)
  3051. #define CMP_BWSR1_CTWS15_POS (15U)
  3052. #define CMP_BWSR1_CTWS15 (0x00008000UL)
  3053. #define CMP_BWSR1_CTWP0_POS (16U)
  3054. #define CMP_BWSR1_CTWP0 (0x00010000UL)
  3055. #define CMP_BWSR1_CTWP1_POS (17U)
  3056. #define CMP_BWSR1_CTWP1 (0x00020000UL)
  3057. #define CMP_BWSR1_CTWP2_POS (18U)
  3058. #define CMP_BWSR1_CTWP2 (0x00040000UL)
  3059. #define CMP_BWSR1_CTWP3_POS (19U)
  3060. #define CMP_BWSR1_CTWP3 (0x00080000UL)
  3061. #define CMP_BWSR1_CTWP4_POS (20U)
  3062. #define CMP_BWSR1_CTWP4 (0x00100000UL)
  3063. #define CMP_BWSR1_CTWP5_POS (21U)
  3064. #define CMP_BWSR1_CTWP5 (0x00200000UL)
  3065. #define CMP_BWSR1_CTWP6_POS (22U)
  3066. #define CMP_BWSR1_CTWP6 (0x00400000UL)
  3067. #define CMP_BWSR1_CTWP7_POS (23U)
  3068. #define CMP_BWSR1_CTWP7 (0x00800000UL)
  3069. #define CMP_BWSR1_CTWP8_POS (24U)
  3070. #define CMP_BWSR1_CTWP8 (0x01000000UL)
  3071. #define CMP_BWSR1_CTWP9_POS (25U)
  3072. #define CMP_BWSR1_CTWP9 (0x02000000UL)
  3073. #define CMP_BWSR1_CTWP10_POS (26U)
  3074. #define CMP_BWSR1_CTWP10 (0x04000000UL)
  3075. #define CMP_BWSR1_CTWP11_POS (27U)
  3076. #define CMP_BWSR1_CTWP11 (0x08000000UL)
  3077. #define CMP_BWSR1_CTWP12_POS (28U)
  3078. #define CMP_BWSR1_CTWP12 (0x10000000UL)
  3079. #define CMP_BWSR1_CTWP13_POS (29U)
  3080. #define CMP_BWSR1_CTWP13 (0x20000000UL)
  3081. #define CMP_BWSR1_CTWP14_POS (30U)
  3082. #define CMP_BWSR1_CTWP14 (0x40000000UL)
  3083. #define CMP_BWSR1_CTWP15_POS (31U)
  3084. #define CMP_BWSR1_CTWP15 (0x80000000UL)
  3085. /* Bit definition for CMP_BWSR2 register */
  3086. #define CMP_BWSR2_MSKW_POS (0U)
  3087. #define CMP_BWSR2_MSKW (0x00FFU)
  3088. #define CMP_BWSR2_TWEG_POS (8U)
  3089. #define CMP_BWSR2_TWEG (0x0300U)
  3090. #define CMP_BWSR2_TWEG_0 (0x0100U)
  3091. #define CMP_BWSR2_TWEG_1 (0x0200U)
  3092. /* Bit definition for CMP_SCCR register */
  3093. #define CMP_SCCR_SISL_POS (0U)
  3094. #define CMP_SCCR_SISL (0x0000000FUL)
  3095. #define CMP_SCCR_SPRD_POS (16U)
  3096. #define CMP_SCCR_SPRD (0x00FF0000UL)
  3097. #define CMP_SCCR_SSTB_POS (24U)
  3098. #define CMP_SCCR_SSTB (0x3F000000UL)
  3099. /* Bit definition for CMP_SCMR register */
  3100. #define CMP_SCMR_RVST_POS (0U)
  3101. #define CMP_SCMR_RVST (0x0000000FUL)
  3102. #define CMP_SCMR_CVST_POS (16U)
  3103. #define CMP_SCMR_CVST (0x000F0000UL)
  3104. /*******************************************************************************
  3105. Bit definition for Peripheral CMU
  3106. *******************************************************************************/
  3107. /* Bit definition for CMU_XTALDIVR register */
  3108. #define CMU_XTALDIVR_DEMON_POS (0U)
  3109. #define CMU_XTALDIVR_DEMON (0x000007FFUL)
  3110. #define CMU_XTALDIVR_NUMER_POS (12U)
  3111. #define CMU_XTALDIVR_NUMER (0x1FFFF000UL)
  3112. /* Bit definition for CMU_XTALDIVCR register */
  3113. #define CMU_XTALDIVCR_FRADIVEN (0x00000001UL)
  3114. /* Bit definition for CMU_XTALCFGR register */
  3115. #define CMU_XTALCFGR_XTALDRV_POS (4U)
  3116. #define CMU_XTALCFGR_XTALDRV (0x30U)
  3117. #define CMU_XTALCFGR_XTALDRV_0 (0x10U)
  3118. #define CMU_XTALCFGR_XTALDRV_1 (0x20U)
  3119. #define CMU_XTALCFGR_XTALMS_POS (6U)
  3120. #define CMU_XTALCFGR_XTALMS (0x40U)
  3121. /* Bit definition for CMU_XTAL32CR register */
  3122. #define CMU_XTAL32CR_XTAL32STP (0x01U)
  3123. /* Bit definition for CMU_XTAL32CFGR register */
  3124. #define CMU_XTAL32CFGR_XTAL32DRV (0x07U)
  3125. /* Bit definition for CMU_XTAL32NFR register */
  3126. #define CMU_XTAL32NFR_XTAL32NF (0x03U)
  3127. #define CMU_XTAL32NFR_XTAL32NF_0 (0x01U)
  3128. #define CMU_XTAL32NFR_XTAL32NF_1 (0x02U)
  3129. /* Bit definition for CMU_LRCCR register */
  3130. #define CMU_LRCCR_LRCSTP (0x01U)
  3131. /* Bit definition for CMU_LRCTRM register */
  3132. #define CMU_LRCTRM (0xFFU)
  3133. /* Bit definition for CMU_PERICKSEL register */
  3134. #define CMU_PERICKSEL_PERICKSEL (0x000FU)
  3135. /* Bit definition for CMU_CANCKCFGR register */
  3136. #define CMU_CANCKCFGR_MCAN1CKS_POS (0U)
  3137. #define CMU_CANCKCFGR_MCAN1CKS (0x000FU)
  3138. #define CMU_CANCKCFGR_MCAN2CKS_POS (4U)
  3139. #define CMU_CANCKCFGR_MCAN2CKS (0x00F0U)
  3140. /* Bit definition for CMU_SCFGR register */
  3141. #define CMU_SCFGR_PCLK0S_POS (0U)
  3142. #define CMU_SCFGR_PCLK0S (0x00000007UL)
  3143. #define CMU_SCFGR_PCLK1S_POS (4U)
  3144. #define CMU_SCFGR_PCLK1S (0x00000070UL)
  3145. #define CMU_SCFGR_PCLK2S_POS (8U)
  3146. #define CMU_SCFGR_PCLK2S (0x00000700UL)
  3147. #define CMU_SCFGR_PCLK3S_POS (12U)
  3148. #define CMU_SCFGR_PCLK3S (0x00007000UL)
  3149. #define CMU_SCFGR_PCLK4S_POS (16U)
  3150. #define CMU_SCFGR_PCLK4S (0x00070000UL)
  3151. #define CMU_SCFGR_EXCKS_POS (20U)
  3152. #define CMU_SCFGR_EXCKS (0x00700000UL)
  3153. #define CMU_SCFGR_HCLKS_POS (24U)
  3154. #define CMU_SCFGR_HCLKS (0x07000000UL)
  3155. /* Bit definition for CMU_CKSWR register */
  3156. #define CMU_CKSWR_CKSW (0x07U)
  3157. /* Bit definition for CMU_PLLHCR register */
  3158. #define CMU_PLLHCR_PLLHOFF (0x01U)
  3159. /* Bit definition for CMU_XTALCR register */
  3160. #define CMU_XTALCR_XTALSTP (0x01U)
  3161. /* Bit definition for CMU_HRCCR register */
  3162. #define CMU_HRCCR_HRCSTP (0x01U)
  3163. /* Bit definition for CMU_MRCCR register */
  3164. #define CMU_MRCCR_MRCSTP (0x01U)
  3165. /* Bit definition for CMU_OSCSTBSR register */
  3166. #define CMU_OSCSTBSR_HRCSTBF_POS (0U)
  3167. #define CMU_OSCSTBSR_HRCSTBF (0x01U)
  3168. #define CMU_OSCSTBSR_XTALSTBF_POS (3U)
  3169. #define CMU_OSCSTBSR_XTALSTBF (0x08U)
  3170. #define CMU_OSCSTBSR_PLLHSTBF_POS (5U)
  3171. #define CMU_OSCSTBSR_PLLHSTBF (0x20U)
  3172. /* Bit definition for CMU_MCOCFGR register */
  3173. #define CMU_MCOCFGR_MCOSEL_POS (0U)
  3174. #define CMU_MCOCFGR_MCOSEL (0x0FU)
  3175. #define CMU_MCOCFGR_MCODIV_POS (4U)
  3176. #define CMU_MCOCFGR_MCODIV (0x70U)
  3177. #define CMU_MCOCFGR_MCOEN_POS (7U)
  3178. #define CMU_MCOCFGR_MCOEN (0x80U)
  3179. /* Bit definition for CMU_TPIUCKCFGR register */
  3180. #define CMU_TPIUCKCFGR_TPIUCKS_POS (0U)
  3181. #define CMU_TPIUCKCFGR_TPIUCKS (0x03U)
  3182. #define CMU_TPIUCKCFGR_TPIUCKS_0 (0x01U)
  3183. #define CMU_TPIUCKCFGR_TPIUCKS_1 (0x02U)
  3184. #define CMU_TPIUCKCFGR_TPIUCKOE_POS (7U)
  3185. #define CMU_TPIUCKCFGR_TPIUCKOE (0x80U)
  3186. /* Bit definition for CMU_XTALSTDCR register */
  3187. #define CMU_XTALSTDCR_XTALSTDIE_POS (0U)
  3188. #define CMU_XTALSTDCR_XTALSTDIE (0x01U)
  3189. #define CMU_XTALSTDCR_XTALSTDRE_POS (1U)
  3190. #define CMU_XTALSTDCR_XTALSTDRE (0x02U)
  3191. #define CMU_XTALSTDCR_XTALSTDRIS_POS (2U)
  3192. #define CMU_XTALSTDCR_XTALSTDRIS (0x04U)
  3193. #define CMU_XTALSTDCR_XTALSTDE_POS (7U)
  3194. #define CMU_XTALSTDCR_XTALSTDE (0x80U)
  3195. /* Bit definition for CMU_XTALSTDSR register */
  3196. #define CMU_XTALSTDSR_XTALSTDF (0x01U)
  3197. /* Bit definition for CMU_MRCTRM register */
  3198. #define CMU_MRCTRM (0xFFU)
  3199. /* Bit definition for CMU_HRCTRM register */
  3200. #define CMU_HRCTRM (0xFFU)
  3201. /* Bit definition for CMU_XTALSTBCR register */
  3202. #define CMU_XTALSTBCR_XTALSTB (0x0FU)
  3203. /* Bit definition for CMU_PLLHCFGR register */
  3204. #define CMU_PLLHCFGR_PLLHM_POS (0U)
  3205. #define CMU_PLLHCFGR_PLLHM (0x00000003UL)
  3206. #define CMU_PLLHCFGR_PLLHM_0 (0x00000001UL)
  3207. #define CMU_PLLHCFGR_PLLHM_1 (0x00000002UL)
  3208. #define CMU_PLLHCFGR_PLLSRC_POS (7U)
  3209. #define CMU_PLLHCFGR_PLLSRC (0x00000080UL)
  3210. #define CMU_PLLHCFGR_PLLHN_POS (8U)
  3211. #define CMU_PLLHCFGR_PLLHN (0x0000FF00UL)
  3212. #define CMU_PLLHCFGR_PLLHR_POS (20U)
  3213. #define CMU_PLLHCFGR_PLLHR (0x00F00000UL)
  3214. #define CMU_PLLHCFGR_PLLHQ_POS (24U)
  3215. #define CMU_PLLHCFGR_PLLHQ (0x0F000000UL)
  3216. #define CMU_PLLHCFGR_PLLHP_POS (28U)
  3217. #define CMU_PLLHCFGR_PLLHP (0xF0000000UL)
  3218. /*******************************************************************************
  3219. Bit definition for Peripheral CRC
  3220. *******************************************************************************/
  3221. /* Bit definition for CRC_CR register */
  3222. #define CRC_CR_CR_POS (0U)
  3223. #define CRC_CR_CR (0x00000001UL)
  3224. #define CRC_CR_FLAG_POS (1U)
  3225. #define CRC_CR_FLAG (0x00000002UL)
  3226. /* Bit definition for CRC_RESLT register */
  3227. #define CRC_RESLT (0xFFFFFFFFUL)
  3228. /* Bit definition for CRC_DAT0 register */
  3229. #define CRC_DAT0 (0xFFFFFFFFUL)
  3230. /* Bit definition for CRC_DAT1 register */
  3231. #define CRC_DAT1 (0xFFFFFFFFUL)
  3232. /* Bit definition for CRC_DAT2 register */
  3233. #define CRC_DAT2 (0xFFFFFFFFUL)
  3234. /* Bit definition for CRC_DAT3 register */
  3235. #define CRC_DAT3 (0xFFFFFFFFUL)
  3236. /* Bit definition for CRC_DAT4 register */
  3237. #define CRC_DAT4 (0xFFFFFFFFUL)
  3238. /* Bit definition for CRC_DAT5 register */
  3239. #define CRC_DAT5 (0xFFFFFFFFUL)
  3240. /* Bit definition for CRC_DAT6 register */
  3241. #define CRC_DAT6 (0xFFFFFFFFUL)
  3242. /* Bit definition for CRC_DAT7 register */
  3243. #define CRC_DAT7 (0xFFFFFFFFUL)
  3244. /* Bit definition for CRC_DAT8 register */
  3245. #define CRC_DAT8 (0xFFFFFFFFUL)
  3246. /* Bit definition for CRC_DAT9 register */
  3247. #define CRC_DAT9 (0xFFFFFFFFUL)
  3248. /* Bit definition for CRC_DAT10 register */
  3249. #define CRC_DAT10 (0xFFFFFFFFUL)
  3250. /* Bit definition for CRC_DAT11 register */
  3251. #define CRC_DAT11 (0xFFFFFFFFUL)
  3252. /* Bit definition for CRC_DAT12 register */
  3253. #define CRC_DAT12 (0xFFFFFFFFUL)
  3254. /* Bit definition for CRC_DAT13 register */
  3255. #define CRC_DAT13 (0xFFFFFFFFUL)
  3256. /* Bit definition for CRC_DAT14 register */
  3257. #define CRC_DAT14 (0xFFFFFFFFUL)
  3258. /* Bit definition for CRC_DAT15 register */
  3259. #define CRC_DAT15 (0xFFFFFFFFUL)
  3260. /* Bit definition for CRC_DAT16 register */
  3261. #define CRC_DAT16 (0xFFFFFFFFUL)
  3262. /* Bit definition for CRC_DAT17 register */
  3263. #define CRC_DAT17 (0xFFFFFFFFUL)
  3264. /* Bit definition for CRC_DAT18 register */
  3265. #define CRC_DAT18 (0xFFFFFFFFUL)
  3266. /* Bit definition for CRC_DAT19 register */
  3267. #define CRC_DAT19 (0xFFFFFFFFUL)
  3268. /* Bit definition for CRC_DAT20 register */
  3269. #define CRC_DAT20 (0xFFFFFFFFUL)
  3270. /* Bit definition for CRC_DAT21 register */
  3271. #define CRC_DAT21 (0xFFFFFFFFUL)
  3272. /* Bit definition for CRC_DAT22 register */
  3273. #define CRC_DAT22 (0xFFFFFFFFUL)
  3274. /* Bit definition for CRC_DAT23 register */
  3275. #define CRC_DAT23 (0xFFFFFFFFUL)
  3276. /* Bit definition for CRC_DAT24 register */
  3277. #define CRC_DAT24 (0xFFFFFFFFUL)
  3278. /* Bit definition for CRC_DAT25 register */
  3279. #define CRC_DAT25 (0xFFFFFFFFUL)
  3280. /* Bit definition for CRC_DAT26 register */
  3281. #define CRC_DAT26 (0xFFFFFFFFUL)
  3282. /* Bit definition for CRC_DAT27 register */
  3283. #define CRC_DAT27 (0xFFFFFFFFUL)
  3284. /* Bit definition for CRC_DAT28 register */
  3285. #define CRC_DAT28 (0xFFFFFFFFUL)
  3286. /* Bit definition for CRC_DAT29 register */
  3287. #define CRC_DAT29 (0xFFFFFFFFUL)
  3288. /* Bit definition for CRC_DAT30 register */
  3289. #define CRC_DAT30 (0xFFFFFFFFUL)
  3290. /* Bit definition for CRC_DAT31 register */
  3291. #define CRC_DAT31 (0xFFFFFFFFUL)
  3292. /*******************************************************************************
  3293. Bit definition for Peripheral CTC
  3294. *******************************************************************************/
  3295. /* Bit definition for CTC_CR1 register */
  3296. #define CTC_CR1_REFPSC_POS (0U)
  3297. #define CTC_CR1_REFPSC (0x00000007UL)
  3298. #define CTC_CR1_REFPSC_0 (0x00000001UL)
  3299. #define CTC_CR1_REFPSC_1 (0x00000002UL)
  3300. #define CTC_CR1_REFPSC_2 (0x00000004UL)
  3301. #define CTC_CR1_REFCKS_POS (4U)
  3302. #define CTC_CR1_REFCKS (0x00000030UL)
  3303. #define CTC_CR1_REFCKS_0 (0x00000010UL)
  3304. #define CTC_CR1_REFCKS_1 (0x00000020UL)
  3305. #define CTC_CR1_ERRIE_POS (6U)
  3306. #define CTC_CR1_ERRIE (0x00000040UL)
  3307. #define CTC_CR1_CTCEN_POS (7U)
  3308. #define CTC_CR1_CTCEN (0x00000080UL)
  3309. #define CTC_CR1_HRCPSC_POS (8U)
  3310. #define CTC_CR1_HRCPSC (0x00000700UL)
  3311. #define CTC_CR1_REFEDG_POS (12U)
  3312. #define CTC_CR1_REFEDG (0x00003000UL)
  3313. #define CTC_CR1_REFEDG_0 (0x00001000UL)
  3314. #define CTC_CR1_REFEDG_1 (0x00002000UL)
  3315. #define CTC_CR1_TRMVAL_POS (16U)
  3316. #define CTC_CR1_TRMVAL (0x003F0000UL)
  3317. /* Bit definition for CTC_CR2 register */
  3318. #define CTC_CR2_OFSVAL_POS (0U)
  3319. #define CTC_CR2_OFSVAL (0x000000FFUL)
  3320. #define CTC_CR2_RLDVAL_POS (16U)
  3321. #define CTC_CR2_RLDVAL (0xFFFF0000UL)
  3322. /* Bit definition for CTC_STR register */
  3323. #define CTC_STR_TRIMOK_POS (0U)
  3324. #define CTC_STR_TRIMOK (0x00000001UL)
  3325. #define CTC_STR_TRMOVF_POS (1U)
  3326. #define CTC_STR_TRMOVF (0x00000002UL)
  3327. #define CTC_STR_TRMUDF_POS (2U)
  3328. #define CTC_STR_TRMUDF (0x00000004UL)
  3329. #define CTC_STR_CTCBSY_POS (3U)
  3330. #define CTC_STR_CTCBSY (0x00000008UL)
  3331. /* Bit definition for CTC_CNT register */
  3332. #define CTC_CNT (0xFFFFU)
  3333. /*******************************************************************************
  3334. Bit definition for Peripheral DAC
  3335. *******************************************************************************/
  3336. /* Bit definition for DAC_DADR1 register */
  3337. #define DAC_DADR1_DR0_POS (0U)
  3338. #define DAC_DADR1_DR0 (0x0001U)
  3339. #define DAC_DADR1_DR1_POS (1U)
  3340. #define DAC_DADR1_DR1 (0x0002U)
  3341. #define DAC_DADR1_DR2_POS (2U)
  3342. #define DAC_DADR1_DR2 (0x0004U)
  3343. #define DAC_DADR1_DR3_POS (3U)
  3344. #define DAC_DADR1_DR3 (0x0008U)
  3345. #define DAC_DADR1_DL0R4_POS (4U)
  3346. #define DAC_DADR1_DL0R4 (0x0010U)
  3347. #define DAC_DADR1_DL1R5_POS (5U)
  3348. #define DAC_DADR1_DL1R5 (0x0020U)
  3349. #define DAC_DADR1_DL2R6_POS (6U)
  3350. #define DAC_DADR1_DL2R6 (0x0040U)
  3351. #define DAC_DADR1_DL3R7_POS (7U)
  3352. #define DAC_DADR1_DL3R7 (0x0080U)
  3353. #define DAC_DADR1_DL4R8_POS (8U)
  3354. #define DAC_DADR1_DL4R8 (0x0100U)
  3355. #define DAC_DADR1_DL5R9_POS (9U)
  3356. #define DAC_DADR1_DL5R9 (0x0200U)
  3357. #define DAC_DADR1_DL6R10_POS (10U)
  3358. #define DAC_DADR1_DL6R10 (0x0400U)
  3359. #define DAC_DADR1_DL7R11_POS (11U)
  3360. #define DAC_DADR1_DL7R11 (0x0800U)
  3361. #define DAC_DADR1_DL8_POS (12U)
  3362. #define DAC_DADR1_DL8 (0x1000U)
  3363. #define DAC_DADR1_DL9_POS (13U)
  3364. #define DAC_DADR1_DL9 (0x2000U)
  3365. #define DAC_DADR1_DL10_POS (14U)
  3366. #define DAC_DADR1_DL10 (0x4000U)
  3367. #define DAC_DADR1_DL11_POS (15U)
  3368. #define DAC_DADR1_DL11 (0x8000U)
  3369. /* Bit definition for DAC_DADR2 register */
  3370. #define DAC_DADR2_DR0_POS (0U)
  3371. #define DAC_DADR2_DR0 (0x0001U)
  3372. #define DAC_DADR2_DR1_POS (1U)
  3373. #define DAC_DADR2_DR1 (0x0002U)
  3374. #define DAC_DADR2_DR2_POS (2U)
  3375. #define DAC_DADR2_DR2 (0x0004U)
  3376. #define DAC_DADR2_DR3_POS (3U)
  3377. #define DAC_DADR2_DR3 (0x0008U)
  3378. #define DAC_DADR2_DL0R4_POS (4U)
  3379. #define DAC_DADR2_DL0R4 (0x0010U)
  3380. #define DAC_DADR2_DL1R5_POS (5U)
  3381. #define DAC_DADR2_DL1R5 (0x0020U)
  3382. #define DAC_DADR2_DL2R6_POS (6U)
  3383. #define DAC_DADR2_DL2R6 (0x0040U)
  3384. #define DAC_DADR2_DL3R7_POS (7U)
  3385. #define DAC_DADR2_DL3R7 (0x0080U)
  3386. #define DAC_DADR2_DL4R8_POS (8U)
  3387. #define DAC_DADR2_DL4R8 (0x0100U)
  3388. #define DAC_DADR2_DL5R9_POS (9U)
  3389. #define DAC_DADR2_DL5R9 (0x0200U)
  3390. #define DAC_DADR2_DL6R10_POS (10U)
  3391. #define DAC_DADR2_DL6R10 (0x0400U)
  3392. #define DAC_DADR2_DL7R11_POS (11U)
  3393. #define DAC_DADR2_DL7R11 (0x0800U)
  3394. #define DAC_DADR2_DL8_POS (12U)
  3395. #define DAC_DADR2_DL8 (0x1000U)
  3396. #define DAC_DADR2_DL9_POS (13U)
  3397. #define DAC_DADR2_DL9 (0x2000U)
  3398. #define DAC_DADR2_DL10_POS (14U)
  3399. #define DAC_DADR2_DL10 (0x4000U)
  3400. #define DAC_DADR2_DL11_POS (15U)
  3401. #define DAC_DADR2_DL11 (0x8000U)
  3402. /* Bit definition for DAC_DACR register */
  3403. #define DAC_DACR_DAE_POS (0U)
  3404. #define DAC_DACR_DAE (0x0001U)
  3405. #define DAC_DACR_DA1E_POS (1U)
  3406. #define DAC_DACR_DA1E (0x0002U)
  3407. #define DAC_DACR_DA2E_POS (2U)
  3408. #define DAC_DACR_DA2E (0x0004U)
  3409. #define DAC_DACR_DPSEL_POS (8U)
  3410. #define DAC_DACR_DPSEL (0x0100U)
  3411. #define DAC_DACR_DAAMP1_POS (9U)
  3412. #define DAC_DACR_DAAMP1 (0x0200U)
  3413. #define DAC_DACR_DAAMP2_POS (10U)
  3414. #define DAC_DACR_DAAMP2 (0x0400U)
  3415. #define DAC_DACR_EXTDSL1_POS (11U)
  3416. #define DAC_DACR_EXTDSL1 (0x0800U)
  3417. #define DAC_DACR_EXTDSL2_POS (12U)
  3418. #define DAC_DACR_EXTDSL2 (0x1000U)
  3419. /* Bit definition for DAC_DAADPCR register */
  3420. #define DAC_DAADPCR_ADCSL1_POS (0U)
  3421. #define DAC_DAADPCR_ADCSL1 (0x0001U)
  3422. #define DAC_DAADPCR_ADCSL2_POS (1U)
  3423. #define DAC_DAADPCR_ADCSL2 (0x0002U)
  3424. #define DAC_DAADPCR_ADCSL3_POS (2U)
  3425. #define DAC_DAADPCR_ADCSL3 (0x0004U)
  3426. #define DAC_DAADPCR_DA1SF_POS (8U)
  3427. #define DAC_DAADPCR_DA1SF (0x0100U)
  3428. #define DAC_DAADPCR_DA2SF_POS (9U)
  3429. #define DAC_DAADPCR_DA2SF (0x0200U)
  3430. #define DAC_DAADPCR_ADPEN_POS (15U)
  3431. #define DAC_DAADPCR_ADPEN (0x8000U)
  3432. /* Bit definition for DAC_DAOCR register */
  3433. #define DAC_DAOCR_DAODIS1_POS (14U)
  3434. #define DAC_DAOCR_DAODIS1 (0x4000U)
  3435. #define DAC_DAOCR_DAODIS2_POS (15U)
  3436. #define DAC_DAOCR_DAODIS2 (0x8000U)
  3437. /*******************************************************************************
  3438. Bit definition for Peripheral DBGC
  3439. *******************************************************************************/
  3440. /* Bit definition for DBGC_AUTHID0 register */
  3441. #define DBGC_AUTHID0 (0xFFFFFFFFUL)
  3442. /* Bit definition for DBGC_AUTHID1 register */
  3443. #define DBGC_AUTHID1 (0xFFFFFFFFUL)
  3444. /* Bit definition for DBGC_AUTHID2 register */
  3445. #define DBGC_AUTHID2 (0xFFFFFFFFUL)
  3446. /* Bit definition for DBGC_CHIPID register */
  3447. #define DBGC_CHIPID (0xFFFFFFFFUL)
  3448. /* Bit definition for DBGC_MCUSTAT register */
  3449. #define DBGC_MCUSTAT_AUTH_POS (0U)
  3450. #define DBGC_MCUSTAT_AUTH (0x00000001UL)
  3451. #define DBGC_MCUSTAT_REMVLOCK_POS (1U)
  3452. #define DBGC_MCUSTAT_REMVLOCK (0x00000002UL)
  3453. #define DBGC_MCUSTAT_SAFTYLOCK1_POS (2U)
  3454. #define DBGC_MCUSTAT_SAFTYLOCK1 (0x00000004UL)
  3455. #define DBGC_MCUSTAT_SAFTYLOCK2_POS (3U)
  3456. #define DBGC_MCUSTAT_SAFTYLOCK2 (0x00000008UL)
  3457. #define DBGC_MCUSTAT_CPUSTOP_POS (8U)
  3458. #define DBGC_MCUSTAT_CPUSTOP (0x00000100UL)
  3459. #define DBGC_MCUSTAT_CPUSLEEP_POS (9U)
  3460. #define DBGC_MCUSTAT_CPUSLEEP (0x00000200UL)
  3461. /* Bit definition for DBGC_MCUCTL register */
  3462. #define DBGC_MCUCTL_EDBGRQ_POS (0U)
  3463. #define DBGC_MCUCTL_EDBGRQ (0x00000001UL)
  3464. #define DBGC_MCUCTL_RESTART_POS (1U)
  3465. #define DBGC_MCUCTL_RESTART (0x00000002UL)
  3466. #define DBGC_MCUCTL_DIRQ_POS (8U)
  3467. #define DBGC_MCUCTL_DIRQ (0x00000100UL)
  3468. /* Bit definition for DBGC_FMCCTL register */
  3469. #define DBGC_FMCCTL_ERASEREQ_POS (0U)
  3470. #define DBGC_FMCCTL_ERASEREQ (0x00000001UL)
  3471. #define DBGC_FMCCTL_ERASEACK_POS (1U)
  3472. #define DBGC_FMCCTL_ERASEACK (0x00000002UL)
  3473. #define DBGC_FMCCTL_ERASEERR_POS (2U)
  3474. #define DBGC_FMCCTL_ERASEERR (0x00000004UL)
  3475. /* Bit definition for DBGC_MCUDBGCSTAT register */
  3476. #define DBGC_MCUDBGCSTAT_CDBGPWRUPREQ_POS (0U)
  3477. #define DBGC_MCUDBGCSTAT_CDBGPWRUPREQ (0x00000001UL)
  3478. #define DBGC_MCUDBGCSTAT_CDBGPWRUPACK_POS (1U)
  3479. #define DBGC_MCUDBGCSTAT_CDBGPWRUPACK (0x00000002UL)
  3480. /* Bit definition for DBGC_MCUSTPCTL register */
  3481. #define DBGC_MCUSTPCTL_SWDTSTP_POS (0U)
  3482. #define DBGC_MCUSTPCTL_SWDTSTP (0x00000001UL)
  3483. #define DBGC_MCUSTPCTL_WDTSTP_POS (1U)
  3484. #define DBGC_MCUSTPCTL_WDTSTP (0x00000002UL)
  3485. #define DBGC_MCUSTPCTL_RTCSTP_POS (2U)
  3486. #define DBGC_MCUSTPCTL_RTCSTP (0x00000004UL)
  3487. #define DBGC_MCUSTPCTL_PVD0STP_POS (3U)
  3488. #define DBGC_MCUSTPCTL_PVD0STP (0x00000008UL)
  3489. #define DBGC_MCUSTPCTL_PVD1STP_POS (4U)
  3490. #define DBGC_MCUSTPCTL_PVD1STP (0x00000010UL)
  3491. #define DBGC_MCUSTPCTL_PVD2STP_POS (5U)
  3492. #define DBGC_MCUSTPCTL_PVD2STP (0x00000020UL)
  3493. #define DBGC_MCUSTPCTL_M06STP_POS (6U)
  3494. #define DBGC_MCUSTPCTL_M06STP (0x00000040UL)
  3495. #define DBGC_MCUSTPCTL_M07STP_POS (7U)
  3496. #define DBGC_MCUSTPCTL_M07STP (0x00000080UL)
  3497. #define DBGC_MCUSTPCTL_M08STP_POS (8U)
  3498. #define DBGC_MCUSTPCTL_M08STP (0x00000100UL)
  3499. #define DBGC_MCUSTPCTL_M09STP_POS (9U)
  3500. #define DBGC_MCUSTPCTL_M09STP (0x00000200UL)
  3501. #define DBGC_MCUSTPCTL_M10STP_POS (10U)
  3502. #define DBGC_MCUSTPCTL_M10STP (0x00000400UL)
  3503. #define DBGC_MCUSTPCTL_M11STP_POS (11U)
  3504. #define DBGC_MCUSTPCTL_M11STP (0x00000800UL)
  3505. #define DBGC_MCUSTPCTL_M12STP_POS (12U)
  3506. #define DBGC_MCUSTPCTL_M12STP (0x00001000UL)
  3507. #define DBGC_MCUSTPCTL_M13STP_POS (13U)
  3508. #define DBGC_MCUSTPCTL_M13STP (0x00002000UL)
  3509. #define DBGC_MCUSTPCTL_M14STP_POS (14U)
  3510. #define DBGC_MCUSTPCTL_M14STP (0x00004000UL)
  3511. #define DBGC_MCUSTPCTL_M15STP_POS (15U)
  3512. #define DBGC_MCUSTPCTL_M15STP (0x00008000UL)
  3513. #define DBGC_MCUSTPCTL_M16STP_POS (16U)
  3514. #define DBGC_MCUSTPCTL_M16STP (0x00010000UL)
  3515. #define DBGC_MCUSTPCTL_M17STP_POS (17U)
  3516. #define DBGC_MCUSTPCTL_M17STP (0x00020000UL)
  3517. #define DBGC_MCUSTPCTL_M18STP_POS (18U)
  3518. #define DBGC_MCUSTPCTL_M18STP (0x00040000UL)
  3519. #define DBGC_MCUSTPCTL_M19STP_POS (19U)
  3520. #define DBGC_MCUSTPCTL_M19STP (0x00080000UL)
  3521. #define DBGC_MCUSTPCTL_M20STP_POS (20U)
  3522. #define DBGC_MCUSTPCTL_M20STP (0x00100000UL)
  3523. #define DBGC_MCUSTPCTL_M21STP_POS (21U)
  3524. #define DBGC_MCUSTPCTL_M21STP (0x00200000UL)
  3525. #define DBGC_MCUSTPCTL_M22STP_POS (22U)
  3526. #define DBGC_MCUSTPCTL_M22STP (0x00400000UL)
  3527. #define DBGC_MCUSTPCTL_M23STP_POS (23U)
  3528. #define DBGC_MCUSTPCTL_M23STP (0x00800000UL)
  3529. #define DBGC_MCUSTPCTL_M24STP_POS (24U)
  3530. #define DBGC_MCUSTPCTL_M24STP (0x01000000UL)
  3531. #define DBGC_MCUSTPCTL_M25STP_POS (25U)
  3532. #define DBGC_MCUSTPCTL_M25STP (0x02000000UL)
  3533. #define DBGC_MCUSTPCTL_M26STP_POS (26U)
  3534. #define DBGC_MCUSTPCTL_M26STP (0x04000000UL)
  3535. #define DBGC_MCUSTPCTL_M27STP_POS (27U)
  3536. #define DBGC_MCUSTPCTL_M27STP (0x08000000UL)
  3537. #define DBGC_MCUSTPCTL_M28STP_POS (28U)
  3538. #define DBGC_MCUSTPCTL_M28STP (0x10000000UL)
  3539. #define DBGC_MCUSTPCTL_M29STP_POS (29U)
  3540. #define DBGC_MCUSTPCTL_M29STP (0x20000000UL)
  3541. #define DBGC_MCUSTPCTL_M30STP_POS (30U)
  3542. #define DBGC_MCUSTPCTL_M30STP (0x40000000UL)
  3543. #define DBGC_MCUSTPCTL_M31STP_POS (31U)
  3544. #define DBGC_MCUSTPCTL_M31STP (0x80000000UL)
  3545. /* Bit definition for DBGC_MCUTRACECTL register */
  3546. #define DBGC_MCUTRACECTL_TRACEMODE_POS (0U)
  3547. #define DBGC_MCUTRACECTL_TRACEMODE (0x00000003UL)
  3548. #define DBGC_MCUTRACECTL_TRACEMODE_0 (0x00000001UL)
  3549. #define DBGC_MCUTRACECTL_TRACEMODE_1 (0x00000002UL)
  3550. #define DBGC_MCUTRACECTL_TRACEIOEN_POS (2U)
  3551. #define DBGC_MCUTRACECTL_TRACEIOEN (0x00000004UL)
  3552. /* Bit definition for DBGC_MCUSTPCTL2 register */
  3553. #define DBGC_MCUSTPCTL2_M32STP_POS (0U)
  3554. #define DBGC_MCUSTPCTL2_M32STP (0x00000001UL)
  3555. #define DBGC_MCUSTPCTL2_M33STP_POS (1U)
  3556. #define DBGC_MCUSTPCTL2_M33STP (0x00000002UL)
  3557. #define DBGC_MCUSTPCTL2_M34STP_POS (2U)
  3558. #define DBGC_MCUSTPCTL2_M34STP (0x00000004UL)
  3559. #define DBGC_MCUSTPCTL2_M35STP_POS (3U)
  3560. #define DBGC_MCUSTPCTL2_M35STP (0x00000008UL)
  3561. #define DBGC_MCUSTPCTL2_M36STP_POS (4U)
  3562. #define DBGC_MCUSTPCTL2_M36STP (0x00000010UL)
  3563. #define DBGC_MCUSTPCTL2_M37STP_POS (5U)
  3564. #define DBGC_MCUSTPCTL2_M37STP (0x00000020UL)
  3565. #define DBGC_MCUSTPCTL2_M38STP_POS (6U)
  3566. #define DBGC_MCUSTPCTL2_M38STP (0x00000040UL)
  3567. #define DBGC_MCUSTPCTL2_M39STP_POS (7U)
  3568. #define DBGC_MCUSTPCTL2_M39STP (0x00000080UL)
  3569. #define DBGC_MCUSTPCTL2_M40STP_POS (8U)
  3570. #define DBGC_MCUSTPCTL2_M40STP (0x00000100UL)
  3571. #define DBGC_MCUSTPCTL2_M41STP_POS (9U)
  3572. #define DBGC_MCUSTPCTL2_M41STP (0x00000200UL)
  3573. #define DBGC_MCUSTPCTL2_M42STP_POS (10U)
  3574. #define DBGC_MCUSTPCTL2_M42STP (0x00000400UL)
  3575. #define DBGC_MCUSTPCTL2_M43STP_POS (11U)
  3576. #define DBGC_MCUSTPCTL2_M43STP (0x00000800UL)
  3577. #define DBGC_MCUSTPCTL2_M44STP_POS (12U)
  3578. #define DBGC_MCUSTPCTL2_M44STP (0x00001000UL)
  3579. #define DBGC_MCUSTPCTL2_M45STP_POS (13U)
  3580. #define DBGC_MCUSTPCTL2_M45STP (0x00002000UL)
  3581. #define DBGC_MCUSTPCTL2_M46STP_POS (14U)
  3582. #define DBGC_MCUSTPCTL2_M46STP (0x00004000UL)
  3583. #define DBGC_MCUSTPCTL2_M47STP_POS (15U)
  3584. #define DBGC_MCUSTPCTL2_M47STP (0x00008000UL)
  3585. #define DBGC_MCUSTPCTL2_M48STP_POS (16U)
  3586. #define DBGC_MCUSTPCTL2_M48STP (0x00010000UL)
  3587. #define DBGC_MCUSTPCTL2_M49STP_POS (17U)
  3588. #define DBGC_MCUSTPCTL2_M49STP (0x00020000UL)
  3589. #define DBGC_MCUSTPCTL2_M50STP_POS (18U)
  3590. #define DBGC_MCUSTPCTL2_M50STP (0x00040000UL)
  3591. #define DBGC_MCUSTPCTL2_M51STP_POS (19U)
  3592. #define DBGC_MCUSTPCTL2_M51STP (0x00080000UL)
  3593. #define DBGC_MCUSTPCTL2_M52STP_POS (20U)
  3594. #define DBGC_MCUSTPCTL2_M52STP (0x00100000UL)
  3595. #define DBGC_MCUSTPCTL2_M53STP_POS (21U)
  3596. #define DBGC_MCUSTPCTL2_M53STP (0x00200000UL)
  3597. #define DBGC_MCUSTPCTL2_M54STP_POS (22U)
  3598. #define DBGC_MCUSTPCTL2_M54STP (0x00400000UL)
  3599. #define DBGC_MCUSTPCTL2_M55STP_POS (23U)
  3600. #define DBGC_MCUSTPCTL2_M55STP (0x00800000UL)
  3601. #define DBGC_MCUSTPCTL2_M56STP_POS (24U)
  3602. #define DBGC_MCUSTPCTL2_M56STP (0x01000000UL)
  3603. #define DBGC_MCUSTPCTL2_M57STP_POS (25U)
  3604. #define DBGC_MCUSTPCTL2_M57STP (0x02000000UL)
  3605. #define DBGC_MCUSTPCTL2_M58STP_POS (26U)
  3606. #define DBGC_MCUSTPCTL2_M58STP (0x04000000UL)
  3607. #define DBGC_MCUSTPCTL2_M59STP_POS (27U)
  3608. #define DBGC_MCUSTPCTL2_M59STP (0x08000000UL)
  3609. #define DBGC_MCUSTPCTL2_M60STP_POS (28U)
  3610. #define DBGC_MCUSTPCTL2_M60STP (0x10000000UL)
  3611. #define DBGC_MCUSTPCTL2_M61STP_POS (29U)
  3612. #define DBGC_MCUSTPCTL2_M61STP (0x20000000UL)
  3613. #define DBGC_MCUSTPCTL2_M62STP_POS (30U)
  3614. #define DBGC_MCUSTPCTL2_M62STP (0x40000000UL)
  3615. #define DBGC_MCUSTPCTL2_M63STP_POS (31U)
  3616. #define DBGC_MCUSTPCTL2_M63STP (0x80000000UL)
  3617. /*******************************************************************************
  3618. Bit definition for Peripheral DCU
  3619. *******************************************************************************/
  3620. /* Bit definition for DCU_CTL register */
  3621. #define DCU_CTL_MODE_POS (0U)
  3622. #define DCU_CTL_MODE (0x0000000FUL)
  3623. #define DCU_CTL_DATASIZE_POS (4U)
  3624. #define DCU_CTL_DATASIZE (0x00000030UL)
  3625. #define DCU_CTL_DATASIZE_0 (0x00000010UL)
  3626. #define DCU_CTL_DATASIZE_1 (0x00000020UL)
  3627. #define DCU_CTL_COMP_TRG_POS (8U)
  3628. #define DCU_CTL_COMP_TRG (0x00000100UL)
  3629. #define DCU_CTL_INTEN_POS (31U)
  3630. #define DCU_CTL_INTEN (0x80000000UL)
  3631. /* Bit definition for DCU_FLAG register */
  3632. #define DCU_FLAG_FLAG_OP_POS (0U)
  3633. #define DCU_FLAG_FLAG_OP (0x00000001UL)
  3634. #define DCU_FLAG_FLAG_LS2_POS (1U)
  3635. #define DCU_FLAG_FLAG_LS2 (0x00000002UL)
  3636. #define DCU_FLAG_FLAG_EQ2_POS (2U)
  3637. #define DCU_FLAG_FLAG_EQ2 (0x00000004UL)
  3638. #define DCU_FLAG_FLAG_GT2_POS (3U)
  3639. #define DCU_FLAG_FLAG_GT2 (0x00000008UL)
  3640. #define DCU_FLAG_FLAG_LS1_POS (4U)
  3641. #define DCU_FLAG_FLAG_LS1 (0x00000010UL)
  3642. #define DCU_FLAG_FLAG_EQ1_POS (5U)
  3643. #define DCU_FLAG_FLAG_EQ1 (0x00000020UL)
  3644. #define DCU_FLAG_FLAG_GT1_POS (6U)
  3645. #define DCU_FLAG_FLAG_GT1 (0x00000040UL)
  3646. #define DCU_FLAG_FLAG_RLD_POS (9U)
  3647. #define DCU_FLAG_FLAG_RLD (0x00000200UL)
  3648. #define DCU_FLAG_FLAG_BTM_POS (10U)
  3649. #define DCU_FLAG_FLAG_BTM (0x00000400UL)
  3650. #define DCU_FLAG_FLAG_TOP_POS (11U)
  3651. #define DCU_FLAG_FLAG_TOP (0x00000800UL)
  3652. /* Bit definition for DCU_DATA0 register */
  3653. #define DCU_DATA0 (0xFFFFFFFFUL)
  3654. /* Bit definition for DCU_DATA1 register */
  3655. #define DCU_DATA1 (0xFFFFFFFFUL)
  3656. /* Bit definition for DCU_DATA2 register */
  3657. #define DCU_DATA2 (0xFFFFFFFFUL)
  3658. /* Bit definition for DCU_FLAGCLR register */
  3659. #define DCU_FLAGCLR_CLR_OP_POS (0U)
  3660. #define DCU_FLAGCLR_CLR_OP (0x00000001UL)
  3661. #define DCU_FLAGCLR_CLR_LS2_POS (1U)
  3662. #define DCU_FLAGCLR_CLR_LS2 (0x00000002UL)
  3663. #define DCU_FLAGCLR_CLR_EQ2_POS (2U)
  3664. #define DCU_FLAGCLR_CLR_EQ2 (0x00000004UL)
  3665. #define DCU_FLAGCLR_CLR_GT2_POS (3U)
  3666. #define DCU_FLAGCLR_CLR_GT2 (0x00000008UL)
  3667. #define DCU_FLAGCLR_CLR_LS1_POS (4U)
  3668. #define DCU_FLAGCLR_CLR_LS1 (0x00000010UL)
  3669. #define DCU_FLAGCLR_CLR_EQ1_POS (5U)
  3670. #define DCU_FLAGCLR_CLR_EQ1 (0x00000020UL)
  3671. #define DCU_FLAGCLR_CLR_GT1_POS (6U)
  3672. #define DCU_FLAGCLR_CLR_GT1 (0x00000040UL)
  3673. #define DCU_FLAGCLR_CLR_RLD_POS (9U)
  3674. #define DCU_FLAGCLR_CLR_RLD (0x00000200UL)
  3675. #define DCU_FLAGCLR_CLR_BTM_POS (10U)
  3676. #define DCU_FLAGCLR_CLR_BTM (0x00000400UL)
  3677. #define DCU_FLAGCLR_CLR_TOP_POS (11U)
  3678. #define DCU_FLAGCLR_CLR_TOP (0x00000800UL)
  3679. /* Bit definition for DCU_INTEVTSEL register */
  3680. #define DCU_INTEVTSEL_SEL_OP_POS (0U)
  3681. #define DCU_INTEVTSEL_SEL_OP (0x00000001UL)
  3682. #define DCU_INTEVTSEL_SEL_LS2_POS (1U)
  3683. #define DCU_INTEVTSEL_SEL_LS2 (0x00000002UL)
  3684. #define DCU_INTEVTSEL_SEL_EQ2_POS (2U)
  3685. #define DCU_INTEVTSEL_SEL_EQ2 (0x00000004UL)
  3686. #define DCU_INTEVTSEL_SEL_GT2_POS (3U)
  3687. #define DCU_INTEVTSEL_SEL_GT2 (0x00000008UL)
  3688. #define DCU_INTEVTSEL_SEL_LS1_POS (4U)
  3689. #define DCU_INTEVTSEL_SEL_LS1 (0x00000010UL)
  3690. #define DCU_INTEVTSEL_SEL_EQ1_POS (5U)
  3691. #define DCU_INTEVTSEL_SEL_EQ1 (0x00000020UL)
  3692. #define DCU_INTEVTSEL_SEL_GT1_POS (6U)
  3693. #define DCU_INTEVTSEL_SEL_GT1 (0x00000040UL)
  3694. #define DCU_INTEVTSEL_SEL_WIN_POS (7U)
  3695. #define DCU_INTEVTSEL_SEL_WIN (0x00000180UL)
  3696. #define DCU_INTEVTSEL_SEL_WIN_0 (0x00000080UL)
  3697. #define DCU_INTEVTSEL_SEL_WIN_1 (0x00000100UL)
  3698. #define DCU_INTEVTSEL_SEL_RLD_POS (9U)
  3699. #define DCU_INTEVTSEL_SEL_RLD (0x00000200UL)
  3700. #define DCU_INTEVTSEL_SEL_BTM_POS (10U)
  3701. #define DCU_INTEVTSEL_SEL_BTM (0x00000400UL)
  3702. #define DCU_INTEVTSEL_SEL_TOP_POS (11U)
  3703. #define DCU_INTEVTSEL_SEL_TOP (0x00000800UL)
  3704. /*******************************************************************************
  3705. Bit definition for Peripheral DMA
  3706. *******************************************************************************/
  3707. /* Bit definition for DMA_EN register */
  3708. #define DMA_EN_EN (0x00000001UL)
  3709. /* Bit definition for DMA_INTSTAT0 register */
  3710. #define DMA_INTSTAT0_TRNERR_POS (0U)
  3711. #define DMA_INTSTAT0_TRNERR (0x0000003FUL)
  3712. #define DMA_INTSTAT0_TRNERR_0 (0x00000001UL)
  3713. #define DMA_INTSTAT0_TRNERR_1 (0x00000002UL)
  3714. #define DMA_INTSTAT0_TRNERR_2 (0x00000004UL)
  3715. #define DMA_INTSTAT0_TRNERR_3 (0x00000008UL)
  3716. #define DMA_INTSTAT0_TRNERR_4 (0x00000010UL)
  3717. #define DMA_INTSTAT0_TRNERR_5 (0x00000020UL)
  3718. #define DMA_INTSTAT0_REQERR_POS (16U)
  3719. #define DMA_INTSTAT0_REQERR (0x003F0000UL)
  3720. #define DMA_INTSTAT0_REQERR_0 (0x00010000UL)
  3721. #define DMA_INTSTAT0_REQERR_1 (0x00020000UL)
  3722. #define DMA_INTSTAT0_REQERR_2 (0x00040000UL)
  3723. #define DMA_INTSTAT0_REQERR_3 (0x00080000UL)
  3724. #define DMA_INTSTAT0_REQERR_4 (0x00100000UL)
  3725. #define DMA_INTSTAT0_REQERR_5 (0x00200000UL)
  3726. /* Bit definition for DMA_INTSTAT1 register */
  3727. #define DMA_INTSTAT1_TC_POS (0U)
  3728. #define DMA_INTSTAT1_TC (0x0000003FUL)
  3729. #define DMA_INTSTAT1_TC_0 (0x00000001UL)
  3730. #define DMA_INTSTAT1_TC_1 (0x00000002UL)
  3731. #define DMA_INTSTAT1_TC_2 (0x00000004UL)
  3732. #define DMA_INTSTAT1_TC_3 (0x00000008UL)
  3733. #define DMA_INTSTAT1_TC_4 (0x00000010UL)
  3734. #define DMA_INTSTAT1_TC_5 (0x00000020UL)
  3735. #define DMA_INTSTAT1_BTC_POS (16U)
  3736. #define DMA_INTSTAT1_BTC (0x003F0000UL)
  3737. #define DMA_INTSTAT1_BTC_0 (0x00010000UL)
  3738. #define DMA_INTSTAT1_BTC_1 (0x00020000UL)
  3739. #define DMA_INTSTAT1_BTC_2 (0x00040000UL)
  3740. #define DMA_INTSTAT1_BTC_3 (0x00080000UL)
  3741. #define DMA_INTSTAT1_BTC_4 (0x00100000UL)
  3742. #define DMA_INTSTAT1_BTC_5 (0x00200000UL)
  3743. /* Bit definition for DMA_INTMASK0 register */
  3744. #define DMA_INTMASK0_MSKTRNERR_POS (0U)
  3745. #define DMA_INTMASK0_MSKTRNERR (0x0000003FUL)
  3746. #define DMA_INTMASK0_MSKTRNERR_0 (0x00000001UL)
  3747. #define DMA_INTMASK0_MSKTRNERR_1 (0x00000002UL)
  3748. #define DMA_INTMASK0_MSKTRNERR_2 (0x00000004UL)
  3749. #define DMA_INTMASK0_MSKTRNERR_3 (0x00000008UL)
  3750. #define DMA_INTMASK0_MSKTRNERR_4 (0x00000010UL)
  3751. #define DMA_INTMASK0_MSKTRNERR_5 (0x00000020UL)
  3752. #define DMA_INTMASK0_MSKREQERR_POS (16U)
  3753. #define DMA_INTMASK0_MSKREQERR (0x003F0000UL)
  3754. #define DMA_INTMASK0_MSKREQERR_0 (0x00010000UL)
  3755. #define DMA_INTMASK0_MSKREQERR_1 (0x00020000UL)
  3756. #define DMA_INTMASK0_MSKREQERR_2 (0x00040000UL)
  3757. #define DMA_INTMASK0_MSKREQERR_3 (0x00080000UL)
  3758. #define DMA_INTMASK0_MSKREQERR_4 (0x00100000UL)
  3759. #define DMA_INTMASK0_MSKREQERR_5 (0x00200000UL)
  3760. /* Bit definition for DMA_INTMASK1 register */
  3761. #define DMA_INTMASK1_MSKTC_POS (0U)
  3762. #define DMA_INTMASK1_MSKTC (0x0000003FUL)
  3763. #define DMA_INTMASK1_MSKTC_0 (0x00000001UL)
  3764. #define DMA_INTMASK1_MSKTC_1 (0x00000002UL)
  3765. #define DMA_INTMASK1_MSKTC_2 (0x00000004UL)
  3766. #define DMA_INTMASK1_MSKTC_3 (0x00000008UL)
  3767. #define DMA_INTMASK1_MSKTC_4 (0x00000010UL)
  3768. #define DMA_INTMASK1_MSKTC_5 (0x00000020UL)
  3769. #define DMA_INTMASK1_MSKBTC_POS (16U)
  3770. #define DMA_INTMASK1_MSKBTC (0x003F0000UL)
  3771. #define DMA_INTMASK1_MSKBTC_0 (0x00010000UL)
  3772. #define DMA_INTMASK1_MSKBTC_1 (0x00020000UL)
  3773. #define DMA_INTMASK1_MSKBTC_2 (0x00040000UL)
  3774. #define DMA_INTMASK1_MSKBTC_3 (0x00080000UL)
  3775. #define DMA_INTMASK1_MSKBTC_4 (0x00100000UL)
  3776. #define DMA_INTMASK1_MSKBTC_5 (0x00200000UL)
  3777. /* Bit definition for DMA_INTCLR0 register */
  3778. #define DMA_INTCLR0_CLRTRNERR_POS (0U)
  3779. #define DMA_INTCLR0_CLRTRNERR (0x0000003FUL)
  3780. #define DMA_INTCLR0_CLRTRNERR_0 (0x00000001UL)
  3781. #define DMA_INTCLR0_CLRTRNERR_1 (0x00000002UL)
  3782. #define DMA_INTCLR0_CLRTRNERR_2 (0x00000004UL)
  3783. #define DMA_INTCLR0_CLRTRNERR_3 (0x00000008UL)
  3784. #define DMA_INTCLR0_CLRTRNERR_4 (0x00000010UL)
  3785. #define DMA_INTCLR0_CLRTRNERR_5 (0x00000020UL)
  3786. #define DMA_INTCLR0_CLRREQERR_POS (16U)
  3787. #define DMA_INTCLR0_CLRREQERR (0x003F0000UL)
  3788. #define DMA_INTCLR0_CLRREQERR_0 (0x00010000UL)
  3789. #define DMA_INTCLR0_CLRREQERR_1 (0x00020000UL)
  3790. #define DMA_INTCLR0_CLRREQERR_2 (0x00040000UL)
  3791. #define DMA_INTCLR0_CLRREQERR_3 (0x00080000UL)
  3792. #define DMA_INTCLR0_CLRREQERR_4 (0x00100000UL)
  3793. #define DMA_INTCLR0_CLRREQERR_5 (0x00200000UL)
  3794. /* Bit definition for DMA_INTCLR1 register */
  3795. #define DMA_INTCLR1_CLRTC_POS (0U)
  3796. #define DMA_INTCLR1_CLRTC (0x0000003FUL)
  3797. #define DMA_INTCLR1_CLRTC_0 (0x00000001UL)
  3798. #define DMA_INTCLR1_CLRTC_1 (0x00000002UL)
  3799. #define DMA_INTCLR1_CLRTC_2 (0x00000004UL)
  3800. #define DMA_INTCLR1_CLRTC_3 (0x00000008UL)
  3801. #define DMA_INTCLR1_CLRTC_4 (0x00000010UL)
  3802. #define DMA_INTCLR1_CLRTC_5 (0x00000020UL)
  3803. #define DMA_INTCLR1_CLRBTC_POS (16U)
  3804. #define DMA_INTCLR1_CLRBTC (0x003F0000UL)
  3805. #define DMA_INTCLR1_CLRBTC_0 (0x00010000UL)
  3806. #define DMA_INTCLR1_CLRBTC_1 (0x00020000UL)
  3807. #define DMA_INTCLR1_CLRBTC_2 (0x00040000UL)
  3808. #define DMA_INTCLR1_CLRBTC_3 (0x00080000UL)
  3809. #define DMA_INTCLR1_CLRBTC_4 (0x00100000UL)
  3810. #define DMA_INTCLR1_CLRBTC_5 (0x00200000UL)
  3811. /* Bit definition for DMA_CHEN register */
  3812. #define DMA_CHEN_CHEN (0x0000003FUL)
  3813. #define DMA_CHEN_CHEN_0 (0x00000001UL)
  3814. #define DMA_CHEN_CHEN_1 (0x00000002UL)
  3815. #define DMA_CHEN_CHEN_2 (0x00000004UL)
  3816. #define DMA_CHEN_CHEN_3 (0x00000008UL)
  3817. #define DMA_CHEN_CHEN_4 (0x00000010UL)
  3818. #define DMA_CHEN_CHEN_5 (0x00000020UL)
  3819. /* Bit definition for DMA_REQSTAT register */
  3820. #define DMA_REQSTAT_CHREQ_POS (0U)
  3821. #define DMA_REQSTAT_CHREQ (0x0000003FUL)
  3822. #define DMA_REQSTAT_CHREQ_0 (0x00000001UL)
  3823. #define DMA_REQSTAT_CHREQ_1 (0x00000002UL)
  3824. #define DMA_REQSTAT_CHREQ_2 (0x00000004UL)
  3825. #define DMA_REQSTAT_CHREQ_3 (0x00000008UL)
  3826. #define DMA_REQSTAT_CHREQ_4 (0x00000010UL)
  3827. #define DMA_REQSTAT_CHREQ_5 (0x00000020UL)
  3828. #define DMA_REQSTAT_RCFGREQ_POS (15U)
  3829. #define DMA_REQSTAT_RCFGREQ (0x00008000UL)
  3830. /* Bit definition for DMA_CHSTAT register */
  3831. #define DMA_CHSTAT_DMAACT_POS (0U)
  3832. #define DMA_CHSTAT_DMAACT (0x00000001UL)
  3833. #define DMA_CHSTAT_RCFGACT_POS (1U)
  3834. #define DMA_CHSTAT_RCFGACT (0x00000002UL)
  3835. #define DMA_CHSTAT_CHACT_POS (16U)
  3836. #define DMA_CHSTAT_CHACT (0x003F0000UL)
  3837. #define DMA_CHSTAT_CHACT_0 (0x00010000UL)
  3838. #define DMA_CHSTAT_CHACT_1 (0x00020000UL)
  3839. #define DMA_CHSTAT_CHACT_2 (0x00040000UL)
  3840. #define DMA_CHSTAT_CHACT_3 (0x00080000UL)
  3841. #define DMA_CHSTAT_CHACT_4 (0x00100000UL)
  3842. #define DMA_CHSTAT_CHACT_5 (0x00200000UL)
  3843. /* Bit definition for DMA_RCFGCTL register */
  3844. #define DMA_RCFGCTL_RCFGEN_POS (0U)
  3845. #define DMA_RCFGCTL_RCFGEN (0x00000001UL)
  3846. #define DMA_RCFGCTL_RCFGLLP_POS (1U)
  3847. #define DMA_RCFGCTL_RCFGLLP (0x00000002UL)
  3848. #define DMA_RCFGCTL_RCFGCHS_POS (8U)
  3849. #define DMA_RCFGCTL_RCFGCHS (0x00000F00UL)
  3850. #define DMA_RCFGCTL_SARMD_POS (16U)
  3851. #define DMA_RCFGCTL_SARMD (0x00030000UL)
  3852. #define DMA_RCFGCTL_SARMD_0 (0x00010000UL)
  3853. #define DMA_RCFGCTL_SARMD_1 (0x00020000UL)
  3854. #define DMA_RCFGCTL_DARMD_POS (18U)
  3855. #define DMA_RCFGCTL_DARMD (0x000C0000UL)
  3856. #define DMA_RCFGCTL_DARMD_0 (0x00040000UL)
  3857. #define DMA_RCFGCTL_DARMD_1 (0x00080000UL)
  3858. #define DMA_RCFGCTL_CNTMD_POS (20U)
  3859. #define DMA_RCFGCTL_CNTMD (0x00300000UL)
  3860. #define DMA_RCFGCTL_CNTMD_0 (0x00100000UL)
  3861. #define DMA_RCFGCTL_CNTMD_1 (0x00200000UL)
  3862. /* Bit definition for DMA_CHENCLR register */
  3863. #define DMA_CHENCLR_CHENCLR (0x0000003FUL)
  3864. #define DMA_CHENCLR_CHENCLR_0 (0x00000001UL)
  3865. #define DMA_CHENCLR_CHENCLR_1 (0x00000002UL)
  3866. #define DMA_CHENCLR_CHENCLR_2 (0x00000004UL)
  3867. #define DMA_CHENCLR_CHENCLR_3 (0x00000008UL)
  3868. #define DMA_CHENCLR_CHENCLR_4 (0x00000010UL)
  3869. #define DMA_CHENCLR_CHENCLR_5 (0x00000020UL)
  3870. /* Bit definition for DMA_SAR register */
  3871. #define DMA_SAR (0xFFFFFFFFUL)
  3872. /* Bit definition for DMA_DAR register */
  3873. #define DMA_DAR (0xFFFFFFFFUL)
  3874. /* Bit definition for DMA_DTCTL register */
  3875. #define DMA_DTCTL_BLKSIZE_POS (0U)
  3876. #define DMA_DTCTL_BLKSIZE (0x000003FFUL)
  3877. #define DMA_DTCTL_CNT_POS (16U)
  3878. #define DMA_DTCTL_CNT (0xFFFF0000UL)
  3879. /* Bit definition for DMA_RPT register */
  3880. #define DMA_RPT_SRPT_POS (0U)
  3881. #define DMA_RPT_SRPT (0x000003FFUL)
  3882. #define DMA_RPT_DRPT_POS (16U)
  3883. #define DMA_RPT_DRPT (0x03FF0000UL)
  3884. /* Bit definition for DMA_RPTB register */
  3885. #define DMA_RPTB_SRPTB_POS (0U)
  3886. #define DMA_RPTB_SRPTB (0x000003FFUL)
  3887. #define DMA_RPTB_DRPTB_POS (16U)
  3888. #define DMA_RPTB_DRPTB (0x03FF0000UL)
  3889. /* Bit definition for DMA_SNSEQCTL register */
  3890. #define DMA_SNSEQCTL_SOFFSET_POS (0U)
  3891. #define DMA_SNSEQCTL_SOFFSET (0x000FFFFFUL)
  3892. #define DMA_SNSEQCTL_SNSCNT_POS (20U)
  3893. #define DMA_SNSEQCTL_SNSCNT (0xFFF00000UL)
  3894. /* Bit definition for DMA_SNSEQCTLB register */
  3895. #define DMA_SNSEQCTLB_SNSDIST_POS (0U)
  3896. #define DMA_SNSEQCTLB_SNSDIST (0x000FFFFFUL)
  3897. #define DMA_SNSEQCTLB_SNSCNTB_POS (20U)
  3898. #define DMA_SNSEQCTLB_SNSCNTB (0xFFF00000UL)
  3899. /* Bit definition for DMA_DNSEQCTL register */
  3900. #define DMA_DNSEQCTL_DOFFSET_POS (0U)
  3901. #define DMA_DNSEQCTL_DOFFSET (0x000FFFFFUL)
  3902. #define DMA_DNSEQCTL_DNSCNT_POS (20U)
  3903. #define DMA_DNSEQCTL_DNSCNT (0xFFF00000UL)
  3904. /* Bit definition for DMA_DNSEQCTLB register */
  3905. #define DMA_DNSEQCTLB_DNSDIST_POS (0U)
  3906. #define DMA_DNSEQCTLB_DNSDIST (0x000FFFFFUL)
  3907. #define DMA_DNSEQCTLB_DNSCNTB_POS (20U)
  3908. #define DMA_DNSEQCTLB_DNSCNTB (0xFFF00000UL)
  3909. /* Bit definition for DMA_LLP register */
  3910. #define DMA_LLP_LLP_POS (2U)
  3911. #define DMA_LLP_LLP (0xFFFFFFFCUL)
  3912. /* Bit definition for DMA_CHCTL register */
  3913. #define DMA_CHCTL_SINC_POS (0U)
  3914. #define DMA_CHCTL_SINC (0x00000003UL)
  3915. #define DMA_CHCTL_SINC_0 (0x00000001UL)
  3916. #define DMA_CHCTL_SINC_1 (0x00000002UL)
  3917. #define DMA_CHCTL_DINC_POS (2U)
  3918. #define DMA_CHCTL_DINC (0x0000000CUL)
  3919. #define DMA_CHCTL_DINC_0 (0x00000004UL)
  3920. #define DMA_CHCTL_DINC_1 (0x00000008UL)
  3921. #define DMA_CHCTL_SRPTEN_POS (4U)
  3922. #define DMA_CHCTL_SRPTEN (0x00000010UL)
  3923. #define DMA_CHCTL_DRPTEN_POS (5U)
  3924. #define DMA_CHCTL_DRPTEN (0x00000020UL)
  3925. #define DMA_CHCTL_SNSEQEN_POS (6U)
  3926. #define DMA_CHCTL_SNSEQEN (0x00000040UL)
  3927. #define DMA_CHCTL_DNSEQEN_POS (7U)
  3928. #define DMA_CHCTL_DNSEQEN (0x00000080UL)
  3929. #define DMA_CHCTL_HSIZE_POS (8U)
  3930. #define DMA_CHCTL_HSIZE (0x00000300UL)
  3931. #define DMA_CHCTL_HSIZE_0 (0x00000100UL)
  3932. #define DMA_CHCTL_HSIZE_1 (0x00000200UL)
  3933. #define DMA_CHCTL_LLPEN_POS (10U)
  3934. #define DMA_CHCTL_LLPEN (0x00000400UL)
  3935. #define DMA_CHCTL_LLPRUN_POS (11U)
  3936. #define DMA_CHCTL_LLPRUN (0x00000800UL)
  3937. #define DMA_CHCTL_IE_POS (12U)
  3938. #define DMA_CHCTL_IE (0x00001000UL)
  3939. /* Bit definition for DMA_MONSAR register */
  3940. #define DMA_MONSAR (0xFFFFFFFFUL)
  3941. /* Bit definition for DMA_MONDAR register */
  3942. #define DMA_MONDAR (0xFFFFFFFFUL)
  3943. /* Bit definition for DMA_MONDTCTL register */
  3944. #define DMA_MONDTCTL_BLKSIZE_POS (0U)
  3945. #define DMA_MONDTCTL_BLKSIZE (0x000003FFUL)
  3946. #define DMA_MONDTCTL_CNT_POS (16U)
  3947. #define DMA_MONDTCTL_CNT (0xFFFF0000UL)
  3948. /* Bit definition for DMA_MONRPT register */
  3949. #define DMA_MONRPT_SRPT_POS (0U)
  3950. #define DMA_MONRPT_SRPT (0x000003FFUL)
  3951. #define DMA_MONRPT_DRPT_POS (16U)
  3952. #define DMA_MONRPT_DRPT (0x03FF0000UL)
  3953. /* Bit definition for DMA_MONSNSEQCTL register */
  3954. #define DMA_MONSNSEQCTL_SOFFSET_POS (0U)
  3955. #define DMA_MONSNSEQCTL_SOFFSET (0x000FFFFFUL)
  3956. #define DMA_MONSNSEQCTL_SNSCNT_POS (20U)
  3957. #define DMA_MONSNSEQCTL_SNSCNT (0xFFF00000UL)
  3958. /* Bit definition for DMA_MONDNSEQCTL register */
  3959. #define DMA_MONDNSEQCTL_DOFFSET_POS (0U)
  3960. #define DMA_MONDNSEQCTL_DOFFSET (0x000FFFFFUL)
  3961. #define DMA_MONDNSEQCTL_DNSCNT_POS (20U)
  3962. #define DMA_MONDNSEQCTL_DNSCNT (0xFFF00000UL)
  3963. /*******************************************************************************
  3964. Bit definition for Peripheral EFM
  3965. *******************************************************************************/
  3966. /* Bit definition for EFM_FAPRT register */
  3967. #define EFM_FAPRT_FAPRT (0x0000FFFFUL)
  3968. /* Bit definition for EFM_KEY1 register */
  3969. #define EFM_KEY1 (0xFFFFFFFFUL)
  3970. /* Bit definition for EFM_KEY2 register */
  3971. #define EFM_KEY2 (0xFFFFFFFFUL)
  3972. /* Bit definition for EFM_FSTP register */
  3973. #define EFM_FSTP_FSTP (0x00000001UL)
  3974. /* Bit definition for EFM_FRMC register */
  3975. #define EFM_FRMC_FLWT_POS (0U)
  3976. #define EFM_FRMC_FLWT (0x0000000FUL)
  3977. #define EFM_FRMC_LVM_POS (8U)
  3978. #define EFM_FRMC_LVM (0x00000100UL)
  3979. #define EFM_FRMC_ICACHE_POS (16U)
  3980. #define EFM_FRMC_ICACHE (0x00010000UL)
  3981. #define EFM_FRMC_DCACHE_POS (17U)
  3982. #define EFM_FRMC_DCACHE (0x00020000UL)
  3983. #define EFM_FRMC_PREFETE_POS (18U)
  3984. #define EFM_FRMC_PREFETE (0x00040000UL)
  3985. #define EFM_FRMC_CRST_POS (19U)
  3986. #define EFM_FRMC_CRST (0x00080000UL)
  3987. /* Bit definition for EFM_FWMC register */
  3988. #define EFM_FWMC_PEMOD_POS (0U)
  3989. #define EFM_FWMC_PEMOD (0x00000007UL)
  3990. #define EFM_FWMC_BUSHLDCTL_POS (8U)
  3991. #define EFM_FWMC_BUSHLDCTL (0x00000100UL)
  3992. #define EFM_FWMC_KEY1LOCK_POS (16U)
  3993. #define EFM_FWMC_KEY1LOCK (0x00010000UL)
  3994. #define EFM_FWMC_KEY2LOCK_POS (17U)
  3995. #define EFM_FWMC_KEY2LOCK (0x00020000UL)
  3996. /* Bit definition for EFM_FSR register */
  3997. #define EFM_FSR_OTPWERR_POS (0U)
  3998. #define EFM_FSR_OTPWERR (0x00000001UL)
  3999. #define EFM_FSR_PRTWERR_POS (1U)
  4000. #define EFM_FSR_PRTWERR (0x00000002UL)
  4001. #define EFM_FSR_PGSZERR_POS (2U)
  4002. #define EFM_FSR_PGSZERR (0x00000004UL)
  4003. #define EFM_FSR_MISMTCH_POS (3U)
  4004. #define EFM_FSR_MISMTCH (0x00000008UL)
  4005. #define EFM_FSR_OPTEND_POS (4U)
  4006. #define EFM_FSR_OPTEND (0x00000010UL)
  4007. #define EFM_FSR_COLERR_POS (5U)
  4008. #define EFM_FSR_COLERR (0x00000020UL)
  4009. #define EFM_FSR_RDY_POS (8U)
  4010. #define EFM_FSR_RDY (0x00000100UL)
  4011. /* Bit definition for EFM_FSCLR register */
  4012. #define EFM_FSCLR_OTPWERRCLR_POS (0U)
  4013. #define EFM_FSCLR_OTPWERRCLR (0x00000001UL)
  4014. #define EFM_FSCLR_PRTWERRCLR_POS (1U)
  4015. #define EFM_FSCLR_PRTWERRCLR (0x00000002UL)
  4016. #define EFM_FSCLR_PGSZERRCLR_POS (2U)
  4017. #define EFM_FSCLR_PGSZERRCLR (0x00000004UL)
  4018. #define EFM_FSCLR_MISMTCHCLR_POS (3U)
  4019. #define EFM_FSCLR_MISMTCHCLR (0x00000008UL)
  4020. #define EFM_FSCLR_OPTENDCLR_POS (4U)
  4021. #define EFM_FSCLR_OPTENDCLR (0x00000010UL)
  4022. #define EFM_FSCLR_COLERRCLR_POS (5U)
  4023. #define EFM_FSCLR_COLERRCLR (0x00000020UL)
  4024. /* Bit definition for EFM_FITE register */
  4025. #define EFM_FITE_PEERRITE_POS (0U)
  4026. #define EFM_FITE_PEERRITE (0x00000001UL)
  4027. #define EFM_FITE_OPTENDITE_POS (1U)
  4028. #define EFM_FITE_OPTENDITE (0x00000002UL)
  4029. #define EFM_FITE_COLERRITE_POS (2U)
  4030. #define EFM_FITE_COLERRITE (0x00000004UL)
  4031. /* Bit definition for EFM_FSWP register */
  4032. #define EFM_FSWP_FSWP (0x00000001UL)
  4033. /* Bit definition for EFM_CHIPID register */
  4034. #define EFM_CHIPID (0xFFFFFFFFUL)
  4035. /* Bit definition for EFM_UQID0 register */
  4036. #define EFM_UQID0 (0xFFFFFFFFUL)
  4037. /* Bit definition for EFM_UQID1 register */
  4038. #define EFM_UQID1 (0xFFFFFFFFUL)
  4039. /* Bit definition for EFM_UQID2 register */
  4040. #define EFM_UQID2 (0xFFFFFFFFUL)
  4041. /* Bit definition for EFM_MMF_REMPRT register */
  4042. #define EFM_MMF_REMPRT_MMF_REMPRT (0x0000FFFFUL)
  4043. /* Bit definition for EFM_MMF_REMCR register */
  4044. #define EFM_MMF_REMCR_RMSIZE_POS (0U)
  4045. #define EFM_MMF_REMCR_RMSIZE (0x0000001FUL)
  4046. #define EFM_MMF_REMCR_RMTADDR_POS (12U)
  4047. #define EFM_MMF_REMCR_RMTADDR (0x1FFFF000UL)
  4048. #define EFM_MMF_REMCR_EN_POS (31U)
  4049. #define EFM_MMF_REMCR_EN (0x80000000UL)
  4050. /* Bit definition for EFM_MMF_REMCR1 register */
  4051. #define EFM_MMF_REMCR1_RMSIZE_POS (0U)
  4052. #define EFM_MMF_REMCR1_RMSIZE (0x0000001FUL)
  4053. #define EFM_MMF_REMCR1_RMTADDR_POS (12U)
  4054. #define EFM_MMF_REMCR1_RMTADDR (0x1FFFF000UL)
  4055. #define EFM_MMF_REMCR1_EN_POS (31U)
  4056. #define EFM_MMF_REMCR1_EN (0x80000000UL)
  4057. /* Bit definition for EFM_WLOCK register */
  4058. #define EFM_WLOCK_WLOCK0 (0x00000001UL)
  4059. /* Bit definition for EFM_F0NWPRT register */
  4060. #define EFM_F0NWPRT_F0NWPRT0_POS (0U)
  4061. #define EFM_F0NWPRT_F0NWPRT0 (0x00000001UL)
  4062. #define EFM_F0NWPRT_F0NWPRT1_POS (1U)
  4063. #define EFM_F0NWPRT_F0NWPRT1 (0x00000002UL)
  4064. #define EFM_F0NWPRT_F0NWPRT2_POS (2U)
  4065. #define EFM_F0NWPRT_F0NWPRT2 (0x00000004UL)
  4066. #define EFM_F0NWPRT_F0NWPRT3_POS (3U)
  4067. #define EFM_F0NWPRT_F0NWPRT3 (0x00000008UL)
  4068. #define EFM_F0NWPRT_F0NWPRT4_POS (4U)
  4069. #define EFM_F0NWPRT_F0NWPRT4 (0x00000010UL)
  4070. #define EFM_F0NWPRT_F0NWPRT5_POS (5U)
  4071. #define EFM_F0NWPRT_F0NWPRT5 (0x00000020UL)
  4072. #define EFM_F0NWPRT_F0NWPRT6_POS (6U)
  4073. #define EFM_F0NWPRT_F0NWPRT6 (0x00000040UL)
  4074. #define EFM_F0NWPRT_F0NWPRT7_POS (7U)
  4075. #define EFM_F0NWPRT_F0NWPRT7 (0x00000080UL)
  4076. #define EFM_F0NWPRT_F0NWPRT8_POS (8U)
  4077. #define EFM_F0NWPRT_F0NWPRT8 (0x00000100UL)
  4078. #define EFM_F0NWPRT_F0NWPRT9_POS (9U)
  4079. #define EFM_F0NWPRT_F0NWPRT9 (0x00000200UL)
  4080. #define EFM_F0NWPRT_F0NWPRT10_POS (10U)
  4081. #define EFM_F0NWPRT_F0NWPRT10 (0x00000400UL)
  4082. #define EFM_F0NWPRT_F0NWPRT11_POS (11U)
  4083. #define EFM_F0NWPRT_F0NWPRT11 (0x00000800UL)
  4084. #define EFM_F0NWPRT_F0NWPRT12_POS (12U)
  4085. #define EFM_F0NWPRT_F0NWPRT12 (0x00001000UL)
  4086. #define EFM_F0NWPRT_F0NWPRT13_POS (13U)
  4087. #define EFM_F0NWPRT_F0NWPRT13 (0x00002000UL)
  4088. #define EFM_F0NWPRT_F0NWPRT14_POS (14U)
  4089. #define EFM_F0NWPRT_F0NWPRT14 (0x00004000UL)
  4090. #define EFM_F0NWPRT_F0NWPRT15_POS (15U)
  4091. #define EFM_F0NWPRT_F0NWPRT15 (0x00008000UL)
  4092. #define EFM_F0NWPRT_F0NWPRT16_POS (16U)
  4093. #define EFM_F0NWPRT_F0NWPRT16 (0x00010000UL)
  4094. #define EFM_F0NWPRT_F0NWPRT17_POS (17U)
  4095. #define EFM_F0NWPRT_F0NWPRT17 (0x00020000UL)
  4096. #define EFM_F0NWPRT_F0NWPRT18_POS (18U)
  4097. #define EFM_F0NWPRT_F0NWPRT18 (0x00040000UL)
  4098. #define EFM_F0NWPRT_F0NWPRT19_POS (19U)
  4099. #define EFM_F0NWPRT_F0NWPRT19 (0x00080000UL)
  4100. #define EFM_F0NWPRT_F0NWPRT20_POS (20U)
  4101. #define EFM_F0NWPRT_F0NWPRT20 (0x00100000UL)
  4102. #define EFM_F0NWPRT_F0NWPRT21_POS (21U)
  4103. #define EFM_F0NWPRT_F0NWPRT21 (0x00200000UL)
  4104. #define EFM_F0NWPRT_F0NWPRT22_POS (22U)
  4105. #define EFM_F0NWPRT_F0NWPRT22 (0x00400000UL)
  4106. #define EFM_F0NWPRT_F0NWPRT23_POS (23U)
  4107. #define EFM_F0NWPRT_F0NWPRT23 (0x00800000UL)
  4108. #define EFM_F0NWPRT_F0NWPRT24_POS (24U)
  4109. #define EFM_F0NWPRT_F0NWPRT24 (0x01000000UL)
  4110. #define EFM_F0NWPRT_F0NWPRT25_POS (25U)
  4111. #define EFM_F0NWPRT_F0NWPRT25 (0x02000000UL)
  4112. #define EFM_F0NWPRT_F0NWPRT26_POS (26U)
  4113. #define EFM_F0NWPRT_F0NWPRT26 (0x04000000UL)
  4114. #define EFM_F0NWPRT_F0NWPRT27_POS (27U)
  4115. #define EFM_F0NWPRT_F0NWPRT27 (0x08000000UL)
  4116. #define EFM_F0NWPRT_F0NWPRT28_POS (28U)
  4117. #define EFM_F0NWPRT_F0NWPRT28 (0x10000000UL)
  4118. #define EFM_F0NWPRT_F0NWPRT29_POS (29U)
  4119. #define EFM_F0NWPRT_F0NWPRT29 (0x20000000UL)
  4120. #define EFM_F0NWPRT_F0NWPRT30_POS (30U)
  4121. #define EFM_F0NWPRT_F0NWPRT30 (0x40000000UL)
  4122. #define EFM_F0NWPRT_F0NWPRT31_POS (31U)
  4123. #define EFM_F0NWPRT_F0NWPRT31 (0x80000000UL)
  4124. /*******************************************************************************
  4125. Bit definition for Peripheral EMB
  4126. *******************************************************************************/
  4127. /* Bit definition for EMB_CTL1 register */
  4128. #define EMB_CTL1_CMPEN0_POS (0U)
  4129. #define EMB_CTL1_CMPEN0 (0x00000001UL)
  4130. #define EMB_CTL1_CMPEN1_POS (1U)
  4131. #define EMB_CTL1_CMPEN1 (0x00000002UL)
  4132. #define EMB_CTL1_CMPEN2_POS (2U)
  4133. #define EMB_CTL1_CMPEN2 (0x00000004UL)
  4134. #define EMB_CTL1_CMPEN3_POS (3U)
  4135. #define EMB_CTL1_CMPEN3 (0x00000008UL)
  4136. #define EMB_CTL1_SYSEN_POS (4U)
  4137. #define EMB_CTL1_SYSEN (0x00000010UL)
  4138. #define EMB_CTL1_PWMSEN0_POS (5U)
  4139. #define EMB_CTL1_PWMSEN0 (0x00000020UL)
  4140. #define EMB_CTL1_PWMSEN1_POS (6U)
  4141. #define EMB_CTL1_PWMSEN1 (0x00000040UL)
  4142. #define EMB_CTL1_PWMSEN2_POS (7U)
  4143. #define EMB_CTL1_PWMSEN2 (0x00000080UL)
  4144. #define EMB_CTL1_PWMSEN3_POS (8U)
  4145. #define EMB_CTL1_PWMSEN3 (0x00000100UL)
  4146. #define EMB_CTL1_PORTINEN1_POS (16U)
  4147. #define EMB_CTL1_PORTINEN1 (0x00010000UL)
  4148. #define EMB_CTL1_PORTINEN2_POS (17U)
  4149. #define EMB_CTL1_PORTINEN2 (0x00020000UL)
  4150. #define EMB_CTL1_PORTINEN3_POS (18U)
  4151. #define EMB_CTL1_PORTINEN3 (0x00040000UL)
  4152. #define EMB_CTL1_PORTINEN4_POS (19U)
  4153. #define EMB_CTL1_PORTINEN4 (0x00080000UL)
  4154. #define EMB_CTL1_INVSEL1_POS (22U)
  4155. #define EMB_CTL1_INVSEL1 (0x00400000UL)
  4156. #define EMB_CTL1_INVSEL2_POS (23U)
  4157. #define EMB_CTL1_INVSEL2 (0x00800000UL)
  4158. #define EMB_CTL1_INVSEL3_POS (24U)
  4159. #define EMB_CTL1_INVSEL3 (0x01000000UL)
  4160. #define EMB_CTL1_INVSEL4_POS (25U)
  4161. #define EMB_CTL1_INVSEL4 (0x02000000UL)
  4162. #define EMB_CTL1_OSCSTPEN_POS (27U)
  4163. #define EMB_CTL1_OSCSTPEN (0x08000000UL)
  4164. #define EMB_CTL1_SRAMERREN_POS (28U)
  4165. #define EMB_CTL1_SRAMERREN (0x10000000UL)
  4166. #define EMB_CTL1_SRAMPYERREN_POS (29U)
  4167. #define EMB_CTL1_SRAMPYERREN (0x20000000UL)
  4168. #define EMB_CTL1_LOCKUPEN_POS (30U)
  4169. #define EMB_CTL1_LOCKUPEN (0x40000000UL)
  4170. #define EMB_CTL1_PVDEN_POS (31U)
  4171. #define EMB_CTL1_PVDEN (0x80000000UL)
  4172. /* Bit definition for EMB_CTL2 register */
  4173. #define EMB_CTL2_PWMLV0_POS (0U)
  4174. #define EMB_CTL2_PWMLV0 (0x00000001UL)
  4175. #define EMB_CTL2_PWMLV1_POS (1U)
  4176. #define EMB_CTL2_PWMLV1 (0x00000002UL)
  4177. #define EMB_CTL2_PWMLV2_POS (2U)
  4178. #define EMB_CTL2_PWMLV2 (0x00000004UL)
  4179. #define EMB_CTL2_PWMLV3_POS (3U)
  4180. #define EMB_CTL2_PWMLV3 (0x00000008UL)
  4181. #define EMB_CTL2_NFSEL1_POS (16U)
  4182. #define EMB_CTL2_NFSEL1 (0x00030000UL)
  4183. #define EMB_CTL2_NFEN1_POS (18U)
  4184. #define EMB_CTL2_NFEN1 (0x00040000UL)
  4185. #define EMB_CTL2_NFSEL2_POS (19U)
  4186. #define EMB_CTL2_NFSEL2 (0x00180000UL)
  4187. #define EMB_CTL2_NFEN2_POS (21U)
  4188. #define EMB_CTL2_NFEN2 (0x00200000UL)
  4189. #define EMB_CTL2_NFSEL3_POS (22U)
  4190. #define EMB_CTL2_NFSEL3 (0x00C00000UL)
  4191. #define EMB_CTL2_NFEN3_POS (24U)
  4192. #define EMB_CTL2_NFEN3 (0x01000000UL)
  4193. #define EMB_CTL2_NFSEL4_POS (25U)
  4194. #define EMB_CTL2_NFSEL4 (0x06000000UL)
  4195. #define EMB_CTL2_NFEN4_POS (27U)
  4196. #define EMB_CTL2_NFEN4 (0x08000000UL)
  4197. /* Bit definition for EMB_SOE register */
  4198. #define EMB_SOE_SOE (0x00000001UL)
  4199. /* Bit definition for EMB_STAT register */
  4200. #define EMB_STAT_PWMSF_POS (1U)
  4201. #define EMB_STAT_PWMSF (0x00000002UL)
  4202. #define EMB_STAT_CMPF_POS (2U)
  4203. #define EMB_STAT_CMPF (0x00000004UL)
  4204. #define EMB_STAT_SYSF_POS (3U)
  4205. #define EMB_STAT_SYSF (0x00000008UL)
  4206. #define EMB_STAT_PWMST_POS (5U)
  4207. #define EMB_STAT_PWMST (0x00000020UL)
  4208. #define EMB_STAT_CMPST_POS (6U)
  4209. #define EMB_STAT_CMPST (0x00000040UL)
  4210. #define EMB_STAT_SYSST_POS (7U)
  4211. #define EMB_STAT_SYSST (0x00000080UL)
  4212. #define EMB_STAT_PORTINF1_POS (8U)
  4213. #define EMB_STAT_PORTINF1 (0x00000100UL)
  4214. #define EMB_STAT_PORTINF2_POS (9U)
  4215. #define EMB_STAT_PORTINF2 (0x00000200UL)
  4216. #define EMB_STAT_PORTINF3_POS (10U)
  4217. #define EMB_STAT_PORTINF3 (0x00000400UL)
  4218. #define EMB_STAT_PORTINF4_POS (11U)
  4219. #define EMB_STAT_PORTINF4 (0x00000800UL)
  4220. #define EMB_STAT_PORTINST1_POS (14U)
  4221. #define EMB_STAT_PORTINST1 (0x00004000UL)
  4222. #define EMB_STAT_PORTINST2_POS (15U)
  4223. #define EMB_STAT_PORTINST2 (0x00008000UL)
  4224. #define EMB_STAT_PORTINST3_POS (16U)
  4225. #define EMB_STAT_PORTINST3 (0x00010000UL)
  4226. #define EMB_STAT_PORTINST4_POS (17U)
  4227. #define EMB_STAT_PORTINST4 (0x00020000UL)
  4228. /* Bit definition for EMB_STATCLR register */
  4229. #define EMB_STATCLR_PWMSFCLR_POS (1U)
  4230. #define EMB_STATCLR_PWMSFCLR (0x00000002UL)
  4231. #define EMB_STATCLR_CMPFCLR_POS (2U)
  4232. #define EMB_STATCLR_CMPFCLR (0x00000004UL)
  4233. #define EMB_STATCLR_SYSFCLR_POS (3U)
  4234. #define EMB_STATCLR_SYSFCLR (0x00000008UL)
  4235. #define EMB_STATCLR_PORTINFCLR1_POS (8U)
  4236. #define EMB_STATCLR_PORTINFCLR1 (0x00000100UL)
  4237. #define EMB_STATCLR_PORTINFCLR2_POS (9U)
  4238. #define EMB_STATCLR_PORTINFCLR2 (0x00000200UL)
  4239. #define EMB_STATCLR_PORTINFCLR3_POS (10U)
  4240. #define EMB_STATCLR_PORTINFCLR3 (0x00000400UL)
  4241. #define EMB_STATCLR_PORTINFCLR4_POS (11U)
  4242. #define EMB_STATCLR_PORTINFCLR4 (0x00000800UL)
  4243. /* Bit definition for EMB_INTEN register */
  4244. #define EMB_INTEN_PWMSINTEN_POS (1U)
  4245. #define EMB_INTEN_PWMSINTEN (0x00000002UL)
  4246. #define EMB_INTEN_CMPINTEN_POS (2U)
  4247. #define EMB_INTEN_CMPINTEN (0x00000004UL)
  4248. #define EMB_INTEN_SYSINTEN_POS (3U)
  4249. #define EMB_INTEN_SYSINTEN (0x00000008UL)
  4250. #define EMB_INTEN_PORTININTEN1_POS (8U)
  4251. #define EMB_INTEN_PORTININTEN1 (0x00000100UL)
  4252. #define EMB_INTEN_PORTININTEN2_POS (9U)
  4253. #define EMB_INTEN_PORTININTEN2 (0x00000200UL)
  4254. #define EMB_INTEN_PORTININTEN3_POS (10U)
  4255. #define EMB_INTEN_PORTININTEN3 (0x00000400UL)
  4256. #define EMB_INTEN_PORTININTEN4_POS (11U)
  4257. #define EMB_INTEN_PORTININTEN4 (0x00000800UL)
  4258. /* Bit definition for EMB_RLSSEL register */
  4259. #define EMB_RLSSEL_PWMRSEL_POS (1U)
  4260. #define EMB_RLSSEL_PWMRSEL (0x00000002UL)
  4261. #define EMB_RLSSEL_CMPRSEL_POS (2U)
  4262. #define EMB_RLSSEL_CMPRSEL (0x00000004UL)
  4263. #define EMB_RLSSEL_SYSRSEL_POS (3U)
  4264. #define EMB_RLSSEL_SYSRSEL (0x00000008UL)
  4265. #define EMB_RLSSEL_PORTINRSEL1_POS (8U)
  4266. #define EMB_RLSSEL_PORTINRSEL1 (0x00000100UL)
  4267. #define EMB_RLSSEL_PORTINRSEL2_POS (9U)
  4268. #define EMB_RLSSEL_PORTINRSEL2 (0x00000200UL)
  4269. #define EMB_RLSSEL_PORTINRSEL3_POS (10U)
  4270. #define EMB_RLSSEL_PORTINRSEL3 (0x00000400UL)
  4271. #define EMB_RLSSEL_PORTINRSEL4_POS (11U)
  4272. #define EMB_RLSSEL_PORTINRSEL4 (0x00000800UL)
  4273. /*******************************************************************************
  4274. Bit definition for Peripheral FCM
  4275. *******************************************************************************/
  4276. /* Bit definition for FCM_LVR register */
  4277. #define FCM_LVR_LVR (0x0000FFFFUL)
  4278. /* Bit definition for FCM_UVR register */
  4279. #define FCM_UVR_UVR (0x0000FFFFUL)
  4280. /* Bit definition for FCM_CNTR register */
  4281. #define FCM_CNTR_CNTR (0x0000FFFFUL)
  4282. /* Bit definition for FCM_STR register */
  4283. #define FCM_STR_START (0x00000001UL)
  4284. /* Bit definition for FCM_MCCR register */
  4285. #define FCM_MCCR_MDIVS_POS (0U)
  4286. #define FCM_MCCR_MDIVS (0x00000003UL)
  4287. #define FCM_MCCR_MDIVS_0 (0x00000001UL)
  4288. #define FCM_MCCR_MDIVS_1 (0x00000002UL)
  4289. #define FCM_MCCR_MCKS_POS (4U)
  4290. #define FCM_MCCR_MCKS (0x000000F0UL)
  4291. /* Bit definition for FCM_RCCR register */
  4292. #define FCM_RCCR_RDIVS_POS (0U)
  4293. #define FCM_RCCR_RDIVS (0x00000003UL)
  4294. #define FCM_RCCR_RDIVS_0 (0x00000001UL)
  4295. #define FCM_RCCR_RDIVS_1 (0x00000002UL)
  4296. #define FCM_RCCR_RCKS_POS (3U)
  4297. #define FCM_RCCR_RCKS (0x00000078UL)
  4298. #define FCM_RCCR_INEXS_POS (7U)
  4299. #define FCM_RCCR_INEXS (0x00000080UL)
  4300. #define FCM_RCCR_DNFS_POS (8U)
  4301. #define FCM_RCCR_DNFS (0x00000300UL)
  4302. #define FCM_RCCR_DNFS_0 (0x00000100UL)
  4303. #define FCM_RCCR_DNFS_1 (0x00000200UL)
  4304. #define FCM_RCCR_EDGES_POS (12U)
  4305. #define FCM_RCCR_EDGES (0x00003000UL)
  4306. #define FCM_RCCR_EDGES_0 (0x00001000UL)
  4307. #define FCM_RCCR_EDGES_1 (0x00002000UL)
  4308. #define FCM_RCCR_EXREFE_POS (15U)
  4309. #define FCM_RCCR_EXREFE (0x00008000UL)
  4310. /* Bit definition for FCM_RIER register */
  4311. #define FCM_RIER_ERRIE_POS (0U)
  4312. #define FCM_RIER_ERRIE (0x00000001UL)
  4313. #define FCM_RIER_MENDIE_POS (1U)
  4314. #define FCM_RIER_MENDIE (0x00000002UL)
  4315. #define FCM_RIER_OVFIE_POS (2U)
  4316. #define FCM_RIER_OVFIE (0x00000004UL)
  4317. #define FCM_RIER_ERRINTRS_POS (4U)
  4318. #define FCM_RIER_ERRINTRS (0x00000010UL)
  4319. #define FCM_RIER_ERRE_POS (7U)
  4320. #define FCM_RIER_ERRE (0x00000080UL)
  4321. /* Bit definition for FCM_SR register */
  4322. #define FCM_SR_ERRF_POS (0U)
  4323. #define FCM_SR_ERRF (0x00000001UL)
  4324. #define FCM_SR_MENDF_POS (1U)
  4325. #define FCM_SR_MENDF (0x00000002UL)
  4326. #define FCM_SR_OVF_POS (2U)
  4327. #define FCM_SR_OVF (0x00000004UL)
  4328. /* Bit definition for FCM_CLR register */
  4329. #define FCM_CLR_ERRFCLR_POS (0U)
  4330. #define FCM_CLR_ERRFCLR (0x00000001UL)
  4331. #define FCM_CLR_MENDFCLR_POS (1U)
  4332. #define FCM_CLR_MENDFCLR (0x00000002UL)
  4333. #define FCM_CLR_OVFCLR_POS (2U)
  4334. #define FCM_CLR_OVFCLR (0x00000004UL)
  4335. /*******************************************************************************
  4336. Bit definition for Peripheral GPIO
  4337. *******************************************************************************/
  4338. /* Bit definition for GPIO_PIDR register */
  4339. #define GPIO_PIDR_PIN00_POS (0U)
  4340. #define GPIO_PIDR_PIN00 (0x0001U)
  4341. #define GPIO_PIDR_PIN01_POS (1U)
  4342. #define GPIO_PIDR_PIN01 (0x0002U)
  4343. #define GPIO_PIDR_PIN02_POS (2U)
  4344. #define GPIO_PIDR_PIN02 (0x0004U)
  4345. #define GPIO_PIDR_PIN03_POS (3U)
  4346. #define GPIO_PIDR_PIN03 (0x0008U)
  4347. #define GPIO_PIDR_PIN04_POS (4U)
  4348. #define GPIO_PIDR_PIN04 (0x0010U)
  4349. #define GPIO_PIDR_PIN05_POS (5U)
  4350. #define GPIO_PIDR_PIN05 (0x0020U)
  4351. #define GPIO_PIDR_PIN06_POS (6U)
  4352. #define GPIO_PIDR_PIN06 (0x0040U)
  4353. #define GPIO_PIDR_PIN07_POS (7U)
  4354. #define GPIO_PIDR_PIN07 (0x0080U)
  4355. #define GPIO_PIDR_PIN08_POS (8U)
  4356. #define GPIO_PIDR_PIN08 (0x0100U)
  4357. #define GPIO_PIDR_PIN09_POS (9U)
  4358. #define GPIO_PIDR_PIN09 (0x0200U)
  4359. #define GPIO_PIDR_PIN10_POS (10U)
  4360. #define GPIO_PIDR_PIN10 (0x0400U)
  4361. #define GPIO_PIDR_PIN11_POS (11U)
  4362. #define GPIO_PIDR_PIN11 (0x0800U)
  4363. #define GPIO_PIDR_PIN12_POS (12U)
  4364. #define GPIO_PIDR_PIN12 (0x1000U)
  4365. #define GPIO_PIDR_PIN13_POS (13U)
  4366. #define GPIO_PIDR_PIN13 (0x2000U)
  4367. #define GPIO_PIDR_PIN14_POS (14U)
  4368. #define GPIO_PIDR_PIN14 (0x4000U)
  4369. #define GPIO_PIDR_PIN15_POS (15U)
  4370. #define GPIO_PIDR_PIN15 (0x8000U)
  4371. /* Bit definition for GPIO_PODR register */
  4372. #define GPIO_PODR_POUT00_POS (0U)
  4373. #define GPIO_PODR_POUT00 (0x0001U)
  4374. #define GPIO_PODR_POUT01_POS (1U)
  4375. #define GPIO_PODR_POUT01 (0x0002U)
  4376. #define GPIO_PODR_POUT02_POS (2U)
  4377. #define GPIO_PODR_POUT02 (0x0004U)
  4378. #define GPIO_PODR_POUT03_POS (3U)
  4379. #define GPIO_PODR_POUT03 (0x0008U)
  4380. #define GPIO_PODR_POUT04_POS (4U)
  4381. #define GPIO_PODR_POUT04 (0x0010U)
  4382. #define GPIO_PODR_POUT05_POS (5U)
  4383. #define GPIO_PODR_POUT05 (0x0020U)
  4384. #define GPIO_PODR_POUT06_POS (6U)
  4385. #define GPIO_PODR_POUT06 (0x0040U)
  4386. #define GPIO_PODR_POUT07_POS (7U)
  4387. #define GPIO_PODR_POUT07 (0x0080U)
  4388. #define GPIO_PODR_POUT08_POS (8U)
  4389. #define GPIO_PODR_POUT08 (0x0100U)
  4390. #define GPIO_PODR_POUT09_POS (9U)
  4391. #define GPIO_PODR_POUT09 (0x0200U)
  4392. #define GPIO_PODR_POUT10_POS (10U)
  4393. #define GPIO_PODR_POUT10 (0x0400U)
  4394. #define GPIO_PODR_POUT11_POS (11U)
  4395. #define GPIO_PODR_POUT11 (0x0800U)
  4396. #define GPIO_PODR_POUT12_POS (12U)
  4397. #define GPIO_PODR_POUT12 (0x1000U)
  4398. #define GPIO_PODR_POUT13_POS (13U)
  4399. #define GPIO_PODR_POUT13 (0x2000U)
  4400. #define GPIO_PODR_POUT14_POS (14U)
  4401. #define GPIO_PODR_POUT14 (0x4000U)
  4402. #define GPIO_PODR_POUT15_POS (15U)
  4403. #define GPIO_PODR_POUT15 (0x8000U)
  4404. /* Bit definition for GPIO_POER register */
  4405. #define GPIO_POER_POUTE00_POS (0U)
  4406. #define GPIO_POER_POUTE00 (0x0001U)
  4407. #define GPIO_POER_POUTE01_POS (1U)
  4408. #define GPIO_POER_POUTE01 (0x0002U)
  4409. #define GPIO_POER_POUTE02_POS (2U)
  4410. #define GPIO_POER_POUTE02 (0x0004U)
  4411. #define GPIO_POER_POUTE03_POS (3U)
  4412. #define GPIO_POER_POUTE03 (0x0008U)
  4413. #define GPIO_POER_POUTE04_POS (4U)
  4414. #define GPIO_POER_POUTE04 (0x0010U)
  4415. #define GPIO_POER_POUTE05_POS (5U)
  4416. #define GPIO_POER_POUTE05 (0x0020U)
  4417. #define GPIO_POER_POUTE06_POS (6U)
  4418. #define GPIO_POER_POUTE06 (0x0040U)
  4419. #define GPIO_POER_POUTE07_POS (7U)
  4420. #define GPIO_POER_POUTE07 (0x0080U)
  4421. #define GPIO_POER_POUTE08_POS (8U)
  4422. #define GPIO_POER_POUTE08 (0x0100U)
  4423. #define GPIO_POER_POUTE09_POS (9U)
  4424. #define GPIO_POER_POUTE09 (0x0200U)
  4425. #define GPIO_POER_POUTE10_POS (10U)
  4426. #define GPIO_POER_POUTE10 (0x0400U)
  4427. #define GPIO_POER_POUTE11_POS (11U)
  4428. #define GPIO_POER_POUTE11 (0x0800U)
  4429. #define GPIO_POER_POUTE12_POS (12U)
  4430. #define GPIO_POER_POUTE12 (0x1000U)
  4431. #define GPIO_POER_POUTE13_POS (13U)
  4432. #define GPIO_POER_POUTE13 (0x2000U)
  4433. #define GPIO_POER_POUTE14_POS (14U)
  4434. #define GPIO_POER_POUTE14 (0x4000U)
  4435. #define GPIO_POER_POUTE15_POS (15U)
  4436. #define GPIO_POER_POUTE15 (0x8000U)
  4437. /* Bit definition for GPIO_POSR register */
  4438. #define GPIO_POSR_POS00_POS (0U)
  4439. #define GPIO_POSR_POS00 (0x0001U)
  4440. #define GPIO_POSR_POS01_POS (1U)
  4441. #define GPIO_POSR_POS01 (0x0002U)
  4442. #define GPIO_POSR_POS02_POS (2U)
  4443. #define GPIO_POSR_POS02 (0x0004U)
  4444. #define GPIO_POSR_POS03_POS (3U)
  4445. #define GPIO_POSR_POS03 (0x0008U)
  4446. #define GPIO_POSR_POS04_POS (4U)
  4447. #define GPIO_POSR_POS04 (0x0010U)
  4448. #define GPIO_POSR_POS05_POS (5U)
  4449. #define GPIO_POSR_POS05 (0x0020U)
  4450. #define GPIO_POSR_POS06_POS (6U)
  4451. #define GPIO_POSR_POS06 (0x0040U)
  4452. #define GPIO_POSR_POS07_POS (7U)
  4453. #define GPIO_POSR_POS07 (0x0080U)
  4454. #define GPIO_POSR_POS08_POS (8U)
  4455. #define GPIO_POSR_POS08 (0x0100U)
  4456. #define GPIO_POSR_POS09_POS (9U)
  4457. #define GPIO_POSR_POS09 (0x0200U)
  4458. #define GPIO_POSR_POS10_POS (10U)
  4459. #define GPIO_POSR_POS10 (0x0400U)
  4460. #define GPIO_POSR_POS11_POS (11U)
  4461. #define GPIO_POSR_POS11 (0x0800U)
  4462. #define GPIO_POSR_POS12_POS (12U)
  4463. #define GPIO_POSR_POS12 (0x1000U)
  4464. #define GPIO_POSR_POS13_POS (13U)
  4465. #define GPIO_POSR_POS13 (0x2000U)
  4466. #define GPIO_POSR_POS14_POS (14U)
  4467. #define GPIO_POSR_POS14 (0x4000U)
  4468. #define GPIO_POSR_POS15_POS (15U)
  4469. #define GPIO_POSR_POS15 (0x8000U)
  4470. /* Bit definition for GPIO_PORR register */
  4471. #define GPIO_PORR_POR00_POS (0U)
  4472. #define GPIO_PORR_POR00 (0x0001U)
  4473. #define GPIO_PORR_POR01_POS (1U)
  4474. #define GPIO_PORR_POR01 (0x0002U)
  4475. #define GPIO_PORR_POR02_POS (2U)
  4476. #define GPIO_PORR_POR02 (0x0004U)
  4477. #define GPIO_PORR_POR03_POS (3U)
  4478. #define GPIO_PORR_POR03 (0x0008U)
  4479. #define GPIO_PORR_POR04_POS (4U)
  4480. #define GPIO_PORR_POR04 (0x0010U)
  4481. #define GPIO_PORR_POR05_POS (5U)
  4482. #define GPIO_PORR_POR05 (0x0020U)
  4483. #define GPIO_PORR_POR06_POS (6U)
  4484. #define GPIO_PORR_POR06 (0x0040U)
  4485. #define GPIO_PORR_POR07_POS (7U)
  4486. #define GPIO_PORR_POR07 (0x0080U)
  4487. #define GPIO_PORR_POR08_POS (8U)
  4488. #define GPIO_PORR_POR08 (0x0100U)
  4489. #define GPIO_PORR_POR09_POS (9U)
  4490. #define GPIO_PORR_POR09 (0x0200U)
  4491. #define GPIO_PORR_POR10_POS (10U)
  4492. #define GPIO_PORR_POR10 (0x0400U)
  4493. #define GPIO_PORR_POR11_POS (11U)
  4494. #define GPIO_PORR_POR11 (0x0800U)
  4495. #define GPIO_PORR_POR12_POS (12U)
  4496. #define GPIO_PORR_POR12 (0x1000U)
  4497. #define GPIO_PORR_POR13_POS (13U)
  4498. #define GPIO_PORR_POR13 (0x2000U)
  4499. #define GPIO_PORR_POR14_POS (14U)
  4500. #define GPIO_PORR_POR14 (0x4000U)
  4501. #define GPIO_PORR_POR15_POS (15U)
  4502. #define GPIO_PORR_POR15 (0x8000U)
  4503. /* Bit definition for GPIO_POTR register */
  4504. #define GPIO_POTR_POT00_POS (0U)
  4505. #define GPIO_POTR_POT00 (0x0001U)
  4506. #define GPIO_POTR_POT01_POS (1U)
  4507. #define GPIO_POTR_POT01 (0x0002U)
  4508. #define GPIO_POTR_POT02_POS (2U)
  4509. #define GPIO_POTR_POT02 (0x0004U)
  4510. #define GPIO_POTR_POT03_POS (3U)
  4511. #define GPIO_POTR_POT03 (0x0008U)
  4512. #define GPIO_POTR_POT04_POS (4U)
  4513. #define GPIO_POTR_POT04 (0x0010U)
  4514. #define GPIO_POTR_POT05_POS (5U)
  4515. #define GPIO_POTR_POT05 (0x0020U)
  4516. #define GPIO_POTR_POT06_POS (6U)
  4517. #define GPIO_POTR_POT06 (0x0040U)
  4518. #define GPIO_POTR_POT07_POS (7U)
  4519. #define GPIO_POTR_POT07 (0x0080U)
  4520. #define GPIO_POTR_POT08_POS (8U)
  4521. #define GPIO_POTR_POT08 (0x0100U)
  4522. #define GPIO_POTR_POT09_POS (9U)
  4523. #define GPIO_POTR_POT09 (0x0200U)
  4524. #define GPIO_POTR_POT10_POS (10U)
  4525. #define GPIO_POTR_POT10 (0x0400U)
  4526. #define GPIO_POTR_POT11_POS (11U)
  4527. #define GPIO_POTR_POT11 (0x0800U)
  4528. #define GPIO_POTR_POT12_POS (12U)
  4529. #define GPIO_POTR_POT12 (0x1000U)
  4530. #define GPIO_POTR_POT13_POS (13U)
  4531. #define GPIO_POTR_POT13 (0x2000U)
  4532. #define GPIO_POTR_POT14_POS (14U)
  4533. #define GPIO_POTR_POT14 (0x4000U)
  4534. #define GPIO_POTR_POT15_POS (15U)
  4535. #define GPIO_POTR_POT15 (0x8000U)
  4536. /* Bit definition for GPIO_PSPCR register */
  4537. #define GPIO_PSPCR_SPFE (0x001FU)
  4538. #define GPIO_PSPCR_SPFE_0 (0x0001U)
  4539. #define GPIO_PSPCR_SPFE_1 (0x0002U)
  4540. #define GPIO_PSPCR_SPFE_2 (0x0004U)
  4541. #define GPIO_PSPCR_SPFE_3 (0x0008U)
  4542. #define GPIO_PSPCR_SPFE_4 (0x0010U)
  4543. /* Bit definition for GPIO_PCCR register */
  4544. #define GPIO_PCCR_BFSEL_POS (0U)
  4545. #define GPIO_PCCR_BFSEL (0x003FU)
  4546. #define GPIO_PCCR_BFSEL_0 (0x0001U)
  4547. #define GPIO_PCCR_BFSEL_1 (0x0002U)
  4548. #define GPIO_PCCR_BFSEL_2 (0x0004U)
  4549. #define GPIO_PCCR_BFSEL_3 (0x0008U)
  4550. #define GPIO_PCCR_BFSEL_4 (0x0010U)
  4551. #define GPIO_PCCR_BFSEL_5 (0x0020U)
  4552. #define GPIO_PCCR_RDWT_POS (12U)
  4553. #define GPIO_PCCR_RDWT (0x7000U)
  4554. #define GPIO_PCCR_RDWT_0 (0x1000U)
  4555. #define GPIO_PCCR_RDWT_1 (0x2000U)
  4556. #define GPIO_PCCR_RDWT_2 (0x4000U)
  4557. /* Bit definition for GPIO_PWPR register */
  4558. #define GPIO_PWPR_WE_POS (0U)
  4559. #define GPIO_PWPR_WE (0x0001U)
  4560. #define GPIO_PWPR_WP_POS (8U)
  4561. #define GPIO_PWPR_WP (0xFF00U)
  4562. #define GPIO_PWPR_WP_0 (0x0100U)
  4563. #define GPIO_PWPR_WP_1 (0x0200U)
  4564. #define GPIO_PWPR_WP_2 (0x0400U)
  4565. #define GPIO_PWPR_WP_3 (0x0800U)
  4566. #define GPIO_PWPR_WP_4 (0x1000U)
  4567. #define GPIO_PWPR_WP_5 (0x2000U)
  4568. #define GPIO_PWPR_WP_6 (0x4000U)
  4569. #define GPIO_PWPR_WP_7 (0x8000U)
  4570. /* Bit definition for GPIO_PCR register */
  4571. #define GPIO_PCR_POUT_POS (0U)
  4572. #define GPIO_PCR_POUT (0x0001U)
  4573. #define GPIO_PCR_POUTE_POS (1U)
  4574. #define GPIO_PCR_POUTE (0x0002U)
  4575. #define GPIO_PCR_NOD_POS (2U)
  4576. #define GPIO_PCR_NOD (0x0004U)
  4577. #define GPIO_PCR_DRV_POS (4U)
  4578. #define GPIO_PCR_DRV (0x0030U)
  4579. #define GPIO_PCR_DRV_0 (0x0010U)
  4580. #define GPIO_PCR_DRV_1 (0x0020U)
  4581. #define GPIO_PCR_PUU_POS (6U)
  4582. #define GPIO_PCR_PUU (0x0040U)
  4583. #define GPIO_PCR_PUD_POS (7U)
  4584. #define GPIO_PCR_PUD (0x0080U)
  4585. #define GPIO_PCR_PIN_POS (8U)
  4586. #define GPIO_PCR_PIN (0x0100U)
  4587. #define GPIO_PCR_INVE_POS (9U)
  4588. #define GPIO_PCR_INVE (0x0200U)
  4589. #define GPIO_PCR_CINSEL_POS (10U)
  4590. #define GPIO_PCR_CINSEL (0x0400U)
  4591. #define GPIO_PCR_INTE_POS (12U)
  4592. #define GPIO_PCR_INTE (0x1000U)
  4593. #define GPIO_PCR_PINAE_POS (13U)
  4594. #define GPIO_PCR_PINAE (0x2000U)
  4595. #define GPIO_PCR_LTE_POS (14U)
  4596. #define GPIO_PCR_LTE (0x4000U)
  4597. #define GPIO_PCR_DDIS_POS (15U)
  4598. #define GPIO_PCR_DDIS (0x8000U)
  4599. /* Bit definition for GPIO_PFSR register */
  4600. #define GPIO_PFSR_FSEL_POS (0U)
  4601. #define GPIO_PFSR_FSEL (0x003FU)
  4602. #define GPIO_PFSR_FSEL_0 (0x0001U)
  4603. #define GPIO_PFSR_FSEL_1 (0x0002U)
  4604. #define GPIO_PFSR_FSEL_2 (0x0004U)
  4605. #define GPIO_PFSR_FSEL_3 (0x0008U)
  4606. #define GPIO_PFSR_FSEL_4 (0x0010U)
  4607. #define GPIO_PFSR_FSEL_5 (0x0020U)
  4608. #define GPIO_PFSR_BFE_POS (8U)
  4609. #define GPIO_PFSR_BFE (0x0100U)
  4610. /*******************************************************************************
  4611. Bit definition for Peripheral HASH
  4612. *******************************************************************************/
  4613. /* Bit definition for HASH_CR register */
  4614. #define HASH_CR_START_POS (0U)
  4615. #define HASH_CR_START (0x00000001UL)
  4616. #define HASH_CR_FST_GRP_POS (1U)
  4617. #define HASH_CR_FST_GRP (0x00000002UL)
  4618. /* Bit definition for HASH_HR7 register */
  4619. #define HASH_HR7 (0xFFFFFFFFUL)
  4620. /* Bit definition for HASH_HR6 register */
  4621. #define HASH_HR6 (0xFFFFFFFFUL)
  4622. /* Bit definition for HASH_HR5 register */
  4623. #define HASH_HR5 (0xFFFFFFFFUL)
  4624. /* Bit definition for HASH_HR4 register */
  4625. #define HASH_HR4 (0xFFFFFFFFUL)
  4626. /* Bit definition for HASH_HR3 register */
  4627. #define HASH_HR3 (0xFFFFFFFFUL)
  4628. /* Bit definition for HASH_HR2 register */
  4629. #define HASH_HR2 (0xFFFFFFFFUL)
  4630. /* Bit definition for HASH_HR1 register */
  4631. #define HASH_HR1 (0xFFFFFFFFUL)
  4632. /* Bit definition for HASH_HR0 register */
  4633. #define HASH_HR0 (0xFFFFFFFFUL)
  4634. /* Bit definition for HASH_DR15 register */
  4635. #define HASH_DR15 (0xFFFFFFFFUL)
  4636. /* Bit definition for HASH_DR14 register */
  4637. #define HASH_DR14 (0xFFFFFFFFUL)
  4638. /* Bit definition for HASH_DR13 register */
  4639. #define HASH_DR13 (0xFFFFFFFFUL)
  4640. /* Bit definition for HASH_DR12 register */
  4641. #define HASH_DR12 (0xFFFFFFFFUL)
  4642. /* Bit definition for HASH_DR11 register */
  4643. #define HASH_DR11 (0xFFFFFFFFUL)
  4644. /* Bit definition for HASH_DR10 register */
  4645. #define HASH_DR10 (0xFFFFFFFFUL)
  4646. /* Bit definition for HASH_DR9 register */
  4647. #define HASH_DR9 (0xFFFFFFFFUL)
  4648. /* Bit definition for HASH_DR8 register */
  4649. #define HASH_DR8 (0xFFFFFFFFUL)
  4650. /* Bit definition for HASH_DR7 register */
  4651. #define HASH_DR7 (0xFFFFFFFFUL)
  4652. /* Bit definition for HASH_DR6 register */
  4653. #define HASH_DR6 (0xFFFFFFFFUL)
  4654. /* Bit definition for HASH_DR5 register */
  4655. #define HASH_DR5 (0xFFFFFFFFUL)
  4656. /* Bit definition for HASH_DR4 register */
  4657. #define HASH_DR4 (0xFFFFFFFFUL)
  4658. /* Bit definition for HASH_DR3 register */
  4659. #define HASH_DR3 (0xFFFFFFFFUL)
  4660. /* Bit definition for HASH_DR2 register */
  4661. #define HASH_DR2 (0xFFFFFFFFUL)
  4662. /* Bit definition for HASH_DR1 register */
  4663. #define HASH_DR1 (0xFFFFFFFFUL)
  4664. /* Bit definition for HASH_DR0 register */
  4665. #define HASH_DR0 (0xFFFFFFFFUL)
  4666. /*******************************************************************************
  4667. Bit definition for Peripheral I2C
  4668. *******************************************************************************/
  4669. /* Bit definition for I2C_CR1 register */
  4670. #define I2C_CR1_PE_POS (0U)
  4671. #define I2C_CR1_PE (0x00000001UL)
  4672. #define I2C_CR1_SMBUS_POS (1U)
  4673. #define I2C_CR1_SMBUS (0x00000002UL)
  4674. #define I2C_CR1_SMBALRTEN_POS (2U)
  4675. #define I2C_CR1_SMBALRTEN (0x00000004UL)
  4676. #define I2C_CR1_SMBDEFAULTEN_POS (3U)
  4677. #define I2C_CR1_SMBDEFAULTEN (0x00000008UL)
  4678. #define I2C_CR1_SMBHOSTEN_POS (4U)
  4679. #define I2C_CR1_SMBHOSTEN (0x00000010UL)
  4680. #define I2C_CR1_ENGC_POS (6U)
  4681. #define I2C_CR1_ENGC (0x00000040UL)
  4682. #define I2C_CR1_RESTART_POS (7U)
  4683. #define I2C_CR1_RESTART (0x00000080UL)
  4684. #define I2C_CR1_START_POS (8U)
  4685. #define I2C_CR1_START (0x00000100UL)
  4686. #define I2C_CR1_STOP_POS (9U)
  4687. #define I2C_CR1_STOP (0x00000200UL)
  4688. #define I2C_CR1_ACK_POS (10U)
  4689. #define I2C_CR1_ACK (0x00000400UL)
  4690. #define I2C_CR1_SWRST_POS (15U)
  4691. #define I2C_CR1_SWRST (0x00008000UL)
  4692. /* Bit definition for I2C_CR2 register */
  4693. #define I2C_CR2_STARTIE_POS (0U)
  4694. #define I2C_CR2_STARTIE (0x00000001UL)
  4695. #define I2C_CR2_SLADDR0IE_POS (1U)
  4696. #define I2C_CR2_SLADDR0IE (0x00000002UL)
  4697. #define I2C_CR2_SLADDR1IE_POS (2U)
  4698. #define I2C_CR2_SLADDR1IE (0x00000004UL)
  4699. #define I2C_CR2_TENDIE_POS (3U)
  4700. #define I2C_CR2_TENDIE (0x00000008UL)
  4701. #define I2C_CR2_STOPIE_POS (4U)
  4702. #define I2C_CR2_STOPIE (0x00000010UL)
  4703. #define I2C_CR2_RFULLIE_POS (6U)
  4704. #define I2C_CR2_RFULLIE (0x00000040UL)
  4705. #define I2C_CR2_TEMPTYIE_POS (7U)
  4706. #define I2C_CR2_TEMPTYIE (0x00000080UL)
  4707. #define I2C_CR2_ARLOIE_POS (9U)
  4708. #define I2C_CR2_ARLOIE (0x00000200UL)
  4709. #define I2C_CR2_RFREQIE_POS (11U)
  4710. #define I2C_CR2_RFREQIE (0x00000800UL)
  4711. #define I2C_CR2_NACKIE_POS (12U)
  4712. #define I2C_CR2_NACKIE (0x00001000UL)
  4713. #define I2C_CR2_TMOUTIE_POS (14U)
  4714. #define I2C_CR2_TMOUTIE (0x00004000UL)
  4715. #define I2C_CR2_GENCALLIE_POS (20U)
  4716. #define I2C_CR2_GENCALLIE (0x00100000UL)
  4717. #define I2C_CR2_SMBDEFAULTIE_POS (21U)
  4718. #define I2C_CR2_SMBDEFAULTIE (0x00200000UL)
  4719. #define I2C_CR2_SMBHOSTIE_POS (22U)
  4720. #define I2C_CR2_SMBHOSTIE (0x00400000UL)
  4721. #define I2C_CR2_SMBALRTIE_POS (23U)
  4722. #define I2C_CR2_SMBALRTIE (0x00800000UL)
  4723. /* Bit definition for I2C_CR3 register */
  4724. #define I2C_CR3_TMOUTEN_POS (0U)
  4725. #define I2C_CR3_TMOUTEN (0x00000001UL)
  4726. #define I2C_CR3_LTMOUT_POS (1U)
  4727. #define I2C_CR3_LTMOUT (0x00000002UL)
  4728. #define I2C_CR3_HTMOUT_POS (2U)
  4729. #define I2C_CR3_HTMOUT (0x00000004UL)
  4730. #define I2C_CR3_FACKEN_POS (7U)
  4731. #define I2C_CR3_FACKEN (0x00000080UL)
  4732. /* Bit definition for I2C_CR4 register */
  4733. #define I2C_CR4_BUSWAIT_POS (10U)
  4734. #define I2C_CR4_BUSWAIT (0x00000400UL)
  4735. #define I2C_CR4_BUSFREECLREN_POS (12U)
  4736. #define I2C_CR4_BUSFREECLREN (0x00001000UL)
  4737. /* Bit definition for I2C_SLR0 register */
  4738. #define I2C_SLR0_SLADDR0_POS (0U)
  4739. #define I2C_SLR0_SLADDR0 (0x000003FFUL)
  4740. #define I2C_SLR0_SLADDR0EN_POS (12U)
  4741. #define I2C_SLR0_SLADDR0EN (0x00001000UL)
  4742. #define I2C_SLR0_ADDRMOD0_POS (15U)
  4743. #define I2C_SLR0_ADDRMOD0 (0x00008000UL)
  4744. #define I2C_SLR0_MSLADDR0_POS (16U)
  4745. #define I2C_SLR0_MSLADDR0 (0x03FF0000UL)
  4746. #define I2C_SLR0_MASKEN0_POS (26U)
  4747. #define I2C_SLR0_MASKEN0 (0x04000000UL)
  4748. /* Bit definition for I2C_SLR1 register */
  4749. #define I2C_SLR1_SLADDR1_POS (0U)
  4750. #define I2C_SLR1_SLADDR1 (0x000003FFUL)
  4751. #define I2C_SLR1_SLADDR1EN_POS (12U)
  4752. #define I2C_SLR1_SLADDR1EN (0x00001000UL)
  4753. #define I2C_SLR1_ADDRMOD1_POS (15U)
  4754. #define I2C_SLR1_ADDRMOD1 (0x00008000UL)
  4755. #define I2C_SLR1_MSLADDR1_POS (16U)
  4756. #define I2C_SLR1_MSLADDR1 (0x03FF0000UL)
  4757. #define I2C_SLR1_MASKEN1_POS (26U)
  4758. #define I2C_SLR1_MASKEN1 (0x04000000UL)
  4759. /* Bit definition for I2C_SLTR register */
  4760. #define I2C_SLTR_TOUTLOW_POS (0U)
  4761. #define I2C_SLTR_TOUTLOW (0x0000FFFFUL)
  4762. #define I2C_SLTR_TOUTHIGH_POS (16U)
  4763. #define I2C_SLTR_TOUTHIGH (0xFFFF0000UL)
  4764. /* Bit definition for I2C_SR register */
  4765. #define I2C_SR_STARTF_POS (0U)
  4766. #define I2C_SR_STARTF (0x00000001UL)
  4767. #define I2C_SR_SLADDR0F_POS (1U)
  4768. #define I2C_SR_SLADDR0F (0x00000002UL)
  4769. #define I2C_SR_SLADDR1F_POS (2U)
  4770. #define I2C_SR_SLADDR1F (0x00000004UL)
  4771. #define I2C_SR_TENDF_POS (3U)
  4772. #define I2C_SR_TENDF (0x00000008UL)
  4773. #define I2C_SR_STOPF_POS (4U)
  4774. #define I2C_SR_STOPF (0x00000010UL)
  4775. #define I2C_SR_RFULLF_POS (6U)
  4776. #define I2C_SR_RFULLF (0x00000040UL)
  4777. #define I2C_SR_TEMPTYF_POS (7U)
  4778. #define I2C_SR_TEMPTYF (0x00000080UL)
  4779. #define I2C_SR_ARLOF_POS (9U)
  4780. #define I2C_SR_ARLOF (0x00000200UL)
  4781. #define I2C_SR_ACKRF_POS (10U)
  4782. #define I2C_SR_ACKRF (0x00000400UL)
  4783. #define I2C_SR_NACKF_POS (12U)
  4784. #define I2C_SR_NACKF (0x00001000UL)
  4785. #define I2C_SR_TMOUTF_POS (14U)
  4786. #define I2C_SR_TMOUTF (0x00004000UL)
  4787. #define I2C_SR_MSL_POS (16U)
  4788. #define I2C_SR_MSL (0x00010000UL)
  4789. #define I2C_SR_BUSY_POS (17U)
  4790. #define I2C_SR_BUSY (0x00020000UL)
  4791. #define I2C_SR_TRA_POS (18U)
  4792. #define I2C_SR_TRA (0x00040000UL)
  4793. #define I2C_SR_GENCALLF_POS (20U)
  4794. #define I2C_SR_GENCALLF (0x00100000UL)
  4795. #define I2C_SR_SMBDEFAULTF_POS (21U)
  4796. #define I2C_SR_SMBDEFAULTF (0x00200000UL)
  4797. #define I2C_SR_SMBHOSTF_POS (22U)
  4798. #define I2C_SR_SMBHOSTF (0x00400000UL)
  4799. #define I2C_SR_SMBALRTF_POS (23U)
  4800. #define I2C_SR_SMBALRTF (0x00800000UL)
  4801. #define I2C_SR_TFEMPTY_POS (24U)
  4802. #define I2C_SR_TFEMPTY (0x01000000UL)
  4803. #define I2C_SR_TFFULL_POS (25U)
  4804. #define I2C_SR_TFFULL (0x02000000UL)
  4805. #define I2C_SR_RFEMPTY_POS (26U)
  4806. #define I2C_SR_RFEMPTY (0x04000000UL)
  4807. #define I2C_SR_RFFULL_POS (27U)
  4808. #define I2C_SR_RFFULL (0x08000000UL)
  4809. #define I2C_SR_TFST_POS (28U)
  4810. #define I2C_SR_TFST (0x30000000UL)
  4811. #define I2C_SR_TFST_0 (0x10000000UL)
  4812. #define I2C_SR_TFST_1 (0x20000000UL)
  4813. #define I2C_SR_RFREQ_POS (31U)
  4814. #define I2C_SR_RFREQ (0x80000000UL)
  4815. /* Bit definition for I2C_CLR register */
  4816. #define I2C_CLR_STARTFCLR_POS (0U)
  4817. #define I2C_CLR_STARTFCLR (0x00000001UL)
  4818. #define I2C_CLR_SLADDR0FCLR_POS (1U)
  4819. #define I2C_CLR_SLADDR0FCLR (0x00000002UL)
  4820. #define I2C_CLR_SLADDR1FCLR_POS (2U)
  4821. #define I2C_CLR_SLADDR1FCLR (0x00000004UL)
  4822. #define I2C_CLR_TENDFCLR_POS (3U)
  4823. #define I2C_CLR_TENDFCLR (0x00000008UL)
  4824. #define I2C_CLR_STOPFCLR_POS (4U)
  4825. #define I2C_CLR_STOPFCLR (0x00000010UL)
  4826. #define I2C_CLR_RFULLFCLR_POS (6U)
  4827. #define I2C_CLR_RFULLFCLR (0x00000040UL)
  4828. #define I2C_CLR_TEMPTYFCLR_POS (7U)
  4829. #define I2C_CLR_TEMPTYFCLR (0x00000080UL)
  4830. #define I2C_CLR_ARLOFCLR_POS (9U)
  4831. #define I2C_CLR_ARLOFCLR (0x00000200UL)
  4832. #define I2C_CLR_RFREQCLR_POS (10U)
  4833. #define I2C_CLR_RFREQCLR (0x00000400UL)
  4834. #define I2C_CLR_NACKFCLR_POS (12U)
  4835. #define I2C_CLR_NACKFCLR (0x00001000UL)
  4836. #define I2C_CLR_TMOUTFCLR_POS (14U)
  4837. #define I2C_CLR_TMOUTFCLR (0x00004000UL)
  4838. #define I2C_CLR_GENCALLFCLR_POS (20U)
  4839. #define I2C_CLR_GENCALLFCLR (0x00100000UL)
  4840. #define I2C_CLR_SMBDEFAULTFCLR_POS (21U)
  4841. #define I2C_CLR_SMBDEFAULTFCLR (0x00200000UL)
  4842. #define I2C_CLR_SMBHOSTFCLR_POS (22U)
  4843. #define I2C_CLR_SMBHOSTFCLR (0x00400000UL)
  4844. #define I2C_CLR_SMBALRTFCLR_POS (23U)
  4845. #define I2C_CLR_SMBALRTFCLR (0x00800000UL)
  4846. /* Bit definition for I2C_DTR register */
  4847. #define I2C_DTR_DT (0xFFU)
  4848. /* Bit definition for I2C_DRR register */
  4849. #define I2C_DRR_DR (0xFFU)
  4850. /* Bit definition for I2C_CCR register */
  4851. #define I2C_CCR_SLOWW_POS (0U)
  4852. #define I2C_CCR_SLOWW (0x000000FFUL)
  4853. #define I2C_CCR_SHIGHW_POS (8U)
  4854. #define I2C_CCR_SHIGHW (0x0000FF00UL)
  4855. #define I2C_CCR_FREQ_POS (16U)
  4856. #define I2C_CCR_FREQ (0x00070000UL)
  4857. #define I2C_CCR_FMPLUSEN_POS (23U)
  4858. #define I2C_CCR_FMPLUSEN (0x00800000UL)
  4859. /* Bit definition for I2C_FLTR register */
  4860. #define I2C_FLTR_DNF_POS (0U)
  4861. #define I2C_FLTR_DNF (0x00000003UL)
  4862. #define I2C_FLTR_DNFEN_POS (4U)
  4863. #define I2C_FLTR_DNFEN (0x00000010UL)
  4864. #define I2C_FLTR_ANFEN_POS (5U)
  4865. #define I2C_FLTR_ANFEN (0x00000020UL)
  4866. /* Bit definition for I2C_FSTR register */
  4867. #define I2C_FSTR_FEN_POS (0U)
  4868. #define I2C_FSTR_FEN (0x00000001UL)
  4869. #define I2C_FSTR_TFFLUSH_POS (1U)
  4870. #define I2C_FSTR_TFFLUSH (0x00000002UL)
  4871. #define I2C_FSTR_RFFLUSH_POS (2U)
  4872. #define I2C_FSTR_RFFLUSH (0x00000004UL)
  4873. #define I2C_FSTR_NACKTFFLUSH_POS (3U)
  4874. #define I2C_FSTR_NACKTFFLUSH (0x00000008UL)
  4875. #define I2C_FSTR_TFST_POS (4U)
  4876. #define I2C_FSTR_TFST (0x00000030UL)
  4877. #define I2C_FSTR_TFST_0 (0x00000010UL)
  4878. #define I2C_FSTR_TFST_1 (0x00000020UL)
  4879. #define I2C_FSTR_RFST_POS (6U)
  4880. #define I2C_FSTR_RFST (0x000000C0UL)
  4881. #define I2C_FSTR_RFST_0 (0x00000040UL)
  4882. #define I2C_FSTR_RFST_1 (0x00000080UL)
  4883. /* Bit definition for I2C_SLVADDR register */
  4884. #define I2C_SLVADDR_SLVADRR (0x000003FFUL)
  4885. /*******************************************************************************
  4886. Bit definition for Peripheral ICG
  4887. *******************************************************************************/
  4888. /* Bit definition for ICG_ICG0 register */
  4889. #define ICG_ICG0_SWDTAUTS_POS (0U)
  4890. #define ICG_ICG0_SWDTAUTS (0x00000001UL)
  4891. #define ICG_ICG0_SWDTITS_POS (1U)
  4892. #define ICG_ICG0_SWDTITS (0x00000002UL)
  4893. #define ICG_ICG0_SWDTPERI_POS (2U)
  4894. #define ICG_ICG0_SWDTPERI (0x0000000CUL)
  4895. #define ICG_ICG0_SWDTPERI_0 (0x00000004UL)
  4896. #define ICG_ICG0_SWDTPERI_1 (0x00000008UL)
  4897. #define ICG_ICG0_SWDTCKS_POS (4U)
  4898. #define ICG_ICG0_SWDTCKS (0x000000F0UL)
  4899. #define ICG_ICG0_SWDTWDPT_POS (8U)
  4900. #define ICG_ICG0_SWDTWDPT (0x00000F00UL)
  4901. #define ICG_ICG0_SWDTSLPOFF_POS (12U)
  4902. #define ICG_ICG0_SWDTSLPOFF (0x00001000UL)
  4903. #define ICG_ICG0_WDTAUTS_POS (16U)
  4904. #define ICG_ICG0_WDTAUTS (0x00010000UL)
  4905. #define ICG_ICG0_WDTITS_POS (17U)
  4906. #define ICG_ICG0_WDTITS (0x00020000UL)
  4907. #define ICG_ICG0_WDTPERI_POS (18U)
  4908. #define ICG_ICG0_WDTPERI (0x000C0000UL)
  4909. #define ICG_ICG0_WDTPERI_0 (0x00040000UL)
  4910. #define ICG_ICG0_WDTPERI_1 (0x00080000UL)
  4911. #define ICG_ICG0_WDTCKS_POS (20U)
  4912. #define ICG_ICG0_WDTCKS (0x00F00000UL)
  4913. #define ICG_ICG0_WDTWDPT_POS (24U)
  4914. #define ICG_ICG0_WDTWDPT (0x0F000000UL)
  4915. #define ICG_ICG0_WDTSLPOFF_POS (28U)
  4916. #define ICG_ICG0_WDTSLPOFF (0x10000000UL)
  4917. /* Bit definition for ICG_ICG1 register */
  4918. #define ICG_ICG1_HRCFREQSEL_POS (0U)
  4919. #define ICG_ICG1_HRCFREQSEL (0x00000001UL)
  4920. #define ICG_ICG1_HRCSTOP_POS (8U)
  4921. #define ICG_ICG1_HRCSTOP (0x00000100UL)
  4922. #define ICG_ICG1_BOR_LEV_POS (16U)
  4923. #define ICG_ICG1_BOR_LEV (0x00030000UL)
  4924. #define ICG_ICG1_BOR_LEV_0 (0x00010000UL)
  4925. #define ICG_ICG1_BOR_LEV_1 (0x00020000UL)
  4926. #define ICG_ICG1_BORDIS_POS (18U)
  4927. #define ICG_ICG1_BORDIS (0x00040000UL)
  4928. /* Bit definition for ICG_ICG3 register */
  4929. #define ICG_ICG3_DBUSPRT (0x0000FFFFUL)
  4930. /* Bit definition for ICG_ICG4 register */
  4931. #define ICG_ICG4 (0xFFFFFFFFUL)
  4932. /*******************************************************************************
  4933. Bit definition for Peripheral INTC
  4934. *******************************************************************************/
  4935. /* Bit definition for INTC_NMIER register */
  4936. #define INTC_NMIER_SWDTEN_POS (1U)
  4937. #define INTC_NMIER_SWDTEN (0x00000002UL)
  4938. #define INTC_NMIER_PVD1EN_POS (2U)
  4939. #define INTC_NMIER_PVD1EN (0x00000004UL)
  4940. #define INTC_NMIER_PVD2EN_POS (3U)
  4941. #define INTC_NMIER_PVD2EN (0x00000008UL)
  4942. #define INTC_NMIER_XTALSTPEN_POS (5U)
  4943. #define INTC_NMIER_XTALSTPEN (0x00000020UL)
  4944. #define INTC_NMIER_RPARERREN_POS (8U)
  4945. #define INTC_NMIER_RPARERREN (0x00000100UL)
  4946. #define INTC_NMIER_RECCERREN_POS (9U)
  4947. #define INTC_NMIER_RECCERREN (0x00000200UL)
  4948. #define INTC_NMIER_BUSERREN_POS (10U)
  4949. #define INTC_NMIER_BUSERREN (0x00000400UL)
  4950. #define INTC_NMIER_WDTEN_POS (11U)
  4951. #define INTC_NMIER_WDTEN (0x00000800UL)
  4952. /* Bit definition for INTC_NMIFR register */
  4953. #define INTC_NMIFR_SWDTF_POS (1U)
  4954. #define INTC_NMIFR_SWDTF (0x00000002UL)
  4955. #define INTC_NMIFR_PVD1F_POS (2U)
  4956. #define INTC_NMIFR_PVD1F (0x00000004UL)
  4957. #define INTC_NMIFR_PVD2F_POS (3U)
  4958. #define INTC_NMIFR_PVD2F (0x00000008UL)
  4959. #define INTC_NMIFR_XTALSTPF_POS (5U)
  4960. #define INTC_NMIFR_XTALSTPF (0x00000020UL)
  4961. #define INTC_NMIFR_RPARERRF_POS (8U)
  4962. #define INTC_NMIFR_RPARERRF (0x00000100UL)
  4963. #define INTC_NMIFR_RECCERRF_POS (9U)
  4964. #define INTC_NMIFR_RECCERRF (0x00000200UL)
  4965. #define INTC_NMIFR_BUSERRF_POS (10U)
  4966. #define INTC_NMIFR_BUSERRF (0x00000400UL)
  4967. #define INTC_NMIFR_WDTF_POS (11U)
  4968. #define INTC_NMIFR_WDTF (0x00000800UL)
  4969. /* Bit definition for INTC_NMIFCR register */
  4970. #define INTC_NMIFCR_SWDTFCLR_POS (1U)
  4971. #define INTC_NMIFCR_SWDTFCLR (0x00000002UL)
  4972. #define INTC_NMIFCR_PVD1FCLR_POS (2U)
  4973. #define INTC_NMIFCR_PVD1FCLR (0x00000004UL)
  4974. #define INTC_NMIFCR_PVD2FCLR_POS (3U)
  4975. #define INTC_NMIFCR_PVD2FCLR (0x00000008UL)
  4976. #define INTC_NMIFCR_XTALSTPFCLR_POS (5U)
  4977. #define INTC_NMIFCR_XTALSTPFCLR (0x00000020UL)
  4978. #define INTC_NMIFCR_RPARERRFCLR_POS (8U)
  4979. #define INTC_NMIFCR_RPARERRFCLR (0x00000100UL)
  4980. #define INTC_NMIFCR_RECCERRFCLR_POS (9U)
  4981. #define INTC_NMIFCR_RECCERRFCLR (0x00000200UL)
  4982. #define INTC_NMIFCR_BUSERRFCLR_POS (10U)
  4983. #define INTC_NMIFCR_BUSERRFCLR (0x00000400UL)
  4984. #define INTC_NMIFCR_WDTFCLR_POS (11U)
  4985. #define INTC_NMIFCR_WDTFCLR (0x00000800UL)
  4986. /* Bit definition for INTC_EIRQCR register */
  4987. #define INTC_EIRQCR_EIRQTRG_POS (0U)
  4988. #define INTC_EIRQCR_EIRQTRG (0x00000003UL)
  4989. #define INTC_EIRQCR_EIRQTRG_0 (0x00000001UL)
  4990. #define INTC_EIRQCR_EIRQTRG_1 (0x00000002UL)
  4991. #define INTC_EIRQCR_EISMPCLK_POS (4U)
  4992. #define INTC_EIRQCR_EISMPCLK (0x00000030UL)
  4993. #define INTC_EIRQCR_EISMPCLK_0 (0x00000010UL)
  4994. #define INTC_EIRQCR_EISMPCLK_1 (0x00000020UL)
  4995. #define INTC_EIRQCR_EFEN_POS (7U)
  4996. #define INTC_EIRQCR_EFEN (0x00000080UL)
  4997. #define INTC_EIRQCR_NOCSEL_POS (12U)
  4998. #define INTC_EIRQCR_NOCSEL (0x00003000UL)
  4999. #define INTC_EIRQCR_NOCSEL_0 (0x00001000UL)
  5000. #define INTC_EIRQCR_NOCSEL_1 (0x00002000UL)
  5001. #define INTC_EIRQCR_NOCEN_POS (15U)
  5002. #define INTC_EIRQCR_NOCEN (0x00008000UL)
  5003. /* Bit definition for INTC_WKEN register */
  5004. #define INTC_WKEN_EIRQWKEN_POS (0U)
  5005. #define INTC_WKEN_EIRQWKEN (0x0000FFFFUL)
  5006. #define INTC_WKEN_EIRQWKEN_0 (0x00000001UL)
  5007. #define INTC_WKEN_EIRQWKEN_1 (0x00000002UL)
  5008. #define INTC_WKEN_EIRQWKEN_2 (0x00000004UL)
  5009. #define INTC_WKEN_EIRQWKEN_3 (0x00000008UL)
  5010. #define INTC_WKEN_EIRQWKEN_4 (0x00000010UL)
  5011. #define INTC_WKEN_EIRQWKEN_5 (0x00000020UL)
  5012. #define INTC_WKEN_EIRQWKEN_6 (0x00000040UL)
  5013. #define INTC_WKEN_EIRQWKEN_7 (0x00000080UL)
  5014. #define INTC_WKEN_EIRQWKEN_8 (0x00000100UL)
  5015. #define INTC_WKEN_EIRQWKEN_9 (0x00000200UL)
  5016. #define INTC_WKEN_EIRQWKEN_10 (0x00000400UL)
  5017. #define INTC_WKEN_EIRQWKEN_11 (0x00000800UL)
  5018. #define INTC_WKEN_EIRQWKEN_12 (0x00001000UL)
  5019. #define INTC_WKEN_EIRQWKEN_13 (0x00002000UL)
  5020. #define INTC_WKEN_EIRQWKEN_14 (0x00004000UL)
  5021. #define INTC_WKEN_EIRQWKEN_15 (0x00008000UL)
  5022. #define INTC_WKEN_SWDTWKEN_POS (16U)
  5023. #define INTC_WKEN_SWDTWKEN (0x00010000UL)
  5024. #define INTC_WKEN_PVD1WKEN_POS (17U)
  5025. #define INTC_WKEN_PVD1WKEN (0x00020000UL)
  5026. #define INTC_WKEN_PVD2WKEN_POS (18U)
  5027. #define INTC_WKEN_PVD2WKEN (0x00040000UL)
  5028. #define INTC_WKEN_CMP1WKEN_POS (19U)
  5029. #define INTC_WKEN_CMP1WKEN (0x00080000UL)
  5030. #define INTC_WKEN_WKTMWKEN_POS (20U)
  5031. #define INTC_WKEN_WKTMWKEN (0x00100000UL)
  5032. #define INTC_WKEN_RTCALMWKEN_POS (21U)
  5033. #define INTC_WKEN_RTCALMWKEN (0x00200000UL)
  5034. #define INTC_WKEN_RTCPRDWKEN_POS (22U)
  5035. #define INTC_WKEN_RTCPRDWKEN (0x00400000UL)
  5036. #define INTC_WKEN_TMR0CMPWKEN_POS (23U)
  5037. #define INTC_WKEN_TMR0CMPWKEN (0x00800000UL)
  5038. #define INTC_WKEN_RXWKEN_POS (26U)
  5039. #define INTC_WKEN_RXWKEN (0x04000000UL)
  5040. #define INTC_WKEN_CMP2WKEN_POS (29U)
  5041. #define INTC_WKEN_CMP2WKEN (0x20000000UL)
  5042. #define INTC_WKEN_CMP3WKEN_POS (30U)
  5043. #define INTC_WKEN_CMP3WKEN (0x40000000UL)
  5044. #define INTC_WKEN_CMP4WKEN_POS (31U)
  5045. #define INTC_WKEN_CMP4WKEN (0x80000000UL)
  5046. /* Bit definition for INTC_EIFR register */
  5047. #define INTC_EIFR_EIF0_POS (0U)
  5048. #define INTC_EIFR_EIF0 (0x00000001UL)
  5049. #define INTC_EIFR_EIF1_POS (1U)
  5050. #define INTC_EIFR_EIF1 (0x00000002UL)
  5051. #define INTC_EIFR_EIF2_POS (2U)
  5052. #define INTC_EIFR_EIF2 (0x00000004UL)
  5053. #define INTC_EIFR_EIF3_POS (3U)
  5054. #define INTC_EIFR_EIF3 (0x00000008UL)
  5055. #define INTC_EIFR_EIF4_POS (4U)
  5056. #define INTC_EIFR_EIF4 (0x00000010UL)
  5057. #define INTC_EIFR_EIF5_POS (5U)
  5058. #define INTC_EIFR_EIF5 (0x00000020UL)
  5059. #define INTC_EIFR_EIF6_POS (6U)
  5060. #define INTC_EIFR_EIF6 (0x00000040UL)
  5061. #define INTC_EIFR_EIF7_POS (7U)
  5062. #define INTC_EIFR_EIF7 (0x00000080UL)
  5063. #define INTC_EIFR_EIF8_POS (8U)
  5064. #define INTC_EIFR_EIF8 (0x00000100UL)
  5065. #define INTC_EIFR_EIF9_POS (9U)
  5066. #define INTC_EIFR_EIF9 (0x00000200UL)
  5067. #define INTC_EIFR_EIF10_POS (10U)
  5068. #define INTC_EIFR_EIF10 (0x00000400UL)
  5069. #define INTC_EIFR_EIF11_POS (11U)
  5070. #define INTC_EIFR_EIF11 (0x00000800UL)
  5071. #define INTC_EIFR_EIF12_POS (12U)
  5072. #define INTC_EIFR_EIF12 (0x00001000UL)
  5073. #define INTC_EIFR_EIF13_POS (13U)
  5074. #define INTC_EIFR_EIF13 (0x00002000UL)
  5075. #define INTC_EIFR_EIF14_POS (14U)
  5076. #define INTC_EIFR_EIF14 (0x00004000UL)
  5077. #define INTC_EIFR_EIF15_POS (15U)
  5078. #define INTC_EIFR_EIF15 (0x00008000UL)
  5079. /* Bit definition for INTC_EIFCR register */
  5080. #define INTC_EIFCR_EIFCLR0_POS (0U)
  5081. #define INTC_EIFCR_EIFCLR0 (0x00000001UL)
  5082. #define INTC_EIFCR_EIFCLR1_POS (1U)
  5083. #define INTC_EIFCR_EIFCLR1 (0x00000002UL)
  5084. #define INTC_EIFCR_EIFCLR2_POS (2U)
  5085. #define INTC_EIFCR_EIFCLR2 (0x00000004UL)
  5086. #define INTC_EIFCR_EIFCLR3_POS (3U)
  5087. #define INTC_EIFCR_EIFCLR3 (0x00000008UL)
  5088. #define INTC_EIFCR_EIFCLR4_POS (4U)
  5089. #define INTC_EIFCR_EIFCLR4 (0x00000010UL)
  5090. #define INTC_EIFCR_EIFCLR5_POS (5U)
  5091. #define INTC_EIFCR_EIFCLR5 (0x00000020UL)
  5092. #define INTC_EIFCR_EIFCLR6_POS (6U)
  5093. #define INTC_EIFCR_EIFCLR6 (0x00000040UL)
  5094. #define INTC_EIFCR_EIFCLR7_POS (7U)
  5095. #define INTC_EIFCR_EIFCLR7 (0x00000080UL)
  5096. #define INTC_EIFCR_EIFCLR8_POS (8U)
  5097. #define INTC_EIFCR_EIFCLR8 (0x00000100UL)
  5098. #define INTC_EIFCR_EIFCLR9_POS (9U)
  5099. #define INTC_EIFCR_EIFCLR9 (0x00000200UL)
  5100. #define INTC_EIFCR_EIFCLR10_POS (10U)
  5101. #define INTC_EIFCR_EIFCLR10 (0x00000400UL)
  5102. #define INTC_EIFCR_EIFCLR11_POS (11U)
  5103. #define INTC_EIFCR_EIFCLR11 (0x00000800UL)
  5104. #define INTC_EIFCR_EIFCLR12_POS (12U)
  5105. #define INTC_EIFCR_EIFCLR12 (0x00001000UL)
  5106. #define INTC_EIFCR_EIFCLR13_POS (13U)
  5107. #define INTC_EIFCR_EIFCLR13 (0x00002000UL)
  5108. #define INTC_EIFCR_EIFCLR14_POS (14U)
  5109. #define INTC_EIFCR_EIFCLR14 (0x00004000UL)
  5110. #define INTC_EIFCR_EIFCLR15_POS (15U)
  5111. #define INTC_EIFCR_EIFCLR15 (0x00008000UL)
  5112. /* Bit definition for INTC_INTSEL register */
  5113. #define INTC_INTSEL_INTSEL (0x000001FFUL)
  5114. /* Bit definition for INTC_INTMSK0 register */
  5115. #define INTC_INTMSK0_INTMSK0_POS (0U)
  5116. #define INTC_INTMSK0_INTMSK0 (0x00000001UL)
  5117. #define INTC_INTMSK0_INTMSK1_POS (1U)
  5118. #define INTC_INTMSK0_INTMSK1 (0x00000002UL)
  5119. #define INTC_INTMSK0_INTMSK2_POS (2U)
  5120. #define INTC_INTMSK0_INTMSK2 (0x00000004UL)
  5121. #define INTC_INTMSK0_INTMSK3_POS (3U)
  5122. #define INTC_INTMSK0_INTMSK3 (0x00000008UL)
  5123. #define INTC_INTMSK0_INTMSK4_POS (4U)
  5124. #define INTC_INTMSK0_INTMSK4 (0x00000010UL)
  5125. #define INTC_INTMSK0_INTMSK5_POS (5U)
  5126. #define INTC_INTMSK0_INTMSK5 (0x00000020UL)
  5127. #define INTC_INTMSK0_INTMSK6_POS (6U)
  5128. #define INTC_INTMSK0_INTMSK6 (0x00000040UL)
  5129. #define INTC_INTMSK0_INTMSK7_POS (7U)
  5130. #define INTC_INTMSK0_INTMSK7 (0x00000080UL)
  5131. #define INTC_INTMSK0_INTMSK8_POS (8U)
  5132. #define INTC_INTMSK0_INTMSK8 (0x00000100UL)
  5133. #define INTC_INTMSK0_INTMSK9_POS (9U)
  5134. #define INTC_INTMSK0_INTMSK9 (0x00000200UL)
  5135. #define INTC_INTMSK0_INTMSK10_POS (10U)
  5136. #define INTC_INTMSK0_INTMSK10 (0x00000400UL)
  5137. #define INTC_INTMSK0_INTMSK11_POS (11U)
  5138. #define INTC_INTMSK0_INTMSK11 (0x00000800UL)
  5139. #define INTC_INTMSK0_INTMSK12_POS (12U)
  5140. #define INTC_INTMSK0_INTMSK12 (0x00001000UL)
  5141. #define INTC_INTMSK0_INTMSK13_POS (13U)
  5142. #define INTC_INTMSK0_INTMSK13 (0x00002000UL)
  5143. #define INTC_INTMSK0_INTMSK14_POS (14U)
  5144. #define INTC_INTMSK0_INTMSK14 (0x00004000UL)
  5145. #define INTC_INTMSK0_INTMSK15_POS (15U)
  5146. #define INTC_INTMSK0_INTMSK15 (0x00008000UL)
  5147. #define INTC_INTMSK0_INTMSK16_POS (16U)
  5148. #define INTC_INTMSK0_INTMSK16 (0x00010000UL)
  5149. #define INTC_INTMSK0_INTMSK17_POS (17U)
  5150. #define INTC_INTMSK0_INTMSK17 (0x00020000UL)
  5151. #define INTC_INTMSK0_INTMSK18_POS (18U)
  5152. #define INTC_INTMSK0_INTMSK18 (0x00040000UL)
  5153. #define INTC_INTMSK0_INTMSK19_POS (19U)
  5154. #define INTC_INTMSK0_INTMSK19 (0x00080000UL)
  5155. #define INTC_INTMSK0_INTMSK20_POS (20U)
  5156. #define INTC_INTMSK0_INTMSK20 (0x00100000UL)
  5157. #define INTC_INTMSK0_INTMSK21_POS (21U)
  5158. #define INTC_INTMSK0_INTMSK21 (0x00200000UL)
  5159. #define INTC_INTMSK0_INTMSK22_POS (22U)
  5160. #define INTC_INTMSK0_INTMSK22 (0x00400000UL)
  5161. #define INTC_INTMSK0_INTMSK23_POS (23U)
  5162. #define INTC_INTMSK0_INTMSK23 (0x00800000UL)
  5163. #define INTC_INTMSK0_INTMSK24_POS (24U)
  5164. #define INTC_INTMSK0_INTMSK24 (0x01000000UL)
  5165. #define INTC_INTMSK0_INTMSK25_POS (25U)
  5166. #define INTC_INTMSK0_INTMSK25 (0x02000000UL)
  5167. #define INTC_INTMSK0_INTMSK26_POS (26U)
  5168. #define INTC_INTMSK0_INTMSK26 (0x04000000UL)
  5169. #define INTC_INTMSK0_INTMSK27_POS (27U)
  5170. #define INTC_INTMSK0_INTMSK27 (0x08000000UL)
  5171. #define INTC_INTMSK0_INTMSK28_POS (28U)
  5172. #define INTC_INTMSK0_INTMSK28 (0x10000000UL)
  5173. #define INTC_INTMSK0_INTMSK29_POS (29U)
  5174. #define INTC_INTMSK0_INTMSK29 (0x20000000UL)
  5175. #define INTC_INTMSK0_INTMSK30_POS (30U)
  5176. #define INTC_INTMSK0_INTMSK30 (0x40000000UL)
  5177. #define INTC_INTMSK0_INTMSK31_POS (31U)
  5178. #define INTC_INTMSK0_INTMSK31 (0x80000000UL)
  5179. /* Bit definition for INTC_INTMSK1 register */
  5180. #define INTC_INTMSK1_INTMSK32_POS (0U)
  5181. #define INTC_INTMSK1_INTMSK32 (0x00000001UL)
  5182. #define INTC_INTMSK1_INTMSK33_POS (1U)
  5183. #define INTC_INTMSK1_INTMSK33 (0x00000002UL)
  5184. #define INTC_INTMSK1_INTMSK34_POS (2U)
  5185. #define INTC_INTMSK1_INTMSK34 (0x00000004UL)
  5186. #define INTC_INTMSK1_INTMSK35_POS (3U)
  5187. #define INTC_INTMSK1_INTMSK35 (0x00000008UL)
  5188. #define INTC_INTMSK1_INTMSK36_POS (4U)
  5189. #define INTC_INTMSK1_INTMSK36 (0x00000010UL)
  5190. #define INTC_INTMSK1_INTMSK37_POS (5U)
  5191. #define INTC_INTMSK1_INTMSK37 (0x00000020UL)
  5192. #define INTC_INTMSK1_INTMSK38_POS (6U)
  5193. #define INTC_INTMSK1_INTMSK38 (0x00000040UL)
  5194. #define INTC_INTMSK1_INTMSK39_POS (7U)
  5195. #define INTC_INTMSK1_INTMSK39 (0x00000080UL)
  5196. #define INTC_INTMSK1_INTMSK40_POS (8U)
  5197. #define INTC_INTMSK1_INTMSK40 (0x00000100UL)
  5198. #define INTC_INTMSK1_INTMSK41_POS (9U)
  5199. #define INTC_INTMSK1_INTMSK41 (0x00000200UL)
  5200. #define INTC_INTMSK1_INTMSK42_POS (10U)
  5201. #define INTC_INTMSK1_INTMSK42 (0x00000400UL)
  5202. #define INTC_INTMSK1_INTMSK43_POS (11U)
  5203. #define INTC_INTMSK1_INTMSK43 (0x00000800UL)
  5204. #define INTC_INTMSK1_INTMSK44_POS (12U)
  5205. #define INTC_INTMSK1_INTMSK44 (0x00001000UL)
  5206. #define INTC_INTMSK1_INTMSK45_POS (13U)
  5207. #define INTC_INTMSK1_INTMSK45 (0x00002000UL)
  5208. #define INTC_INTMSK1_INTMSK46_POS (14U)
  5209. #define INTC_INTMSK1_INTMSK46 (0x00004000UL)
  5210. #define INTC_INTMSK1_INTMSK47_POS (15U)
  5211. #define INTC_INTMSK1_INTMSK47 (0x00008000UL)
  5212. #define INTC_INTMSK1_INTMSK48_POS (16U)
  5213. #define INTC_INTMSK1_INTMSK48 (0x00010000UL)
  5214. #define INTC_INTMSK1_INTMSK49_POS (17U)
  5215. #define INTC_INTMSK1_INTMSK49 (0x00020000UL)
  5216. #define INTC_INTMSK1_INTMSK50_POS (18U)
  5217. #define INTC_INTMSK1_INTMSK50 (0x00040000UL)
  5218. #define INTC_INTMSK1_INTMSK51_POS (19U)
  5219. #define INTC_INTMSK1_INTMSK51 (0x00080000UL)
  5220. #define INTC_INTMSK1_INTMSK52_POS (20U)
  5221. #define INTC_INTMSK1_INTMSK52 (0x00100000UL)
  5222. #define INTC_INTMSK1_INTMSK53_POS (21U)
  5223. #define INTC_INTMSK1_INTMSK53 (0x00200000UL)
  5224. #define INTC_INTMSK1_INTMSK54_POS (22U)
  5225. #define INTC_INTMSK1_INTMSK54 (0x00400000UL)
  5226. #define INTC_INTMSK1_INTMSK55_POS (23U)
  5227. #define INTC_INTMSK1_INTMSK55 (0x00800000UL)
  5228. #define INTC_INTMSK1_INTMSK56_POS (24U)
  5229. #define INTC_INTMSK1_INTMSK56 (0x01000000UL)
  5230. #define INTC_INTMSK1_INTMSK57_POS (25U)
  5231. #define INTC_INTMSK1_INTMSK57 (0x02000000UL)
  5232. #define INTC_INTMSK1_INTMSK58_POS (26U)
  5233. #define INTC_INTMSK1_INTMSK58 (0x04000000UL)
  5234. #define INTC_INTMSK1_INTMSK59_POS (27U)
  5235. #define INTC_INTMSK1_INTMSK59 (0x08000000UL)
  5236. #define INTC_INTMSK1_INTMSK60_POS (28U)
  5237. #define INTC_INTMSK1_INTMSK60 (0x10000000UL)
  5238. #define INTC_INTMSK1_INTMSK61_POS (29U)
  5239. #define INTC_INTMSK1_INTMSK61 (0x20000000UL)
  5240. #define INTC_INTMSK1_INTMSK62_POS (30U)
  5241. #define INTC_INTMSK1_INTMSK62 (0x40000000UL)
  5242. #define INTC_INTMSK1_INTMSK63_POS (31U)
  5243. #define INTC_INTMSK1_INTMSK63 (0x80000000UL)
  5244. /* Bit definition for INTC_INTMSK2 register */
  5245. #define INTC_INTMSK2_INTMSK64_POS (0U)
  5246. #define INTC_INTMSK2_INTMSK64 (0x00000001UL)
  5247. #define INTC_INTMSK2_INTMSK65_POS (1U)
  5248. #define INTC_INTMSK2_INTMSK65 (0x00000002UL)
  5249. #define INTC_INTMSK2_INTMSK66_POS (2U)
  5250. #define INTC_INTMSK2_INTMSK66 (0x00000004UL)
  5251. #define INTC_INTMSK2_INTMSK67_POS (3U)
  5252. #define INTC_INTMSK2_INTMSK67 (0x00000008UL)
  5253. #define INTC_INTMSK2_INTMSK68_POS (4U)
  5254. #define INTC_INTMSK2_INTMSK68 (0x00000010UL)
  5255. #define INTC_INTMSK2_INTMSK69_POS (5U)
  5256. #define INTC_INTMSK2_INTMSK69 (0x00000020UL)
  5257. #define INTC_INTMSK2_INTMSK70_POS (6U)
  5258. #define INTC_INTMSK2_INTMSK70 (0x00000040UL)
  5259. #define INTC_INTMSK2_INTMSK71_POS (7U)
  5260. #define INTC_INTMSK2_INTMSK71 (0x00000080UL)
  5261. #define INTC_INTMSK2_INTMSK72_POS (8U)
  5262. #define INTC_INTMSK2_INTMSK72 (0x00000100UL)
  5263. #define INTC_INTMSK2_INTMSK73_POS (9U)
  5264. #define INTC_INTMSK2_INTMSK73 (0x00000200UL)
  5265. #define INTC_INTMSK2_INTMSK74_POS (10U)
  5266. #define INTC_INTMSK2_INTMSK74 (0x00000400UL)
  5267. #define INTC_INTMSK2_INTMSK75_POS (11U)
  5268. #define INTC_INTMSK2_INTMSK75 (0x00000800UL)
  5269. #define INTC_INTMSK2_INTMSK76_POS (12U)
  5270. #define INTC_INTMSK2_INTMSK76 (0x00001000UL)
  5271. #define INTC_INTMSK2_INTMSK77_POS (13U)
  5272. #define INTC_INTMSK2_INTMSK77 (0x00002000UL)
  5273. #define INTC_INTMSK2_INTMSK78_POS (14U)
  5274. #define INTC_INTMSK2_INTMSK78 (0x00004000UL)
  5275. #define INTC_INTMSK2_INTMSK79_POS (15U)
  5276. #define INTC_INTMSK2_INTMSK79 (0x00008000UL)
  5277. #define INTC_INTMSK2_INTMSK80_POS (16U)
  5278. #define INTC_INTMSK2_INTMSK80 (0x00010000UL)
  5279. #define INTC_INTMSK2_INTMSK81_POS (17U)
  5280. #define INTC_INTMSK2_INTMSK81 (0x00020000UL)
  5281. #define INTC_INTMSK2_INTMSK82_POS (18U)
  5282. #define INTC_INTMSK2_INTMSK82 (0x00040000UL)
  5283. #define INTC_INTMSK2_INTMSK83_POS (19U)
  5284. #define INTC_INTMSK2_INTMSK83 (0x00080000UL)
  5285. #define INTC_INTMSK2_INTMSK84_POS (20U)
  5286. #define INTC_INTMSK2_INTMSK84 (0x00100000UL)
  5287. #define INTC_INTMSK2_INTMSK85_POS (21U)
  5288. #define INTC_INTMSK2_INTMSK85 (0x00200000UL)
  5289. #define INTC_INTMSK2_INTMSK86_POS (22U)
  5290. #define INTC_INTMSK2_INTMSK86 (0x00400000UL)
  5291. #define INTC_INTMSK2_INTMSK87_POS (23U)
  5292. #define INTC_INTMSK2_INTMSK87 (0x00800000UL)
  5293. #define INTC_INTMSK2_INTMSK88_POS (24U)
  5294. #define INTC_INTMSK2_INTMSK88 (0x01000000UL)
  5295. #define INTC_INTMSK2_INTMSK89_POS (25U)
  5296. #define INTC_INTMSK2_INTMSK89 (0x02000000UL)
  5297. #define INTC_INTMSK2_INTMSK90_POS (26U)
  5298. #define INTC_INTMSK2_INTMSK90 (0x04000000UL)
  5299. #define INTC_INTMSK2_INTMSK91_POS (27U)
  5300. #define INTC_INTMSK2_INTMSK91 (0x08000000UL)
  5301. #define INTC_INTMSK2_INTMSK92_POS (28U)
  5302. #define INTC_INTMSK2_INTMSK92 (0x10000000UL)
  5303. #define INTC_INTMSK2_INTMSK93_POS (29U)
  5304. #define INTC_INTMSK2_INTMSK93 (0x20000000UL)
  5305. #define INTC_INTMSK2_INTMSK94_POS (30U)
  5306. #define INTC_INTMSK2_INTMSK94 (0x40000000UL)
  5307. #define INTC_INTMSK2_INTMSK95_POS (31U)
  5308. #define INTC_INTMSK2_INTMSK95 (0x80000000UL)
  5309. /* Bit definition for INTC_INTMSK3 register */
  5310. #define INTC_INTMSK3_INTMSK96_POS (0U)
  5311. #define INTC_INTMSK3_INTMSK96 (0x00000001UL)
  5312. #define INTC_INTMSK3_INTMSK97_POS (1U)
  5313. #define INTC_INTMSK3_INTMSK97 (0x00000002UL)
  5314. #define INTC_INTMSK3_INTMSK98_POS (2U)
  5315. #define INTC_INTMSK3_INTMSK98 (0x00000004UL)
  5316. #define INTC_INTMSK3_INTMSK99_POS (3U)
  5317. #define INTC_INTMSK3_INTMSK99 (0x00000008UL)
  5318. #define INTC_INTMSK3_INTMSK100_POS (4U)
  5319. #define INTC_INTMSK3_INTMSK100 (0x00000010UL)
  5320. #define INTC_INTMSK3_INTMSK101_POS (5U)
  5321. #define INTC_INTMSK3_INTMSK101 (0x00000020UL)
  5322. #define INTC_INTMSK3_INTMSK102_POS (6U)
  5323. #define INTC_INTMSK3_INTMSK102 (0x00000040UL)
  5324. #define INTC_INTMSK3_INTMSK103_POS (7U)
  5325. #define INTC_INTMSK3_INTMSK103 (0x00000080UL)
  5326. #define INTC_INTMSK3_INTMSK104_POS (8U)
  5327. #define INTC_INTMSK3_INTMSK104 (0x00000100UL)
  5328. #define INTC_INTMSK3_INTMSK105_POS (9U)
  5329. #define INTC_INTMSK3_INTMSK105 (0x00000200UL)
  5330. #define INTC_INTMSK3_INTMSK106_POS (10U)
  5331. #define INTC_INTMSK3_INTMSK106 (0x00000400UL)
  5332. #define INTC_INTMSK3_INTMSK107_POS (11U)
  5333. #define INTC_INTMSK3_INTMSK107 (0x00000800UL)
  5334. #define INTC_INTMSK3_INTMSK108_POS (12U)
  5335. #define INTC_INTMSK3_INTMSK108 (0x00001000UL)
  5336. #define INTC_INTMSK3_INTMSK109_POS (13U)
  5337. #define INTC_INTMSK3_INTMSK109 (0x00002000UL)
  5338. #define INTC_INTMSK3_INTMSK110_POS (14U)
  5339. #define INTC_INTMSK3_INTMSK110 (0x00004000UL)
  5340. #define INTC_INTMSK3_INTMSK111_POS (15U)
  5341. #define INTC_INTMSK3_INTMSK111 (0x00008000UL)
  5342. #define INTC_INTMSK3_INTMSK112_POS (16U)
  5343. #define INTC_INTMSK3_INTMSK112 (0x00010000UL)
  5344. #define INTC_INTMSK3_INTMSK113_POS (17U)
  5345. #define INTC_INTMSK3_INTMSK113 (0x00020000UL)
  5346. #define INTC_INTMSK3_INTMSK114_POS (18U)
  5347. #define INTC_INTMSK3_INTMSK114 (0x00040000UL)
  5348. #define INTC_INTMSK3_INTMSK115_POS (19U)
  5349. #define INTC_INTMSK3_INTMSK115 (0x00080000UL)
  5350. #define INTC_INTMSK3_INTMSK116_POS (20U)
  5351. #define INTC_INTMSK3_INTMSK116 (0x00100000UL)
  5352. #define INTC_INTMSK3_INTMSK117_POS (21U)
  5353. #define INTC_INTMSK3_INTMSK117 (0x00200000UL)
  5354. #define INTC_INTMSK3_INTMSK118_POS (22U)
  5355. #define INTC_INTMSK3_INTMSK118 (0x00400000UL)
  5356. #define INTC_INTMSK3_INTMSK119_POS (23U)
  5357. #define INTC_INTMSK3_INTMSK119 (0x00800000UL)
  5358. #define INTC_INTMSK3_INTMSK120_POS (24U)
  5359. #define INTC_INTMSK3_INTMSK120 (0x01000000UL)
  5360. #define INTC_INTMSK3_INTMSK121_POS (25U)
  5361. #define INTC_INTMSK3_INTMSK121 (0x02000000UL)
  5362. #define INTC_INTMSK3_INTMSK122_POS (26U)
  5363. #define INTC_INTMSK3_INTMSK122 (0x04000000UL)
  5364. #define INTC_INTMSK3_INTMSK123_POS (27U)
  5365. #define INTC_INTMSK3_INTMSK123 (0x08000000UL)
  5366. #define INTC_INTMSK3_INTMSK124_POS (28U)
  5367. #define INTC_INTMSK3_INTMSK124 (0x10000000UL)
  5368. #define INTC_INTMSK3_INTMSK125_POS (29U)
  5369. #define INTC_INTMSK3_INTMSK125 (0x20000000UL)
  5370. #define INTC_INTMSK3_INTMSK126_POS (30U)
  5371. #define INTC_INTMSK3_INTMSK126 (0x40000000UL)
  5372. #define INTC_INTMSK3_INTMSK127_POS (31U)
  5373. #define INTC_INTMSK3_INTMSK127 (0x80000000UL)
  5374. /* Bit definition for INTC_INTMSK4 register */
  5375. #define INTC_INTMSK4_INTMSK128_POS (0U)
  5376. #define INTC_INTMSK4_INTMSK128 (0x00000001UL)
  5377. #define INTC_INTMSK4_INTMSK129_POS (1U)
  5378. #define INTC_INTMSK4_INTMSK129 (0x00000002UL)
  5379. #define INTC_INTMSK4_INTMSK130_POS (2U)
  5380. #define INTC_INTMSK4_INTMSK130 (0x00000004UL)
  5381. #define INTC_INTMSK4_INTMSK131_POS (3U)
  5382. #define INTC_INTMSK4_INTMSK131 (0x00000008UL)
  5383. #define INTC_INTMSK4_INTMSK132_POS (4U)
  5384. #define INTC_INTMSK4_INTMSK132 (0x00000010UL)
  5385. #define INTC_INTMSK4_INTMSK133_POS (5U)
  5386. #define INTC_INTMSK4_INTMSK133 (0x00000020UL)
  5387. #define INTC_INTMSK4_INTMSK134_POS (6U)
  5388. #define INTC_INTMSK4_INTMSK134 (0x00000040UL)
  5389. #define INTC_INTMSK4_INTMSK135_POS (7U)
  5390. #define INTC_INTMSK4_INTMSK135 (0x00000080UL)
  5391. #define INTC_INTMSK4_INTMSK136_POS (8U)
  5392. #define INTC_INTMSK4_INTMSK136 (0x00000100UL)
  5393. #define INTC_INTMSK4_INTMSK137_POS (9U)
  5394. #define INTC_INTMSK4_INTMSK137 (0x00000200UL)
  5395. #define INTC_INTMSK4_INTMSK138_POS (10U)
  5396. #define INTC_INTMSK4_INTMSK138 (0x00000400UL)
  5397. #define INTC_INTMSK4_INTMSK139_POS (11U)
  5398. #define INTC_INTMSK4_INTMSK139 (0x00000800UL)
  5399. #define INTC_INTMSK4_INTMSK140_POS (12U)
  5400. #define INTC_INTMSK4_INTMSK140 (0x00001000UL)
  5401. #define INTC_INTMSK4_INTMSK141_POS (13U)
  5402. #define INTC_INTMSK4_INTMSK141 (0x00002000UL)
  5403. #define INTC_INTMSK4_INTMSK142_POS (14U)
  5404. #define INTC_INTMSK4_INTMSK142 (0x00004000UL)
  5405. #define INTC_INTMSK4_INTMSK143_POS (15U)
  5406. #define INTC_INTMSK4_INTMSK143 (0x00008000UL)
  5407. #define INTC_INTMSK4_INTMSK144_POS (16U)
  5408. #define INTC_INTMSK4_INTMSK144 (0x00010000UL)
  5409. #define INTC_INTMSK4_INTMSK145_POS (17U)
  5410. #define INTC_INTMSK4_INTMSK145 (0x00020000UL)
  5411. #define INTC_INTMSK4_INTMSK146_POS (18U)
  5412. #define INTC_INTMSK4_INTMSK146 (0x00040000UL)
  5413. #define INTC_INTMSK4_INTMSK147_POS (19U)
  5414. #define INTC_INTMSK4_INTMSK147 (0x00080000UL)
  5415. #define INTC_INTMSK4_INTMSK148_POS (20U)
  5416. #define INTC_INTMSK4_INTMSK148 (0x00100000UL)
  5417. #define INTC_INTMSK4_INTMSK149_POS (21U)
  5418. #define INTC_INTMSK4_INTMSK149 (0x00200000UL)
  5419. #define INTC_INTMSK4_INTMSK150_POS (22U)
  5420. #define INTC_INTMSK4_INTMSK150 (0x00400000UL)
  5421. #define INTC_INTMSK4_INTMSK151_POS (23U)
  5422. #define INTC_INTMSK4_INTMSK151 (0x00800000UL)
  5423. #define INTC_INTMSK4_INTMSK152_POS (24U)
  5424. #define INTC_INTMSK4_INTMSK152 (0x01000000UL)
  5425. #define INTC_INTMSK4_INTMSK153_POS (25U)
  5426. #define INTC_INTMSK4_INTMSK153 (0x02000000UL)
  5427. #define INTC_INTMSK4_INTMSK154_POS (26U)
  5428. #define INTC_INTMSK4_INTMSK154 (0x04000000UL)
  5429. #define INTC_INTMSK4_INTMSK155_POS (27U)
  5430. #define INTC_INTMSK4_INTMSK155 (0x08000000UL)
  5431. #define INTC_INTMSK4_INTMSK156_POS (28U)
  5432. #define INTC_INTMSK4_INTMSK156 (0x10000000UL)
  5433. #define INTC_INTMSK4_INTMSK157_POS (29U)
  5434. #define INTC_INTMSK4_INTMSK157 (0x20000000UL)
  5435. #define INTC_INTMSK4_INTMSK158_POS (30U)
  5436. #define INTC_INTMSK4_INTMSK158 (0x40000000UL)
  5437. #define INTC_INTMSK4_INTMSK159_POS (31U)
  5438. #define INTC_INTMSK4_INTMSK159 (0x80000000UL)
  5439. /* Bit definition for INTC_INTMSK5 register */
  5440. #define INTC_INTMSK5_INTMSK260_POS (0U)
  5441. #define INTC_INTMSK5_INTMSK260 (0x00000001UL)
  5442. #define INTC_INTMSK5_INTMSK261_POS (1U)
  5443. #define INTC_INTMSK5_INTMSK261 (0x00000002UL)
  5444. #define INTC_INTMSK5_INTMSK262_POS (2U)
  5445. #define INTC_INTMSK5_INTMSK262 (0x00000004UL)
  5446. #define INTC_INTMSK5_INTMSK263_POS (3U)
  5447. #define INTC_INTMSK5_INTMSK263 (0x00000008UL)
  5448. #define INTC_INTMSK5_INTMSK264_POS (4U)
  5449. #define INTC_INTMSK5_INTMSK264 (0x00000010UL)
  5450. #define INTC_INTMSK5_INTMSK265_POS (5U)
  5451. #define INTC_INTMSK5_INTMSK265 (0x00000020UL)
  5452. #define INTC_INTMSK5_INTMSK266_POS (6U)
  5453. #define INTC_INTMSK5_INTMSK266 (0x00000040UL)
  5454. #define INTC_INTMSK5_INTMSK267_POS (7U)
  5455. #define INTC_INTMSK5_INTMSK267 (0x00000080UL)
  5456. #define INTC_INTMSK5_INTMSK268_POS (8U)
  5457. #define INTC_INTMSK5_INTMSK268 (0x00000100UL)
  5458. #define INTC_INTMSK5_INTMSK269_POS (9U)
  5459. #define INTC_INTMSK5_INTMSK269 (0x00000200UL)
  5460. #define INTC_INTMSK5_INTMSK270_POS (10U)
  5461. #define INTC_INTMSK5_INTMSK270 (0x00000400UL)
  5462. #define INTC_INTMSK5_INTMSK271_POS (11U)
  5463. #define INTC_INTMSK5_INTMSK271 (0x00000800UL)
  5464. #define INTC_INTMSK5_INTMSK272_POS (12U)
  5465. #define INTC_INTMSK5_INTMSK272 (0x00001000UL)
  5466. #define INTC_INTMSK5_INTMSK273_POS (13U)
  5467. #define INTC_INTMSK5_INTMSK273 (0x00002000UL)
  5468. #define INTC_INTMSK5_INTMSK274_POS (14U)
  5469. #define INTC_INTMSK5_INTMSK274 (0x00004000UL)
  5470. #define INTC_INTMSK5_INTMSK275_POS (15U)
  5471. #define INTC_INTMSK5_INTMSK275 (0x00008000UL)
  5472. #define INTC_INTMSK5_INTMSK276_POS (16U)
  5473. #define INTC_INTMSK5_INTMSK276 (0x00010000UL)
  5474. #define INTC_INTMSK5_INTMSK277_POS (17U)
  5475. #define INTC_INTMSK5_INTMSK277 (0x00020000UL)
  5476. #define INTC_INTMSK5_INTMSK278_POS (18U)
  5477. #define INTC_INTMSK5_INTMSK278 (0x00040000UL)
  5478. #define INTC_INTMSK5_INTMSK279_POS (19U)
  5479. #define INTC_INTMSK5_INTMSK279 (0x00080000UL)
  5480. #define INTC_INTMSK5_INTMSK280_POS (20U)
  5481. #define INTC_INTMSK5_INTMSK280 (0x00100000UL)
  5482. #define INTC_INTMSK5_INTMSK281_POS (21U)
  5483. #define INTC_INTMSK5_INTMSK281 (0x00200000UL)
  5484. #define INTC_INTMSK5_INTMSK282_POS (22U)
  5485. #define INTC_INTMSK5_INTMSK282 (0x00400000UL)
  5486. #define INTC_INTMSK5_INTMSK283_POS (23U)
  5487. #define INTC_INTMSK5_INTMSK283 (0x00800000UL)
  5488. #define INTC_INTMSK5_INTMSK284_POS (24U)
  5489. #define INTC_INTMSK5_INTMSK284 (0x01000000UL)
  5490. #define INTC_INTMSK5_INTMSK285_POS (25U)
  5491. #define INTC_INTMSK5_INTMSK285 (0x02000000UL)
  5492. #define INTC_INTMSK5_INTMSK286_POS (26U)
  5493. #define INTC_INTMSK5_INTMSK286 (0x04000000UL)
  5494. #define INTC_INTMSK5_INTMSK287_POS (27U)
  5495. #define INTC_INTMSK5_INTMSK287 (0x08000000UL)
  5496. #define INTC_INTMSK5_INTMSK288_POS (28U)
  5497. #define INTC_INTMSK5_INTMSK288 (0x10000000UL)
  5498. #define INTC_INTMSK5_INTMSK289_POS (29U)
  5499. #define INTC_INTMSK5_INTMSK289 (0x20000000UL)
  5500. #define INTC_INTMSK5_INTMSK290_POS (30U)
  5501. #define INTC_INTMSK5_INTMSK290 (0x40000000UL)
  5502. #define INTC_INTMSK5_INTMSK291_POS (31U)
  5503. #define INTC_INTMSK5_INTMSK291 (0x80000000UL)
  5504. /* Bit definition for INTC_INTMSK6 register */
  5505. #define INTC_INTMSK6_INTMSK192_POS (0U)
  5506. #define INTC_INTMSK6_INTMSK192 (0x00000001UL)
  5507. #define INTC_INTMSK6_INTMSK193_POS (1U)
  5508. #define INTC_INTMSK6_INTMSK193 (0x00000002UL)
  5509. #define INTC_INTMSK6_INTMSK194_POS (2U)
  5510. #define INTC_INTMSK6_INTMSK194 (0x00000004UL)
  5511. #define INTC_INTMSK6_INTMSK195_POS (3U)
  5512. #define INTC_INTMSK6_INTMSK195 (0x00000008UL)
  5513. #define INTC_INTMSK6_INTMSK196_POS (4U)
  5514. #define INTC_INTMSK6_INTMSK196 (0x00000010UL)
  5515. #define INTC_INTMSK6_INTMSK197_POS (5U)
  5516. #define INTC_INTMSK6_INTMSK197 (0x00000020UL)
  5517. #define INTC_INTMSK6_INTMSK198_POS (6U)
  5518. #define INTC_INTMSK6_INTMSK198 (0x00000040UL)
  5519. #define INTC_INTMSK6_INTMSK199_POS (7U)
  5520. #define INTC_INTMSK6_INTMSK199 (0x00000080UL)
  5521. #define INTC_INTMSK6_INTMSK200_POS (8U)
  5522. #define INTC_INTMSK6_INTMSK200 (0x00000100UL)
  5523. #define INTC_INTMSK6_INTMSK201_POS (9U)
  5524. #define INTC_INTMSK6_INTMSK201 (0x00000200UL)
  5525. #define INTC_INTMSK6_INTMSK202_POS (10U)
  5526. #define INTC_INTMSK6_INTMSK202 (0x00000400UL)
  5527. #define INTC_INTMSK6_INTMSK203_POS (11U)
  5528. #define INTC_INTMSK6_INTMSK203 (0x00000800UL)
  5529. #define INTC_INTMSK6_INTMSK204_POS (12U)
  5530. #define INTC_INTMSK6_INTMSK204 (0x00001000UL)
  5531. #define INTC_INTMSK6_INTMSK205_POS (13U)
  5532. #define INTC_INTMSK6_INTMSK205 (0x00002000UL)
  5533. #define INTC_INTMSK6_INTMSK206_POS (14U)
  5534. #define INTC_INTMSK6_INTMSK206 (0x00004000UL)
  5535. #define INTC_INTMSK6_INTMSK207_POS (15U)
  5536. #define INTC_INTMSK6_INTMSK207 (0x00008000UL)
  5537. #define INTC_INTMSK6_INTMSK208_POS (16U)
  5538. #define INTC_INTMSK6_INTMSK208 (0x00010000UL)
  5539. #define INTC_INTMSK6_INTMSK209_POS (17U)
  5540. #define INTC_INTMSK6_INTMSK209 (0x00020000UL)
  5541. #define INTC_INTMSK6_INTMSK210_POS (18U)
  5542. #define INTC_INTMSK6_INTMSK210 (0x00040000UL)
  5543. #define INTC_INTMSK6_INTMSK211_POS (19U)
  5544. #define INTC_INTMSK6_INTMSK211 (0x00080000UL)
  5545. #define INTC_INTMSK6_INTMSK212_POS (20U)
  5546. #define INTC_INTMSK6_INTMSK212 (0x00100000UL)
  5547. #define INTC_INTMSK6_INTMSK213_POS (21U)
  5548. #define INTC_INTMSK6_INTMSK213 (0x00200000UL)
  5549. #define INTC_INTMSK6_INTMSK214_POS (22U)
  5550. #define INTC_INTMSK6_INTMSK214 (0x00400000UL)
  5551. #define INTC_INTMSK6_INTMSK215_POS (23U)
  5552. #define INTC_INTMSK6_INTMSK215 (0x00800000UL)
  5553. #define INTC_INTMSK6_INTMSK216_POS (24U)
  5554. #define INTC_INTMSK6_INTMSK216 (0x01000000UL)
  5555. #define INTC_INTMSK6_INTMSK217_POS (25U)
  5556. #define INTC_INTMSK6_INTMSK217 (0x02000000UL)
  5557. #define INTC_INTMSK6_INTMSK218_POS (26U)
  5558. #define INTC_INTMSK6_INTMSK218 (0x04000000UL)
  5559. #define INTC_INTMSK6_INTMSK219_POS (27U)
  5560. #define INTC_INTMSK6_INTMSK219 (0x08000000UL)
  5561. #define INTC_INTMSK6_INTMSK220_POS (28U)
  5562. #define INTC_INTMSK6_INTMSK220 (0x10000000UL)
  5563. #define INTC_INTMSK6_INTMSK221_POS (29U)
  5564. #define INTC_INTMSK6_INTMSK221 (0x20000000UL)
  5565. #define INTC_INTMSK6_INTMSK222_POS (30U)
  5566. #define INTC_INTMSK6_INTMSK222 (0x40000000UL)
  5567. #define INTC_INTMSK6_INTMSK223_POS (31U)
  5568. #define INTC_INTMSK6_INTMSK223 (0x80000000UL)
  5569. /* Bit definition for INTC_INTMSK7 register */
  5570. #define INTC_INTMSK7_INTMSK224_POS (0U)
  5571. #define INTC_INTMSK7_INTMSK224 (0x00000001UL)
  5572. #define INTC_INTMSK7_INTMSK225_POS (1U)
  5573. #define INTC_INTMSK7_INTMSK225 (0x00000002UL)
  5574. #define INTC_INTMSK7_INTMSK226_POS (2U)
  5575. #define INTC_INTMSK7_INTMSK226 (0x00000004UL)
  5576. #define INTC_INTMSK7_INTMSK227_POS (3U)
  5577. #define INTC_INTMSK7_INTMSK227 (0x00000008UL)
  5578. #define INTC_INTMSK7_INTMSK228_POS (4U)
  5579. #define INTC_INTMSK7_INTMSK228 (0x00000010UL)
  5580. #define INTC_INTMSK7_INTMSK229_POS (5U)
  5581. #define INTC_INTMSK7_INTMSK229 (0x00000020UL)
  5582. #define INTC_INTMSK7_INTMSK230_POS (6U)
  5583. #define INTC_INTMSK7_INTMSK230 (0x00000040UL)
  5584. #define INTC_INTMSK7_INTMSK231_POS (7U)
  5585. #define INTC_INTMSK7_INTMSK231 (0x00000080UL)
  5586. #define INTC_INTMSK7_INTMSK232_POS (8U)
  5587. #define INTC_INTMSK7_INTMSK232 (0x00000100UL)
  5588. #define INTC_INTMSK7_INTMSK233_POS (9U)
  5589. #define INTC_INTMSK7_INTMSK233 (0x00000200UL)
  5590. #define INTC_INTMSK7_INTMSK234_POS (10U)
  5591. #define INTC_INTMSK7_INTMSK234 (0x00000400UL)
  5592. #define INTC_INTMSK7_INTMSK235_POS (11U)
  5593. #define INTC_INTMSK7_INTMSK235 (0x00000800UL)
  5594. #define INTC_INTMSK7_INTMSK236_POS (12U)
  5595. #define INTC_INTMSK7_INTMSK236 (0x00001000UL)
  5596. #define INTC_INTMSK7_INTMSK237_POS (13U)
  5597. #define INTC_INTMSK7_INTMSK237 (0x00002000UL)
  5598. #define INTC_INTMSK7_INTMSK238_POS (14U)
  5599. #define INTC_INTMSK7_INTMSK238 (0x00004000UL)
  5600. #define INTC_INTMSK7_INTMSK239_POS (15U)
  5601. #define INTC_INTMSK7_INTMSK239 (0x00008000UL)
  5602. #define INTC_INTMSK7_INTMSK240_POS (16U)
  5603. #define INTC_INTMSK7_INTMSK240 (0x00010000UL)
  5604. #define INTC_INTMSK7_INTMSK241_POS (17U)
  5605. #define INTC_INTMSK7_INTMSK241 (0x00020000UL)
  5606. #define INTC_INTMSK7_INTMSK242_POS (18U)
  5607. #define INTC_INTMSK7_INTMSK242 (0x00040000UL)
  5608. #define INTC_INTMSK7_INTMSK243_POS (19U)
  5609. #define INTC_INTMSK7_INTMSK243 (0x00080000UL)
  5610. #define INTC_INTMSK7_INTMSK244_POS (20U)
  5611. #define INTC_INTMSK7_INTMSK244 (0x00100000UL)
  5612. #define INTC_INTMSK7_INTMSK245_POS (21U)
  5613. #define INTC_INTMSK7_INTMSK245 (0x00200000UL)
  5614. #define INTC_INTMSK7_INTMSK246_POS (22U)
  5615. #define INTC_INTMSK7_INTMSK246 (0x00400000UL)
  5616. #define INTC_INTMSK7_INTMSK247_POS (23U)
  5617. #define INTC_INTMSK7_INTMSK247 (0x00800000UL)
  5618. #define INTC_INTMSK7_INTMSK248_POS (24U)
  5619. #define INTC_INTMSK7_INTMSK248 (0x01000000UL)
  5620. #define INTC_INTMSK7_INTMSK249_POS (25U)
  5621. #define INTC_INTMSK7_INTMSK249 (0x02000000UL)
  5622. #define INTC_INTMSK7_INTMSK250_POS (26U)
  5623. #define INTC_INTMSK7_INTMSK250 (0x04000000UL)
  5624. #define INTC_INTMSK7_INTMSK251_POS (27U)
  5625. #define INTC_INTMSK7_INTMSK251 (0x08000000UL)
  5626. #define INTC_INTMSK7_INTMSK252_POS (28U)
  5627. #define INTC_INTMSK7_INTMSK252 (0x10000000UL)
  5628. #define INTC_INTMSK7_INTMSK253_POS (29U)
  5629. #define INTC_INTMSK7_INTMSK253 (0x20000000UL)
  5630. #define INTC_INTMSK7_INTMSK254_POS (30U)
  5631. #define INTC_INTMSK7_INTMSK254 (0x40000000UL)
  5632. #define INTC_INTMSK7_INTMSK255_POS (31U)
  5633. #define INTC_INTMSK7_INTMSK255 (0x80000000UL)
  5634. /* Bit definition for INTC_INTMSK8 register */
  5635. #define INTC_INTMSK8_INTMSK256_POS (0U)
  5636. #define INTC_INTMSK8_INTMSK256 (0x00000001UL)
  5637. #define INTC_INTMSK8_INTMSK257_POS (1U)
  5638. #define INTC_INTMSK8_INTMSK257 (0x00000002UL)
  5639. #define INTC_INTMSK8_INTMSK258_POS (2U)
  5640. #define INTC_INTMSK8_INTMSK258 (0x00000004UL)
  5641. #define INTC_INTMSK8_INTMSK259_POS (3U)
  5642. #define INTC_INTMSK8_INTMSK259 (0x00000008UL)
  5643. #define INTC_INTMSK8_INTMSK260_POS (4U)
  5644. #define INTC_INTMSK8_INTMSK260 (0x00000010UL)
  5645. #define INTC_INTMSK8_INTMSK261_POS (5U)
  5646. #define INTC_INTMSK8_INTMSK261 (0x00000020UL)
  5647. #define INTC_INTMSK8_INTMSK262_POS (6U)
  5648. #define INTC_INTMSK8_INTMSK262 (0x00000040UL)
  5649. #define INTC_INTMSK8_INTMSK263_POS (7U)
  5650. #define INTC_INTMSK8_INTMSK263 (0x00000080UL)
  5651. #define INTC_INTMSK8_INTMSK264_POS (8U)
  5652. #define INTC_INTMSK8_INTMSK264 (0x00000100UL)
  5653. #define INTC_INTMSK8_INTMSK265_POS (9U)
  5654. #define INTC_INTMSK8_INTMSK265 (0x00000200UL)
  5655. #define INTC_INTMSK8_INTMSK266_POS (10U)
  5656. #define INTC_INTMSK8_INTMSK266 (0x00000400UL)
  5657. #define INTC_INTMSK8_INTMSK267_POS (11U)
  5658. #define INTC_INTMSK8_INTMSK267 (0x00000800UL)
  5659. #define INTC_INTMSK8_INTMSK268_POS (12U)
  5660. #define INTC_INTMSK8_INTMSK268 (0x00001000UL)
  5661. #define INTC_INTMSK8_INTMSK269_POS (13U)
  5662. #define INTC_INTMSK8_INTMSK269 (0x00002000UL)
  5663. #define INTC_INTMSK8_INTMSK270_POS (14U)
  5664. #define INTC_INTMSK8_INTMSK270 (0x00004000UL)
  5665. #define INTC_INTMSK8_INTMSK271_POS (15U)
  5666. #define INTC_INTMSK8_INTMSK271 (0x00008000UL)
  5667. #define INTC_INTMSK8_INTMSK272_POS (16U)
  5668. #define INTC_INTMSK8_INTMSK272 (0x00010000UL)
  5669. #define INTC_INTMSK8_INTMSK273_POS (17U)
  5670. #define INTC_INTMSK8_INTMSK273 (0x00020000UL)
  5671. #define INTC_INTMSK8_INTMSK274_POS (18U)
  5672. #define INTC_INTMSK8_INTMSK274 (0x00040000UL)
  5673. #define INTC_INTMSK8_INTMSK275_POS (19U)
  5674. #define INTC_INTMSK8_INTMSK275 (0x00080000UL)
  5675. #define INTC_INTMSK8_INTMSK276_POS (20U)
  5676. #define INTC_INTMSK8_INTMSK276 (0x00100000UL)
  5677. #define INTC_INTMSK8_INTMSK277_POS (21U)
  5678. #define INTC_INTMSK8_INTMSK277 (0x00200000UL)
  5679. #define INTC_INTMSK8_INTMSK278_POS (22U)
  5680. #define INTC_INTMSK8_INTMSK278 (0x00400000UL)
  5681. #define INTC_INTMSK8_INTMSK279_POS (23U)
  5682. #define INTC_INTMSK8_INTMSK279 (0x00800000UL)
  5683. #define INTC_INTMSK8_INTMSK280_POS (24U)
  5684. #define INTC_INTMSK8_INTMSK280 (0x01000000UL)
  5685. #define INTC_INTMSK8_INTMSK281_POS (25U)
  5686. #define INTC_INTMSK8_INTMSK281 (0x02000000UL)
  5687. #define INTC_INTMSK8_INTMSK282_POS (26U)
  5688. #define INTC_INTMSK8_INTMSK282 (0x04000000UL)
  5689. #define INTC_INTMSK8_INTMSK283_POS (27U)
  5690. #define INTC_INTMSK8_INTMSK283 (0x08000000UL)
  5691. #define INTC_INTMSK8_INTMSK284_POS (28U)
  5692. #define INTC_INTMSK8_INTMSK284 (0x10000000UL)
  5693. #define INTC_INTMSK8_INTMSK285_POS (29U)
  5694. #define INTC_INTMSK8_INTMSK285 (0x20000000UL)
  5695. #define INTC_INTMSK8_INTMSK286_POS (30U)
  5696. #define INTC_INTMSK8_INTMSK286 (0x40000000UL)
  5697. #define INTC_INTMSK8_INTMSK287_POS (31U)
  5698. #define INTC_INTMSK8_INTMSK287 (0x80000000UL)
  5699. /* Bit definition for INTC_INTMSK9 register */
  5700. #define INTC_INTMSK9_INTMSK288_POS (0U)
  5701. #define INTC_INTMSK9_INTMSK288 (0x00000001UL)
  5702. #define INTC_INTMSK9_INTMSK289_POS (1U)
  5703. #define INTC_INTMSK9_INTMSK289 (0x00000002UL)
  5704. #define INTC_INTMSK9_INTMSK290_POS (2U)
  5705. #define INTC_INTMSK9_INTMSK290 (0x00000004UL)
  5706. #define INTC_INTMSK9_INTMSK291_POS (3U)
  5707. #define INTC_INTMSK9_INTMSK291 (0x00000008UL)
  5708. #define INTC_INTMSK9_INTMSK292_POS (4U)
  5709. #define INTC_INTMSK9_INTMSK292 (0x00000010UL)
  5710. #define INTC_INTMSK9_INTMSK293_POS (5U)
  5711. #define INTC_INTMSK9_INTMSK293 (0x00000020UL)
  5712. #define INTC_INTMSK9_INTMSK294_POS (6U)
  5713. #define INTC_INTMSK9_INTMSK294 (0x00000040UL)
  5714. #define INTC_INTMSK9_INTMSK295_POS (7U)
  5715. #define INTC_INTMSK9_INTMSK295 (0x00000080UL)
  5716. #define INTC_INTMSK9_INTMSK296_POS (8U)
  5717. #define INTC_INTMSK9_INTMSK296 (0x00000100UL)
  5718. #define INTC_INTMSK9_INTMSK297_POS (9U)
  5719. #define INTC_INTMSK9_INTMSK297 (0x00000200UL)
  5720. #define INTC_INTMSK9_INTMSK298_POS (10U)
  5721. #define INTC_INTMSK9_INTMSK298 (0x00000400UL)
  5722. #define INTC_INTMSK9_INTMSK299_POS (11U)
  5723. #define INTC_INTMSK9_INTMSK299 (0x00000800UL)
  5724. #define INTC_INTMSK9_INTMSK300_POS (12U)
  5725. #define INTC_INTMSK9_INTMSK300 (0x00001000UL)
  5726. #define INTC_INTMSK9_INTMSK301_POS (13U)
  5727. #define INTC_INTMSK9_INTMSK301 (0x00002000UL)
  5728. #define INTC_INTMSK9_INTMSK302_POS (14U)
  5729. #define INTC_INTMSK9_INTMSK302 (0x00004000UL)
  5730. #define INTC_INTMSK9_INTMSK303_POS (15U)
  5731. #define INTC_INTMSK9_INTMSK303 (0x00008000UL)
  5732. #define INTC_INTMSK9_INTMSK304_POS (16U)
  5733. #define INTC_INTMSK9_INTMSK304 (0x00010000UL)
  5734. #define INTC_INTMSK9_INTMSK305_POS (17U)
  5735. #define INTC_INTMSK9_INTMSK305 (0x00020000UL)
  5736. #define INTC_INTMSK9_INTMSK306_POS (18U)
  5737. #define INTC_INTMSK9_INTMSK306 (0x00040000UL)
  5738. #define INTC_INTMSK9_INTMSK307_POS (19U)
  5739. #define INTC_INTMSK9_INTMSK307 (0x00080000UL)
  5740. #define INTC_INTMSK9_INTMSK308_POS (20U)
  5741. #define INTC_INTMSK9_INTMSK308 (0x00100000UL)
  5742. #define INTC_INTMSK9_INTMSK309_POS (21U)
  5743. #define INTC_INTMSK9_INTMSK309 (0x00200000UL)
  5744. #define INTC_INTMSK9_INTMSK310_POS (22U)
  5745. #define INTC_INTMSK9_INTMSK310 (0x00400000UL)
  5746. #define INTC_INTMSK9_INTMSK311_POS (23U)
  5747. #define INTC_INTMSK9_INTMSK311 (0x00800000UL)
  5748. #define INTC_INTMSK9_INTMSK312_POS (24U)
  5749. #define INTC_INTMSK9_INTMSK312 (0x01000000UL)
  5750. #define INTC_INTMSK9_INTMSK313_POS (25U)
  5751. #define INTC_INTMSK9_INTMSK313 (0x02000000UL)
  5752. #define INTC_INTMSK9_INTMSK314_POS (26U)
  5753. #define INTC_INTMSK9_INTMSK314 (0x04000000UL)
  5754. #define INTC_INTMSK9_INTMSK315_POS (27U)
  5755. #define INTC_INTMSK9_INTMSK315 (0x08000000UL)
  5756. #define INTC_INTMSK9_INTMSK316_POS (28U)
  5757. #define INTC_INTMSK9_INTMSK316 (0x10000000UL)
  5758. #define INTC_INTMSK9_INTMSK317_POS (29U)
  5759. #define INTC_INTMSK9_INTMSK317 (0x20000000UL)
  5760. #define INTC_INTMSK9_INTMSK318_POS (30U)
  5761. #define INTC_INTMSK9_INTMSK318 (0x40000000UL)
  5762. #define INTC_INTMSK9_INTMSK319_POS (31U)
  5763. #define INTC_INTMSK9_INTMSK319 (0x80000000UL)
  5764. /* Bit definition for INTC_INTMSK10 register */
  5765. #define INTC_INTMSK10_INTMSK320_POS (0U)
  5766. #define INTC_INTMSK10_INTMSK320 (0x00000001UL)
  5767. #define INTC_INTMSK10_INTMSK321_POS (1U)
  5768. #define INTC_INTMSK10_INTMSK321 (0x00000002UL)
  5769. #define INTC_INTMSK10_INTMSK322_POS (2U)
  5770. #define INTC_INTMSK10_INTMSK322 (0x00000004UL)
  5771. #define INTC_INTMSK10_INTMSK323_POS (3U)
  5772. #define INTC_INTMSK10_INTMSK323 (0x00000008UL)
  5773. #define INTC_INTMSK10_INTMSK324_POS (4U)
  5774. #define INTC_INTMSK10_INTMSK324 (0x00000010UL)
  5775. #define INTC_INTMSK10_INTMSK325_POS (5U)
  5776. #define INTC_INTMSK10_INTMSK325 (0x00000020UL)
  5777. #define INTC_INTMSK10_INTMSK326_POS (6U)
  5778. #define INTC_INTMSK10_INTMSK326 (0x00000040UL)
  5779. #define INTC_INTMSK10_INTMSK327_POS (7U)
  5780. #define INTC_INTMSK10_INTMSK327 (0x00000080UL)
  5781. #define INTC_INTMSK10_INTMSK328_POS (8U)
  5782. #define INTC_INTMSK10_INTMSK328 (0x00000100UL)
  5783. #define INTC_INTMSK10_INTMSK329_POS (9U)
  5784. #define INTC_INTMSK10_INTMSK329 (0x00000200UL)
  5785. #define INTC_INTMSK10_INTMSK330_POS (10U)
  5786. #define INTC_INTMSK10_INTMSK330 (0x00000400UL)
  5787. #define INTC_INTMSK10_INTMSK331_POS (11U)
  5788. #define INTC_INTMSK10_INTMSK331 (0x00000800UL)
  5789. #define INTC_INTMSK10_INTMSK332_POS (12U)
  5790. #define INTC_INTMSK10_INTMSK332 (0x00001000UL)
  5791. #define INTC_INTMSK10_INTMSK333_POS (13U)
  5792. #define INTC_INTMSK10_INTMSK333 (0x00002000UL)
  5793. #define INTC_INTMSK10_INTMSK334_POS (14U)
  5794. #define INTC_INTMSK10_INTMSK334 (0x00004000UL)
  5795. #define INTC_INTMSK10_INTMSK335_POS (15U)
  5796. #define INTC_INTMSK10_INTMSK335 (0x00008000UL)
  5797. #define INTC_INTMSK10_INTMSK336_POS (16U)
  5798. #define INTC_INTMSK10_INTMSK336 (0x00010000UL)
  5799. #define INTC_INTMSK10_INTMSK337_POS (17U)
  5800. #define INTC_INTMSK10_INTMSK337 (0x00020000UL)
  5801. #define INTC_INTMSK10_INTMSK338_POS (18U)
  5802. #define INTC_INTMSK10_INTMSK338 (0x00040000UL)
  5803. #define INTC_INTMSK10_INTMSK339_POS (19U)
  5804. #define INTC_INTMSK10_INTMSK339 (0x00080000UL)
  5805. #define INTC_INTMSK10_INTMSK340_POS (20U)
  5806. #define INTC_INTMSK10_INTMSK340 (0x00100000UL)
  5807. #define INTC_INTMSK10_INTMSK341_POS (21U)
  5808. #define INTC_INTMSK10_INTMSK341 (0x00200000UL)
  5809. #define INTC_INTMSK10_INTMSK342_POS (22U)
  5810. #define INTC_INTMSK10_INTMSK342 (0x00400000UL)
  5811. #define INTC_INTMSK10_INTMSK343_POS (23U)
  5812. #define INTC_INTMSK10_INTMSK343 (0x00800000UL)
  5813. #define INTC_INTMSK10_INTMSK344_POS (24U)
  5814. #define INTC_INTMSK10_INTMSK344 (0x01000000UL)
  5815. #define INTC_INTMSK10_INTMSK345_POS (25U)
  5816. #define INTC_INTMSK10_INTMSK345 (0x02000000UL)
  5817. #define INTC_INTMSK10_INTMSK346_POS (26U)
  5818. #define INTC_INTMSK10_INTMSK346 (0x04000000UL)
  5819. #define INTC_INTMSK10_INTMSK347_POS (27U)
  5820. #define INTC_INTMSK10_INTMSK347 (0x08000000UL)
  5821. #define INTC_INTMSK10_INTMSK348_POS (28U)
  5822. #define INTC_INTMSK10_INTMSK348 (0x10000000UL)
  5823. #define INTC_INTMSK10_INTMSK349_POS (29U)
  5824. #define INTC_INTMSK10_INTMSK349 (0x20000000UL)
  5825. #define INTC_INTMSK10_INTMSK350_POS (30U)
  5826. #define INTC_INTMSK10_INTMSK350 (0x40000000UL)
  5827. #define INTC_INTMSK10_INTMSK351_POS (31U)
  5828. #define INTC_INTMSK10_INTMSK351 (0x80000000UL)
  5829. /* Bit definition for INTC_INTMSK11 register */
  5830. #define INTC_INTMSK11_INTMSK352_POS (0U)
  5831. #define INTC_INTMSK11_INTMSK352 (0x00000001UL)
  5832. #define INTC_INTMSK11_INTMSK353_POS (1U)
  5833. #define INTC_INTMSK11_INTMSK353 (0x00000002UL)
  5834. #define INTC_INTMSK11_INTMSK354_POS (2U)
  5835. #define INTC_INTMSK11_INTMSK354 (0x00000004UL)
  5836. #define INTC_INTMSK11_INTMSK355_POS (3U)
  5837. #define INTC_INTMSK11_INTMSK355 (0x00000008UL)
  5838. #define INTC_INTMSK11_INTMSK356_POS (4U)
  5839. #define INTC_INTMSK11_INTMSK356 (0x00000010UL)
  5840. #define INTC_INTMSK11_INTMSK357_POS (5U)
  5841. #define INTC_INTMSK11_INTMSK357 (0x00000020UL)
  5842. #define INTC_INTMSK11_INTMSK358_POS (6U)
  5843. #define INTC_INTMSK11_INTMSK358 (0x00000040UL)
  5844. #define INTC_INTMSK11_INTMSK359_POS (7U)
  5845. #define INTC_INTMSK11_INTMSK359 (0x00000080UL)
  5846. #define INTC_INTMSK11_INTMSK360_POS (8U)
  5847. #define INTC_INTMSK11_INTMSK360 (0x00000100UL)
  5848. #define INTC_INTMSK11_INTMSK361_POS (9U)
  5849. #define INTC_INTMSK11_INTMSK361 (0x00000200UL)
  5850. #define INTC_INTMSK11_INTMSK362_POS (10U)
  5851. #define INTC_INTMSK11_INTMSK362 (0x00000400UL)
  5852. #define INTC_INTMSK11_INTMSK363_POS (11U)
  5853. #define INTC_INTMSK11_INTMSK363 (0x00000800UL)
  5854. #define INTC_INTMSK11_INTMSK364_POS (12U)
  5855. #define INTC_INTMSK11_INTMSK364 (0x00001000UL)
  5856. #define INTC_INTMSK11_INTMSK365_POS (13U)
  5857. #define INTC_INTMSK11_INTMSK365 (0x00002000UL)
  5858. #define INTC_INTMSK11_INTMSK366_POS (14U)
  5859. #define INTC_INTMSK11_INTMSK366 (0x00004000UL)
  5860. #define INTC_INTMSK11_INTMSK367_POS (15U)
  5861. #define INTC_INTMSK11_INTMSK367 (0x00008000UL)
  5862. #define INTC_INTMSK11_INTMSK368_POS (16U)
  5863. #define INTC_INTMSK11_INTMSK368 (0x00010000UL)
  5864. #define INTC_INTMSK11_INTMSK369_POS (17U)
  5865. #define INTC_INTMSK11_INTMSK369 (0x00020000UL)
  5866. #define INTC_INTMSK11_INTMSK370_POS (18U)
  5867. #define INTC_INTMSK11_INTMSK370 (0x00040000UL)
  5868. #define INTC_INTMSK11_INTMSK371_POS (19U)
  5869. #define INTC_INTMSK11_INTMSK371 (0x00080000UL)
  5870. #define INTC_INTMSK11_INTMSK372_POS (20U)
  5871. #define INTC_INTMSK11_INTMSK372 (0x00100000UL)
  5872. #define INTC_INTMSK11_INTMSK373_POS (21U)
  5873. #define INTC_INTMSK11_INTMSK373 (0x00200000UL)
  5874. #define INTC_INTMSK11_INTMSK374_POS (22U)
  5875. #define INTC_INTMSK11_INTMSK374 (0x00400000UL)
  5876. #define INTC_INTMSK11_INTMSK375_POS (23U)
  5877. #define INTC_INTMSK11_INTMSK375 (0x00800000UL)
  5878. #define INTC_INTMSK11_INTMSK376_POS (24U)
  5879. #define INTC_INTMSK11_INTMSK376 (0x01000000UL)
  5880. #define INTC_INTMSK11_INTMSK377_POS (25U)
  5881. #define INTC_INTMSK11_INTMSK377 (0x02000000UL)
  5882. #define INTC_INTMSK11_INTMSK378_POS (26U)
  5883. #define INTC_INTMSK11_INTMSK378 (0x04000000UL)
  5884. #define INTC_INTMSK11_INTMSK379_POS (27U)
  5885. #define INTC_INTMSK11_INTMSK379 (0x08000000UL)
  5886. #define INTC_INTMSK11_INTMSK380_POS (28U)
  5887. #define INTC_INTMSK11_INTMSK380 (0x10000000UL)
  5888. #define INTC_INTMSK11_INTMSK381_POS (29U)
  5889. #define INTC_INTMSK11_INTMSK381 (0x20000000UL)
  5890. #define INTC_INTMSK11_INTMSK382_POS (30U)
  5891. #define INTC_INTMSK11_INTMSK382 (0x40000000UL)
  5892. #define INTC_INTMSK11_INTMSK383_POS (31U)
  5893. #define INTC_INTMSK11_INTMSK383 (0x80000000UL)
  5894. /* Bit definition for INTC_INTMSK12 register */
  5895. #define INTC_INTMSK12_INTMSK384_POS (0U)
  5896. #define INTC_INTMSK12_INTMSK384 (0x00000001UL)
  5897. #define INTC_INTMSK12_INTMSK385_POS (1U)
  5898. #define INTC_INTMSK12_INTMSK385 (0x00000002UL)
  5899. #define INTC_INTMSK12_INTMSK386_POS (2U)
  5900. #define INTC_INTMSK12_INTMSK386 (0x00000004UL)
  5901. #define INTC_INTMSK12_INTMSK387_POS (3U)
  5902. #define INTC_INTMSK12_INTMSK387 (0x00000008UL)
  5903. #define INTC_INTMSK12_INTMSK388_POS (4U)
  5904. #define INTC_INTMSK12_INTMSK388 (0x00000010UL)
  5905. #define INTC_INTMSK12_INTMSK389_POS (5U)
  5906. #define INTC_INTMSK12_INTMSK389 (0x00000020UL)
  5907. #define INTC_INTMSK12_INTMSK390_POS (6U)
  5908. #define INTC_INTMSK12_INTMSK390 (0x00000040UL)
  5909. #define INTC_INTMSK12_INTMSK391_POS (7U)
  5910. #define INTC_INTMSK12_INTMSK391 (0x00000080UL)
  5911. #define INTC_INTMSK12_INTMSK392_POS (8U)
  5912. #define INTC_INTMSK12_INTMSK392 (0x00000100UL)
  5913. #define INTC_INTMSK12_INTMSK393_POS (9U)
  5914. #define INTC_INTMSK12_INTMSK393 (0x00000200UL)
  5915. #define INTC_INTMSK12_INTMSK394_POS (10U)
  5916. #define INTC_INTMSK12_INTMSK394 (0x00000400UL)
  5917. #define INTC_INTMSK12_INTMSK395_POS (11U)
  5918. #define INTC_INTMSK12_INTMSK395 (0x00000800UL)
  5919. #define INTC_INTMSK12_INTMSK396_POS (12U)
  5920. #define INTC_INTMSK12_INTMSK396 (0x00001000UL)
  5921. #define INTC_INTMSK12_INTMSK397_POS (13U)
  5922. #define INTC_INTMSK12_INTMSK397 (0x00002000UL)
  5923. #define INTC_INTMSK12_INTMSK398_POS (14U)
  5924. #define INTC_INTMSK12_INTMSK398 (0x00004000UL)
  5925. #define INTC_INTMSK12_INTMSK399_POS (15U)
  5926. #define INTC_INTMSK12_INTMSK399 (0x00008000UL)
  5927. #define INTC_INTMSK12_INTMSK400_POS (16U)
  5928. #define INTC_INTMSK12_INTMSK400 (0x00010000UL)
  5929. #define INTC_INTMSK12_INTMSK401_POS (17U)
  5930. #define INTC_INTMSK12_INTMSK401 (0x00020000UL)
  5931. #define INTC_INTMSK12_INTMSK402_POS (18U)
  5932. #define INTC_INTMSK12_INTMSK402 (0x00040000UL)
  5933. #define INTC_INTMSK12_INTMSK403_POS (19U)
  5934. #define INTC_INTMSK12_INTMSK403 (0x00080000UL)
  5935. #define INTC_INTMSK12_INTMSK404_POS (20U)
  5936. #define INTC_INTMSK12_INTMSK404 (0x00100000UL)
  5937. #define INTC_INTMSK12_INTMSK405_POS (21U)
  5938. #define INTC_INTMSK12_INTMSK405 (0x00200000UL)
  5939. #define INTC_INTMSK12_INTMSK406_POS (22U)
  5940. #define INTC_INTMSK12_INTMSK406 (0x00400000UL)
  5941. #define INTC_INTMSK12_INTMSK407_POS (23U)
  5942. #define INTC_INTMSK12_INTMSK407 (0x00800000UL)
  5943. #define INTC_INTMSK12_INTMSK408_POS (24U)
  5944. #define INTC_INTMSK12_INTMSK408 (0x01000000UL)
  5945. #define INTC_INTMSK12_INTMSK409_POS (25U)
  5946. #define INTC_INTMSK12_INTMSK409 (0x02000000UL)
  5947. #define INTC_INTMSK12_INTMSK410_POS (26U)
  5948. #define INTC_INTMSK12_INTMSK410 (0x04000000UL)
  5949. #define INTC_INTMSK12_INTMSK411_POS (27U)
  5950. #define INTC_INTMSK12_INTMSK411 (0x08000000UL)
  5951. #define INTC_INTMSK12_INTMSK412_POS (28U)
  5952. #define INTC_INTMSK12_INTMSK412 (0x10000000UL)
  5953. #define INTC_INTMSK12_INTMSK413_POS (29U)
  5954. #define INTC_INTMSK12_INTMSK413 (0x20000000UL)
  5955. #define INTC_INTMSK12_INTMSK414_POS (30U)
  5956. #define INTC_INTMSK12_INTMSK414 (0x40000000UL)
  5957. #define INTC_INTMSK12_INTMSK415_POS (31U)
  5958. #define INTC_INTMSK12_INTMSK415 (0x80000000UL)
  5959. /* Bit definition for INTC_INTMSK13 register */
  5960. #define INTC_INTMSK13_INTMSK416_POS (0U)
  5961. #define INTC_INTMSK13_INTMSK416 (0x00000001UL)
  5962. #define INTC_INTMSK13_INTMSK417_POS (1U)
  5963. #define INTC_INTMSK13_INTMSK417 (0x00000002UL)
  5964. #define INTC_INTMSK13_INTMSK418_POS (2U)
  5965. #define INTC_INTMSK13_INTMSK418 (0x00000004UL)
  5966. #define INTC_INTMSK13_INTMSK419_POS (3U)
  5967. #define INTC_INTMSK13_INTMSK419 (0x00000008UL)
  5968. #define INTC_INTMSK13_INTMSK420_POS (4U)
  5969. #define INTC_INTMSK13_INTMSK420 (0x00000010UL)
  5970. #define INTC_INTMSK13_INTMSK421_POS (5U)
  5971. #define INTC_INTMSK13_INTMSK421 (0x00000020UL)
  5972. #define INTC_INTMSK13_INTMSK422_POS (6U)
  5973. #define INTC_INTMSK13_INTMSK422 (0x00000040UL)
  5974. #define INTC_INTMSK13_INTMSK423_POS (7U)
  5975. #define INTC_INTMSK13_INTMSK423 (0x00000080UL)
  5976. #define INTC_INTMSK13_INTMSK424_POS (8U)
  5977. #define INTC_INTMSK13_INTMSK424 (0x00000100UL)
  5978. #define INTC_INTMSK13_INTMSK425_POS (9U)
  5979. #define INTC_INTMSK13_INTMSK425 (0x00000200UL)
  5980. #define INTC_INTMSK13_INTMSK426_POS (10U)
  5981. #define INTC_INTMSK13_INTMSK426 (0x00000400UL)
  5982. #define INTC_INTMSK13_INTMSK427_POS (11U)
  5983. #define INTC_INTMSK13_INTMSK427 (0x00000800UL)
  5984. #define INTC_INTMSK13_INTMSK428_POS (12U)
  5985. #define INTC_INTMSK13_INTMSK428 (0x00001000UL)
  5986. #define INTC_INTMSK13_INTMSK429_POS (13U)
  5987. #define INTC_INTMSK13_INTMSK429 (0x00002000UL)
  5988. #define INTC_INTMSK13_INTMSK430_POS (14U)
  5989. #define INTC_INTMSK13_INTMSK430 (0x00004000UL)
  5990. #define INTC_INTMSK13_INTMSK431_POS (15U)
  5991. #define INTC_INTMSK13_INTMSK431 (0x00008000UL)
  5992. #define INTC_INTMSK13_INTMSK432_POS (16U)
  5993. #define INTC_INTMSK13_INTMSK432 (0x00010000UL)
  5994. #define INTC_INTMSK13_INTMSK433_POS (17U)
  5995. #define INTC_INTMSK13_INTMSK433 (0x00020000UL)
  5996. #define INTC_INTMSK13_INTMSK434_POS (18U)
  5997. #define INTC_INTMSK13_INTMSK434 (0x00040000UL)
  5998. #define INTC_INTMSK13_INTMSK435_POS (19U)
  5999. #define INTC_INTMSK13_INTMSK435 (0x00080000UL)
  6000. #define INTC_INTMSK13_INTMSK436_POS (20U)
  6001. #define INTC_INTMSK13_INTMSK436 (0x00100000UL)
  6002. #define INTC_INTMSK13_INTMSK437_POS (21U)
  6003. #define INTC_INTMSK13_INTMSK437 (0x00200000UL)
  6004. #define INTC_INTMSK13_INTMSK438_POS (22U)
  6005. #define INTC_INTMSK13_INTMSK438 (0x00400000UL)
  6006. #define INTC_INTMSK13_INTMSK439_POS (23U)
  6007. #define INTC_INTMSK13_INTMSK439 (0x00800000UL)
  6008. #define INTC_INTMSK13_INTMSK440_POS (24U)
  6009. #define INTC_INTMSK13_INTMSK440 (0x01000000UL)
  6010. #define INTC_INTMSK13_INTMSK441_POS (25U)
  6011. #define INTC_INTMSK13_INTMSK441 (0x02000000UL)
  6012. #define INTC_INTMSK13_INTMSK442_POS (26U)
  6013. #define INTC_INTMSK13_INTMSK442 (0x04000000UL)
  6014. #define INTC_INTMSK13_INTMSK443_POS (27U)
  6015. #define INTC_INTMSK13_INTMSK443 (0x08000000UL)
  6016. #define INTC_INTMSK13_INTMSK444_POS (28U)
  6017. #define INTC_INTMSK13_INTMSK444 (0x10000000UL)
  6018. #define INTC_INTMSK13_INTMSK445_POS (29U)
  6019. #define INTC_INTMSK13_INTMSK445 (0x20000000UL)
  6020. #define INTC_INTMSK13_INTMSK446_POS (30U)
  6021. #define INTC_INTMSK13_INTMSK446 (0x40000000UL)
  6022. #define INTC_INTMSK13_INTMSK447_POS (31U)
  6023. #define INTC_INTMSK13_INTMSK447 (0x80000000UL)
  6024. /* Bit definition for INTC_INTMSK14 register */
  6025. #define INTC_INTMSK14_INTMSK448_POS (0U)
  6026. #define INTC_INTMSK14_INTMSK448 (0x00000001UL)
  6027. #define INTC_INTMSK14_INTMSK449_POS (1U)
  6028. #define INTC_INTMSK14_INTMSK449 (0x00000002UL)
  6029. #define INTC_INTMSK14_INTMSK450_POS (2U)
  6030. #define INTC_INTMSK14_INTMSK450 (0x00000004UL)
  6031. #define INTC_INTMSK14_INTMSK451_POS (3U)
  6032. #define INTC_INTMSK14_INTMSK451 (0x00000008UL)
  6033. #define INTC_INTMSK14_INTMSK452_POS (4U)
  6034. #define INTC_INTMSK14_INTMSK452 (0x00000010UL)
  6035. #define INTC_INTMSK14_INTMSK453_POS (5U)
  6036. #define INTC_INTMSK14_INTMSK453 (0x00000020UL)
  6037. #define INTC_INTMSK14_INTMSK454_POS (6U)
  6038. #define INTC_INTMSK14_INTMSK454 (0x00000040UL)
  6039. #define INTC_INTMSK14_INTMSK455_POS (7U)
  6040. #define INTC_INTMSK14_INTMSK455 (0x00000080UL)
  6041. #define INTC_INTMSK14_INTMSK456_POS (8U)
  6042. #define INTC_INTMSK14_INTMSK456 (0x00000100UL)
  6043. #define INTC_INTMSK14_INTMSK457_POS (9U)
  6044. #define INTC_INTMSK14_INTMSK457 (0x00000200UL)
  6045. #define INTC_INTMSK14_INTMSK458_POS (10U)
  6046. #define INTC_INTMSK14_INTMSK458 (0x00000400UL)
  6047. #define INTC_INTMSK14_INTMSK459_POS (11U)
  6048. #define INTC_INTMSK14_INTMSK459 (0x00000800UL)
  6049. #define INTC_INTMSK14_INTMSK460_POS (12U)
  6050. #define INTC_INTMSK14_INTMSK460 (0x00001000UL)
  6051. #define INTC_INTMSK14_INTMSK461_POS (13U)
  6052. #define INTC_INTMSK14_INTMSK461 (0x00002000UL)
  6053. #define INTC_INTMSK14_INTMSK462_POS (14U)
  6054. #define INTC_INTMSK14_INTMSK462 (0x00004000UL)
  6055. #define INTC_INTMSK14_INTMSK463_POS (15U)
  6056. #define INTC_INTMSK14_INTMSK463 (0x00008000UL)
  6057. #define INTC_INTMSK14_INTMSK464_POS (16U)
  6058. #define INTC_INTMSK14_INTMSK464 (0x00010000UL)
  6059. #define INTC_INTMSK14_INTMSK465_POS (17U)
  6060. #define INTC_INTMSK14_INTMSK465 (0x00020000UL)
  6061. #define INTC_INTMSK14_INTMSK466_POS (18U)
  6062. #define INTC_INTMSK14_INTMSK466 (0x00040000UL)
  6063. #define INTC_INTMSK14_INTMSK467_POS (19U)
  6064. #define INTC_INTMSK14_INTMSK467 (0x00080000UL)
  6065. #define INTC_INTMSK14_INTMSK468_POS (20U)
  6066. #define INTC_INTMSK14_INTMSK468 (0x00100000UL)
  6067. #define INTC_INTMSK14_INTMSK469_POS (21U)
  6068. #define INTC_INTMSK14_INTMSK469 (0x00200000UL)
  6069. #define INTC_INTMSK14_INTMSK470_POS (22U)
  6070. #define INTC_INTMSK14_INTMSK470 (0x00400000UL)
  6071. #define INTC_INTMSK14_INTMSK471_POS (23U)
  6072. #define INTC_INTMSK14_INTMSK471 (0x00800000UL)
  6073. #define INTC_INTMSK14_INTMSK472_POS (24U)
  6074. #define INTC_INTMSK14_INTMSK472 (0x01000000UL)
  6075. #define INTC_INTMSK14_INTMSK473_POS (25U)
  6076. #define INTC_INTMSK14_INTMSK473 (0x02000000UL)
  6077. #define INTC_INTMSK14_INTMSK474_POS (26U)
  6078. #define INTC_INTMSK14_INTMSK474 (0x04000000UL)
  6079. #define INTC_INTMSK14_INTMSK475_POS (27U)
  6080. #define INTC_INTMSK14_INTMSK475 (0x08000000UL)
  6081. #define INTC_INTMSK14_INTMSK476_POS (28U)
  6082. #define INTC_INTMSK14_INTMSK476 (0x10000000UL)
  6083. #define INTC_INTMSK14_INTMSK477_POS (29U)
  6084. #define INTC_INTMSK14_INTMSK477 (0x20000000UL)
  6085. #define INTC_INTMSK14_INTMSK478_POS (30U)
  6086. #define INTC_INTMSK14_INTMSK478 (0x40000000UL)
  6087. #define INTC_INTMSK14_INTMSK479_POS (31U)
  6088. #define INTC_INTMSK14_INTMSK479 (0x80000000UL)
  6089. /* Bit definition for INTC_INTMSK15 register */
  6090. #define INTC_INTMSK15_INTMSK480_POS (0U)
  6091. #define INTC_INTMSK15_INTMSK480 (0x00000001UL)
  6092. #define INTC_INTMSK15_INTMSK481_POS (1U)
  6093. #define INTC_INTMSK15_INTMSK481 (0x00000002UL)
  6094. #define INTC_INTMSK15_INTMSK482_POS (2U)
  6095. #define INTC_INTMSK15_INTMSK482 (0x00000004UL)
  6096. #define INTC_INTMSK15_INTMSK483_POS (3U)
  6097. #define INTC_INTMSK15_INTMSK483 (0x00000008UL)
  6098. #define INTC_INTMSK15_INTMSK484_POS (4U)
  6099. #define INTC_INTMSK15_INTMSK484 (0x00000010UL)
  6100. #define INTC_INTMSK15_INTMSK485_POS (5U)
  6101. #define INTC_INTMSK15_INTMSK485 (0x00000020UL)
  6102. #define INTC_INTMSK15_INTMSK486_POS (6U)
  6103. #define INTC_INTMSK15_INTMSK486 (0x00000040UL)
  6104. #define INTC_INTMSK15_INTMSK487_POS (7U)
  6105. #define INTC_INTMSK15_INTMSK487 (0x00000080UL)
  6106. #define INTC_INTMSK15_INTMSK488_POS (8U)
  6107. #define INTC_INTMSK15_INTMSK488 (0x00000100UL)
  6108. #define INTC_INTMSK15_INTMSK489_POS (9U)
  6109. #define INTC_INTMSK15_INTMSK489 (0x00000200UL)
  6110. #define INTC_INTMSK15_INTMSK490_POS (10U)
  6111. #define INTC_INTMSK15_INTMSK490 (0x00000400UL)
  6112. #define INTC_INTMSK15_INTMSK491_POS (11U)
  6113. #define INTC_INTMSK15_INTMSK491 (0x00000800UL)
  6114. #define INTC_INTMSK15_INTMSK492_POS (12U)
  6115. #define INTC_INTMSK15_INTMSK492 (0x00001000UL)
  6116. #define INTC_INTMSK15_INTMSK493_POS (13U)
  6117. #define INTC_INTMSK15_INTMSK493 (0x00002000UL)
  6118. #define INTC_INTMSK15_INTMSK494_POS (14U)
  6119. #define INTC_INTMSK15_INTMSK494 (0x00004000UL)
  6120. #define INTC_INTMSK15_INTMSK495_POS (15U)
  6121. #define INTC_INTMSK15_INTMSK495 (0x00008000UL)
  6122. #define INTC_INTMSK15_INTMSK496_POS (16U)
  6123. #define INTC_INTMSK15_INTMSK496 (0x00010000UL)
  6124. #define INTC_INTMSK15_INTMSK497_POS (17U)
  6125. #define INTC_INTMSK15_INTMSK497 (0x00020000UL)
  6126. #define INTC_INTMSK15_INTMSK498_POS (18U)
  6127. #define INTC_INTMSK15_INTMSK498 (0x00040000UL)
  6128. #define INTC_INTMSK15_INTMSK499_POS (19U)
  6129. #define INTC_INTMSK15_INTMSK499 (0x00080000UL)
  6130. #define INTC_INTMSK15_INTMSK500_POS (20U)
  6131. #define INTC_INTMSK15_INTMSK500 (0x00100000UL)
  6132. #define INTC_INTMSK15_INTMSK501_POS (21U)
  6133. #define INTC_INTMSK15_INTMSK501 (0x00200000UL)
  6134. #define INTC_INTMSK15_INTMSK502_POS (22U)
  6135. #define INTC_INTMSK15_INTMSK502 (0x00400000UL)
  6136. #define INTC_INTMSK15_INTMSK503_POS (23U)
  6137. #define INTC_INTMSK15_INTMSK503 (0x00800000UL)
  6138. #define INTC_INTMSK15_INTMSK504_POS (24U)
  6139. #define INTC_INTMSK15_INTMSK504 (0x01000000UL)
  6140. #define INTC_INTMSK15_INTMSK505_POS (25U)
  6141. #define INTC_INTMSK15_INTMSK505 (0x02000000UL)
  6142. #define INTC_INTMSK15_INTMSK506_POS (26U)
  6143. #define INTC_INTMSK15_INTMSK506 (0x04000000UL)
  6144. #define INTC_INTMSK15_INTMSK507_POS (27U)
  6145. #define INTC_INTMSK15_INTMSK507 (0x08000000UL)
  6146. #define INTC_INTMSK15_INTMSK508_POS (28U)
  6147. #define INTC_INTMSK15_INTMSK508 (0x10000000UL)
  6148. #define INTC_INTMSK15_INTMSK509_POS (29U)
  6149. #define INTC_INTMSK15_INTMSK509 (0x20000000UL)
  6150. #define INTC_INTMSK15_INTMSK510_POS (30U)
  6151. #define INTC_INTMSK15_INTMSK510 (0x40000000UL)
  6152. #define INTC_INTMSK15_INTMSK511_POS (31U)
  6153. #define INTC_INTMSK15_INTMSK511 (0x80000000UL)
  6154. /* Bit definition for INTC_SWIER register */
  6155. #define INTC_SWIER_SWIE0_POS (0U)
  6156. #define INTC_SWIER_SWIE0 (0x00000001UL)
  6157. #define INTC_SWIER_SWIE1_POS (1U)
  6158. #define INTC_SWIER_SWIE1 (0x00000002UL)
  6159. #define INTC_SWIER_SWIE2_POS (2U)
  6160. #define INTC_SWIER_SWIE2 (0x00000004UL)
  6161. #define INTC_SWIER_SWIE3_POS (3U)
  6162. #define INTC_SWIER_SWIE3 (0x00000008UL)
  6163. #define INTC_SWIER_SWIE4_POS (4U)
  6164. #define INTC_SWIER_SWIE4 (0x00000010UL)
  6165. #define INTC_SWIER_SWIE5_POS (5U)
  6166. #define INTC_SWIER_SWIE5 (0x00000020UL)
  6167. #define INTC_SWIER_SWIE6_POS (6U)
  6168. #define INTC_SWIER_SWIE6 (0x00000040UL)
  6169. #define INTC_SWIER_SWIE7_POS (7U)
  6170. #define INTC_SWIER_SWIE7 (0x00000080UL)
  6171. #define INTC_SWIER_SWIE8_POS (8U)
  6172. #define INTC_SWIER_SWIE8 (0x00000100UL)
  6173. #define INTC_SWIER_SWIE9_POS (9U)
  6174. #define INTC_SWIER_SWIE9 (0x00000200UL)
  6175. #define INTC_SWIER_SWIE10_POS (10U)
  6176. #define INTC_SWIER_SWIE10 (0x00000400UL)
  6177. #define INTC_SWIER_SWIE11_POS (11U)
  6178. #define INTC_SWIER_SWIE11 (0x00000800UL)
  6179. #define INTC_SWIER_SWIE12_POS (12U)
  6180. #define INTC_SWIER_SWIE12 (0x00001000UL)
  6181. #define INTC_SWIER_SWIE13_POS (13U)
  6182. #define INTC_SWIER_SWIE13 (0x00002000UL)
  6183. #define INTC_SWIER_SWIE14_POS (14U)
  6184. #define INTC_SWIER_SWIE14 (0x00004000UL)
  6185. #define INTC_SWIER_SWIE15_POS (15U)
  6186. #define INTC_SWIER_SWIE15 (0x00008000UL)
  6187. #define INTC_SWIER_SWIE16_POS (16U)
  6188. #define INTC_SWIER_SWIE16 (0x00010000UL)
  6189. #define INTC_SWIER_SWIE17_POS (17U)
  6190. #define INTC_SWIER_SWIE17 (0x00020000UL)
  6191. #define INTC_SWIER_SWIE18_POS (18U)
  6192. #define INTC_SWIER_SWIE18 (0x00040000UL)
  6193. #define INTC_SWIER_SWIE19_POS (19U)
  6194. #define INTC_SWIER_SWIE19 (0x00080000UL)
  6195. #define INTC_SWIER_SWIE20_POS (20U)
  6196. #define INTC_SWIER_SWIE20 (0x00100000UL)
  6197. #define INTC_SWIER_SWIE21_POS (21U)
  6198. #define INTC_SWIER_SWIE21 (0x00200000UL)
  6199. #define INTC_SWIER_SWIE22_POS (22U)
  6200. #define INTC_SWIER_SWIE22 (0x00400000UL)
  6201. #define INTC_SWIER_SWIE23_POS (23U)
  6202. #define INTC_SWIER_SWIE23 (0x00800000UL)
  6203. #define INTC_SWIER_SWIE24_POS (24U)
  6204. #define INTC_SWIER_SWIE24 (0x01000000UL)
  6205. #define INTC_SWIER_SWIE25_POS (25U)
  6206. #define INTC_SWIER_SWIE25 (0x02000000UL)
  6207. #define INTC_SWIER_SWIE26_POS (26U)
  6208. #define INTC_SWIER_SWIE26 (0x04000000UL)
  6209. #define INTC_SWIER_SWIE27_POS (27U)
  6210. #define INTC_SWIER_SWIE27 (0x08000000UL)
  6211. #define INTC_SWIER_SWIE28_POS (28U)
  6212. #define INTC_SWIER_SWIE28 (0x10000000UL)
  6213. #define INTC_SWIER_SWIE29_POS (29U)
  6214. #define INTC_SWIER_SWIE29 (0x20000000UL)
  6215. #define INTC_SWIER_SWIE30_POS (30U)
  6216. #define INTC_SWIER_SWIE30 (0x40000000UL)
  6217. #define INTC_SWIER_SWIE31_POS (31U)
  6218. #define INTC_SWIER_SWIE31 (0x80000000UL)
  6219. /* Bit definition for INTC_EVTER register */
  6220. #define INTC_EVTER_EVTE0_POS (0U)
  6221. #define INTC_EVTER_EVTE0 (0x00000001UL)
  6222. #define INTC_EVTER_EVTE1_POS (1U)
  6223. #define INTC_EVTER_EVTE1 (0x00000002UL)
  6224. #define INTC_EVTER_EVTE2_POS (2U)
  6225. #define INTC_EVTER_EVTE2 (0x00000004UL)
  6226. #define INTC_EVTER_EVTE3_POS (3U)
  6227. #define INTC_EVTER_EVTE3 (0x00000008UL)
  6228. #define INTC_EVTER_EVTE4_POS (4U)
  6229. #define INTC_EVTER_EVTE4 (0x00000010UL)
  6230. #define INTC_EVTER_EVTE5_POS (5U)
  6231. #define INTC_EVTER_EVTE5 (0x00000020UL)
  6232. #define INTC_EVTER_EVTE6_POS (6U)
  6233. #define INTC_EVTER_EVTE6 (0x00000040UL)
  6234. #define INTC_EVTER_EVTE7_POS (7U)
  6235. #define INTC_EVTER_EVTE7 (0x00000080UL)
  6236. #define INTC_EVTER_EVTE8_POS (8U)
  6237. #define INTC_EVTER_EVTE8 (0x00000100UL)
  6238. #define INTC_EVTER_EVTE9_POS (9U)
  6239. #define INTC_EVTER_EVTE9 (0x00000200UL)
  6240. #define INTC_EVTER_EVTE10_POS (10U)
  6241. #define INTC_EVTER_EVTE10 (0x00000400UL)
  6242. #define INTC_EVTER_EVTE11_POS (11U)
  6243. #define INTC_EVTER_EVTE11 (0x00000800UL)
  6244. #define INTC_EVTER_EVTE12_POS (12U)
  6245. #define INTC_EVTER_EVTE12 (0x00001000UL)
  6246. #define INTC_EVTER_EVTE13_POS (13U)
  6247. #define INTC_EVTER_EVTE13 (0x00002000UL)
  6248. #define INTC_EVTER_EVTE14_POS (14U)
  6249. #define INTC_EVTER_EVTE14 (0x00004000UL)
  6250. #define INTC_EVTER_EVTE15_POS (15U)
  6251. #define INTC_EVTER_EVTE15 (0x00008000UL)
  6252. #define INTC_EVTER_EVTE16_POS (16U)
  6253. #define INTC_EVTER_EVTE16 (0x00010000UL)
  6254. #define INTC_EVTER_EVTE17_POS (17U)
  6255. #define INTC_EVTER_EVTE17 (0x00020000UL)
  6256. #define INTC_EVTER_EVTE18_POS (18U)
  6257. #define INTC_EVTER_EVTE18 (0x00040000UL)
  6258. #define INTC_EVTER_EVTE19_POS (19U)
  6259. #define INTC_EVTER_EVTE19 (0x00080000UL)
  6260. #define INTC_EVTER_EVTE20_POS (20U)
  6261. #define INTC_EVTER_EVTE20 (0x00100000UL)
  6262. #define INTC_EVTER_EVTE21_POS (21U)
  6263. #define INTC_EVTER_EVTE21 (0x00200000UL)
  6264. #define INTC_EVTER_EVTE22_POS (22U)
  6265. #define INTC_EVTER_EVTE22 (0x00400000UL)
  6266. #define INTC_EVTER_EVTE23_POS (23U)
  6267. #define INTC_EVTER_EVTE23 (0x00800000UL)
  6268. #define INTC_EVTER_EVTE24_POS (24U)
  6269. #define INTC_EVTER_EVTE24 (0x01000000UL)
  6270. #define INTC_EVTER_EVTE25_POS (25U)
  6271. #define INTC_EVTER_EVTE25 (0x02000000UL)
  6272. #define INTC_EVTER_EVTE26_POS (26U)
  6273. #define INTC_EVTER_EVTE26 (0x04000000UL)
  6274. #define INTC_EVTER_EVTE27_POS (27U)
  6275. #define INTC_EVTER_EVTE27 (0x08000000UL)
  6276. #define INTC_EVTER_EVTE28_POS (28U)
  6277. #define INTC_EVTER_EVTE28 (0x10000000UL)
  6278. #define INTC_EVTER_EVTE29_POS (29U)
  6279. #define INTC_EVTER_EVTE29 (0x20000000UL)
  6280. #define INTC_EVTER_EVTE30_POS (30U)
  6281. #define INTC_EVTER_EVTE30 (0x40000000UL)
  6282. #define INTC_EVTER_EVTE31_POS (31U)
  6283. #define INTC_EVTER_EVTE31 (0x80000000UL)
  6284. /* Bit definition for INTC_IER register */
  6285. #define INTC_IER_IEN0_POS (0U)
  6286. #define INTC_IER_IEN0 (0x00000001UL)
  6287. #define INTC_IER_IEN1_POS (1U)
  6288. #define INTC_IER_IEN1 (0x00000002UL)
  6289. #define INTC_IER_IEN2_POS (2U)
  6290. #define INTC_IER_IEN2 (0x00000004UL)
  6291. #define INTC_IER_IEN3_POS (3U)
  6292. #define INTC_IER_IEN3 (0x00000008UL)
  6293. #define INTC_IER_IEN4_POS (4U)
  6294. #define INTC_IER_IEN4 (0x00000010UL)
  6295. #define INTC_IER_IEN5_POS (5U)
  6296. #define INTC_IER_IEN5 (0x00000020UL)
  6297. #define INTC_IER_IEN6_POS (6U)
  6298. #define INTC_IER_IEN6 (0x00000040UL)
  6299. #define INTC_IER_IEN7_POS (7U)
  6300. #define INTC_IER_IEN7 (0x00000080UL)
  6301. #define INTC_IER_IEN8_POS (8U)
  6302. #define INTC_IER_IEN8 (0x00000100UL)
  6303. #define INTC_IER_IEN9_POS (9U)
  6304. #define INTC_IER_IEN9 (0x00000200UL)
  6305. #define INTC_IER_IEN10_POS (10U)
  6306. #define INTC_IER_IEN10 (0x00000400UL)
  6307. #define INTC_IER_IEN11_POS (11U)
  6308. #define INTC_IER_IEN11 (0x00000800UL)
  6309. #define INTC_IER_IEN12_POS (12U)
  6310. #define INTC_IER_IEN12 (0x00001000UL)
  6311. #define INTC_IER_IEN13_POS (13U)
  6312. #define INTC_IER_IEN13 (0x00002000UL)
  6313. #define INTC_IER_IEN14_POS (14U)
  6314. #define INTC_IER_IEN14 (0x00004000UL)
  6315. #define INTC_IER_IEN15_POS (15U)
  6316. #define INTC_IER_IEN15 (0x00008000UL)
  6317. #define INTC_IER_IEN16_POS (16U)
  6318. #define INTC_IER_IEN16 (0x00010000UL)
  6319. #define INTC_IER_IEN17_POS (17U)
  6320. #define INTC_IER_IEN17 (0x00020000UL)
  6321. #define INTC_IER_IEN18_POS (18U)
  6322. #define INTC_IER_IEN18 (0x00040000UL)
  6323. #define INTC_IER_IEN19_POS (19U)
  6324. #define INTC_IER_IEN19 (0x00080000UL)
  6325. #define INTC_IER_IEN20_POS (20U)
  6326. #define INTC_IER_IEN20 (0x00100000UL)
  6327. #define INTC_IER_IEN21_POS (21U)
  6328. #define INTC_IER_IEN21 (0x00200000UL)
  6329. #define INTC_IER_IEN22_POS (22U)
  6330. #define INTC_IER_IEN22 (0x00400000UL)
  6331. #define INTC_IER_IEN23_POS (23U)
  6332. #define INTC_IER_IEN23 (0x00800000UL)
  6333. #define INTC_IER_IEN24_POS (24U)
  6334. #define INTC_IER_IEN24 (0x01000000UL)
  6335. #define INTC_IER_IEN25_POS (25U)
  6336. #define INTC_IER_IEN25 (0x02000000UL)
  6337. #define INTC_IER_IEN26_POS (26U)
  6338. #define INTC_IER_IEN26 (0x04000000UL)
  6339. #define INTC_IER_IEN27_POS (27U)
  6340. #define INTC_IER_IEN27 (0x08000000UL)
  6341. #define INTC_IER_IEN28_POS (28U)
  6342. #define INTC_IER_IEN28 (0x10000000UL)
  6343. #define INTC_IER_IEN29_POS (29U)
  6344. #define INTC_IER_IEN29 (0x20000000UL)
  6345. #define INTC_IER_IEN30_POS (30U)
  6346. #define INTC_IER_IEN30 (0x40000000UL)
  6347. #define INTC_IER_IEN31_POS (31U)
  6348. #define INTC_IER_IEN31 (0x80000000UL)
  6349. /*******************************************************************************
  6350. Bit definition for Peripheral KEYSCAN
  6351. *******************************************************************************/
  6352. /* Bit definition for KEYSCAN_SCR register */
  6353. #define KEYSCAN_SCR_KEYINSEL_POS (0U)
  6354. #define KEYSCAN_SCR_KEYINSEL (0x0000FFFFUL)
  6355. #define KEYSCAN_SCR_KEYINSEL_0 (0x00000001UL)
  6356. #define KEYSCAN_SCR_KEYINSEL_1 (0x00000002UL)
  6357. #define KEYSCAN_SCR_KEYINSEL_2 (0x00000004UL)
  6358. #define KEYSCAN_SCR_KEYINSEL_3 (0x00000008UL)
  6359. #define KEYSCAN_SCR_KEYINSEL_4 (0x00000010UL)
  6360. #define KEYSCAN_SCR_KEYINSEL_5 (0x00000020UL)
  6361. #define KEYSCAN_SCR_KEYINSEL_6 (0x00000040UL)
  6362. #define KEYSCAN_SCR_KEYINSEL_7 (0x00000080UL)
  6363. #define KEYSCAN_SCR_KEYINSEL_8 (0x00000100UL)
  6364. #define KEYSCAN_SCR_KEYINSEL_9 (0x00000200UL)
  6365. #define KEYSCAN_SCR_KEYINSEL_10 (0x00000400UL)
  6366. #define KEYSCAN_SCR_KEYINSEL_11 (0x00000800UL)
  6367. #define KEYSCAN_SCR_KEYINSEL_12 (0x00001000UL)
  6368. #define KEYSCAN_SCR_KEYINSEL_13 (0x00002000UL)
  6369. #define KEYSCAN_SCR_KEYINSEL_14 (0x00004000UL)
  6370. #define KEYSCAN_SCR_KEYINSEL_15 (0x00008000UL)
  6371. #define KEYSCAN_SCR_KEYOUTSEL_POS (16U)
  6372. #define KEYSCAN_SCR_KEYOUTSEL (0x00070000UL)
  6373. #define KEYSCAN_SCR_CKSEL_POS (20U)
  6374. #define KEYSCAN_SCR_CKSEL (0x00300000UL)
  6375. #define KEYSCAN_SCR_CKSEL_0 (0x00100000UL)
  6376. #define KEYSCAN_SCR_CKSEL_1 (0x00200000UL)
  6377. #define KEYSCAN_SCR_T_LLEVEL_POS (24U)
  6378. #define KEYSCAN_SCR_T_LLEVEL (0x1F000000UL)
  6379. #define KEYSCAN_SCR_T_HIZ_POS (29U)
  6380. #define KEYSCAN_SCR_T_HIZ (0xE0000000UL)
  6381. /* Bit definition for KEYSCAN_SER register */
  6382. #define KEYSCAN_SER_SEN (0x00000001UL)
  6383. /* Bit definition for KEYSCAN_SSR register */
  6384. #define KEYSCAN_SSR_INDEX (0x00000007UL)
  6385. /*******************************************************************************
  6386. Bit definition for Peripheral MCAN
  6387. *******************************************************************************/
  6388. /* Bit definition for MCAN_ENDN register */
  6389. #define MCAN_ENDN (0xFFFFFFFFUL)
  6390. /* Bit definition for MCAN_DBTP register */
  6391. #define MCAN_DBTP_DSJW_POS (0U)
  6392. #define MCAN_DBTP_DSJW (0x0000000FUL)
  6393. #define MCAN_DBTP_DTSEG2_POS (4U)
  6394. #define MCAN_DBTP_DTSEG2 (0x000000F0UL)
  6395. #define MCAN_DBTP_DTSEG1_POS (8U)
  6396. #define MCAN_DBTP_DTSEG1 (0x00001F00UL)
  6397. #define MCAN_DBTP_DBRP_POS (16U)
  6398. #define MCAN_DBTP_DBRP (0x001F0000UL)
  6399. #define MCAN_DBTP_TDC_POS (23U)
  6400. #define MCAN_DBTP_TDC (0x00800000UL)
  6401. /* Bit definition for MCAN_TEST register */
  6402. #define MCAN_TEST_LBCK_POS (4U)
  6403. #define MCAN_TEST_LBCK (0x00000010UL)
  6404. #define MCAN_TEST_TX_POS (5U)
  6405. #define MCAN_TEST_TX (0x00000060UL)
  6406. #define MCAN_TEST_TX_0 (0x00000020UL)
  6407. #define MCAN_TEST_TX_1 (0x00000040UL)
  6408. #define MCAN_TEST_RX_POS (7U)
  6409. #define MCAN_TEST_RX (0x00000080UL)
  6410. #define MCAN_TEST_TXBNP_POS (8U)
  6411. #define MCAN_TEST_TXBNP (0x00001F00UL)
  6412. #define MCAN_TEST_PVAL_POS (13U)
  6413. #define MCAN_TEST_PVAL (0x00002000UL)
  6414. #define MCAN_TEST_TXBNS_POS (16U)
  6415. #define MCAN_TEST_TXBNS (0x001F0000UL)
  6416. #define MCAN_TEST_SVAL_POS (21U)
  6417. #define MCAN_TEST_SVAL (0x00200000UL)
  6418. /* Bit definition for MCAN_RWD register */
  6419. #define MCAN_RWD_WDC_POS (0U)
  6420. #define MCAN_RWD_WDC (0x000000FFUL)
  6421. #define MCAN_RWD_WDV_POS (8U)
  6422. #define MCAN_RWD_WDV (0x0000FF00UL)
  6423. /* Bit definition for MCAN_CCCR register */
  6424. #define MCAN_CCCR_INIT_POS (0U)
  6425. #define MCAN_CCCR_INIT (0x00000001UL)
  6426. #define MCAN_CCCR_CCE_POS (1U)
  6427. #define MCAN_CCCR_CCE (0x00000002UL)
  6428. #define MCAN_CCCR_ASM_POS (2U)
  6429. #define MCAN_CCCR_ASM (0x00000004UL)
  6430. #define MCAN_CCCR_CSA_POS (3U)
  6431. #define MCAN_CCCR_CSA (0x00000008UL)
  6432. #define MCAN_CCCR_CSR_POS (4U)
  6433. #define MCAN_CCCR_CSR (0x00000010UL)
  6434. #define MCAN_CCCR_MON_POS (5U)
  6435. #define MCAN_CCCR_MON (0x00000020UL)
  6436. #define MCAN_CCCR_DAR_POS (6U)
  6437. #define MCAN_CCCR_DAR (0x00000040UL)
  6438. #define MCAN_CCCR_TEST_POS (7U)
  6439. #define MCAN_CCCR_TEST (0x00000080UL)
  6440. #define MCAN_CCCR_FDOE_POS (8U)
  6441. #define MCAN_CCCR_FDOE (0x00000100UL)
  6442. #define MCAN_CCCR_BRSE_POS (9U)
  6443. #define MCAN_CCCR_BRSE (0x00000200UL)
  6444. #define MCAN_CCCR_UTSU_POS (10U)
  6445. #define MCAN_CCCR_UTSU (0x00000400UL)
  6446. #define MCAN_CCCR_WMM_POS (11U)
  6447. #define MCAN_CCCR_WMM (0x00000800UL)
  6448. #define MCAN_CCCR_PXHD_POS (12U)
  6449. #define MCAN_CCCR_PXHD (0x00001000UL)
  6450. #define MCAN_CCCR_EFBI_POS (13U)
  6451. #define MCAN_CCCR_EFBI (0x00002000UL)
  6452. #define MCAN_CCCR_TXP_POS (14U)
  6453. #define MCAN_CCCR_TXP (0x00004000UL)
  6454. #define MCAN_CCCR_NISO_POS (15U)
  6455. #define MCAN_CCCR_NISO (0x00008000UL)
  6456. /* Bit definition for MCAN_NBTP register */
  6457. #define MCAN_NBTP_NTSEG2_POS (0U)
  6458. #define MCAN_NBTP_NTSEG2 (0x0000007FUL)
  6459. #define MCAN_NBTP_NTSEG1_POS (8U)
  6460. #define MCAN_NBTP_NTSEG1 (0x0000FF00UL)
  6461. #define MCAN_NBTP_NBRP_POS (16U)
  6462. #define MCAN_NBTP_NBRP (0x01FF0000UL)
  6463. #define MCAN_NBTP_NSJW_POS (25U)
  6464. #define MCAN_NBTP_NSJW (0xFE000000UL)
  6465. /* Bit definition for MCAN_TSCC register */
  6466. #define MCAN_TSCC_TSS_POS (0U)
  6467. #define MCAN_TSCC_TSS (0x00000003UL)
  6468. #define MCAN_TSCC_TSS_0 (0x00000001UL)
  6469. #define MCAN_TSCC_TSS_1 (0x00000002UL)
  6470. #define MCAN_TSCC_TCP_POS (16U)
  6471. #define MCAN_TSCC_TCP (0x000F0000UL)
  6472. /* Bit definition for MCAN_TSCV register */
  6473. #define MCAN_TSCV_TSC (0x0000FFFFUL)
  6474. /* Bit definition for MCAN_TOCC register */
  6475. #define MCAN_TOCC_ETOC_POS (0U)
  6476. #define MCAN_TOCC_ETOC (0x00000001UL)
  6477. #define MCAN_TOCC_TOS_POS (1U)
  6478. #define MCAN_TOCC_TOS (0x00000006UL)
  6479. #define MCAN_TOCC_TOS_0 (0x00000002UL)
  6480. #define MCAN_TOCC_TOS_1 (0x00000004UL)
  6481. #define MCAN_TOCC_TOP_POS (16U)
  6482. #define MCAN_TOCC_TOP (0xFFFF0000UL)
  6483. /* Bit definition for MCAN_TOCV register */
  6484. #define MCAN_TOCV_TOC (0x0000FFFFUL)
  6485. /* Bit definition for MCAN_ECR register */
  6486. #define MCAN_ECR_TEC_POS (0U)
  6487. #define MCAN_ECR_TEC (0x000000FFUL)
  6488. #define MCAN_ECR_REC_POS (8U)
  6489. #define MCAN_ECR_REC (0x00007F00UL)
  6490. #define MCAN_ECR_RP_POS (15U)
  6491. #define MCAN_ECR_RP (0x00008000UL)
  6492. #define MCAN_ECR_CEL_POS (16U)
  6493. #define MCAN_ECR_CEL (0x00FF0000UL)
  6494. /* Bit definition for MCAN_PSR register */
  6495. #define MCAN_PSR_LEC_POS (0U)
  6496. #define MCAN_PSR_LEC (0x00000007UL)
  6497. #define MCAN_PSR_ACT_POS (3U)
  6498. #define MCAN_PSR_ACT (0x00000018UL)
  6499. #define MCAN_PSR_ACT_0 (0x00000008UL)
  6500. #define MCAN_PSR_ACT_1 (0x00000010UL)
  6501. #define MCAN_PSR_EP_POS (5U)
  6502. #define MCAN_PSR_EP (0x00000020UL)
  6503. #define MCAN_PSR_EW_POS (6U)
  6504. #define MCAN_PSR_EW (0x00000040UL)
  6505. #define MCAN_PSR_BO_POS (7U)
  6506. #define MCAN_PSR_BO (0x00000080UL)
  6507. #define MCAN_PSR_DLEC_POS (8U)
  6508. #define MCAN_PSR_DLEC (0x00000700UL)
  6509. #define MCAN_PSR_RESI_POS (11U)
  6510. #define MCAN_PSR_RESI (0x00000800UL)
  6511. #define MCAN_PSR_RBRS_POS (12U)
  6512. #define MCAN_PSR_RBRS (0x00001000UL)
  6513. #define MCAN_PSR_RFDF_POS (13U)
  6514. #define MCAN_PSR_RFDF (0x00002000UL)
  6515. #define MCAN_PSR_PXE_POS (14U)
  6516. #define MCAN_PSR_PXE (0x00004000UL)
  6517. #define MCAN_PSR_TDCV_POS (16U)
  6518. #define MCAN_PSR_TDCV (0x007F0000UL)
  6519. /* Bit definition for MCAN_TDCR register */
  6520. #define MCAN_TDCR_TDCF_POS (0U)
  6521. #define MCAN_TDCR_TDCF (0x0000007FUL)
  6522. #define MCAN_TDCR_TDCO_POS (8U)
  6523. #define MCAN_TDCR_TDCO (0x00007F00UL)
  6524. /* Bit definition for MCAN_IR register */
  6525. #define MCAN_IR_RF0N_POS (0U)
  6526. #define MCAN_IR_RF0N (0x00000001UL)
  6527. #define MCAN_IR_RF0W_POS (1U)
  6528. #define MCAN_IR_RF0W (0x00000002UL)
  6529. #define MCAN_IR_RF0F_POS (2U)
  6530. #define MCAN_IR_RF0F (0x00000004UL)
  6531. #define MCAN_IR_RF0L_POS (3U)
  6532. #define MCAN_IR_RF0L (0x00000008UL)
  6533. #define MCAN_IR_RF1N_POS (4U)
  6534. #define MCAN_IR_RF1N (0x00000010UL)
  6535. #define MCAN_IR_RF1W_POS (5U)
  6536. #define MCAN_IR_RF1W (0x00000020UL)
  6537. #define MCAN_IR_RF1F_POS (6U)
  6538. #define MCAN_IR_RF1F (0x00000040UL)
  6539. #define MCAN_IR_RF1L_POS (7U)
  6540. #define MCAN_IR_RF1L (0x00000080UL)
  6541. #define MCAN_IR_HPM_POS (8U)
  6542. #define MCAN_IR_HPM (0x00000100UL)
  6543. #define MCAN_IR_TC_POS (9U)
  6544. #define MCAN_IR_TC (0x00000200UL)
  6545. #define MCAN_IR_TCF_POS (10U)
  6546. #define MCAN_IR_TCF (0x00000400UL)
  6547. #define MCAN_IR_TFE_POS (11U)
  6548. #define MCAN_IR_TFE (0x00000800UL)
  6549. #define MCAN_IR_TEFN_POS (12U)
  6550. #define MCAN_IR_TEFN (0x00001000UL)
  6551. #define MCAN_IR_TEFW_POS (13U)
  6552. #define MCAN_IR_TEFW (0x00002000UL)
  6553. #define MCAN_IR_TEFF_POS (14U)
  6554. #define MCAN_IR_TEFF (0x00004000UL)
  6555. #define MCAN_IR_TEFL_POS (15U)
  6556. #define MCAN_IR_TEFL (0x00008000UL)
  6557. #define MCAN_IR_TSW_POS (16U)
  6558. #define MCAN_IR_TSW (0x00010000UL)
  6559. #define MCAN_IR_MRAF_POS (17U)
  6560. #define MCAN_IR_MRAF (0x00020000UL)
  6561. #define MCAN_IR_TOO_POS (18U)
  6562. #define MCAN_IR_TOO (0x00040000UL)
  6563. #define MCAN_IR_DRX_POS (19U)
  6564. #define MCAN_IR_DRX (0x00080000UL)
  6565. #define MCAN_IR_BEC_POS (20U)
  6566. #define MCAN_IR_BEC (0x00100000UL)
  6567. #define MCAN_IR_BEU_POS (21U)
  6568. #define MCAN_IR_BEU (0x00200000UL)
  6569. #define MCAN_IR_ELO_POS (22U)
  6570. #define MCAN_IR_ELO (0x00400000UL)
  6571. #define MCAN_IR_EP_POS (23U)
  6572. #define MCAN_IR_EP (0x00800000UL)
  6573. #define MCAN_IR_EW_POS (24U)
  6574. #define MCAN_IR_EW (0x01000000UL)
  6575. #define MCAN_IR_BO_POS (25U)
  6576. #define MCAN_IR_BO (0x02000000UL)
  6577. #define MCAN_IR_WDI_POS (26U)
  6578. #define MCAN_IR_WDI (0x04000000UL)
  6579. #define MCAN_IR_PEA_POS (27U)
  6580. #define MCAN_IR_PEA (0x08000000UL)
  6581. #define MCAN_IR_PED_POS (28U)
  6582. #define MCAN_IR_PED (0x10000000UL)
  6583. #define MCAN_IR_ARA_POS (29U)
  6584. #define MCAN_IR_ARA (0x20000000UL)
  6585. /* Bit definition for MCAN_IE register */
  6586. #define MCAN_IE_RF0NE_POS (0U)
  6587. #define MCAN_IE_RF0NE (0x00000001UL)
  6588. #define MCAN_IE_RF0WE_POS (1U)
  6589. #define MCAN_IE_RF0WE (0x00000002UL)
  6590. #define MCAN_IE_RF0FE_POS (2U)
  6591. #define MCAN_IE_RF0FE (0x00000004UL)
  6592. #define MCAN_IE_RF0LE_POS (3U)
  6593. #define MCAN_IE_RF0LE (0x00000008UL)
  6594. #define MCAN_IE_RF1NE_POS (4U)
  6595. #define MCAN_IE_RF1NE (0x00000010UL)
  6596. #define MCAN_IE_RF1WE_POS (5U)
  6597. #define MCAN_IE_RF1WE (0x00000020UL)
  6598. #define MCAN_IE_RF1FE_POS (6U)
  6599. #define MCAN_IE_RF1FE (0x00000040UL)
  6600. #define MCAN_IE_RF1LE_POS (7U)
  6601. #define MCAN_IE_RF1LE (0x00000080UL)
  6602. #define MCAN_IE_HPME_POS (8U)
  6603. #define MCAN_IE_HPME (0x00000100UL)
  6604. #define MCAN_IE_TCE_POS (9U)
  6605. #define MCAN_IE_TCE (0x00000200UL)
  6606. #define MCAN_IE_TCFE_POS (10U)
  6607. #define MCAN_IE_TCFE (0x00000400UL)
  6608. #define MCAN_IE_TFEE_POS (11U)
  6609. #define MCAN_IE_TFEE (0x00000800UL)
  6610. #define MCAN_IE_TEFNE_POS (12U)
  6611. #define MCAN_IE_TEFNE (0x00001000UL)
  6612. #define MCAN_IE_TEFWE_POS (13U)
  6613. #define MCAN_IE_TEFWE (0x00002000UL)
  6614. #define MCAN_IE_TEFFE_POS (14U)
  6615. #define MCAN_IE_TEFFE (0x00004000UL)
  6616. #define MCAN_IE_TEFLE_POS (15U)
  6617. #define MCAN_IE_TEFLE (0x00008000UL)
  6618. #define MCAN_IE_TSWE_POS (16U)
  6619. #define MCAN_IE_TSWE (0x00010000UL)
  6620. #define MCAN_IE_MRAFE_POS (17U)
  6621. #define MCAN_IE_MRAFE (0x00020000UL)
  6622. #define MCAN_IE_TOOE_POS (18U)
  6623. #define MCAN_IE_TOOE (0x00040000UL)
  6624. #define MCAN_IE_DRXE_POS (19U)
  6625. #define MCAN_IE_DRXE (0x00080000UL)
  6626. #define MCAN_IE_BECE_POS (20U)
  6627. #define MCAN_IE_BECE (0x00100000UL)
  6628. #define MCAN_IE_BEUE_POS (21U)
  6629. #define MCAN_IE_BEUE (0x00200000UL)
  6630. #define MCAN_IE_ELOE_POS (22U)
  6631. #define MCAN_IE_ELOE (0x00400000UL)
  6632. #define MCAN_IE_EPE_POS (23U)
  6633. #define MCAN_IE_EPE (0x00800000UL)
  6634. #define MCAN_IE_EWE_POS (24U)
  6635. #define MCAN_IE_EWE (0x01000000UL)
  6636. #define MCAN_IE_BOE_POS (25U)
  6637. #define MCAN_IE_BOE (0x02000000UL)
  6638. #define MCAN_IE_WDIE_POS (26U)
  6639. #define MCAN_IE_WDIE (0x04000000UL)
  6640. #define MCAN_IE_PEAE_POS (27U)
  6641. #define MCAN_IE_PEAE (0x08000000UL)
  6642. #define MCAN_IE_PEDE_POS (28U)
  6643. #define MCAN_IE_PEDE (0x10000000UL)
  6644. #define MCAN_IE_ARAE_POS (29U)
  6645. #define MCAN_IE_ARAE (0x20000000UL)
  6646. /* Bit definition for MCAN_ILS register */
  6647. #define MCAN_ILS_RF0NL_POS (0U)
  6648. #define MCAN_ILS_RF0NL (0x00000001UL)
  6649. #define MCAN_ILS_RF0WL_POS (1U)
  6650. #define MCAN_ILS_RF0WL (0x00000002UL)
  6651. #define MCAN_ILS_RF0FL_POS (2U)
  6652. #define MCAN_ILS_RF0FL (0x00000004UL)
  6653. #define MCAN_ILS_RF0LL_POS (3U)
  6654. #define MCAN_ILS_RF0LL (0x00000008UL)
  6655. #define MCAN_ILS_RF1NL_POS (4U)
  6656. #define MCAN_ILS_RF1NL (0x00000010UL)
  6657. #define MCAN_ILS_RF1WL_POS (5U)
  6658. #define MCAN_ILS_RF1WL (0x00000020UL)
  6659. #define MCAN_ILS_RF1FL_POS (6U)
  6660. #define MCAN_ILS_RF1FL (0x00000040UL)
  6661. #define MCAN_ILS_RF1LL_POS (7U)
  6662. #define MCAN_ILS_RF1LL (0x00000080UL)
  6663. #define MCAN_ILS_HPML_POS (8U)
  6664. #define MCAN_ILS_HPML (0x00000100UL)
  6665. #define MCAN_ILS_TCL_POS (9U)
  6666. #define MCAN_ILS_TCL (0x00000200UL)
  6667. #define MCAN_ILS_TCFL_POS (10U)
  6668. #define MCAN_ILS_TCFL (0x00000400UL)
  6669. #define MCAN_ILS_TFEL_POS (11U)
  6670. #define MCAN_ILS_TFEL (0x00000800UL)
  6671. #define MCAN_ILS_TEFNL_POS (12U)
  6672. #define MCAN_ILS_TEFNL (0x00001000UL)
  6673. #define MCAN_ILS_TEFWL_POS (13U)
  6674. #define MCAN_ILS_TEFWL (0x00002000UL)
  6675. #define MCAN_ILS_TEFFL_POS (14U)
  6676. #define MCAN_ILS_TEFFL (0x00004000UL)
  6677. #define MCAN_ILS_TEFLL_POS (15U)
  6678. #define MCAN_ILS_TEFLL (0x00008000UL)
  6679. #define MCAN_ILS_TSWL_POS (16U)
  6680. #define MCAN_ILS_TSWL (0x00010000UL)
  6681. #define MCAN_ILS_MRAFL_POS (17U)
  6682. #define MCAN_ILS_MRAFL (0x00020000UL)
  6683. #define MCAN_ILS_TOOL_POS (18U)
  6684. #define MCAN_ILS_TOOL (0x00040000UL)
  6685. #define MCAN_ILS_DRXL_POS (19U)
  6686. #define MCAN_ILS_DRXL (0x00080000UL)
  6687. #define MCAN_ILS_BECL_POS (20U)
  6688. #define MCAN_ILS_BECL (0x00100000UL)
  6689. #define MCAN_ILS_BEUL_POS (21U)
  6690. #define MCAN_ILS_BEUL (0x00200000UL)
  6691. #define MCAN_ILS_ELOL_POS (22U)
  6692. #define MCAN_ILS_ELOL (0x00400000UL)
  6693. #define MCAN_ILS_EPL_POS (23U)
  6694. #define MCAN_ILS_EPL (0x00800000UL)
  6695. #define MCAN_ILS_EWL_POS (24U)
  6696. #define MCAN_ILS_EWL (0x01000000UL)
  6697. #define MCAN_ILS_BOL_POS (25U)
  6698. #define MCAN_ILS_BOL (0x02000000UL)
  6699. #define MCAN_ILS_WDIL_POS (26U)
  6700. #define MCAN_ILS_WDIL (0x04000000UL)
  6701. #define MCAN_ILS_PEAL_POS (27U)
  6702. #define MCAN_ILS_PEAL (0x08000000UL)
  6703. #define MCAN_ILS_PEDL_POS (28U)
  6704. #define MCAN_ILS_PEDL (0x10000000UL)
  6705. #define MCAN_ILS_ARAL_POS (29U)
  6706. #define MCAN_ILS_ARAL (0x20000000UL)
  6707. /* Bit definition for MCAN_ILE register */
  6708. #define MCAN_ILE_EINT0_POS (0U)
  6709. #define MCAN_ILE_EINT0 (0x00000001UL)
  6710. #define MCAN_ILE_EINT1_POS (1U)
  6711. #define MCAN_ILE_EINT1 (0x00000002UL)
  6712. /* Bit definition for MCAN_GFC register */
  6713. #define MCAN_GFC_RRFE_POS (0U)
  6714. #define MCAN_GFC_RRFE (0x00000001UL)
  6715. #define MCAN_GFC_RRFS_POS (1U)
  6716. #define MCAN_GFC_RRFS (0x00000002UL)
  6717. #define MCAN_GFC_ANFE_POS (2U)
  6718. #define MCAN_GFC_ANFE (0x0000000CUL)
  6719. #define MCAN_GFC_ANFE_0 (0x00000004UL)
  6720. #define MCAN_GFC_ANFE_1 (0x00000008UL)
  6721. #define MCAN_GFC_ANFS_POS (4U)
  6722. #define MCAN_GFC_ANFS (0x00000030UL)
  6723. #define MCAN_GFC_ANFS_0 (0x00000010UL)
  6724. #define MCAN_GFC_ANFS_1 (0x00000020UL)
  6725. /* Bit definition for MCAN_SIDFC register */
  6726. #define MCAN_SIDFC_FLSSA_POS (2U)
  6727. #define MCAN_SIDFC_FLSSA (0x0000FFFCUL)
  6728. #define MCAN_SIDFC_LSS_POS (16U)
  6729. #define MCAN_SIDFC_LSS (0x00FF0000UL)
  6730. /* Bit definition for MCAN_XIDFC register */
  6731. #define MCAN_XIDFC_FLESA_POS (2U)
  6732. #define MCAN_XIDFC_FLESA (0x0000FFFCUL)
  6733. #define MCAN_XIDFC_LSE_POS (16U)
  6734. #define MCAN_XIDFC_LSE (0x007F0000UL)
  6735. /* Bit definition for MCAN_XIDAM register */
  6736. #define MCAN_XIDAM_EIDM (0x1FFFFFFFUL)
  6737. /* Bit definition for MCAN_HPMS register */
  6738. #define MCAN_HPMS_BIDX_POS (0U)
  6739. #define MCAN_HPMS_BIDX (0x0000003FUL)
  6740. #define MCAN_HPMS_MSI_POS (6U)
  6741. #define MCAN_HPMS_MSI (0x000000C0UL)
  6742. #define MCAN_HPMS_MSI_0 (0x00000040UL)
  6743. #define MCAN_HPMS_MSI_1 (0x00000080UL)
  6744. #define MCAN_HPMS_FIDX_POS (8U)
  6745. #define MCAN_HPMS_FIDX (0x00007F00UL)
  6746. #define MCAN_HPMS_FLST_POS (15U)
  6747. #define MCAN_HPMS_FLST (0x00008000UL)
  6748. /* Bit definition for MCAN_NDAT1 register */
  6749. #define MCAN_NDAT1_ND0_POS (0U)
  6750. #define MCAN_NDAT1_ND0 (0x00000001UL)
  6751. #define MCAN_NDAT1_ND1_POS (1U)
  6752. #define MCAN_NDAT1_ND1 (0x00000002UL)
  6753. #define MCAN_NDAT1_ND2_POS (2U)
  6754. #define MCAN_NDAT1_ND2 (0x00000004UL)
  6755. #define MCAN_NDAT1_ND3_POS (3U)
  6756. #define MCAN_NDAT1_ND3 (0x00000008UL)
  6757. #define MCAN_NDAT1_ND4_POS (4U)
  6758. #define MCAN_NDAT1_ND4 (0x00000010UL)
  6759. #define MCAN_NDAT1_ND5_POS (5U)
  6760. #define MCAN_NDAT1_ND5 (0x00000020UL)
  6761. #define MCAN_NDAT1_ND6_POS (6U)
  6762. #define MCAN_NDAT1_ND6 (0x00000040UL)
  6763. #define MCAN_NDAT1_ND7_POS (7U)
  6764. #define MCAN_NDAT1_ND7 (0x00000080UL)
  6765. #define MCAN_NDAT1_ND8_POS (8U)
  6766. #define MCAN_NDAT1_ND8 (0x00000100UL)
  6767. #define MCAN_NDAT1_ND9_POS (9U)
  6768. #define MCAN_NDAT1_ND9 (0x00000200UL)
  6769. #define MCAN_NDAT1_ND10_POS (10U)
  6770. #define MCAN_NDAT1_ND10 (0x00000400UL)
  6771. #define MCAN_NDAT1_ND11_POS (11U)
  6772. #define MCAN_NDAT1_ND11 (0x00000800UL)
  6773. #define MCAN_NDAT1_ND12_POS (12U)
  6774. #define MCAN_NDAT1_ND12 (0x00001000UL)
  6775. #define MCAN_NDAT1_ND13_POS (13U)
  6776. #define MCAN_NDAT1_ND13 (0x00002000UL)
  6777. #define MCAN_NDAT1_ND14_POS (14U)
  6778. #define MCAN_NDAT1_ND14 (0x00004000UL)
  6779. #define MCAN_NDAT1_ND15_POS (15U)
  6780. #define MCAN_NDAT1_ND15 (0x00008000UL)
  6781. #define MCAN_NDAT1_ND16_POS (16U)
  6782. #define MCAN_NDAT1_ND16 (0x00010000UL)
  6783. #define MCAN_NDAT1_ND17_POS (17U)
  6784. #define MCAN_NDAT1_ND17 (0x00020000UL)
  6785. #define MCAN_NDAT1_ND18_POS (18U)
  6786. #define MCAN_NDAT1_ND18 (0x00040000UL)
  6787. #define MCAN_NDAT1_ND19_POS (19U)
  6788. #define MCAN_NDAT1_ND19 (0x00080000UL)
  6789. #define MCAN_NDAT1_ND20_POS (20U)
  6790. #define MCAN_NDAT1_ND20 (0x00100000UL)
  6791. #define MCAN_NDAT1_ND21_POS (21U)
  6792. #define MCAN_NDAT1_ND21 (0x00200000UL)
  6793. #define MCAN_NDAT1_ND22_POS (22U)
  6794. #define MCAN_NDAT1_ND22 (0x00400000UL)
  6795. #define MCAN_NDAT1_ND23_POS (23U)
  6796. #define MCAN_NDAT1_ND23 (0x00800000UL)
  6797. #define MCAN_NDAT1_ND24_POS (24U)
  6798. #define MCAN_NDAT1_ND24 (0x01000000UL)
  6799. #define MCAN_NDAT1_ND25_POS (25U)
  6800. #define MCAN_NDAT1_ND25 (0x02000000UL)
  6801. #define MCAN_NDAT1_ND26_POS (26U)
  6802. #define MCAN_NDAT1_ND26 (0x04000000UL)
  6803. #define MCAN_NDAT1_ND27_POS (27U)
  6804. #define MCAN_NDAT1_ND27 (0x08000000UL)
  6805. #define MCAN_NDAT1_ND28_POS (28U)
  6806. #define MCAN_NDAT1_ND28 (0x10000000UL)
  6807. #define MCAN_NDAT1_ND29_POS (29U)
  6808. #define MCAN_NDAT1_ND29 (0x20000000UL)
  6809. #define MCAN_NDAT1_ND30_POS (30U)
  6810. #define MCAN_NDAT1_ND30 (0x40000000UL)
  6811. #define MCAN_NDAT1_ND31_POS (31U)
  6812. #define MCAN_NDAT1_ND31 (0x80000000UL)
  6813. /* Bit definition for MCAN_NDAT2 register */
  6814. #define MCAN_NDAT2_ND32_POS (0U)
  6815. #define MCAN_NDAT2_ND32 (0x00000001UL)
  6816. #define MCAN_NDAT2_ND33_POS (1U)
  6817. #define MCAN_NDAT2_ND33 (0x00000002UL)
  6818. #define MCAN_NDAT2_ND34_POS (2U)
  6819. #define MCAN_NDAT2_ND34 (0x00000004UL)
  6820. #define MCAN_NDAT2_ND35_POS (3U)
  6821. #define MCAN_NDAT2_ND35 (0x00000008UL)
  6822. #define MCAN_NDAT2_ND36_POS (4U)
  6823. #define MCAN_NDAT2_ND36 (0x00000010UL)
  6824. #define MCAN_NDAT2_ND37_POS (5U)
  6825. #define MCAN_NDAT2_ND37 (0x00000020UL)
  6826. #define MCAN_NDAT2_ND38_POS (6U)
  6827. #define MCAN_NDAT2_ND38 (0x00000040UL)
  6828. #define MCAN_NDAT2_ND39_POS (7U)
  6829. #define MCAN_NDAT2_ND39 (0x00000080UL)
  6830. #define MCAN_NDAT2_ND40_POS (8U)
  6831. #define MCAN_NDAT2_ND40 (0x00000100UL)
  6832. #define MCAN_NDAT2_ND41_POS (9U)
  6833. #define MCAN_NDAT2_ND41 (0x00000200UL)
  6834. #define MCAN_NDAT2_ND42_POS (10U)
  6835. #define MCAN_NDAT2_ND42 (0x00000400UL)
  6836. #define MCAN_NDAT2_ND43_POS (11U)
  6837. #define MCAN_NDAT2_ND43 (0x00000800UL)
  6838. #define MCAN_NDAT2_ND44_POS (12U)
  6839. #define MCAN_NDAT2_ND44 (0x00001000UL)
  6840. #define MCAN_NDAT2_ND45_POS (13U)
  6841. #define MCAN_NDAT2_ND45 (0x00002000UL)
  6842. #define MCAN_NDAT2_ND46_POS (14U)
  6843. #define MCAN_NDAT2_ND46 (0x00004000UL)
  6844. #define MCAN_NDAT2_ND47_POS (15U)
  6845. #define MCAN_NDAT2_ND47 (0x00008000UL)
  6846. #define MCAN_NDAT2_ND48_POS (16U)
  6847. #define MCAN_NDAT2_ND48 (0x00010000UL)
  6848. #define MCAN_NDAT2_ND49_POS (17U)
  6849. #define MCAN_NDAT2_ND49 (0x00020000UL)
  6850. #define MCAN_NDAT2_ND50_POS (18U)
  6851. #define MCAN_NDAT2_ND50 (0x00040000UL)
  6852. #define MCAN_NDAT2_ND51_POS (19U)
  6853. #define MCAN_NDAT2_ND51 (0x00080000UL)
  6854. #define MCAN_NDAT2_ND52_POS (20U)
  6855. #define MCAN_NDAT2_ND52 (0x00100000UL)
  6856. #define MCAN_NDAT2_ND53_POS (21U)
  6857. #define MCAN_NDAT2_ND53 (0x00200000UL)
  6858. #define MCAN_NDAT2_ND54_POS (22U)
  6859. #define MCAN_NDAT2_ND54 (0x00400000UL)
  6860. #define MCAN_NDAT2_ND55_POS (23U)
  6861. #define MCAN_NDAT2_ND55 (0x00800000UL)
  6862. #define MCAN_NDAT2_ND56_POS (24U)
  6863. #define MCAN_NDAT2_ND56 (0x01000000UL)
  6864. #define MCAN_NDAT2_ND57_POS (25U)
  6865. #define MCAN_NDAT2_ND57 (0x02000000UL)
  6866. #define MCAN_NDAT2_ND58_POS (26U)
  6867. #define MCAN_NDAT2_ND58 (0x04000000UL)
  6868. #define MCAN_NDAT2_ND59_POS (27U)
  6869. #define MCAN_NDAT2_ND59 (0x08000000UL)
  6870. #define MCAN_NDAT2_ND60_POS (28U)
  6871. #define MCAN_NDAT2_ND60 (0x10000000UL)
  6872. #define MCAN_NDAT2_ND61_POS (29U)
  6873. #define MCAN_NDAT2_ND61 (0x20000000UL)
  6874. #define MCAN_NDAT2_ND62_POS (30U)
  6875. #define MCAN_NDAT2_ND62 (0x40000000UL)
  6876. #define MCAN_NDAT2_ND63_POS (31U)
  6877. #define MCAN_NDAT2_ND63 (0x80000000UL)
  6878. /* Bit definition for MCAN_RXF0C register */
  6879. #define MCAN_RXF0C_F0SA_POS (2U)
  6880. #define MCAN_RXF0C_F0SA (0x0000FFFCUL)
  6881. #define MCAN_RXF0C_F0S_POS (16U)
  6882. #define MCAN_RXF0C_F0S (0x007F0000UL)
  6883. #define MCAN_RXF0C_F0WM_POS (24U)
  6884. #define MCAN_RXF0C_F0WM (0x7F000000UL)
  6885. #define MCAN_RXF0C_F0OM_POS (31U)
  6886. #define MCAN_RXF0C_F0OM (0x80000000UL)
  6887. /* Bit definition for MCAN_RXF0S register */
  6888. #define MCAN_RXF0S_F0FL_POS (0U)
  6889. #define MCAN_RXF0S_F0FL (0x0000007FUL)
  6890. #define MCAN_RXF0S_F0GI_POS (8U)
  6891. #define MCAN_RXF0S_F0GI (0x00003F00UL)
  6892. #define MCAN_RXF0S_F0PI_POS (16U)
  6893. #define MCAN_RXF0S_F0PI (0x003F0000UL)
  6894. #define MCAN_RXF0S_F0F_POS (24U)
  6895. #define MCAN_RXF0S_F0F (0x01000000UL)
  6896. #define MCAN_RXF0S_RF0L_POS (25U)
  6897. #define MCAN_RXF0S_RF0L (0x02000000UL)
  6898. /* Bit definition for MCAN_RXF0A register */
  6899. #define MCAN_RXF0A_F0AI (0x0000003FUL)
  6900. /* Bit definition for MCAN_RXBC register */
  6901. #define MCAN_RXBC_RBSA_POS (2U)
  6902. #define MCAN_RXBC_RBSA (0x0000FFFCUL)
  6903. /* Bit definition for MCAN_RXF1C register */
  6904. #define MCAN_RXF1C_F1SA_POS (2U)
  6905. #define MCAN_RXF1C_F1SA (0x0000FFFCUL)
  6906. #define MCAN_RXF1C_F1S_POS (16U)
  6907. #define MCAN_RXF1C_F1S (0x007F0000UL)
  6908. #define MCAN_RXF1C_F1WM_POS (24U)
  6909. #define MCAN_RXF1C_F1WM (0x7F000000UL)
  6910. #define MCAN_RXF1C_F1OM_POS (31U)
  6911. #define MCAN_RXF1C_F1OM (0x80000000UL)
  6912. /* Bit definition for MCAN_RXF1S register */
  6913. #define MCAN_RXF1S_F1FL_POS (0U)
  6914. #define MCAN_RXF1S_F1FL (0x0000007FUL)
  6915. #define MCAN_RXF1S_F1GI_POS (8U)
  6916. #define MCAN_RXF1S_F1GI (0x00003F00UL)
  6917. #define MCAN_RXF1S_F1PI_POS (16U)
  6918. #define MCAN_RXF1S_F1PI (0x003F0000UL)
  6919. #define MCAN_RXF1S_F1F_POS (24U)
  6920. #define MCAN_RXF1S_F1F (0x01000000UL)
  6921. #define MCAN_RXF1S_RF1L_POS (25U)
  6922. #define MCAN_RXF1S_RF1L (0x02000000UL)
  6923. #define MCAN_RXF1S_DMS_POS (30U)
  6924. #define MCAN_RXF1S_DMS (0xC0000000UL)
  6925. #define MCAN_RXF1S_DMS_0 (0x40000000UL)
  6926. #define MCAN_RXF1S_DMS_1 (0x80000000UL)
  6927. /* Bit definition for MCAN_RXF1A register */
  6928. #define MCAN_RXF1A_F1AI (0x0000003FUL)
  6929. /* Bit definition for MCAN_RXESC register */
  6930. #define MCAN_RXESC_F0DS_POS (0U)
  6931. #define MCAN_RXESC_F0DS (0x00000007UL)
  6932. #define MCAN_RXESC_F0DS_0 (0x00000001UL)
  6933. #define MCAN_RXESC_F0DS_1 (0x00000002UL)
  6934. #define MCAN_RXESC_F0DS_2 (0x00000004UL)
  6935. #define MCAN_RXESC_F1DS_POS (4U)
  6936. #define MCAN_RXESC_F1DS (0x00000070UL)
  6937. #define MCAN_RXESC_F1DS_0 (0x00000010UL)
  6938. #define MCAN_RXESC_F1DS_1 (0x00000020UL)
  6939. #define MCAN_RXESC_F1DS_2 (0x00000040UL)
  6940. #define MCAN_RXESC_RBDS_POS (8U)
  6941. #define MCAN_RXESC_RBDS (0x00000700UL)
  6942. #define MCAN_RXESC_RBDS_0 (0x00000100UL)
  6943. #define MCAN_RXESC_RBDS_1 (0x00000200UL)
  6944. #define MCAN_RXESC_RBDS_2 (0x00000400UL)
  6945. /* Bit definition for MCAN_TXBC register */
  6946. #define MCAN_TXBC_TBSA_POS (2U)
  6947. #define MCAN_TXBC_TBSA (0x0000FFFCUL)
  6948. #define MCAN_TXBC_NDTB_POS (16U)
  6949. #define MCAN_TXBC_NDTB (0x003F0000UL)
  6950. #define MCAN_TXBC_TFQS_POS (24U)
  6951. #define MCAN_TXBC_TFQS (0x3F000000UL)
  6952. #define MCAN_TXBC_TFQM_POS (30U)
  6953. #define MCAN_TXBC_TFQM (0x40000000UL)
  6954. /* Bit definition for MCAN_TXFQS register */
  6955. #define MCAN_TXFQS_TFFL_POS (0U)
  6956. #define MCAN_TXFQS_TFFL (0x0000003FUL)
  6957. #define MCAN_TXFQS_TFGI_POS (8U)
  6958. #define MCAN_TXFQS_TFGI (0x00001F00UL)
  6959. #define MCAN_TXFQS_TFQPI_POS (16U)
  6960. #define MCAN_TXFQS_TFQPI (0x001F0000UL)
  6961. #define MCAN_TXFQS_TFQF_POS (21U)
  6962. #define MCAN_TXFQS_TFQF (0x00200000UL)
  6963. /* Bit definition for MCAN_TXESC register */
  6964. #define MCAN_TXESC_TBDS (0x00000007UL)
  6965. /* Bit definition for MCAN_TXBRP register */
  6966. #define MCAN_TXBRP_TRP0_POS (0U)
  6967. #define MCAN_TXBRP_TRP0 (0x00000001UL)
  6968. #define MCAN_TXBRP_TRP1_POS (1U)
  6969. #define MCAN_TXBRP_TRP1 (0x00000002UL)
  6970. #define MCAN_TXBRP_TRP2_POS (2U)
  6971. #define MCAN_TXBRP_TRP2 (0x00000004UL)
  6972. #define MCAN_TXBRP_TRP3_POS (3U)
  6973. #define MCAN_TXBRP_TRP3 (0x00000008UL)
  6974. #define MCAN_TXBRP_TRP4_POS (4U)
  6975. #define MCAN_TXBRP_TRP4 (0x00000010UL)
  6976. #define MCAN_TXBRP_TRP5_POS (5U)
  6977. #define MCAN_TXBRP_TRP5 (0x00000020UL)
  6978. #define MCAN_TXBRP_TRP6_POS (6U)
  6979. #define MCAN_TXBRP_TRP6 (0x00000040UL)
  6980. #define MCAN_TXBRP_TRP7_POS (7U)
  6981. #define MCAN_TXBRP_TRP7 (0x00000080UL)
  6982. #define MCAN_TXBRP_TRP8_POS (8U)
  6983. #define MCAN_TXBRP_TRP8 (0x00000100UL)
  6984. #define MCAN_TXBRP_TRP9_POS (9U)
  6985. #define MCAN_TXBRP_TRP9 (0x00000200UL)
  6986. #define MCAN_TXBRP_TRP10_POS (10U)
  6987. #define MCAN_TXBRP_TRP10 (0x00000400UL)
  6988. #define MCAN_TXBRP_TRP11_POS (11U)
  6989. #define MCAN_TXBRP_TRP11 (0x00000800UL)
  6990. #define MCAN_TXBRP_TRP12_POS (12U)
  6991. #define MCAN_TXBRP_TRP12 (0x00001000UL)
  6992. #define MCAN_TXBRP_TRP13_POS (13U)
  6993. #define MCAN_TXBRP_TRP13 (0x00002000UL)
  6994. #define MCAN_TXBRP_TRP14_POS (14U)
  6995. #define MCAN_TXBRP_TRP14 (0x00004000UL)
  6996. #define MCAN_TXBRP_TRP15_POS (15U)
  6997. #define MCAN_TXBRP_TRP15 (0x00008000UL)
  6998. #define MCAN_TXBRP_TRP16_POS (16U)
  6999. #define MCAN_TXBRP_TRP16 (0x00010000UL)
  7000. #define MCAN_TXBRP_TRP17_POS (17U)
  7001. #define MCAN_TXBRP_TRP17 (0x00020000UL)
  7002. #define MCAN_TXBRP_TRP18_POS (18U)
  7003. #define MCAN_TXBRP_TRP18 (0x00040000UL)
  7004. #define MCAN_TXBRP_TRP19_POS (19U)
  7005. #define MCAN_TXBRP_TRP19 (0x00080000UL)
  7006. #define MCAN_TXBRP_TRP20_POS (20U)
  7007. #define MCAN_TXBRP_TRP20 (0x00100000UL)
  7008. #define MCAN_TXBRP_TRP21_POS (21U)
  7009. #define MCAN_TXBRP_TRP21 (0x00200000UL)
  7010. #define MCAN_TXBRP_TRP22_POS (22U)
  7011. #define MCAN_TXBRP_TRP22 (0x00400000UL)
  7012. #define MCAN_TXBRP_TRP23_POS (23U)
  7013. #define MCAN_TXBRP_TRP23 (0x00800000UL)
  7014. #define MCAN_TXBRP_TRP24_POS (24U)
  7015. #define MCAN_TXBRP_TRP24 (0x01000000UL)
  7016. #define MCAN_TXBRP_TRP25_POS (25U)
  7017. #define MCAN_TXBRP_TRP25 (0x02000000UL)
  7018. #define MCAN_TXBRP_TRP26_POS (26U)
  7019. #define MCAN_TXBRP_TRP26 (0x04000000UL)
  7020. #define MCAN_TXBRP_TRP27_POS (27U)
  7021. #define MCAN_TXBRP_TRP27 (0x08000000UL)
  7022. #define MCAN_TXBRP_TRP28_POS (28U)
  7023. #define MCAN_TXBRP_TRP28 (0x10000000UL)
  7024. #define MCAN_TXBRP_TRP29_POS (29U)
  7025. #define MCAN_TXBRP_TRP29 (0x20000000UL)
  7026. #define MCAN_TXBRP_TRP30_POS (30U)
  7027. #define MCAN_TXBRP_TRP30 (0x40000000UL)
  7028. #define MCAN_TXBRP_TRP31_POS (31U)
  7029. #define MCAN_TXBRP_TRP31 (0x80000000UL)
  7030. /* Bit definition for MCAN_TXBAR register */
  7031. #define MCAN_TXBAR_AR0_POS (0U)
  7032. #define MCAN_TXBAR_AR0 (0x00000001UL)
  7033. #define MCAN_TXBAR_AR1_POS (1U)
  7034. #define MCAN_TXBAR_AR1 (0x00000002UL)
  7035. #define MCAN_TXBAR_AR2_POS (2U)
  7036. #define MCAN_TXBAR_AR2 (0x00000004UL)
  7037. #define MCAN_TXBAR_AR3_POS (3U)
  7038. #define MCAN_TXBAR_AR3 (0x00000008UL)
  7039. #define MCAN_TXBAR_AR4_POS (4U)
  7040. #define MCAN_TXBAR_AR4 (0x00000010UL)
  7041. #define MCAN_TXBAR_AR5_POS (5U)
  7042. #define MCAN_TXBAR_AR5 (0x00000020UL)
  7043. #define MCAN_TXBAR_AR6_POS (6U)
  7044. #define MCAN_TXBAR_AR6 (0x00000040UL)
  7045. #define MCAN_TXBAR_AR7_POS (7U)
  7046. #define MCAN_TXBAR_AR7 (0x00000080UL)
  7047. #define MCAN_TXBAR_AR8_POS (8U)
  7048. #define MCAN_TXBAR_AR8 (0x00000100UL)
  7049. #define MCAN_TXBAR_AR9_POS (9U)
  7050. #define MCAN_TXBAR_AR9 (0x00000200UL)
  7051. #define MCAN_TXBAR_AR10_POS (10U)
  7052. #define MCAN_TXBAR_AR10 (0x00000400UL)
  7053. #define MCAN_TXBAR_AR11_POS (11U)
  7054. #define MCAN_TXBAR_AR11 (0x00000800UL)
  7055. #define MCAN_TXBAR_AR12_POS (12U)
  7056. #define MCAN_TXBAR_AR12 (0x00001000UL)
  7057. #define MCAN_TXBAR_AR13_POS (13U)
  7058. #define MCAN_TXBAR_AR13 (0x00002000UL)
  7059. #define MCAN_TXBAR_AR14_POS (14U)
  7060. #define MCAN_TXBAR_AR14 (0x00004000UL)
  7061. #define MCAN_TXBAR_AR15_POS (15U)
  7062. #define MCAN_TXBAR_AR15 (0x00008000UL)
  7063. #define MCAN_TXBAR_AR16_POS (16U)
  7064. #define MCAN_TXBAR_AR16 (0x00010000UL)
  7065. #define MCAN_TXBAR_AR17_POS (17U)
  7066. #define MCAN_TXBAR_AR17 (0x00020000UL)
  7067. #define MCAN_TXBAR_AR18_POS (18U)
  7068. #define MCAN_TXBAR_AR18 (0x00040000UL)
  7069. #define MCAN_TXBAR_AR19_POS (19U)
  7070. #define MCAN_TXBAR_AR19 (0x00080000UL)
  7071. #define MCAN_TXBAR_AR20_POS (20U)
  7072. #define MCAN_TXBAR_AR20 (0x00100000UL)
  7073. #define MCAN_TXBAR_AR21_POS (21U)
  7074. #define MCAN_TXBAR_AR21 (0x00200000UL)
  7075. #define MCAN_TXBAR_AR22_POS (22U)
  7076. #define MCAN_TXBAR_AR22 (0x00400000UL)
  7077. #define MCAN_TXBAR_AR23_POS (23U)
  7078. #define MCAN_TXBAR_AR23 (0x00800000UL)
  7079. #define MCAN_TXBAR_AR24_POS (24U)
  7080. #define MCAN_TXBAR_AR24 (0x01000000UL)
  7081. #define MCAN_TXBAR_AR25_POS (25U)
  7082. #define MCAN_TXBAR_AR25 (0x02000000UL)
  7083. #define MCAN_TXBAR_AR26_POS (26U)
  7084. #define MCAN_TXBAR_AR26 (0x04000000UL)
  7085. #define MCAN_TXBAR_AR27_POS (27U)
  7086. #define MCAN_TXBAR_AR27 (0x08000000UL)
  7087. #define MCAN_TXBAR_AR28_POS (28U)
  7088. #define MCAN_TXBAR_AR28 (0x10000000UL)
  7089. #define MCAN_TXBAR_AR29_POS (29U)
  7090. #define MCAN_TXBAR_AR29 (0x20000000UL)
  7091. #define MCAN_TXBAR_AR30_POS (30U)
  7092. #define MCAN_TXBAR_AR30 (0x40000000UL)
  7093. #define MCAN_TXBAR_AR31_POS (31U)
  7094. #define MCAN_TXBAR_AR31 (0x80000000UL)
  7095. /* Bit definition for MCAN_TXBCR register */
  7096. #define MCAN_TXBCR_CR0_POS (0U)
  7097. #define MCAN_TXBCR_CR0 (0x00000001UL)
  7098. #define MCAN_TXBCR_CR1_POS (1U)
  7099. #define MCAN_TXBCR_CR1 (0x00000002UL)
  7100. #define MCAN_TXBCR_CR2_POS (2U)
  7101. #define MCAN_TXBCR_CR2 (0x00000004UL)
  7102. #define MCAN_TXBCR_CR3_POS (3U)
  7103. #define MCAN_TXBCR_CR3 (0x00000008UL)
  7104. #define MCAN_TXBCR_CR4_POS (4U)
  7105. #define MCAN_TXBCR_CR4 (0x00000010UL)
  7106. #define MCAN_TXBCR_CR5_POS (5U)
  7107. #define MCAN_TXBCR_CR5 (0x00000020UL)
  7108. #define MCAN_TXBCR_CR6_POS (6U)
  7109. #define MCAN_TXBCR_CR6 (0x00000040UL)
  7110. #define MCAN_TXBCR_CR7_POS (7U)
  7111. #define MCAN_TXBCR_CR7 (0x00000080UL)
  7112. #define MCAN_TXBCR_CR8_POS (8U)
  7113. #define MCAN_TXBCR_CR8 (0x00000100UL)
  7114. #define MCAN_TXBCR_CR9_POS (9U)
  7115. #define MCAN_TXBCR_CR9 (0x00000200UL)
  7116. #define MCAN_TXBCR_CR10_POS (10U)
  7117. #define MCAN_TXBCR_CR10 (0x00000400UL)
  7118. #define MCAN_TXBCR_CR11_POS (11U)
  7119. #define MCAN_TXBCR_CR11 (0x00000800UL)
  7120. #define MCAN_TXBCR_CR12_POS (12U)
  7121. #define MCAN_TXBCR_CR12 (0x00001000UL)
  7122. #define MCAN_TXBCR_CR13_POS (13U)
  7123. #define MCAN_TXBCR_CR13 (0x00002000UL)
  7124. #define MCAN_TXBCR_CR14_POS (14U)
  7125. #define MCAN_TXBCR_CR14 (0x00004000UL)
  7126. #define MCAN_TXBCR_CR15_POS (15U)
  7127. #define MCAN_TXBCR_CR15 (0x00008000UL)
  7128. #define MCAN_TXBCR_CR16_POS (16U)
  7129. #define MCAN_TXBCR_CR16 (0x00010000UL)
  7130. #define MCAN_TXBCR_CR17_POS (17U)
  7131. #define MCAN_TXBCR_CR17 (0x00020000UL)
  7132. #define MCAN_TXBCR_CR18_POS (18U)
  7133. #define MCAN_TXBCR_CR18 (0x00040000UL)
  7134. #define MCAN_TXBCR_CR19_POS (19U)
  7135. #define MCAN_TXBCR_CR19 (0x00080000UL)
  7136. #define MCAN_TXBCR_CR20_POS (20U)
  7137. #define MCAN_TXBCR_CR20 (0x00100000UL)
  7138. #define MCAN_TXBCR_CR21_POS (21U)
  7139. #define MCAN_TXBCR_CR21 (0x00200000UL)
  7140. #define MCAN_TXBCR_CR22_POS (22U)
  7141. #define MCAN_TXBCR_CR22 (0x00400000UL)
  7142. #define MCAN_TXBCR_CR23_POS (23U)
  7143. #define MCAN_TXBCR_CR23 (0x00800000UL)
  7144. #define MCAN_TXBCR_CR24_POS (24U)
  7145. #define MCAN_TXBCR_CR24 (0x01000000UL)
  7146. #define MCAN_TXBCR_CR25_POS (25U)
  7147. #define MCAN_TXBCR_CR25 (0x02000000UL)
  7148. #define MCAN_TXBCR_CR26_POS (26U)
  7149. #define MCAN_TXBCR_CR26 (0x04000000UL)
  7150. #define MCAN_TXBCR_CR27_POS (27U)
  7151. #define MCAN_TXBCR_CR27 (0x08000000UL)
  7152. #define MCAN_TXBCR_CR28_POS (28U)
  7153. #define MCAN_TXBCR_CR28 (0x10000000UL)
  7154. #define MCAN_TXBCR_CR29_POS (29U)
  7155. #define MCAN_TXBCR_CR29 (0x20000000UL)
  7156. #define MCAN_TXBCR_CR30_POS (30U)
  7157. #define MCAN_TXBCR_CR30 (0x40000000UL)
  7158. #define MCAN_TXBCR_CR31_POS (31U)
  7159. #define MCAN_TXBCR_CR31 (0x80000000UL)
  7160. /* Bit definition for MCAN_TXBTO register */
  7161. #define MCAN_TXBTO_TO0_POS (0U)
  7162. #define MCAN_TXBTO_TO0 (0x00000001UL)
  7163. #define MCAN_TXBTO_TO1_POS (1U)
  7164. #define MCAN_TXBTO_TO1 (0x00000002UL)
  7165. #define MCAN_TXBTO_TO2_POS (2U)
  7166. #define MCAN_TXBTO_TO2 (0x00000004UL)
  7167. #define MCAN_TXBTO_TO3_POS (3U)
  7168. #define MCAN_TXBTO_TO3 (0x00000008UL)
  7169. #define MCAN_TXBTO_TO4_POS (4U)
  7170. #define MCAN_TXBTO_TO4 (0x00000010UL)
  7171. #define MCAN_TXBTO_TO5_POS (5U)
  7172. #define MCAN_TXBTO_TO5 (0x00000020UL)
  7173. #define MCAN_TXBTO_TO6_POS (6U)
  7174. #define MCAN_TXBTO_TO6 (0x00000040UL)
  7175. #define MCAN_TXBTO_TO7_POS (7U)
  7176. #define MCAN_TXBTO_TO7 (0x00000080UL)
  7177. #define MCAN_TXBTO_TO8_POS (8U)
  7178. #define MCAN_TXBTO_TO8 (0x00000100UL)
  7179. #define MCAN_TXBTO_TO9_POS (9U)
  7180. #define MCAN_TXBTO_TO9 (0x00000200UL)
  7181. #define MCAN_TXBTO_TO10_POS (10U)
  7182. #define MCAN_TXBTO_TO10 (0x00000400UL)
  7183. #define MCAN_TXBTO_TO11_POS (11U)
  7184. #define MCAN_TXBTO_TO11 (0x00000800UL)
  7185. #define MCAN_TXBTO_TO12_POS (12U)
  7186. #define MCAN_TXBTO_TO12 (0x00001000UL)
  7187. #define MCAN_TXBTO_TO13_POS (13U)
  7188. #define MCAN_TXBTO_TO13 (0x00002000UL)
  7189. #define MCAN_TXBTO_TO14_POS (14U)
  7190. #define MCAN_TXBTO_TO14 (0x00004000UL)
  7191. #define MCAN_TXBTO_TO15_POS (15U)
  7192. #define MCAN_TXBTO_TO15 (0x00008000UL)
  7193. #define MCAN_TXBTO_TO16_POS (16U)
  7194. #define MCAN_TXBTO_TO16 (0x00010000UL)
  7195. #define MCAN_TXBTO_TO17_POS (17U)
  7196. #define MCAN_TXBTO_TO17 (0x00020000UL)
  7197. #define MCAN_TXBTO_TO18_POS (18U)
  7198. #define MCAN_TXBTO_TO18 (0x00040000UL)
  7199. #define MCAN_TXBTO_TO19_POS (19U)
  7200. #define MCAN_TXBTO_TO19 (0x00080000UL)
  7201. #define MCAN_TXBTO_TO20_POS (20U)
  7202. #define MCAN_TXBTO_TO20 (0x00100000UL)
  7203. #define MCAN_TXBTO_TO21_POS (21U)
  7204. #define MCAN_TXBTO_TO21 (0x00200000UL)
  7205. #define MCAN_TXBTO_TO22_POS (22U)
  7206. #define MCAN_TXBTO_TO22 (0x00400000UL)
  7207. #define MCAN_TXBTO_TO23_POS (23U)
  7208. #define MCAN_TXBTO_TO23 (0x00800000UL)
  7209. #define MCAN_TXBTO_TO24_POS (24U)
  7210. #define MCAN_TXBTO_TO24 (0x01000000UL)
  7211. #define MCAN_TXBTO_TO25_POS (25U)
  7212. #define MCAN_TXBTO_TO25 (0x02000000UL)
  7213. #define MCAN_TXBTO_TO26_POS (26U)
  7214. #define MCAN_TXBTO_TO26 (0x04000000UL)
  7215. #define MCAN_TXBTO_TO27_POS (27U)
  7216. #define MCAN_TXBTO_TO27 (0x08000000UL)
  7217. #define MCAN_TXBTO_TO28_POS (28U)
  7218. #define MCAN_TXBTO_TO28 (0x10000000UL)
  7219. #define MCAN_TXBTO_TO29_POS (29U)
  7220. #define MCAN_TXBTO_TO29 (0x20000000UL)
  7221. #define MCAN_TXBTO_TO30_POS (30U)
  7222. #define MCAN_TXBTO_TO30 (0x40000000UL)
  7223. #define MCAN_TXBTO_TO31_POS (31U)
  7224. #define MCAN_TXBTO_TO31 (0x80000000UL)
  7225. /* Bit definition for MCAN_TXBCF register */
  7226. #define MCAN_TXBCF_CF0_POS (0U)
  7227. #define MCAN_TXBCF_CF0 (0x00000001UL)
  7228. #define MCAN_TXBCF_CF1_POS (1U)
  7229. #define MCAN_TXBCF_CF1 (0x00000002UL)
  7230. #define MCAN_TXBCF_CF2_POS (2U)
  7231. #define MCAN_TXBCF_CF2 (0x00000004UL)
  7232. #define MCAN_TXBCF_CF3_POS (3U)
  7233. #define MCAN_TXBCF_CF3 (0x00000008UL)
  7234. #define MCAN_TXBCF_CF4_POS (4U)
  7235. #define MCAN_TXBCF_CF4 (0x00000010UL)
  7236. #define MCAN_TXBCF_CF5_POS (5U)
  7237. #define MCAN_TXBCF_CF5 (0x00000020UL)
  7238. #define MCAN_TXBCF_CF6_POS (6U)
  7239. #define MCAN_TXBCF_CF6 (0x00000040UL)
  7240. #define MCAN_TXBCF_CF7_POS (7U)
  7241. #define MCAN_TXBCF_CF7 (0x00000080UL)
  7242. #define MCAN_TXBCF_CF8_POS (8U)
  7243. #define MCAN_TXBCF_CF8 (0x00000100UL)
  7244. #define MCAN_TXBCF_CF9_POS (9U)
  7245. #define MCAN_TXBCF_CF9 (0x00000200UL)
  7246. #define MCAN_TXBCF_CF10_POS (10U)
  7247. #define MCAN_TXBCF_CF10 (0x00000400UL)
  7248. #define MCAN_TXBCF_CF11_POS (11U)
  7249. #define MCAN_TXBCF_CF11 (0x00000800UL)
  7250. #define MCAN_TXBCF_CF12_POS (12U)
  7251. #define MCAN_TXBCF_CF12 (0x00001000UL)
  7252. #define MCAN_TXBCF_CF13_POS (13U)
  7253. #define MCAN_TXBCF_CF13 (0x00002000UL)
  7254. #define MCAN_TXBCF_CF14_POS (14U)
  7255. #define MCAN_TXBCF_CF14 (0x00004000UL)
  7256. #define MCAN_TXBCF_CF15_POS (15U)
  7257. #define MCAN_TXBCF_CF15 (0x00008000UL)
  7258. #define MCAN_TXBCF_CF16_POS (16U)
  7259. #define MCAN_TXBCF_CF16 (0x00010000UL)
  7260. #define MCAN_TXBCF_CF17_POS (17U)
  7261. #define MCAN_TXBCF_CF17 (0x00020000UL)
  7262. #define MCAN_TXBCF_CF18_POS (18U)
  7263. #define MCAN_TXBCF_CF18 (0x00040000UL)
  7264. #define MCAN_TXBCF_CF19_POS (19U)
  7265. #define MCAN_TXBCF_CF19 (0x00080000UL)
  7266. #define MCAN_TXBCF_CF20_POS (20U)
  7267. #define MCAN_TXBCF_CF20 (0x00100000UL)
  7268. #define MCAN_TXBCF_CF21_POS (21U)
  7269. #define MCAN_TXBCF_CF21 (0x00200000UL)
  7270. #define MCAN_TXBCF_CF22_POS (22U)
  7271. #define MCAN_TXBCF_CF22 (0x00400000UL)
  7272. #define MCAN_TXBCF_CF23_POS (23U)
  7273. #define MCAN_TXBCF_CF23 (0x00800000UL)
  7274. #define MCAN_TXBCF_CF24_POS (24U)
  7275. #define MCAN_TXBCF_CF24 (0x01000000UL)
  7276. #define MCAN_TXBCF_CF25_POS (25U)
  7277. #define MCAN_TXBCF_CF25 (0x02000000UL)
  7278. #define MCAN_TXBCF_CF26_POS (26U)
  7279. #define MCAN_TXBCF_CF26 (0x04000000UL)
  7280. #define MCAN_TXBCF_CF27_POS (27U)
  7281. #define MCAN_TXBCF_CF27 (0x08000000UL)
  7282. #define MCAN_TXBCF_CF28_POS (28U)
  7283. #define MCAN_TXBCF_CF28 (0x10000000UL)
  7284. #define MCAN_TXBCF_CF29_POS (29U)
  7285. #define MCAN_TXBCF_CF29 (0x20000000UL)
  7286. #define MCAN_TXBCF_CF30_POS (30U)
  7287. #define MCAN_TXBCF_CF30 (0x40000000UL)
  7288. #define MCAN_TXBCF_CF31_POS (31U)
  7289. #define MCAN_TXBCF_CF31 (0x80000000UL)
  7290. /* Bit definition for MCAN_TXBTIE register */
  7291. #define MCAN_TXBTIE_TIE0_POS (0U)
  7292. #define MCAN_TXBTIE_TIE0 (0x00000001UL)
  7293. #define MCAN_TXBTIE_TIE1_POS (1U)
  7294. #define MCAN_TXBTIE_TIE1 (0x00000002UL)
  7295. #define MCAN_TXBTIE_TIE2_POS (2U)
  7296. #define MCAN_TXBTIE_TIE2 (0x00000004UL)
  7297. #define MCAN_TXBTIE_TIE3_POS (3U)
  7298. #define MCAN_TXBTIE_TIE3 (0x00000008UL)
  7299. #define MCAN_TXBTIE_TIE4_POS (4U)
  7300. #define MCAN_TXBTIE_TIE4 (0x00000010UL)
  7301. #define MCAN_TXBTIE_TIE5_POS (5U)
  7302. #define MCAN_TXBTIE_TIE5 (0x00000020UL)
  7303. #define MCAN_TXBTIE_TIE6_POS (6U)
  7304. #define MCAN_TXBTIE_TIE6 (0x00000040UL)
  7305. #define MCAN_TXBTIE_TIE7_POS (7U)
  7306. #define MCAN_TXBTIE_TIE7 (0x00000080UL)
  7307. #define MCAN_TXBTIE_TIE8_POS (8U)
  7308. #define MCAN_TXBTIE_TIE8 (0x00000100UL)
  7309. #define MCAN_TXBTIE_TIE9_POS (9U)
  7310. #define MCAN_TXBTIE_TIE9 (0x00000200UL)
  7311. #define MCAN_TXBTIE_TIE10_POS (10U)
  7312. #define MCAN_TXBTIE_TIE10 (0x00000400UL)
  7313. #define MCAN_TXBTIE_TIE11_POS (11U)
  7314. #define MCAN_TXBTIE_TIE11 (0x00000800UL)
  7315. #define MCAN_TXBTIE_TIE12_POS (12U)
  7316. #define MCAN_TXBTIE_TIE12 (0x00001000UL)
  7317. #define MCAN_TXBTIE_TIE13_POS (13U)
  7318. #define MCAN_TXBTIE_TIE13 (0x00002000UL)
  7319. #define MCAN_TXBTIE_TIE14_POS (14U)
  7320. #define MCAN_TXBTIE_TIE14 (0x00004000UL)
  7321. #define MCAN_TXBTIE_TIE15_POS (15U)
  7322. #define MCAN_TXBTIE_TIE15 (0x00008000UL)
  7323. #define MCAN_TXBTIE_TIE16_POS (16U)
  7324. #define MCAN_TXBTIE_TIE16 (0x00010000UL)
  7325. #define MCAN_TXBTIE_TIE17_POS (17U)
  7326. #define MCAN_TXBTIE_TIE17 (0x00020000UL)
  7327. #define MCAN_TXBTIE_TIE18_POS (18U)
  7328. #define MCAN_TXBTIE_TIE18 (0x00040000UL)
  7329. #define MCAN_TXBTIE_TIE19_POS (19U)
  7330. #define MCAN_TXBTIE_TIE19 (0x00080000UL)
  7331. #define MCAN_TXBTIE_TIE20_POS (20U)
  7332. #define MCAN_TXBTIE_TIE20 (0x00100000UL)
  7333. #define MCAN_TXBTIE_TIE21_POS (21U)
  7334. #define MCAN_TXBTIE_TIE21 (0x00200000UL)
  7335. #define MCAN_TXBTIE_TIE22_POS (22U)
  7336. #define MCAN_TXBTIE_TIE22 (0x00400000UL)
  7337. #define MCAN_TXBTIE_TIE23_POS (23U)
  7338. #define MCAN_TXBTIE_TIE23 (0x00800000UL)
  7339. #define MCAN_TXBTIE_TIE24_POS (24U)
  7340. #define MCAN_TXBTIE_TIE24 (0x01000000UL)
  7341. #define MCAN_TXBTIE_TIE25_POS (25U)
  7342. #define MCAN_TXBTIE_TIE25 (0x02000000UL)
  7343. #define MCAN_TXBTIE_TIE26_POS (26U)
  7344. #define MCAN_TXBTIE_TIE26 (0x04000000UL)
  7345. #define MCAN_TXBTIE_TIE27_POS (27U)
  7346. #define MCAN_TXBTIE_TIE27 (0x08000000UL)
  7347. #define MCAN_TXBTIE_TIE28_POS (28U)
  7348. #define MCAN_TXBTIE_TIE28 (0x10000000UL)
  7349. #define MCAN_TXBTIE_TIE29_POS (29U)
  7350. #define MCAN_TXBTIE_TIE29 (0x20000000UL)
  7351. #define MCAN_TXBTIE_TIE30_POS (30U)
  7352. #define MCAN_TXBTIE_TIE30 (0x40000000UL)
  7353. #define MCAN_TXBTIE_TIE31_POS (31U)
  7354. #define MCAN_TXBTIE_TIE31 (0x80000000UL)
  7355. /* Bit definition for MCAN_TXBCIE register */
  7356. #define MCAN_TXBCIE_CFIE0_POS (0U)
  7357. #define MCAN_TXBCIE_CFIE0 (0x00000001UL)
  7358. #define MCAN_TXBCIE_CFIE1_POS (1U)
  7359. #define MCAN_TXBCIE_CFIE1 (0x00000002UL)
  7360. #define MCAN_TXBCIE_CFIE2_POS (2U)
  7361. #define MCAN_TXBCIE_CFIE2 (0x00000004UL)
  7362. #define MCAN_TXBCIE_CFIE3_POS (3U)
  7363. #define MCAN_TXBCIE_CFIE3 (0x00000008UL)
  7364. #define MCAN_TXBCIE_CFIE4_POS (4U)
  7365. #define MCAN_TXBCIE_CFIE4 (0x00000010UL)
  7366. #define MCAN_TXBCIE_CFIE5_POS (5U)
  7367. #define MCAN_TXBCIE_CFIE5 (0x00000020UL)
  7368. #define MCAN_TXBCIE_CFIE6_POS (6U)
  7369. #define MCAN_TXBCIE_CFIE6 (0x00000040UL)
  7370. #define MCAN_TXBCIE_CFIE7_POS (7U)
  7371. #define MCAN_TXBCIE_CFIE7 (0x00000080UL)
  7372. #define MCAN_TXBCIE_CFIE8_POS (8U)
  7373. #define MCAN_TXBCIE_CFIE8 (0x00000100UL)
  7374. #define MCAN_TXBCIE_CFIE9_POS (9U)
  7375. #define MCAN_TXBCIE_CFIE9 (0x00000200UL)
  7376. #define MCAN_TXBCIE_CFIE10_POS (10U)
  7377. #define MCAN_TXBCIE_CFIE10 (0x00000400UL)
  7378. #define MCAN_TXBCIE_CFIE11_POS (11U)
  7379. #define MCAN_TXBCIE_CFIE11 (0x00000800UL)
  7380. #define MCAN_TXBCIE_CFIE12_POS (12U)
  7381. #define MCAN_TXBCIE_CFIE12 (0x00001000UL)
  7382. #define MCAN_TXBCIE_CFIE13_POS (13U)
  7383. #define MCAN_TXBCIE_CFIE13 (0x00002000UL)
  7384. #define MCAN_TXBCIE_CFIE14_POS (14U)
  7385. #define MCAN_TXBCIE_CFIE14 (0x00004000UL)
  7386. #define MCAN_TXBCIE_CFIE15_POS (15U)
  7387. #define MCAN_TXBCIE_CFIE15 (0x00008000UL)
  7388. #define MCAN_TXBCIE_CFIE16_POS (16U)
  7389. #define MCAN_TXBCIE_CFIE16 (0x00010000UL)
  7390. #define MCAN_TXBCIE_CFIE17_POS (17U)
  7391. #define MCAN_TXBCIE_CFIE17 (0x00020000UL)
  7392. #define MCAN_TXBCIE_CFIE18_POS (18U)
  7393. #define MCAN_TXBCIE_CFIE18 (0x00040000UL)
  7394. #define MCAN_TXBCIE_CFIE19_POS (19U)
  7395. #define MCAN_TXBCIE_CFIE19 (0x00080000UL)
  7396. #define MCAN_TXBCIE_CFIE20_POS (20U)
  7397. #define MCAN_TXBCIE_CFIE20 (0x00100000UL)
  7398. #define MCAN_TXBCIE_CFIE21_POS (21U)
  7399. #define MCAN_TXBCIE_CFIE21 (0x00200000UL)
  7400. #define MCAN_TXBCIE_CFIE22_POS (22U)
  7401. #define MCAN_TXBCIE_CFIE22 (0x00400000UL)
  7402. #define MCAN_TXBCIE_CFIE23_POS (23U)
  7403. #define MCAN_TXBCIE_CFIE23 (0x00800000UL)
  7404. #define MCAN_TXBCIE_CFIE24_POS (24U)
  7405. #define MCAN_TXBCIE_CFIE24 (0x01000000UL)
  7406. #define MCAN_TXBCIE_CFIE25_POS (25U)
  7407. #define MCAN_TXBCIE_CFIE25 (0x02000000UL)
  7408. #define MCAN_TXBCIE_CFIE26_POS (26U)
  7409. #define MCAN_TXBCIE_CFIE26 (0x04000000UL)
  7410. #define MCAN_TXBCIE_CFIE27_POS (27U)
  7411. #define MCAN_TXBCIE_CFIE27 (0x08000000UL)
  7412. #define MCAN_TXBCIE_CFIE28_POS (28U)
  7413. #define MCAN_TXBCIE_CFIE28 (0x10000000UL)
  7414. #define MCAN_TXBCIE_CFIE29_POS (29U)
  7415. #define MCAN_TXBCIE_CFIE29 (0x20000000UL)
  7416. #define MCAN_TXBCIE_CFIE30_POS (30U)
  7417. #define MCAN_TXBCIE_CFIE30 (0x40000000UL)
  7418. #define MCAN_TXBCIE_CFIE31_POS (31U)
  7419. #define MCAN_TXBCIE_CFIE31 (0x80000000UL)
  7420. /* Bit definition for MCAN_TXEFC register */
  7421. #define MCAN_TXEFC_EFSA_POS (2U)
  7422. #define MCAN_TXEFC_EFSA (0x0000FFFCUL)
  7423. #define MCAN_TXEFC_EFS_POS (16U)
  7424. #define MCAN_TXEFC_EFS (0x003F0000UL)
  7425. #define MCAN_TXEFC_EFWM_POS (24U)
  7426. #define MCAN_TXEFC_EFWM (0x3F000000UL)
  7427. /* Bit definition for MCAN_TXEFS register */
  7428. #define MCAN_TXEFS_EFFL_POS (0U)
  7429. #define MCAN_TXEFS_EFFL (0x0000003FUL)
  7430. #define MCAN_TXEFS_EFGI_POS (8U)
  7431. #define MCAN_TXEFS_EFGI (0x00001F00UL)
  7432. #define MCAN_TXEFS_EFPI_POS (16U)
  7433. #define MCAN_TXEFS_EFPI (0x001F0000UL)
  7434. #define MCAN_TXEFS_EFF_POS (24U)
  7435. #define MCAN_TXEFS_EFF (0x01000000UL)
  7436. #define MCAN_TXEFS_TEFL_POS (25U)
  7437. #define MCAN_TXEFS_TEFL (0x02000000UL)
  7438. /* Bit definition for MCAN_TXEFA register */
  7439. #define MCAN_TXEFA_EFAI (0x0000001FUL)
  7440. /*******************************************************************************
  7441. Bit definition for Peripheral MPU
  7442. *******************************************************************************/
  7443. /* Bit definition for MPU_RGD register */
  7444. #define MPU_RGD_MPURGSIZE_POS (0U)
  7445. #define MPU_RGD_MPURGSIZE (0x0000001FUL)
  7446. #define MPU_RGD_MPURGADDR_POS (5U)
  7447. #define MPU_RGD_MPURGADDR (0xFFFFFFE0UL)
  7448. /* Bit definition for MPU_SR register */
  7449. #define MPU_SR_SMPU1EAF_POS (0U)
  7450. #define MPU_SR_SMPU1EAF (0x00000001UL)
  7451. #define MPU_SR_SMPU2EAF_POS (1U)
  7452. #define MPU_SR_SMPU2EAF (0x00000002UL)
  7453. #define MPU_SR_PSPEF_POS (2U)
  7454. #define MPU_SR_PSPEF (0x00000004UL)
  7455. #define MPU_SR_MSPEF_POS (3U)
  7456. #define MPU_SR_MSPEF (0x00000008UL)
  7457. /* Bit definition for MPU_ECLR register */
  7458. #define MPU_ECLR_SMPU1ECLR_POS (0U)
  7459. #define MPU_ECLR_SMPU1ECLR (0x00000001UL)
  7460. #define MPU_ECLR_SMPU2ECLR_POS (1U)
  7461. #define MPU_ECLR_SMPU2ECLR (0x00000002UL)
  7462. #define MPU_ECLR_PSPECLR_POS (2U)
  7463. #define MPU_ECLR_PSPECLR (0x00000004UL)
  7464. #define MPU_ECLR_MSPECLR_POS (3U)
  7465. #define MPU_ECLR_MSPECLR (0x00000008UL)
  7466. /* Bit definition for MPU_WP register */
  7467. #define MPU_WP_MPUWE_POS (0U)
  7468. #define MPU_WP_MPUWE (0x00000001UL)
  7469. #define MPU_WP_WKEY_POS (1U)
  7470. #define MPU_WP_WKEY (0x0000FFFEUL)
  7471. /* Bit definition for MPU_IPPR register */
  7472. #define MPU_IPPR_AESRDP_POS (0U)
  7473. #define MPU_IPPR_AESRDP (0x00000001UL)
  7474. #define MPU_IPPR_AESWRP_POS (1U)
  7475. #define MPU_IPPR_AESWRP (0x00000002UL)
  7476. #define MPU_IPPR_HASHRDP_POS (2U)
  7477. #define MPU_IPPR_HASHRDP (0x00000004UL)
  7478. #define MPU_IPPR_HASHWRP_POS (3U)
  7479. #define MPU_IPPR_HASHWRP (0x00000008UL)
  7480. #define MPU_IPPR_TRNGRDP_POS (4U)
  7481. #define MPU_IPPR_TRNGRDP (0x00000010UL)
  7482. #define MPU_IPPR_TRNGWRP_POS (5U)
  7483. #define MPU_IPPR_TRNGWRP (0x00000020UL)
  7484. #define MPU_IPPR_CRCRDP_POS (6U)
  7485. #define MPU_IPPR_CRCRDP (0x00000040UL)
  7486. #define MPU_IPPR_CRCWRP_POS (7U)
  7487. #define MPU_IPPR_CRCWRP (0x00000080UL)
  7488. #define MPU_IPPR_EFMRDP_POS (8U)
  7489. #define MPU_IPPR_EFMRDP (0x00000100UL)
  7490. #define MPU_IPPR_EFMWRP_POS (9U)
  7491. #define MPU_IPPR_EFMWRP (0x00000200UL)
  7492. #define MPU_IPPR_WDTRDP_POS (12U)
  7493. #define MPU_IPPR_WDTRDP (0x00001000UL)
  7494. #define MPU_IPPR_WDTWRP_POS (13U)
  7495. #define MPU_IPPR_WDTWRP (0x00002000UL)
  7496. #define MPU_IPPR_SWDTRDP_POS (14U)
  7497. #define MPU_IPPR_SWDTRDP (0x00004000UL)
  7498. #define MPU_IPPR_SWDTWRP_POS (15U)
  7499. #define MPU_IPPR_SWDTWRP (0x00008000UL)
  7500. #define MPU_IPPR_BKSRAMRDP_POS (16U)
  7501. #define MPU_IPPR_BKSRAMRDP (0x00010000UL)
  7502. #define MPU_IPPR_BKSRAMWRP_POS (17U)
  7503. #define MPU_IPPR_BKSRAMWRP (0x00020000UL)
  7504. #define MPU_IPPR_RTCRDP_POS (18U)
  7505. #define MPU_IPPR_RTCRDP (0x00040000UL)
  7506. #define MPU_IPPR_RTCWRP_POS (19U)
  7507. #define MPU_IPPR_RTCWRP (0x00080000UL)
  7508. #define MPU_IPPR_DMPURDP_POS (20U)
  7509. #define MPU_IPPR_DMPURDP (0x00100000UL)
  7510. #define MPU_IPPR_DMPUWRP_POS (21U)
  7511. #define MPU_IPPR_DMPUWRP (0x00200000UL)
  7512. #define MPU_IPPR_SRAMCRDP_POS (22U)
  7513. #define MPU_IPPR_SRAMCRDP (0x00400000UL)
  7514. #define MPU_IPPR_SRAMCWRP_POS (23U)
  7515. #define MPU_IPPR_SRAMCWRP (0x00800000UL)
  7516. #define MPU_IPPR_INTCRDP_POS (24U)
  7517. #define MPU_IPPR_INTCRDP (0x01000000UL)
  7518. #define MPU_IPPR_INTCWRP_POS (25U)
  7519. #define MPU_IPPR_INTCWRP (0x02000000UL)
  7520. #define MPU_IPPR_SYSCRDP_POS (26U)
  7521. #define MPU_IPPR_SYSCRDP (0x04000000UL)
  7522. #define MPU_IPPR_SYSCWRP_POS (27U)
  7523. #define MPU_IPPR_SYSCWRP (0x08000000UL)
  7524. #define MPU_IPPR_MSTPRDP_POS (28U)
  7525. #define MPU_IPPR_MSTPRDP (0x10000000UL)
  7526. #define MPU_IPPR_MSPTWRP_POS (29U)
  7527. #define MPU_IPPR_MSPTWRP (0x20000000UL)
  7528. #define MPU_IPPR_BUSERRE_POS (31U)
  7529. #define MPU_IPPR_BUSERRE (0x80000000UL)
  7530. /* Bit definition for MPU_MSPPBA register */
  7531. #define MPU_MSPPBA_MSPPBA_POS (2U)
  7532. #define MPU_MSPPBA_MSPPBA (0xFFFFFFFCUL)
  7533. /* Bit definition for MPU_MSPPCTL register */
  7534. #define MPU_MSPPCTL_MSPPSIZE_POS (2U)
  7535. #define MPU_MSPPCTL_MSPPSIZE (0x0000FFFCUL)
  7536. #define MPU_MSPPCTL_MSPPACT_POS (30U)
  7537. #define MPU_MSPPCTL_MSPPACT (0x40000000UL)
  7538. #define MPU_MSPPCTL_MSPPE_POS (31U)
  7539. #define MPU_MSPPCTL_MSPPE (0x80000000UL)
  7540. /* Bit definition for MPU_PSPPBA register */
  7541. #define MPU_PSPPBA_PSPPBA_POS (2U)
  7542. #define MPU_PSPPBA_PSPPBA (0xFFFFFFFCUL)
  7543. /* Bit definition for MPU_PSPPCTL register */
  7544. #define MPU_PSPPCTL_PSPPSIZE_POS (2U)
  7545. #define MPU_PSPPCTL_PSPPSIZE (0x0000FFFCUL)
  7546. #define MPU_PSPPCTL_PSPPACT_POS (30U)
  7547. #define MPU_PSPPCTL_PSPPACT (0x40000000UL)
  7548. #define MPU_PSPPCTL_PSPPE_POS (31U)
  7549. #define MPU_PSPPCTL_PSPPE (0x80000000UL)
  7550. /* Bit definition for MPU_SRGE register */
  7551. #define MPU_SRGE_RG0E_POS (0U)
  7552. #define MPU_SRGE_RG0E (0x00000001UL)
  7553. #define MPU_SRGE_RG1E_POS (1U)
  7554. #define MPU_SRGE_RG1E (0x00000002UL)
  7555. #define MPU_SRGE_RG2E_POS (2U)
  7556. #define MPU_SRGE_RG2E (0x00000004UL)
  7557. #define MPU_SRGE_RG3E_POS (3U)
  7558. #define MPU_SRGE_RG3E (0x00000008UL)
  7559. #define MPU_SRGE_RG4E_POS (4U)
  7560. #define MPU_SRGE_RG4E (0x00000010UL)
  7561. #define MPU_SRGE_RG5E_POS (5U)
  7562. #define MPU_SRGE_RG5E (0x00000020UL)
  7563. #define MPU_SRGE_RG6E_POS (6U)
  7564. #define MPU_SRGE_RG6E (0x00000040UL)
  7565. #define MPU_SRGE_RG7E_POS (7U)
  7566. #define MPU_SRGE_RG7E (0x00000080UL)
  7567. #define MPU_SRGE_RG8E_POS (8U)
  7568. #define MPU_SRGE_RG8E (0x00000100UL)
  7569. #define MPU_SRGE_RG9E_POS (9U)
  7570. #define MPU_SRGE_RG9E (0x00000200UL)
  7571. #define MPU_SRGE_RG10E_POS (10U)
  7572. #define MPU_SRGE_RG10E (0x00000400UL)
  7573. #define MPU_SRGE_RG11E_POS (11U)
  7574. #define MPU_SRGE_RG11E (0x00000800UL)
  7575. #define MPU_SRGE_RG12E_POS (12U)
  7576. #define MPU_SRGE_RG12E (0x00001000UL)
  7577. #define MPU_SRGE_RG13E_POS (13U)
  7578. #define MPU_SRGE_RG13E (0x00002000UL)
  7579. #define MPU_SRGE_RG14E_POS (14U)
  7580. #define MPU_SRGE_RG14E (0x00004000UL)
  7581. #define MPU_SRGE_RG15E_POS (15U)
  7582. #define MPU_SRGE_RG15E (0x00008000UL)
  7583. /* Bit definition for MPU_SRGWP register */
  7584. #define MPU_SRGWP_RG0WP_POS (0U)
  7585. #define MPU_SRGWP_RG0WP (0x00000001UL)
  7586. #define MPU_SRGWP_RG1WP_POS (1U)
  7587. #define MPU_SRGWP_RG1WP (0x00000002UL)
  7588. #define MPU_SRGWP_RG2WP_POS (2U)
  7589. #define MPU_SRGWP_RG2WP (0x00000004UL)
  7590. #define MPU_SRGWP_RG3WP_POS (3U)
  7591. #define MPU_SRGWP_RG3WP (0x00000008UL)
  7592. #define MPU_SRGWP_RG4WP_POS (4U)
  7593. #define MPU_SRGWP_RG4WP (0x00000010UL)
  7594. #define MPU_SRGWP_RG5WP_POS (5U)
  7595. #define MPU_SRGWP_RG5WP (0x00000020UL)
  7596. #define MPU_SRGWP_RG6WP_POS (6U)
  7597. #define MPU_SRGWP_RG6WP (0x00000040UL)
  7598. #define MPU_SRGWP_RG7WP_POS (7U)
  7599. #define MPU_SRGWP_RG7WP (0x00000080UL)
  7600. #define MPU_SRGWP_RG8WP_POS (8U)
  7601. #define MPU_SRGWP_RG8WP (0x00000100UL)
  7602. #define MPU_SRGWP_RG9WP_POS (9U)
  7603. #define MPU_SRGWP_RG9WP (0x00000200UL)
  7604. #define MPU_SRGWP_RG10WP_POS (10U)
  7605. #define MPU_SRGWP_RG10WP (0x00000400UL)
  7606. #define MPU_SRGWP_RG11WP_POS (11U)
  7607. #define MPU_SRGWP_RG11WP (0x00000800UL)
  7608. #define MPU_SRGWP_RG12WP_POS (12U)
  7609. #define MPU_SRGWP_RG12WP (0x00001000UL)
  7610. #define MPU_SRGWP_RG13WP_POS (13U)
  7611. #define MPU_SRGWP_RG13WP (0x00002000UL)
  7612. #define MPU_SRGWP_RG14WP_POS (14U)
  7613. #define MPU_SRGWP_RG14WP (0x00004000UL)
  7614. #define MPU_SRGWP_RG15WP_POS (15U)
  7615. #define MPU_SRGWP_RG15WP (0x00008000UL)
  7616. /* Bit definition for MPU_SRGRP register */
  7617. #define MPU_SRGRP_RG0RP_POS (0U)
  7618. #define MPU_SRGRP_RG0RP (0x00000001UL)
  7619. #define MPU_SRGRP_RG1RP_POS (1U)
  7620. #define MPU_SRGRP_RG1RP (0x00000002UL)
  7621. #define MPU_SRGRP_RG2RP_POS (2U)
  7622. #define MPU_SRGRP_RG2RP (0x00000004UL)
  7623. #define MPU_SRGRP_RG3RP_POS (3U)
  7624. #define MPU_SRGRP_RG3RP (0x00000008UL)
  7625. #define MPU_SRGRP_RG4RP_POS (4U)
  7626. #define MPU_SRGRP_RG4RP (0x00000010UL)
  7627. #define MPU_SRGRP_RG5RP_POS (5U)
  7628. #define MPU_SRGRP_RG5RP (0x00000020UL)
  7629. #define MPU_SRGRP_RG6RP_POS (6U)
  7630. #define MPU_SRGRP_RG6RP (0x00000040UL)
  7631. #define MPU_SRGRP_RG7RP_POS (7U)
  7632. #define MPU_SRGRP_RG7RP (0x00000080UL)
  7633. #define MPU_SRGRP_RG8RP_POS (8U)
  7634. #define MPU_SRGRP_RG8RP (0x00000100UL)
  7635. #define MPU_SRGRP_RG9RP_POS (9U)
  7636. #define MPU_SRGRP_RG9RP (0x00000200UL)
  7637. #define MPU_SRGRP_RG10RP_POS (10U)
  7638. #define MPU_SRGRP_RG10RP (0x00000400UL)
  7639. #define MPU_SRGRP_RG11RP_POS (11U)
  7640. #define MPU_SRGRP_RG11RP (0x00000800UL)
  7641. #define MPU_SRGRP_RG12RP_POS (12U)
  7642. #define MPU_SRGRP_RG12RP (0x00001000UL)
  7643. #define MPU_SRGRP_RG13RP_POS (13U)
  7644. #define MPU_SRGRP_RG13RP (0x00002000UL)
  7645. #define MPU_SRGRP_RG14RP_POS (14U)
  7646. #define MPU_SRGRP_RG14RP (0x00004000UL)
  7647. #define MPU_SRGRP_RG15RP_POS (15U)
  7648. #define MPU_SRGRP_RG15RP (0x00008000UL)
  7649. /* Bit definition for MPU_SCR register */
  7650. #define MPU_SCR_SMPUBRP_POS (0U)
  7651. #define MPU_SCR_SMPUBRP (0x00000001UL)
  7652. #define MPU_SCR_SMPUBWP_POS (1U)
  7653. #define MPU_SCR_SMPUBWP (0x00000002UL)
  7654. #define MPU_SCR_SMPUACT_POS (2U)
  7655. #define MPU_SCR_SMPUACT (0x0000000CUL)
  7656. #define MPU_SCR_SMPUACT_0 (0x00000004UL)
  7657. #define MPU_SCR_SMPUACT_1 (0x00000008UL)
  7658. #define MPU_SCR_SMPUE_POS (7U)
  7659. #define MPU_SCR_SMPUE (0x00000080UL)
  7660. /*******************************************************************************
  7661. Bit definition for Peripheral PERIC
  7662. *******************************************************************************/
  7663. /* Bit definition for PERIC_SMC_ENAR register */
  7664. #define PERIC_SMC_ENAR_SMCEN_POS (1U)
  7665. #define PERIC_SMC_ENAR_SMCEN (0x00000002UL)
  7666. /* Bit definition for PERIC_TMR_SYNENR register */
  7667. #define PERIC_TMR_SYNENR_TMR0U1A_POS (0U)
  7668. #define PERIC_TMR_SYNENR_TMR0U1A (0x00000001UL)
  7669. #define PERIC_TMR_SYNENR_TMR0U1B_POS (1U)
  7670. #define PERIC_TMR_SYNENR_TMR0U1B (0x00000002UL)
  7671. #define PERIC_TMR_SYNENR_TMR0U2A_POS (2U)
  7672. #define PERIC_TMR_SYNENR_TMR0U2A (0x00000004UL)
  7673. #define PERIC_TMR_SYNENR_TMR0U2B_POS (3U)
  7674. #define PERIC_TMR_SYNENR_TMR0U2B (0x00000008UL)
  7675. #define PERIC_TMR_SYNENR_TMR4U1_POS (4U)
  7676. #define PERIC_TMR_SYNENR_TMR4U1 (0x00000010UL)
  7677. #define PERIC_TMR_SYNENR_TMR4U2_POS (5U)
  7678. #define PERIC_TMR_SYNENR_TMR4U2 (0x00000020UL)
  7679. #define PERIC_TMR_SYNENR_TMR4U3_POS (6U)
  7680. #define PERIC_TMR_SYNENR_TMR4U3 (0x00000040UL)
  7681. #define PERIC_TMR_SYNENR_TMR6U1_POS (8U)
  7682. #define PERIC_TMR_SYNENR_TMR6U1 (0x00000100UL)
  7683. #define PERIC_TMR_SYNENR_TMR6U2_POS (9U)
  7684. #define PERIC_TMR_SYNENR_TMR6U2 (0x00000200UL)
  7685. #define PERIC_TMR_SYNENR_TMRAU1_POS (10U)
  7686. #define PERIC_TMR_SYNENR_TMRAU1 (0x00000400UL)
  7687. #define PERIC_TMR_SYNENR_TMRAU2_POS (11U)
  7688. #define PERIC_TMR_SYNENR_TMRAU2 (0x00000800UL)
  7689. #define PERIC_TMR_SYNENR_TMRAU3_POS (12U)
  7690. #define PERIC_TMR_SYNENR_TMRAU3 (0x00001000UL)
  7691. #define PERIC_TMR_SYNENR_TMRAU4_POS (13U)
  7692. #define PERIC_TMR_SYNENR_TMRAU4 (0x00002000UL)
  7693. #define PERIC_TMR_SYNENR_TMRAU5_POS (14U)
  7694. #define PERIC_TMR_SYNENR_TMRAU5 (0x00004000UL)
  7695. /* Bit definition for PERIC_USART1_NFC register */
  7696. #define PERIC_USART1_NFC_USASRT1_NFS_POS (0U)
  7697. #define PERIC_USART1_NFC_USASRT1_NFS (0x00000003UL)
  7698. #define PERIC_USART1_NFC_USASRT1_NFS_0 (0x00000001UL)
  7699. #define PERIC_USART1_NFC_USASRT1_NFS_1 (0x00000002UL)
  7700. #define PERIC_USART1_NFC_USART1_NFE_POS (2U)
  7701. #define PERIC_USART1_NFC_USART1_NFE (0x00000004UL)
  7702. /*******************************************************************************
  7703. Bit definition for Peripheral PWC
  7704. *******************************************************************************/
  7705. /* Bit definition for PWC_FCG0 register */
  7706. #define PWC_FCG0_SRAMH_POS (0U)
  7707. #define PWC_FCG0_SRAMH (0x00000001UL)
  7708. #define PWC_FCG0_SRAM0_POS (4U)
  7709. #define PWC_FCG0_SRAM0 (0x00000010UL)
  7710. #define PWC_FCG0_SRAMB_POS (10U)
  7711. #define PWC_FCG0_SRAMB (0x00000400UL)
  7712. #define PWC_FCG0_KEY_POS (13U)
  7713. #define PWC_FCG0_KEY (0x00002000UL)
  7714. #define PWC_FCG0_DMA1_POS (14U)
  7715. #define PWC_FCG0_DMA1 (0x00004000UL)
  7716. #define PWC_FCG0_DMA2_POS (15U)
  7717. #define PWC_FCG0_DMA2 (0x00008000UL)
  7718. #define PWC_FCG0_FCM_POS (16U)
  7719. #define PWC_FCG0_FCM (0x00010000UL)
  7720. #define PWC_FCG0_AOS_POS (17U)
  7721. #define PWC_FCG0_AOS (0x00020000UL)
  7722. #define PWC_FCG0_CTC_POS (18U)
  7723. #define PWC_FCG0_CTC (0x00040000UL)
  7724. #define PWC_FCG0_AES_POS (20U)
  7725. #define PWC_FCG0_AES (0x00100000UL)
  7726. #define PWC_FCG0_HASH_POS (21U)
  7727. #define PWC_FCG0_HASH (0x00200000UL)
  7728. #define PWC_FCG0_TRNG_POS (22U)
  7729. #define PWC_FCG0_TRNG (0x00400000UL)
  7730. #define PWC_FCG0_CRC_POS (23U)
  7731. #define PWC_FCG0_CRC (0x00800000UL)
  7732. #define PWC_FCG0_DCU1_POS (24U)
  7733. #define PWC_FCG0_DCU1 (0x01000000UL)
  7734. #define PWC_FCG0_DCU2_POS (25U)
  7735. #define PWC_FCG0_DCU2 (0x02000000UL)
  7736. #define PWC_FCG0_DCU3_POS (26U)
  7737. #define PWC_FCG0_DCU3 (0x04000000UL)
  7738. #define PWC_FCG0_DCU4_POS (27U)
  7739. #define PWC_FCG0_DCU4 (0x08000000UL)
  7740. /* Bit definition for PWC_FCG1 register */
  7741. #define PWC_FCG1_MCAN1_POS (0U)
  7742. #define PWC_FCG1_MCAN1 (0x00000001UL)
  7743. #define PWC_FCG1_MCAN2_POS (1U)
  7744. #define PWC_FCG1_MCAN2 (0x00000002UL)
  7745. #define PWC_FCG1_QSPI_POS (3U)
  7746. #define PWC_FCG1_QSPI (0x00000008UL)
  7747. #define PWC_FCG1_I2C1_POS (4U)
  7748. #define PWC_FCG1_I2C1 (0x00000010UL)
  7749. #define PWC_FCG1_I2C2_POS (5U)
  7750. #define PWC_FCG1_I2C2 (0x00000020UL)
  7751. #define PWC_FCG1_SPI1_POS (16U)
  7752. #define PWC_FCG1_SPI1 (0x00010000UL)
  7753. #define PWC_FCG1_SPI2_POS (17U)
  7754. #define PWC_FCG1_SPI2 (0x00020000UL)
  7755. #define PWC_FCG1_SPI3_POS (18U)
  7756. #define PWC_FCG1_SPI3 (0x00040000UL)
  7757. /* Bit definition for PWC_FCG2 register */
  7758. #define PWC_FCG2_TMR6_1_POS (0U)
  7759. #define PWC_FCG2_TMR6_1 (0x00000001UL)
  7760. #define PWC_FCG2_TMR6_2_POS (1U)
  7761. #define PWC_FCG2_TMR6_2 (0x00000002UL)
  7762. #define PWC_FCG2_TMR4_1_POS (9U)
  7763. #define PWC_FCG2_TMR4_1 (0x00000200UL)
  7764. #define PWC_FCG2_TMR4_2_POS (10U)
  7765. #define PWC_FCG2_TMR4_2 (0x00000400UL)
  7766. #define PWC_FCG2_TMR4_3_POS (11U)
  7767. #define PWC_FCG2_TMR4_3 (0x00000800UL)
  7768. #define PWC_FCG2_TMR0_1_POS (12U)
  7769. #define PWC_FCG2_TMR0_1 (0x00001000UL)
  7770. #define PWC_FCG2_TMR0_2_POS (13U)
  7771. #define PWC_FCG2_TMR0_2 (0x00002000UL)
  7772. #define PWC_FCG2_EMB_POS (15U)
  7773. #define PWC_FCG2_EMB (0x00008000UL)
  7774. #define PWC_FCG2_TMRA_1_POS (20U)
  7775. #define PWC_FCG2_TMRA_1 (0x00100000UL)
  7776. #define PWC_FCG2_TMRA_2_POS (21U)
  7777. #define PWC_FCG2_TMRA_2 (0x00200000UL)
  7778. #define PWC_FCG2_TMRA_3_POS (22U)
  7779. #define PWC_FCG2_TMRA_3 (0x00400000UL)
  7780. #define PWC_FCG2_TMRA_4_POS (23U)
  7781. #define PWC_FCG2_TMRA_4 (0x00800000UL)
  7782. #define PWC_FCG2_TMRA_5_POS (24U)
  7783. #define PWC_FCG2_TMRA_5 (0x01000000UL)
  7784. /* Bit definition for PWC_FCG3 register */
  7785. #define PWC_FCG3_ADC1_POS (0U)
  7786. #define PWC_FCG3_ADC1 (0x00000001UL)
  7787. #define PWC_FCG3_ADC2_POS (1U)
  7788. #define PWC_FCG3_ADC2 (0x00000002UL)
  7789. #define PWC_FCG3_ADC3_POS (2U)
  7790. #define PWC_FCG3_ADC3 (0x00000004UL)
  7791. #define PWC_FCG3_DAC_POS (4U)
  7792. #define PWC_FCG3_DAC (0x00000010UL)
  7793. #define PWC_FCG3_CMP12_POS (8U)
  7794. #define PWC_FCG3_CMP12 (0x00000100UL)
  7795. #define PWC_FCG3_CMP34_POS (9U)
  7796. #define PWC_FCG3_CMP34 (0x00000200UL)
  7797. #define PWC_FCG3_SMC_POS (16U)
  7798. #define PWC_FCG3_SMC (0x00010000UL)
  7799. #define PWC_FCG3_USART1_POS (20U)
  7800. #define PWC_FCG3_USART1 (0x00100000UL)
  7801. #define PWC_FCG3_USART2_POS (21U)
  7802. #define PWC_FCG3_USART2 (0x00200000UL)
  7803. #define PWC_FCG3_USART3_POS (22U)
  7804. #define PWC_FCG3_USART3 (0x00400000UL)
  7805. #define PWC_FCG3_USART4_POS (23U)
  7806. #define PWC_FCG3_USART4 (0x00800000UL)
  7807. #define PWC_FCG3_USART5_POS (24U)
  7808. #define PWC_FCG3_USART5 (0x01000000UL)
  7809. #define PWC_FCG3_USART6_POS (25U)
  7810. #define PWC_FCG3_USART6 (0x02000000UL)
  7811. /* Bit definition for PWC_FCG0PC register */
  7812. #define PWC_FCG0PC_PRT0_POS (0U)
  7813. #define PWC_FCG0PC_PRT0 (0x00000001UL)
  7814. #define PWC_FCG0PC_FCG0PCWE_POS (16U)
  7815. #define PWC_FCG0PC_FCG0PCWE (0xFFFF0000UL)
  7816. /* Bit definition for PWC_WKTCR register */
  7817. #define PWC_WKTCR_WKTMCMP_POS (0U)
  7818. #define PWC_WKTCR_WKTMCMP (0x0FFFU)
  7819. #define PWC_WKTCR_WKOVF_POS (12U)
  7820. #define PWC_WKTCR_WKOVF (0x1000U)
  7821. #define PWC_WKTCR_WKCKS_POS (13U)
  7822. #define PWC_WKTCR_WKCKS (0x6000U)
  7823. #define PWC_WKTCR_WKCKS_0 (0x2000U)
  7824. #define PWC_WKTCR_WKCKS_1 (0x4000U)
  7825. #define PWC_WKTCR_WKTCE_POS (15U)
  7826. #define PWC_WKTCR_WKTCE (0x8000U)
  7827. /* Bit definition for PWC_PWRC0 register */
  7828. #define PWC_PWRC0_PDMDS_POS (0U)
  7829. #define PWC_PWRC0_PDMDS (0x03U)
  7830. #define PWC_PWRC0_PDMDS_0 (0x01U)
  7831. #define PWC_PWRC0_PDMDS_1 (0x02U)
  7832. #define PWC_PWRC0_IORTN_POS (4U)
  7833. #define PWC_PWRC0_IORTN (0x30U)
  7834. #define PWC_PWRC0_IORTN_0 (0x10U)
  7835. #define PWC_PWRC0_IORTN_1 (0x20U)
  7836. #define PWC_PWRC0_PWDN_POS (7U)
  7837. #define PWC_PWRC0_PWDN (0x80U)
  7838. /* Bit definition for PWC_PWRC1 register */
  7839. #define PWC_PWRC1_VPLLSD_POS (0U)
  7840. #define PWC_PWRC1_VPLLSD (0x03U)
  7841. #define PWC_PWRC1_VPLLSD_0 (0x01U)
  7842. #define PWC_PWRC1_VPLLSD_1 (0x02U)
  7843. #define PWC_PWRC1_VHRCSD_POS (2U)
  7844. #define PWC_PWRC1_VHRCSD (0x04U)
  7845. #define PWC_PWRC1_PDTS_POS (3U)
  7846. #define PWC_PWRC1_PDTS (0x08U)
  7847. #define PWC_PWRC1_STPDAS_POS (6U)
  7848. #define PWC_PWRC1_STPDAS (0xC0U)
  7849. #define PWC_PWRC1_STPDAS_0 (0x40U)
  7850. #define PWC_PWRC1_STPDAS_1 (0x80U)
  7851. /* Bit definition for PWC_PWRC2 register */
  7852. #define PWC_PWRC2_DVS_POS (4U)
  7853. #define PWC_PWRC2_DVS (0x30U)
  7854. #define PWC_PWRC2_DVS_0 (0x10U)
  7855. #define PWC_PWRC2_DVS_1 (0x20U)
  7856. /* Bit definition for PWC_PWRC3 register */
  7857. #define PWC_PWRC3_DDAS (0x0FU)
  7858. /* Bit definition for PWC_PWRC4 register */
  7859. #define PWC_PWRC4_ADBUFE_POS (7U)
  7860. #define PWC_PWRC4_ADBUFE (0x80U)
  7861. /* Bit definition for PWC_PVDCR0 register */
  7862. #define PWC_PVDCR0_EXVCCINEN_POS (0U)
  7863. #define PWC_PVDCR0_EXVCCINEN (0x01U)
  7864. #define PWC_PVDCR0_PVD1EN_POS (5U)
  7865. #define PWC_PVDCR0_PVD1EN (0x20U)
  7866. #define PWC_PVDCR0_PVD2EN_POS (6U)
  7867. #define PWC_PVDCR0_PVD2EN (0x40U)
  7868. /* Bit definition for PWC_PVDCR1 register */
  7869. #define PWC_PVDCR1_PVD1IRE_POS (0U)
  7870. #define PWC_PVDCR1_PVD1IRE (0x01U)
  7871. #define PWC_PVDCR1_PVD1IRS_POS (1U)
  7872. #define PWC_PVDCR1_PVD1IRS (0x02U)
  7873. #define PWC_PVDCR1_PVD1CMPOE_POS (2U)
  7874. #define PWC_PVDCR1_PVD1CMPOE (0x04U)
  7875. #define PWC_PVDCR1_PVD2IRE_POS (4U)
  7876. #define PWC_PVDCR1_PVD2IRE (0x10U)
  7877. #define PWC_PVDCR1_PVD2IRS_POS (5U)
  7878. #define PWC_PVDCR1_PVD2IRS (0x20U)
  7879. #define PWC_PVDCR1_PVD2CMPOE_POS (6U)
  7880. #define PWC_PVDCR1_PVD2CMPOE (0x40U)
  7881. /* Bit definition for PWC_PVDFCR register */
  7882. #define PWC_PVDFCR_PVD1NFDIS_POS (0U)
  7883. #define PWC_PVDFCR_PVD1NFDIS (0x01U)
  7884. #define PWC_PVDFCR_PVD1NFCKS_POS (1U)
  7885. #define PWC_PVDFCR_PVD1NFCKS (0x06U)
  7886. #define PWC_PVDFCR_PVD1NFCKS_0 (0x02U)
  7887. #define PWC_PVDFCR_PVD1NFCKS_1 (0x04U)
  7888. #define PWC_PVDFCR_PVD2NFDIS_POS (4U)
  7889. #define PWC_PVDFCR_PVD2NFDIS (0x10U)
  7890. #define PWC_PVDFCR_PVD2NFCKS_POS (5U)
  7891. #define PWC_PVDFCR_PVD2NFCKS (0x60U)
  7892. #define PWC_PVDFCR_PVD2NFCKS_0 (0x20U)
  7893. #define PWC_PVDFCR_PVD2NFCKS_1 (0x40U)
  7894. /* Bit definition for PWC_PVDLCR register */
  7895. #define PWC_PVDLCR_PVD1LVL_POS (0U)
  7896. #define PWC_PVDLCR_PVD1LVL (0x07U)
  7897. #define PWC_PVDLCR_PVD2LVL_POS (4U)
  7898. #define PWC_PVDLCR_PVD2LVL (0x70U)
  7899. /* Bit definition for PWC_PDWKE0 register */
  7900. #define PWC_PDWKE0_WKE00_POS (0U)
  7901. #define PWC_PDWKE0_WKE00 (0x01U)
  7902. #define PWC_PDWKE0_WKE01_POS (1U)
  7903. #define PWC_PDWKE0_WKE01 (0x02U)
  7904. #define PWC_PDWKE0_WKE02_POS (2U)
  7905. #define PWC_PDWKE0_WKE02 (0x04U)
  7906. #define PWC_PDWKE0_WKE03_POS (3U)
  7907. #define PWC_PDWKE0_WKE03 (0x08U)
  7908. #define PWC_PDWKE0_WKE10_POS (4U)
  7909. #define PWC_PDWKE0_WKE10 (0x10U)
  7910. #define PWC_PDWKE0_WKE11_POS (5U)
  7911. #define PWC_PDWKE0_WKE11 (0x20U)
  7912. #define PWC_PDWKE0_WKE12_POS (6U)
  7913. #define PWC_PDWKE0_WKE12 (0x40U)
  7914. #define PWC_PDWKE0_WKE13_POS (7U)
  7915. #define PWC_PDWKE0_WKE13 (0x80U)
  7916. /* Bit definition for PWC_PDWKE1 register */
  7917. #define PWC_PDWKE1_WKE20_POS (0U)
  7918. #define PWC_PDWKE1_WKE20 (0x01U)
  7919. #define PWC_PDWKE1_WKE21_POS (1U)
  7920. #define PWC_PDWKE1_WKE21 (0x02U)
  7921. #define PWC_PDWKE1_WKE22_POS (2U)
  7922. #define PWC_PDWKE1_WKE22 (0x04U)
  7923. #define PWC_PDWKE1_WKE23_POS (3U)
  7924. #define PWC_PDWKE1_WKE23 (0x08U)
  7925. #define PWC_PDWKE1_WKE30_POS (4U)
  7926. #define PWC_PDWKE1_WKE30 (0x10U)
  7927. #define PWC_PDWKE1_WKE31_POS (5U)
  7928. #define PWC_PDWKE1_WKE31 (0x20U)
  7929. #define PWC_PDWKE1_WKE32_POS (6U)
  7930. #define PWC_PDWKE1_WKE32 (0x40U)
  7931. #define PWC_PDWKE1_WKE33_POS (7U)
  7932. #define PWC_PDWKE1_WKE33 (0x80U)
  7933. /* Bit definition for PWC_PDWKE2 register */
  7934. #define PWC_PDWKE2_VD1WKE_POS (0U)
  7935. #define PWC_PDWKE2_VD1WKE (0x01U)
  7936. #define PWC_PDWKE2_VD2WKE_POS (1U)
  7937. #define PWC_PDWKE2_VD2WKE (0x02U)
  7938. #define PWC_PDWKE2_RTCPRDWKE_POS (4U)
  7939. #define PWC_PDWKE2_RTCPRDWKE (0x10U)
  7940. #define PWC_PDWKE2_RTCALMWKE_POS (5U)
  7941. #define PWC_PDWKE2_RTCALMWKE (0x20U)
  7942. #define PWC_PDWKE2_WKTMWKE_POS (7U)
  7943. #define PWC_PDWKE2_WKTMWKE (0x80U)
  7944. /* Bit definition for PWC_PDWKES register */
  7945. #define PWC_PDWKES_WK0EGS_POS (0U)
  7946. #define PWC_PDWKES_WK0EGS (0x01U)
  7947. #define PWC_PDWKES_WK1EGS_POS (1U)
  7948. #define PWC_PDWKES_WK1EGS (0x02U)
  7949. #define PWC_PDWKES_WK2EGS_POS (2U)
  7950. #define PWC_PDWKES_WK2EGS (0x04U)
  7951. #define PWC_PDWKES_WK3EGS_POS (3U)
  7952. #define PWC_PDWKES_WK3EGS (0x08U)
  7953. #define PWC_PDWKES_VD1EGS_POS (4U)
  7954. #define PWC_PDWKES_VD1EGS (0x10U)
  7955. #define PWC_PDWKES_VD2EGS_POS (5U)
  7956. #define PWC_PDWKES_VD2EGS (0x20U)
  7957. /* Bit definition for PWC_PDWKF0 register */
  7958. #define PWC_PDWKF0_PTWK0F_POS (0U)
  7959. #define PWC_PDWKF0_PTWK0F (0x01U)
  7960. #define PWC_PDWKF0_PTWK1F_POS (1U)
  7961. #define PWC_PDWKF0_PTWK1F (0x02U)
  7962. #define PWC_PDWKF0_PTWK2F_POS (2U)
  7963. #define PWC_PDWKF0_PTWK2F (0x04U)
  7964. #define PWC_PDWKF0_PTWK3F_POS (3U)
  7965. #define PWC_PDWKF0_PTWK3F (0x08U)
  7966. #define PWC_PDWKF0_VD1WKF_POS (4U)
  7967. #define PWC_PDWKF0_VD1WKF (0x10U)
  7968. #define PWC_PDWKF0_VD2WKF_POS (5U)
  7969. #define PWC_PDWKF0_VD2WKF (0x20U)
  7970. /* Bit definition for PWC_PDWKF1 register */
  7971. #define PWC_PDWKF1_RXD0WKF_POS (3U)
  7972. #define PWC_PDWKF1_RXD0WKF (0x08U)
  7973. #define PWC_PDWKF1_RTCPRDWKF_POS (4U)
  7974. #define PWC_PDWKF1_RTCPRDWKF (0x10U)
  7975. #define PWC_PDWKF1_RTCALMWKF_POS (5U)
  7976. #define PWC_PDWKF1_RTCALMWKF (0x20U)
  7977. #define PWC_PDWKF1_WKTMWKF_POS (7U)
  7978. #define PWC_PDWKF1_WKTMWKF (0x80U)
  7979. /* Bit definition for PWC_PWRC5 register */
  7980. #define PWC_PWRC5_VVDRSD_POS (0U)
  7981. #define PWC_PWRC5_VVDRSD (0x01U)
  7982. #define PWC_PWRC5_SRAMBSD_POS (1U)
  7983. #define PWC_PWRC5_SRAMBSD (0x02U)
  7984. #define PWC_PWRC5_CSDIS_POS (7U)
  7985. #define PWC_PWRC5_CSDIS (0x80U)
  7986. /* Bit definition for PWC_PWRC6 register */
  7987. #define PWC_PWRC6_RTCCKSEL_POS (0U)
  7988. #define PWC_PWRC6_RTCCKSEL (0x03U)
  7989. #define PWC_PWRC6_RTCCKSEL_0 (0x01U)
  7990. #define PWC_PWRC6_RTCCKSEL_1 (0x02U)
  7991. #define PWC_PWRC6_SWRIOCLR_POS (2U)
  7992. #define PWC_PWRC6_SWRIOCLR (0x04U)
  7993. #define PWC_PWRC6_WDRIOCLR_POS (3U)
  7994. #define PWC_PWRC6_WDRIOCLR (0x08U)
  7995. #define PWC_PWRC6_SWRDAC_POS (4U)
  7996. #define PWC_PWRC6_SWRDAC (0x10U)
  7997. #define PWC_PWRC6_WDRDAC_POS (5U)
  7998. #define PWC_PWRC6_WDRDAC (0x20U)
  7999. #define PWC_PWRC6_SWRTNE_POS (6U)
  8000. #define PWC_PWRC6_SWRTNE (0x40U)
  8001. #define PWC_PWRC6_WDRTNE_POS (7U)
  8002. #define PWC_PWRC6_WDRTNE (0x80U)
  8003. /* Bit definition for PWC_PVDICR register */
  8004. #define PWC_PVDICR_PVD1NMIS_POS (0U)
  8005. #define PWC_PVDICR_PVD1NMIS (0x01U)
  8006. #define PWC_PVDICR_PVD1EDGS_POS (1U)
  8007. #define PWC_PVDICR_PVD1EDGS (0x06U)
  8008. #define PWC_PVDICR_PVD1EDGS_0 (0x02U)
  8009. #define PWC_PVDICR_PVD1EDGS_1 (0x04U)
  8010. #define PWC_PVDICR_PVD2NMIS_POS (4U)
  8011. #define PWC_PVDICR_PVD2NMIS (0x10U)
  8012. #define PWC_PVDICR_PVD2EDGS_POS (5U)
  8013. #define PWC_PVDICR_PVD2EDGS (0x60U)
  8014. #define PWC_PVDICR_PVD2EDGS_0 (0x20U)
  8015. #define PWC_PVDICR_PVD2EDGS_1 (0x40U)
  8016. /* Bit definition for PWC_PVDDSR register */
  8017. #define PWC_PVDDSR_PVD1MON_POS (0U)
  8018. #define PWC_PVDDSR_PVD1MON (0x01U)
  8019. #define PWC_PVDDSR_PVD1DETFLG_POS (1U)
  8020. #define PWC_PVDDSR_PVD1DETFLG (0x02U)
  8021. #define PWC_PVDDSR_PVD2MON_POS (4U)
  8022. #define PWC_PVDDSR_PVD2MON (0x10U)
  8023. #define PWC_PVDDSR_PVD2DETFLG_POS (5U)
  8024. #define PWC_PVDDSR_PVD2DETFLG (0x20U)
  8025. /* Bit definition for PWC_RAMPC0 register */
  8026. #define PWC_RAMPC0_RAMPDC0_POS (0U)
  8027. #define PWC_RAMPC0_RAMPDC0 (0x00000001UL)
  8028. #define PWC_RAMPC0_RAMPDC10_POS (10U)
  8029. #define PWC_RAMPC0_RAMPDC10 (0x00000400UL)
  8030. /* Bit definition for PWC_RAMOPM register */
  8031. #define PWC_RAMOPM_RAMOPM (0x0000FFFFUL)
  8032. /* Bit definition for PWC_PRAMLPC register */
  8033. #define PWC_PRAMLPC_PRAMPDC0_POS (0U)
  8034. #define PWC_PRAMLPC_PRAMPDC0 (0x00000001UL)
  8035. #define PWC_PRAMLPC_PRAMPDC3_POS (3U)
  8036. #define PWC_PRAMLPC_PRAMPDC3 (0x00000008UL)
  8037. /* Bit definition for PWC_STPMCR register */
  8038. #define PWC_STPMCR_FLNWT_POS (0U)
  8039. #define PWC_STPMCR_FLNWT (0x0001U)
  8040. #define PWC_STPMCR_CKSMRC_POS (1U)
  8041. #define PWC_STPMCR_CKSMRC (0x0002U)
  8042. #define PWC_STPMCR_EXBUSOE_POS (14U)
  8043. #define PWC_STPMCR_EXBUSOE (0x4000U)
  8044. #define PWC_STPMCR_STOP_POS (15U)
  8045. #define PWC_STPMCR_STOP (0x8000U)
  8046. /* Bit definition for PWC_FPRC register */
  8047. #define PWC_FPRC_FPRCB0_POS (0U)
  8048. #define PWC_FPRC_FPRCB0 (0x0001U)
  8049. #define PWC_FPRC_FPRCB1_POS (1U)
  8050. #define PWC_FPRC_FPRCB1 (0x0002U)
  8051. #define PWC_FPRC_FPRCB2_POS (2U)
  8052. #define PWC_FPRC_FPRCB2 (0x0004U)
  8053. #define PWC_FPRC_FPRCB3_POS (3U)
  8054. #define PWC_FPRC_FPRCB3 (0x0008U)
  8055. #define PWC_FPRC_FPRCWE_POS (8U)
  8056. #define PWC_FPRC_FPRCWE (0xFF00U)
  8057. /*******************************************************************************
  8058. Bit definition for Peripheral QSPI
  8059. *******************************************************************************/
  8060. /* Bit definition for QSPI_CR register */
  8061. #define QSPI_CR_MDSEL_POS (0U)
  8062. #define QSPI_CR_MDSEL (0x00000007UL)
  8063. #define QSPI_CR_PFE_POS (3U)
  8064. #define QSPI_CR_PFE (0x00000008UL)
  8065. #define QSPI_CR_PFSAE_POS (4U)
  8066. #define QSPI_CR_PFSAE (0x00000010UL)
  8067. #define QSPI_CR_DCOME_POS (5U)
  8068. #define QSPI_CR_DCOME (0x00000020UL)
  8069. #define QSPI_CR_XIPE_POS (6U)
  8070. #define QSPI_CR_XIPE (0x00000040UL)
  8071. #define QSPI_CR_SPIMD3_POS (7U)
  8072. #define QSPI_CR_SPIMD3 (0x00000080UL)
  8073. #define QSPI_CR_IPRSL_POS (8U)
  8074. #define QSPI_CR_IPRSL (0x00000300UL)
  8075. #define QSPI_CR_IPRSL_0 (0x00000100UL)
  8076. #define QSPI_CR_IPRSL_1 (0x00000200UL)
  8077. #define QSPI_CR_APRSL_POS (10U)
  8078. #define QSPI_CR_APRSL (0x00000C00UL)
  8079. #define QSPI_CR_APRSL_0 (0x00000400UL)
  8080. #define QSPI_CR_APRSL_1 (0x00000800UL)
  8081. #define QSPI_CR_DPRSL_POS (12U)
  8082. #define QSPI_CR_DPRSL (0x00003000UL)
  8083. #define QSPI_CR_DPRSL_0 (0x00001000UL)
  8084. #define QSPI_CR_DPRSL_1 (0x00002000UL)
  8085. #define QSPI_CR_DIV_POS (16U)
  8086. #define QSPI_CR_DIV (0x003F0000UL)
  8087. /* Bit definition for QSPI_CSCR register */
  8088. #define QSPI_CSCR_SSHW_POS (0U)
  8089. #define QSPI_CSCR_SSHW (0x0000000FUL)
  8090. #define QSPI_CSCR_SSNW_POS (4U)
  8091. #define QSPI_CSCR_SSNW (0x00000030UL)
  8092. #define QSPI_CSCR_SSNW_0 (0x00000010UL)
  8093. #define QSPI_CSCR_SSNW_1 (0x00000020UL)
  8094. /* Bit definition for QSPI_FCR register */
  8095. #define QSPI_FCR_AWSL_POS (0U)
  8096. #define QSPI_FCR_AWSL (0x00000003UL)
  8097. #define QSPI_FCR_AWSL_0 (0x00000001UL)
  8098. #define QSPI_FCR_AWSL_1 (0x00000002UL)
  8099. #define QSPI_FCR_FOUR_BIC_POS (2U)
  8100. #define QSPI_FCR_FOUR_BIC (0x00000004UL)
  8101. #define QSPI_FCR_SSNHD_POS (4U)
  8102. #define QSPI_FCR_SSNHD (0x00000010UL)
  8103. #define QSPI_FCR_SSNLD_POS (5U)
  8104. #define QSPI_FCR_SSNLD (0x00000020UL)
  8105. #define QSPI_FCR_WPOL_POS (6U)
  8106. #define QSPI_FCR_WPOL (0x00000040UL)
  8107. #define QSPI_FCR_DMCYCN_POS (8U)
  8108. #define QSPI_FCR_DMCYCN (0x00000F00UL)
  8109. #define QSPI_FCR_DUTY_POS (15U)
  8110. #define QSPI_FCR_DUTY (0x00008000UL)
  8111. /* Bit definition for QSPI_SR register */
  8112. #define QSPI_SR_BUSY_POS (0U)
  8113. #define QSPI_SR_BUSY (0x00000001UL)
  8114. #define QSPI_SR_XIPF_POS (6U)
  8115. #define QSPI_SR_XIPF (0x00000040UL)
  8116. #define QSPI_SR_RAER_POS (7U)
  8117. #define QSPI_SR_RAER (0x00000080UL)
  8118. #define QSPI_SR_PFNUM_POS (8U)
  8119. #define QSPI_SR_PFNUM (0x00001F00UL)
  8120. #define QSPI_SR_PFFUL_POS (14U)
  8121. #define QSPI_SR_PFFUL (0x00004000UL)
  8122. #define QSPI_SR_PFAN_POS (15U)
  8123. #define QSPI_SR_PFAN (0x00008000UL)
  8124. /* Bit definition for QSPI_DCOM register */
  8125. #define QSPI_DCOM_DCOM_POS (0U)
  8126. #define QSPI_DCOM_DCOM (0x000000FFUL)
  8127. #define QSPI_DCOM_DCOMPRSL_POS (8U)
  8128. #define QSPI_DCOM_DCOMPRSL (0x00000300UL)
  8129. #define QSPI_DCOM_DCOMPRSL_0 (0x00000100UL)
  8130. #define QSPI_DCOM_DCOMPRSL_1 (0x00000200UL)
  8131. /* Bit definition for QSPI_CCMD register */
  8132. #define QSPI_CCMD_RIC (0x000000FFUL)
  8133. /* Bit definition for QSPI_XCMD register */
  8134. #define QSPI_XCMD_XIPMC (0x000000FFUL)
  8135. /* Bit definition for QSPI_SR2 register */
  8136. #define QSPI_SR2_RAERCLR_POS (7U)
  8137. #define QSPI_SR2_RAERCLR (0x00000080UL)
  8138. /* Bit definition for QSPI_EXAR register */
  8139. #define QSPI_EXAR_EXADR_POS (26U)
  8140. #define QSPI_EXAR_EXADR (0xFC000000UL)
  8141. /*******************************************************************************
  8142. Bit definition for Peripheral RMU
  8143. *******************************************************************************/
  8144. /* Bit definition for RMU_FRST0 register */
  8145. #define RMU_FRST0_KEY_POS (13U)
  8146. #define RMU_FRST0_KEY (0x00002000UL)
  8147. #define RMU_FRST0_DMA1_POS (14U)
  8148. #define RMU_FRST0_DMA1 (0x00004000UL)
  8149. #define RMU_FRST0_DMA2_POS (15U)
  8150. #define RMU_FRST0_DMA2 (0x00008000UL)
  8151. #define RMU_FRST0_FCM_POS (16U)
  8152. #define RMU_FRST0_FCM (0x00010000UL)
  8153. #define RMU_FRST0_AOS_POS (17U)
  8154. #define RMU_FRST0_AOS (0x00020000UL)
  8155. #define RMU_FRST0_CTC_POS (18U)
  8156. #define RMU_FRST0_CTC (0x00040000UL)
  8157. #define RMU_FRST0_AES_POS (20U)
  8158. #define RMU_FRST0_AES (0x00100000UL)
  8159. #define RMU_FRST0_HASH_POS (21U)
  8160. #define RMU_FRST0_HASH (0x00200000UL)
  8161. #define RMU_FRST0_TRNG_POS (22U)
  8162. #define RMU_FRST0_TRNG (0x00400000UL)
  8163. #define RMU_FRST0_CRC_POS (23U)
  8164. #define RMU_FRST0_CRC (0x00800000UL)
  8165. #define RMU_FRST0_DCU1_POS (24U)
  8166. #define RMU_FRST0_DCU1 (0x01000000UL)
  8167. #define RMU_FRST0_DCU2_POS (25U)
  8168. #define RMU_FRST0_DCU2 (0x02000000UL)
  8169. #define RMU_FRST0_DCU3_POS (26U)
  8170. #define RMU_FRST0_DCU3 (0x04000000UL)
  8171. #define RMU_FRST0_DCU4_POS (27U)
  8172. #define RMU_FRST0_DCU4 (0x08000000UL)
  8173. /* Bit definition for RMU_FRST1 register */
  8174. #define RMU_FRST1_QSPI_POS (3U)
  8175. #define RMU_FRST1_QSPI (0x00000008UL)
  8176. #define RMU_FRST1_SPI1_POS (16U)
  8177. #define RMU_FRST1_SPI1 (0x00010000UL)
  8178. #define RMU_FRST1_SPI2_POS (17U)
  8179. #define RMU_FRST1_SPI2 (0x00020000UL)
  8180. #define RMU_FRST1_SPI3_POS (18U)
  8181. #define RMU_FRST1_SPI3 (0x00040000UL)
  8182. /* Bit definition for RMU_FRST2 register */
  8183. #define RMU_FRST2_TIMER6_POS (0U)
  8184. #define RMU_FRST2_TIMER6 (0x00000001UL)
  8185. #define RMU_FRST2_TIMER4_POS (10U)
  8186. #define RMU_FRST2_TIMER4 (0x00000400UL)
  8187. #define RMU_FRST2_TIMER0_POS (12U)
  8188. #define RMU_FRST2_TIMER0 (0x00001000UL)
  8189. #define RMU_FRST2_EMB_POS (15U)
  8190. #define RMU_FRST2_EMB (0x00008000UL)
  8191. #define RMU_FRST2_TIMERA_POS (20U)
  8192. #define RMU_FRST2_TIMERA (0x00100000UL)
  8193. /* Bit definition for RMU_FRST3 register */
  8194. #define RMU_FRST3_ADC1_POS (0U)
  8195. #define RMU_FRST3_ADC1 (0x00000001UL)
  8196. #define RMU_FRST3_ADC2_POS (1U)
  8197. #define RMU_FRST3_ADC2 (0x00000002UL)
  8198. #define RMU_FRST3_ADC3_POS (2U)
  8199. #define RMU_FRST3_ADC3 (0x00000004UL)
  8200. #define RMU_FRST3_DAC_POS (4U)
  8201. #define RMU_FRST3_DAC (0x00000010UL)
  8202. #define RMU_FRST3_CMP12_POS (8U)
  8203. #define RMU_FRST3_CMP12 (0x00000100UL)
  8204. #define RMU_FRST3_CMP34_POS (9U)
  8205. #define RMU_FRST3_CMP34 (0x00000200UL)
  8206. #define RMU_FRST3_EXMC_SMC_POS (16U)
  8207. #define RMU_FRST3_EXMC_SMC (0x00010000UL)
  8208. #define RMU_FRST3_USART1_POS (20U)
  8209. #define RMU_FRST3_USART1 (0x00100000UL)
  8210. #define RMU_FRST3_USART2_POS (21U)
  8211. #define RMU_FRST3_USART2 (0x00200000UL)
  8212. #define RMU_FRST3_USART3_POS (22U)
  8213. #define RMU_FRST3_USART3 (0x00400000UL)
  8214. #define RMU_FRST3_USART4_POS (23U)
  8215. #define RMU_FRST3_USART4 (0x00800000UL)
  8216. #define RMU_FRST3_USART5_POS (24U)
  8217. #define RMU_FRST3_USART5 (0x01000000UL)
  8218. #define RMU_FRST3_USART6_POS (25U)
  8219. #define RMU_FRST3_USART6 (0x02000000UL)
  8220. /* Bit definition for RMU_PRSTCR0 register */
  8221. #define RMU_PRSTCR0_LKUPREN_POS (5U)
  8222. #define RMU_PRSTCR0_LKUPREN (0x20U)
  8223. /* Bit definition for RMU_RSTF0 register */
  8224. #define RMU_RSTF0_PORF_POS (0U)
  8225. #define RMU_RSTF0_PORF (0x00000001UL)
  8226. #define RMU_RSTF0_PINRF_POS (1U)
  8227. #define RMU_RSTF0_PINRF (0x00000002UL)
  8228. #define RMU_RSTF0_BORF_POS (2U)
  8229. #define RMU_RSTF0_BORF (0x00000004UL)
  8230. #define RMU_RSTF0_PVD1RF_POS (3U)
  8231. #define RMU_RSTF0_PVD1RF (0x00000008UL)
  8232. #define RMU_RSTF0_PVD2RF_POS (4U)
  8233. #define RMU_RSTF0_PVD2RF (0x00000010UL)
  8234. #define RMU_RSTF0_WDRF_POS (5U)
  8235. #define RMU_RSTF0_WDRF (0x00000020UL)
  8236. #define RMU_RSTF0_SWDRF_POS (6U)
  8237. #define RMU_RSTF0_SWDRF (0x00000040UL)
  8238. #define RMU_RSTF0_PDRF_POS (7U)
  8239. #define RMU_RSTF0_PDRF (0x00000080UL)
  8240. #define RMU_RSTF0_SWRF_POS (8U)
  8241. #define RMU_RSTF0_SWRF (0x00000100UL)
  8242. #define RMU_RSTF0_MPUERF_POS (9U)
  8243. #define RMU_RSTF0_MPUERF (0x00000200UL)
  8244. #define RMU_RSTF0_RAPERF_POS (10U)
  8245. #define RMU_RSTF0_RAPERF (0x00000400UL)
  8246. #define RMU_RSTF0_RAECRF_POS (11U)
  8247. #define RMU_RSTF0_RAECRF (0x00000800UL)
  8248. #define RMU_RSTF0_CKFERF_POS (12U)
  8249. #define RMU_RSTF0_CKFERF (0x00001000UL)
  8250. #define RMU_RSTF0_XTALERF_POS (13U)
  8251. #define RMU_RSTF0_XTALERF (0x00002000UL)
  8252. #define RMU_RSTF0_LKUPRF_POS (14U)
  8253. #define RMU_RSTF0_LKUPRF (0x00004000UL)
  8254. #define RMU_RSTF0_MULTIRF_POS (30U)
  8255. #define RMU_RSTF0_MULTIRF (0x40000000UL)
  8256. #define RMU_RSTF0_CLRF_POS (31U)
  8257. #define RMU_RSTF0_CLRF (0x80000000UL)
  8258. /*******************************************************************************
  8259. Bit definition for Peripheral RTC
  8260. *******************************************************************************/
  8261. /* Bit definition for RTC_CR0 register */
  8262. #define RTC_CR0_RESET (0x01U)
  8263. /* Bit definition for RTC_CR1 register */
  8264. #define RTC_CR1_PRDS_POS (0U)
  8265. #define RTC_CR1_PRDS (0x07U)
  8266. #define RTC_CR1_PRDS_0 (0x01U)
  8267. #define RTC_CR1_PRDS_1 (0x02U)
  8268. #define RTC_CR1_PRDS_2 (0x04U)
  8269. #define RTC_CR1_AMPM_POS (3U)
  8270. #define RTC_CR1_AMPM (0x08U)
  8271. #define RTC_CR1_ONEHZOE_POS (5U)
  8272. #define RTC_CR1_ONEHZOE (0x20U)
  8273. #define RTC_CR1_ONEHZSEL_POS (6U)
  8274. #define RTC_CR1_ONEHZSEL (0x40U)
  8275. #define RTC_CR1_START_POS (7U)
  8276. #define RTC_CR1_START (0x80U)
  8277. /* Bit definition for RTC_CR2 register */
  8278. #define RTC_CR2_RWREQ_POS (0U)
  8279. #define RTC_CR2_RWREQ (0x01U)
  8280. #define RTC_CR2_RWEN_POS (1U)
  8281. #define RTC_CR2_RWEN (0x02U)
  8282. #define RTC_CR2_PRDF_POS (2U)
  8283. #define RTC_CR2_PRDF (0x04U)
  8284. #define RTC_CR2_ALMF_POS (3U)
  8285. #define RTC_CR2_ALMF (0x08U)
  8286. #define RTC_CR2_PRDIE_POS (5U)
  8287. #define RTC_CR2_PRDIE (0x20U)
  8288. #define RTC_CR2_ALMIE_POS (6U)
  8289. #define RTC_CR2_ALMIE (0x40U)
  8290. #define RTC_CR2_ALME_POS (7U)
  8291. #define RTC_CR2_ALME (0x80U)
  8292. /* Bit definition for RTC_CR3 register */
  8293. #define RTC_CR3_LRCEN_POS (4U)
  8294. #define RTC_CR3_LRCEN (0x10U)
  8295. #define RTC_CR3_RCKSEL_POS (7U)
  8296. #define RTC_CR3_RCKSEL (0x80U)
  8297. /* Bit definition for RTC_SEC register */
  8298. #define RTC_SEC_SECU_POS (0U)
  8299. #define RTC_SEC_SECU (0x0FU)
  8300. #define RTC_SEC_SECD_POS (4U)
  8301. #define RTC_SEC_SECD (0x70U)
  8302. /* Bit definition for RTC_MIN register */
  8303. #define RTC_MIN_MINU_POS (0U)
  8304. #define RTC_MIN_MINU (0x0FU)
  8305. #define RTC_MIN_MIND_POS (4U)
  8306. #define RTC_MIN_MIND (0x70U)
  8307. /* Bit definition for RTC_HOUR register */
  8308. #define RTC_HOUR_HOURU_POS (0U)
  8309. #define RTC_HOUR_HOURU (0x0FU)
  8310. #define RTC_HOUR_HOURU_0 (0x01U)
  8311. #define RTC_HOUR_HOURU_1 (0x02U)
  8312. #define RTC_HOUR_HOURU_2 (0x04U)
  8313. #define RTC_HOUR_HOURU_3 (0x08U)
  8314. #define RTC_HOUR_HOURD_POS (4U)
  8315. #define RTC_HOUR_HOURD (0x30U)
  8316. #define RTC_HOUR_HOURD_0 (0x10U)
  8317. #define RTC_HOUR_HOURD_1 (0x20U)
  8318. /* Bit definition for RTC_WEEK register */
  8319. #define RTC_WEEK_WEEK (0x07U)
  8320. /* Bit definition for RTC_DAY register */
  8321. #define RTC_DAY_DAYU_POS (0U)
  8322. #define RTC_DAY_DAYU (0x0FU)
  8323. #define RTC_DAY_DAYD_POS (4U)
  8324. #define RTC_DAY_DAYD (0x30U)
  8325. /* Bit definition for RTC_MON register */
  8326. #define RTC_MON_MON (0x1FU)
  8327. /* Bit definition for RTC_YEAR register */
  8328. #define RTC_YEAR_YEARU_POS (0U)
  8329. #define RTC_YEAR_YEARU (0x0FU)
  8330. #define RTC_YEAR_YEARD_POS (4U)
  8331. #define RTC_YEAR_YEARD (0xF0U)
  8332. /* Bit definition for RTC_ALMMIN register */
  8333. #define RTC_ALMMIN_ALMMINU_POS (0U)
  8334. #define RTC_ALMMIN_ALMMINU (0x0FU)
  8335. #define RTC_ALMMIN_ALMMIND_POS (4U)
  8336. #define RTC_ALMMIN_ALMMIND (0x70U)
  8337. /* Bit definition for RTC_ALMHOUR register */
  8338. #define RTC_ALMHOUR_ALMHOURU_POS (0U)
  8339. #define RTC_ALMHOUR_ALMHOURU (0x0FU)
  8340. #define RTC_ALMHOUR_ALMHOURU_0 (0x01U)
  8341. #define RTC_ALMHOUR_ALMHOURU_1 (0x02U)
  8342. #define RTC_ALMHOUR_ALMHOURU_2 (0x04U)
  8343. #define RTC_ALMHOUR_ALMHOURU_3 (0x08U)
  8344. #define RTC_ALMHOUR_ALMHOURD_POS (4U)
  8345. #define RTC_ALMHOUR_ALMHOURD (0x30U)
  8346. #define RTC_ALMHOUR_ALMHOURD_0 (0x10U)
  8347. #define RTC_ALMHOUR_ALMHOURD_1 (0x20U)
  8348. /* Bit definition for RTC_ALMWEEK register */
  8349. #define RTC_ALMWEEK_ALMWEEK (0x7FU)
  8350. #define RTC_ALMWEEK_ALMWEEK_0 (0x01U)
  8351. #define RTC_ALMWEEK_ALMWEEK_1 (0x02U)
  8352. #define RTC_ALMWEEK_ALMWEEK_2 (0x04U)
  8353. #define RTC_ALMWEEK_ALMWEEK_3 (0x08U)
  8354. #define RTC_ALMWEEK_ALMWEEK_4 (0x10U)
  8355. #define RTC_ALMWEEK_ALMWEEK_5 (0x20U)
  8356. #define RTC_ALMWEEK_ALMWEEK_6 (0x40U)
  8357. /* Bit definition for RTC_ERRCRH register */
  8358. #define RTC_ERRCRH_COMP8_POS (0U)
  8359. #define RTC_ERRCRH_COMP8 (0x01U)
  8360. #define RTC_ERRCRH_COMPEN_POS (7U)
  8361. #define RTC_ERRCRH_COMPEN (0x80U)
  8362. /* Bit definition for RTC_ERRCRL register */
  8363. #define RTC_ERRCRL (0xFFU)
  8364. /*******************************************************************************
  8365. Bit definition for Peripheral SMC
  8366. *******************************************************************************/
  8367. /* Bit definition for SMC_STSR register */
  8368. #define SMC_STSR_STATUS (0x00000001UL)
  8369. /* Bit definition for SMC_STCR0 register */
  8370. #define SMC_STCR0_LPWIR_POS (2U)
  8371. #define SMC_STCR0_LPWIR (0x00000004UL)
  8372. /* Bit definition for SMC_STCR1 register */
  8373. #define SMC_STCR1_LPWOR_POS (2U)
  8374. #define SMC_STCR1_LPWOR (0x00000004UL)
  8375. /* Bit definition for SMC_CMDR register */
  8376. #define SMC_CMDR_CMDADD_POS (0U)
  8377. #define SMC_CMDR_CMDADD (0x000FFFFFUL)
  8378. #define SMC_CMDR_CRES_POS (20U)
  8379. #define SMC_CMDR_CRES (0x00100000UL)
  8380. #define SMC_CMDR_CMD_POS (21U)
  8381. #define SMC_CMDR_CMD (0x00600000UL)
  8382. #define SMC_CMDR_CMD_0 (0x00200000UL)
  8383. #define SMC_CMDR_CMD_1 (0x00400000UL)
  8384. #define SMC_CMDR_CMDCHIP_POS (23U)
  8385. #define SMC_CMDR_CMDCHIP (0x03800000UL)
  8386. /* Bit definition for SMC_TMCR register */
  8387. #define SMC_TMCR_T_RC_POS (0U)
  8388. #define SMC_TMCR_T_RC (0x0000000FUL)
  8389. #define SMC_TMCR_T_WC_POS (4U)
  8390. #define SMC_TMCR_T_WC (0x000000F0UL)
  8391. #define SMC_TMCR_T_CEOE_POS (8U)
  8392. #define SMC_TMCR_T_CEOE (0x00000700UL)
  8393. #define SMC_TMCR_T_WP_POS (12U)
  8394. #define SMC_TMCR_T_WP (0x00007000UL)
  8395. #define SMC_TMCR_T_TR_POS (20U)
  8396. #define SMC_TMCR_T_TR (0x00700000UL)
  8397. #define SMC_TMCR_T_ADV_POS (24U)
  8398. #define SMC_TMCR_T_ADV (0x07000000UL)
  8399. /* Bit definition for SMC_CPCR register */
  8400. #define SMC_CPCR_RSYN_POS (0U)
  8401. #define SMC_CPCR_RSYN (0x00000001UL)
  8402. #define SMC_CPCR_WSYN_POS (4U)
  8403. #define SMC_CPCR_WSYN (0x00000010UL)
  8404. #define SMC_CPCR_MW_POS (8U)
  8405. #define SMC_CPCR_MW (0x00000300UL)
  8406. #define SMC_CPCR_MW_0 (0x00000100UL)
  8407. #define SMC_CPCR_MW_1 (0x00000200UL)
  8408. #define SMC_CPCR_BAAS_POS (10U)
  8409. #define SMC_CPCR_BAAS (0x00000400UL)
  8410. #define SMC_CPCR_ADVS_POS (11U)
  8411. #define SMC_CPCR_ADVS (0x00000800UL)
  8412. #define SMC_CPCR_BLSS_POS (12U)
  8413. #define SMC_CPCR_BLSS (0x00001000UL)
  8414. /* Bit definition for SMC_RFTR register */
  8415. #define SMC_RFTR_REFPRD (0x0000000FUL)
  8416. /* Bit definition for SMC_TMSR register */
  8417. #define SMC_TMSR_T_RC_POS (0U)
  8418. #define SMC_TMSR_T_RC (0x0000000FUL)
  8419. #define SMC_TMSR_T_WC_POS (4U)
  8420. #define SMC_TMSR_T_WC (0x000000F0UL)
  8421. #define SMC_TMSR_T_CEOE_POS (8U)
  8422. #define SMC_TMSR_T_CEOE (0x00000700UL)
  8423. #define SMC_TMSR_T_WP_POS (12U)
  8424. #define SMC_TMSR_T_WP (0x00007000UL)
  8425. #define SMC_TMSR_T_TR_POS (20U)
  8426. #define SMC_TMSR_T_TR (0x00700000UL)
  8427. #define SMC_TMSR_T_ADV_POS (24U)
  8428. #define SMC_TMSR_T_ADV (0x07000000UL)
  8429. /* Bit definition for SMC_CPSR register */
  8430. #define SMC_CPSR_RSYN_POS (0U)
  8431. #define SMC_CPSR_RSYN (0x00000001UL)
  8432. #define SMC_CPSR_WSYN_POS (4U)
  8433. #define SMC_CPSR_WSYN (0x00000010UL)
  8434. #define SMC_CPSR_MW_POS (8U)
  8435. #define SMC_CPSR_MW (0x00000300UL)
  8436. #define SMC_CPSR_BAAS_POS (10U)
  8437. #define SMC_CPSR_BAAS (0x00000400UL)
  8438. #define SMC_CPSR_ADVS_POS (11U)
  8439. #define SMC_CPSR_ADVS (0x00000800UL)
  8440. #define SMC_CPSR_BLSS_POS (12U)
  8441. #define SMC_CPSR_BLSS (0x00001000UL)
  8442. #define SMC_CPSR_ADDMSK_POS (16U)
  8443. #define SMC_CPSR_ADDMSK (0x00FF0000UL)
  8444. #define SMC_CPSR_ADDMAT_POS (24U)
  8445. #define SMC_CPSR_ADDMAT (0xFF000000UL)
  8446. /* Bit definition for SMC_BACR register */
  8447. #define SMC_BACR_MUXMD_POS (4U)
  8448. #define SMC_BACR_MUXMD (0x00000010UL)
  8449. #define SMC_BACR_CKSEL_POS (14U)
  8450. #define SMC_BACR_CKSEL (0x0000C000UL)
  8451. #define SMC_BACR_CKSEL_0 (0x00004000UL)
  8452. #define SMC_BACR_CKSEL_1 (0x00008000UL)
  8453. /* Bit definition for SMC_CSCR0 register */
  8454. #define SMC_CSCR0_ADDMSK0 (0x000000FFUL)
  8455. /* Bit definition for SMC_CSCR1 register */
  8456. #define SMC_CSCR1_ADDMAT0 (0x000000FFUL)
  8457. /*******************************************************************************
  8458. Bit definition for Peripheral SPI
  8459. *******************************************************************************/
  8460. /* Bit definition for SPI_DR register */
  8461. #define SPI_DR (0xFFFFFFFFUL)
  8462. /* Bit definition for SPI_CR register */
  8463. #define SPI_CR_SPIMDS_POS (0U)
  8464. #define SPI_CR_SPIMDS (0x00000001UL)
  8465. #define SPI_CR_TXMDS_POS (1U)
  8466. #define SPI_CR_TXMDS (0x00000002UL)
  8467. #define SPI_CR_MSTR_POS (3U)
  8468. #define SPI_CR_MSTR (0x00000008UL)
  8469. #define SPI_CR_SPLPBK_POS (4U)
  8470. #define SPI_CR_SPLPBK (0x00000010UL)
  8471. #define SPI_CR_SPLPBK2_POS (5U)
  8472. #define SPI_CR_SPLPBK2 (0x00000020UL)
  8473. #define SPI_CR_SPE_POS (6U)
  8474. #define SPI_CR_SPE (0x00000040UL)
  8475. #define SPI_CR_CSUSPE_POS (7U)
  8476. #define SPI_CR_CSUSPE (0x00000080UL)
  8477. #define SPI_CR_EIE_POS (8U)
  8478. #define SPI_CR_EIE (0x00000100UL)
  8479. #define SPI_CR_TXIE_POS (9U)
  8480. #define SPI_CR_TXIE (0x00000200UL)
  8481. #define SPI_CR_RXIE_POS (10U)
  8482. #define SPI_CR_RXIE (0x00000400UL)
  8483. #define SPI_CR_IDIE_POS (11U)
  8484. #define SPI_CR_IDIE (0x00000800UL)
  8485. #define SPI_CR_MODFE_POS (12U)
  8486. #define SPI_CR_MODFE (0x00001000UL)
  8487. #define SPI_CR_PATE_POS (13U)
  8488. #define SPI_CR_PATE (0x00002000UL)
  8489. #define SPI_CR_PAOE_POS (14U)
  8490. #define SPI_CR_PAOE (0x00004000UL)
  8491. #define SPI_CR_PAE_POS (15U)
  8492. #define SPI_CR_PAE (0x00008000UL)
  8493. /* Bit definition for SPI_CFG1 register */
  8494. #define SPI_CFG1_FTHLV_POS (0U)
  8495. #define SPI_CFG1_FTHLV (0x00000003UL)
  8496. #define SPI_CFG1_FTHLV_0 (0x00000001UL)
  8497. #define SPI_CFG1_FTHLV_1 (0x00000002UL)
  8498. #define SPI_CFG1_CTMDS_POS (2U)
  8499. #define SPI_CFG1_CTMDS (0x00000004UL)
  8500. #define SPI_CFG1_SPRDTD_POS (6U)
  8501. #define SPI_CFG1_SPRDTD (0x00000040UL)
  8502. #define SPI_CFG1_SS0PV_POS (8U)
  8503. #define SPI_CFG1_SS0PV (0x00000100UL)
  8504. #define SPI_CFG1_SS1PV_POS (9U)
  8505. #define SPI_CFG1_SS1PV (0x00000200UL)
  8506. #define SPI_CFG1_SS2PV_POS (10U)
  8507. #define SPI_CFG1_SS2PV (0x00000400UL)
  8508. #define SPI_CFG1_SS3PV_POS (11U)
  8509. #define SPI_CFG1_SS3PV (0x00000800UL)
  8510. #define SPI_CFG1_CLKDIV_POS (12U)
  8511. #define SPI_CFG1_CLKDIV (0x0000F000UL)
  8512. #define SPI_CFG1_CLKDIV_0 (0x00001000UL)
  8513. #define SPI_CFG1_CLKDIV_1 (0x00002000UL)
  8514. #define SPI_CFG1_CLKDIV_2 (0x00004000UL)
  8515. #define SPI_CFG1_CLKDIV_3 (0x00008000UL)
  8516. #define SPI_CFG1_MSSI_POS (20U)
  8517. #define SPI_CFG1_MSSI (0x00700000UL)
  8518. #define SPI_CFG1_MSSI_0 (0x00100000UL)
  8519. #define SPI_CFG1_MSSI_1 (0x00200000UL)
  8520. #define SPI_CFG1_MSSI_2 (0x00400000UL)
  8521. #define SPI_CFG1_MSSDL_POS (24U)
  8522. #define SPI_CFG1_MSSDL (0x07000000UL)
  8523. #define SPI_CFG1_MSSDL_0 (0x01000000UL)
  8524. #define SPI_CFG1_MSSDL_1 (0x02000000UL)
  8525. #define SPI_CFG1_MSSDL_2 (0x04000000UL)
  8526. #define SPI_CFG1_MIDI_POS (28U)
  8527. #define SPI_CFG1_MIDI (0x70000000UL)
  8528. #define SPI_CFG1_MIDI_0 (0x10000000UL)
  8529. #define SPI_CFG1_MIDI_1 (0x20000000UL)
  8530. #define SPI_CFG1_MIDI_2 (0x40000000UL)
  8531. /* Bit definition for SPI_SR register */
  8532. #define SPI_SR_OVRERF_POS (0U)
  8533. #define SPI_SR_OVRERF (0x00000001UL)
  8534. #define SPI_SR_IDLNF_POS (1U)
  8535. #define SPI_SR_IDLNF (0x00000002UL)
  8536. #define SPI_SR_MODFERF_POS (2U)
  8537. #define SPI_SR_MODFERF (0x00000004UL)
  8538. #define SPI_SR_PERF_POS (3U)
  8539. #define SPI_SR_PERF (0x00000008UL)
  8540. #define SPI_SR_UDRERF_POS (4U)
  8541. #define SPI_SR_UDRERF (0x00000010UL)
  8542. #define SPI_SR_TDEF_POS (5U)
  8543. #define SPI_SR_TDEF (0x00000020UL)
  8544. #define SPI_SR_RDFF_POS (7U)
  8545. #define SPI_SR_RDFF (0x00000080UL)
  8546. /* Bit definition for SPI_CFG2 register */
  8547. #define SPI_CFG2_CPHA_POS (0U)
  8548. #define SPI_CFG2_CPHA (0x00000001UL)
  8549. #define SPI_CFG2_CPOL_POS (1U)
  8550. #define SPI_CFG2_CPOL (0x00000002UL)
  8551. #define SPI_CFG2_MBR_POS (2U)
  8552. #define SPI_CFG2_MBR (0x0000000CUL)
  8553. #define SPI_CFG2_MBR_0 (0x00000004UL)
  8554. #define SPI_CFG2_MBR_1 (0x00000008UL)
  8555. #define SPI_CFG2_SSA_POS (5U)
  8556. #define SPI_CFG2_SSA (0x000000E0UL)
  8557. #define SPI_CFG2_SSA_0 (0x00000020UL)
  8558. #define SPI_CFG2_SSA_1 (0x00000040UL)
  8559. #define SPI_CFG2_SSA_2 (0x00000080UL)
  8560. #define SPI_CFG2_DSIZE_POS (8U)
  8561. #define SPI_CFG2_DSIZE (0x00000F00UL)
  8562. #define SPI_CFG2_DSIZE_0 (0x00000100UL)
  8563. #define SPI_CFG2_DSIZE_1 (0x00000200UL)
  8564. #define SPI_CFG2_DSIZE_2 (0x00000400UL)
  8565. #define SPI_CFG2_DSIZE_3 (0x00000800UL)
  8566. #define SPI_CFG2_LSBF_POS (12U)
  8567. #define SPI_CFG2_LSBF (0x00001000UL)
  8568. #define SPI_CFG2_MIDIE_POS (13U)
  8569. #define SPI_CFG2_MIDIE (0x00002000UL)
  8570. #define SPI_CFG2_MSSDLE_POS (14U)
  8571. #define SPI_CFG2_MSSDLE (0x00004000UL)
  8572. #define SPI_CFG2_MSSIE_POS (15U)
  8573. #define SPI_CFG2_MSSIE (0x00008000UL)
  8574. /*******************************************************************************
  8575. Bit definition for Peripheral SRAMC
  8576. *******************************************************************************/
  8577. /* Bit definition for SRAMC_WTCR register */
  8578. #define SRAMC_WTCR_SRAM0RWT_POS (0U)
  8579. #define SRAMC_WTCR_SRAM0RWT (0x00000007UL)
  8580. #define SRAMC_WTCR_SRAM0RWT_0 (0x00000001UL)
  8581. #define SRAMC_WTCR_SRAM0RWT_1 (0x00000002UL)
  8582. #define SRAMC_WTCR_SRAM0RWT_2 (0x00000004UL)
  8583. #define SRAMC_WTCR_SRAM0WWT_POS (4U)
  8584. #define SRAMC_WTCR_SRAM0WWT (0x00000070UL)
  8585. #define SRAMC_WTCR_SRAM0WWT_0 (0x00000010UL)
  8586. #define SRAMC_WTCR_SRAM0WWT_1 (0x00000020UL)
  8587. #define SRAMC_WTCR_SRAM0WWT_2 (0x00000040UL)
  8588. #define SRAMC_WTCR_SRAMHRWT_POS (16U)
  8589. #define SRAMC_WTCR_SRAMHRWT (0x00070000UL)
  8590. #define SRAMC_WTCR_SRAMHRWT_0 (0x00010000UL)
  8591. #define SRAMC_WTCR_SRAMHRWT_1 (0x00020000UL)
  8592. #define SRAMC_WTCR_SRAMHRWT_2 (0x00040000UL)
  8593. #define SRAMC_WTCR_SRAMHWWT_POS (20U)
  8594. #define SRAMC_WTCR_SRAMHWWT (0x00700000UL)
  8595. #define SRAMC_WTCR_SRAMHWWT_0 (0x00100000UL)
  8596. #define SRAMC_WTCR_SRAMHWWT_1 (0x00200000UL)
  8597. #define SRAMC_WTCR_SRAMHWWT_2 (0x00400000UL)
  8598. #define SRAMC_WTCR_SRAMBRWT_POS (24U)
  8599. #define SRAMC_WTCR_SRAMBRWT (0x07000000UL)
  8600. #define SRAMC_WTCR_SRAMBRWT_0 (0x01000000UL)
  8601. #define SRAMC_WTCR_SRAMBRWT_1 (0x02000000UL)
  8602. #define SRAMC_WTCR_SRAMBRWT_2 (0x04000000UL)
  8603. #define SRAMC_WTCR_SRAMBWWT_POS (28U)
  8604. #define SRAMC_WTCR_SRAMBWWT (0x70000000UL)
  8605. #define SRAMC_WTCR_SRAMBWWT_0 (0x10000000UL)
  8606. #define SRAMC_WTCR_SRAMBWWT_1 (0x20000000UL)
  8607. #define SRAMC_WTCR_SRAMBWWT_2 (0x40000000UL)
  8608. /* Bit definition for SRAMC_WTPR register */
  8609. #define SRAMC_WTPR_WTPRC_POS (0U)
  8610. #define SRAMC_WTPR_WTPRC (0x00000001UL)
  8611. #define SRAMC_WTPR_WTPRKW_POS (1U)
  8612. #define SRAMC_WTPR_WTPRKW (0x000000FEUL)
  8613. #define SRAMC_WTPR_WTPRKW_0 (0x00000002UL)
  8614. #define SRAMC_WTPR_WTPRKW_1 (0x00000004UL)
  8615. #define SRAMC_WTPR_WTPRKW_2 (0x00000008UL)
  8616. #define SRAMC_WTPR_WTPRKW_3 (0x00000010UL)
  8617. #define SRAMC_WTPR_WTPRKW_4 (0x00000020UL)
  8618. #define SRAMC_WTPR_WTPRKW_5 (0x00000040UL)
  8619. #define SRAMC_WTPR_WTPRKW_6 (0x00000080UL)
  8620. /* Bit definition for SRAMC_CKCR register */
  8621. #define SRAMC_CKCR_PYOAD_POS (0U)
  8622. #define SRAMC_CKCR_PYOAD (0x00000001UL)
  8623. #define SRAMC_CKCR_ECCOAD_POS (16U)
  8624. #define SRAMC_CKCR_ECCOAD (0x00010000UL)
  8625. #define SRAMC_CKCR_BECCOAD_POS (17U)
  8626. #define SRAMC_CKCR_BECCOAD (0x00020000UL)
  8627. #define SRAMC_CKCR_ECCMOD_POS (24U)
  8628. #define SRAMC_CKCR_ECCMOD (0x03000000UL)
  8629. #define SRAMC_CKCR_ECCMOD_0 (0x01000000UL)
  8630. #define SRAMC_CKCR_ECCMOD_1 (0x02000000UL)
  8631. #define SRAMC_CKCR_BECCMOD_POS (26U)
  8632. #define SRAMC_CKCR_BECCMOD (0x0C000000UL)
  8633. #define SRAMC_CKCR_BECCMOD_0 (0x04000000UL)
  8634. #define SRAMC_CKCR_BECCMOD_1 (0x08000000UL)
  8635. /* Bit definition for SRAMC_CKPR register */
  8636. #define SRAMC_CKPR_CKPRC_POS (0U)
  8637. #define SRAMC_CKPR_CKPRC (0x00000001UL)
  8638. #define SRAMC_CKPR_CKPRKW_POS (1U)
  8639. #define SRAMC_CKPR_CKPRKW (0x000000FEUL)
  8640. #define SRAMC_CKPR_CKPRKW_0 (0x00000002UL)
  8641. #define SRAMC_CKPR_CKPRKW_1 (0x00000004UL)
  8642. #define SRAMC_CKPR_CKPRKW_2 (0x00000008UL)
  8643. #define SRAMC_CKPR_CKPRKW_3 (0x00000010UL)
  8644. #define SRAMC_CKPR_CKPRKW_4 (0x00000020UL)
  8645. #define SRAMC_CKPR_CKPRKW_5 (0x00000040UL)
  8646. #define SRAMC_CKPR_CKPRKW_6 (0x00000080UL)
  8647. /* Bit definition for SRAMC_CKSR register */
  8648. #define SRAMC_CKSR_SRAMH_PYERR_POS (3U)
  8649. #define SRAMC_CKSR_SRAMH_PYERR (0x00000008UL)
  8650. #define SRAMC_CKSR_SRAM0_1ERR_POS (4U)
  8651. #define SRAMC_CKSR_SRAM0_1ERR (0x00000010UL)
  8652. #define SRAMC_CKSR_SRAM0_2ERR_POS (5U)
  8653. #define SRAMC_CKSR_SRAM0_2ERR (0x00000020UL)
  8654. #define SRAMC_CKSR_SRAMB_1ERR_POS (6U)
  8655. #define SRAMC_CKSR_SRAMB_1ERR (0x00000040UL)
  8656. #define SRAMC_CKSR_SRAMB_2ERR_POS (7U)
  8657. #define SRAMC_CKSR_SRAMB_2ERR (0x00000080UL)
  8658. #define SRAMC_CKSR_CACHE_PYERR_POS (8U)
  8659. #define SRAMC_CKSR_CACHE_PYERR (0x00000100UL)
  8660. /* Bit definition for SRAMC_SRAM0_EIEN register */
  8661. #define SRAMC_SRAM0_EIEN_EIEN (0x00000001UL)
  8662. /* Bit definition for SRAMC_SRAM0_EIBIT0 register */
  8663. #define SRAMC_SRAM0_EIBIT0 (0xFFFFFFFFUL)
  8664. /* Bit definition for SRAMC_SRAM0_EIBIT1 register */
  8665. #define SRAMC_SRAM0_EIBIT1_EIBIT (0x0000007FUL)
  8666. #define SRAMC_SRAM0_EIBIT1_EIBIT_0 (0x00000001UL)
  8667. #define SRAMC_SRAM0_EIBIT1_EIBIT_1 (0x00000002UL)
  8668. #define SRAMC_SRAM0_EIBIT1_EIBIT_2 (0x00000004UL)
  8669. #define SRAMC_SRAM0_EIBIT1_EIBIT_3 (0x00000008UL)
  8670. #define SRAMC_SRAM0_EIBIT1_EIBIT_4 (0x00000010UL)
  8671. #define SRAMC_SRAM0_EIBIT1_EIBIT_5 (0x00000020UL)
  8672. #define SRAMC_SRAM0_EIBIT1_EIBIT_6 (0x00000040UL)
  8673. /* Bit definition for SRAMC_SRAM0_ECCERRADDR register */
  8674. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR (0x00007FFFUL)
  8675. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_0 (0x00000001UL)
  8676. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_1 (0x00000002UL)
  8677. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_2 (0x00000004UL)
  8678. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_3 (0x00000008UL)
  8679. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_4 (0x00000010UL)
  8680. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_5 (0x00000020UL)
  8681. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_6 (0x00000040UL)
  8682. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_7 (0x00000080UL)
  8683. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_8 (0x00000100UL)
  8684. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_9 (0x00000200UL)
  8685. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_10 (0x00000400UL)
  8686. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_11 (0x00000800UL)
  8687. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_12 (0x00001000UL)
  8688. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_13 (0x00002000UL)
  8689. #define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR_14 (0x00004000UL)
  8690. /* Bit definition for SRAMC_SRAMB_EIEN register */
  8691. #define SRAMC_SRAMB_EIEN_EIEN (0x00000001UL)
  8692. /* Bit definition for SRAMC_SRAMB_EIBIT0 register */
  8693. #define SRAMC_SRAMB_EIBIT0 (0xFFFFFFFFUL)
  8694. /* Bit definition for SRAMC_SRAMB_EIBIT1 register */
  8695. #define SRAMC_SRAMB_EIBIT1_EIBIT (0x0000007FUL)
  8696. #define SRAMC_SRAMB_EIBIT1_EIBIT_0 (0x00000001UL)
  8697. #define SRAMC_SRAMB_EIBIT1_EIBIT_1 (0x00000002UL)
  8698. #define SRAMC_SRAMB_EIBIT1_EIBIT_2 (0x00000004UL)
  8699. #define SRAMC_SRAMB_EIBIT1_EIBIT_3 (0x00000008UL)
  8700. #define SRAMC_SRAMB_EIBIT1_EIBIT_4 (0x00000010UL)
  8701. #define SRAMC_SRAMB_EIBIT1_EIBIT_5 (0x00000020UL)
  8702. #define SRAMC_SRAMB_EIBIT1_EIBIT_6 (0x00000040UL)
  8703. /* Bit definition for SRAMC_SRAMB_ECCERRADDR register */
  8704. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR (0x00000FFFUL)
  8705. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_0 (0x00000001UL)
  8706. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_1 (0x00000002UL)
  8707. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_2 (0x00000004UL)
  8708. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_3 (0x00000008UL)
  8709. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_4 (0x00000010UL)
  8710. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_5 (0x00000020UL)
  8711. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_6 (0x00000040UL)
  8712. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_7 (0x00000080UL)
  8713. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_8 (0x00000100UL)
  8714. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_9 (0x00000200UL)
  8715. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_10 (0x00000400UL)
  8716. #define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR_11 (0x00000800UL)
  8717. /*******************************************************************************
  8718. Bit definition for Peripheral SWDT
  8719. *******************************************************************************/
  8720. /* Bit definition for SWDT_CR register */
  8721. #define SWDT_CR_PERI_POS (0U)
  8722. #define SWDT_CR_PERI (0x00000003UL)
  8723. #define SWDT_CR_PERI_0 (0x00000001UL)
  8724. #define SWDT_CR_PERI_1 (0x00000002UL)
  8725. #define SWDT_CR_CKS_POS (4U)
  8726. #define SWDT_CR_CKS (0x000000F0UL)
  8727. #define SWDT_CR_CKS_0 (0x00000010UL)
  8728. #define SWDT_CR_CKS_1 (0x00000020UL)
  8729. #define SWDT_CR_CKS_2 (0x00000040UL)
  8730. #define SWDT_CR_CKS_3 (0x00000080UL)
  8731. #define SWDT_CR_WDPT_POS (8U)
  8732. #define SWDT_CR_WDPT (0x00000F00UL)
  8733. #define SWDT_CR_WDPT_0 (0x00000100UL)
  8734. #define SWDT_CR_WDPT_1 (0x00000200UL)
  8735. #define SWDT_CR_WDPT_2 (0x00000400UL)
  8736. #define SWDT_CR_WDPT_3 (0x00000800UL)
  8737. #define SWDT_CR_SLPOFF_POS (16U)
  8738. #define SWDT_CR_SLPOFF (0x00010000UL)
  8739. #define SWDT_CR_ITS_POS (31U)
  8740. #define SWDT_CR_ITS (0x80000000UL)
  8741. /* Bit definition for SWDT_SR register */
  8742. #define SWDT_SR_CNT_POS (0U)
  8743. #define SWDT_SR_CNT (0x0000FFFFUL)
  8744. #define SWDT_SR_CNT_0 (0x00000001UL)
  8745. #define SWDT_SR_CNT_1 (0x00000002UL)
  8746. #define SWDT_SR_CNT_2 (0x00000004UL)
  8747. #define SWDT_SR_CNT_3 (0x00000008UL)
  8748. #define SWDT_SR_CNT_4 (0x00000010UL)
  8749. #define SWDT_SR_CNT_5 (0x00000020UL)
  8750. #define SWDT_SR_CNT_6 (0x00000040UL)
  8751. #define SWDT_SR_CNT_7 (0x00000080UL)
  8752. #define SWDT_SR_CNT_8 (0x00000100UL)
  8753. #define SWDT_SR_CNT_9 (0x00000200UL)
  8754. #define SWDT_SR_CNT_10 (0x00000400UL)
  8755. #define SWDT_SR_CNT_11 (0x00000800UL)
  8756. #define SWDT_SR_CNT_12 (0x00001000UL)
  8757. #define SWDT_SR_CNT_13 (0x00002000UL)
  8758. #define SWDT_SR_CNT_14 (0x00004000UL)
  8759. #define SWDT_SR_CNT_15 (0x00008000UL)
  8760. #define SWDT_SR_UDF_POS (16U)
  8761. #define SWDT_SR_UDF (0x00010000UL)
  8762. #define SWDT_SR_REF_POS (17U)
  8763. #define SWDT_SR_REF (0x00020000UL)
  8764. /* Bit definition for SWDT_RR register */
  8765. #define SWDT_RR_RF (0x0000FFFFUL)
  8766. #define SWDT_RR_RF_0 (0x00000001UL)
  8767. #define SWDT_RR_RF_1 (0x00000002UL)
  8768. #define SWDT_RR_RF_2 (0x00000004UL)
  8769. #define SWDT_RR_RF_3 (0x00000008UL)
  8770. #define SWDT_RR_RF_4 (0x00000010UL)
  8771. #define SWDT_RR_RF_5 (0x00000020UL)
  8772. #define SWDT_RR_RF_6 (0x00000040UL)
  8773. #define SWDT_RR_RF_7 (0x00000080UL)
  8774. #define SWDT_RR_RF_8 (0x00000100UL)
  8775. #define SWDT_RR_RF_9 (0x00000200UL)
  8776. #define SWDT_RR_RF_10 (0x00000400UL)
  8777. #define SWDT_RR_RF_11 (0x00000800UL)
  8778. #define SWDT_RR_RF_12 (0x00001000UL)
  8779. #define SWDT_RR_RF_13 (0x00002000UL)
  8780. #define SWDT_RR_RF_14 (0x00004000UL)
  8781. #define SWDT_RR_RF_15 (0x00008000UL)
  8782. /*******************************************************************************
  8783. Bit definition for Peripheral TMR0
  8784. *******************************************************************************/
  8785. /* Bit definition for TMR0_CNTAR register */
  8786. #define TMR0_CNTAR_CNTA (0x0000FFFFUL)
  8787. /* Bit definition for TMR0_CNTBR register */
  8788. #define TMR0_CNTBR_CNTB (0x0000FFFFUL)
  8789. /* Bit definition for TMR0_CMPAR register */
  8790. #define TMR0_CMPAR_CMPA (0x0000FFFFUL)
  8791. /* Bit definition for TMR0_CMPBR register */
  8792. #define TMR0_CMPBR_CMPB (0x0000FFFFUL)
  8793. /* Bit definition for TMR0_BCONR register */
  8794. #define TMR0_BCONR_CSTA_POS (0U)
  8795. #define TMR0_BCONR_CSTA (0x00000001UL)
  8796. #define TMR0_BCONR_CAPMDA_POS (1U)
  8797. #define TMR0_BCONR_CAPMDA (0x00000002UL)
  8798. #define TMR0_BCONR_CMENA_POS (2U)
  8799. #define TMR0_BCONR_CMENA (0x00000004UL)
  8800. #define TMR0_BCONR_OVENA_POS (3U)
  8801. #define TMR0_BCONR_OVENA (0x00000008UL)
  8802. #define TMR0_BCONR_CKDIVA_POS (4U)
  8803. #define TMR0_BCONR_CKDIVA (0x000000F0UL)
  8804. #define TMR0_BCONR_SYNSA_POS (8U)
  8805. #define TMR0_BCONR_SYNSA (0x00000100UL)
  8806. #define TMR0_BCONR_SYNCLKA_POS (9U)
  8807. #define TMR0_BCONR_SYNCLKA (0x00000200UL)
  8808. #define TMR0_BCONR_ASYNCLKA_POS (10U)
  8809. #define TMR0_BCONR_ASYNCLKA (0x00000400UL)
  8810. #define TMR0_BCONR_HSTAA_POS (12U)
  8811. #define TMR0_BCONR_HSTAA (0x00001000UL)
  8812. #define TMR0_BCONR_HSTPA_POS (13U)
  8813. #define TMR0_BCONR_HSTPA (0x00002000UL)
  8814. #define TMR0_BCONR_HCLEA_POS (14U)
  8815. #define TMR0_BCONR_HCLEA (0x00004000UL)
  8816. #define TMR0_BCONR_HICPA_POS (15U)
  8817. #define TMR0_BCONR_HICPA (0x00008000UL)
  8818. #define TMR0_BCONR_CSTB_POS (16U)
  8819. #define TMR0_BCONR_CSTB (0x00010000UL)
  8820. #define TMR0_BCONR_CAPMDB_POS (17U)
  8821. #define TMR0_BCONR_CAPMDB (0x00020000UL)
  8822. #define TMR0_BCONR_CMENB_POS (18U)
  8823. #define TMR0_BCONR_CMENB (0x00040000UL)
  8824. #define TMR0_BCONR_OVENB_POS (19U)
  8825. #define TMR0_BCONR_OVENB (0x00080000UL)
  8826. #define TMR0_BCONR_CKDIVB_POS (20U)
  8827. #define TMR0_BCONR_CKDIVB (0x00F00000UL)
  8828. #define TMR0_BCONR_SYNSB_POS (24U)
  8829. #define TMR0_BCONR_SYNSB (0x01000000UL)
  8830. #define TMR0_BCONR_SYNCLKB_POS (25U)
  8831. #define TMR0_BCONR_SYNCLKB (0x02000000UL)
  8832. #define TMR0_BCONR_ASYNCLKB_POS (26U)
  8833. #define TMR0_BCONR_ASYNCLKB (0x04000000UL)
  8834. #define TMR0_BCONR_HSTAB_POS (28U)
  8835. #define TMR0_BCONR_HSTAB (0x10000000UL)
  8836. #define TMR0_BCONR_HSTPB_POS (29U)
  8837. #define TMR0_BCONR_HSTPB (0x20000000UL)
  8838. #define TMR0_BCONR_HCLEB_POS (30U)
  8839. #define TMR0_BCONR_HCLEB (0x40000000UL)
  8840. #define TMR0_BCONR_HICPB_POS (31U)
  8841. #define TMR0_BCONR_HICPB (0x80000000UL)
  8842. /* Bit definition for TMR0_STFLR register */
  8843. #define TMR0_STFLR_CMFA_POS (0U)
  8844. #define TMR0_STFLR_CMFA (0x00000001UL)
  8845. #define TMR0_STFLR_OVFA_POS (1U)
  8846. #define TMR0_STFLR_OVFA (0x00000002UL)
  8847. #define TMR0_STFLR_ICPA_POS (2U)
  8848. #define TMR0_STFLR_ICPA (0x00000004UL)
  8849. #define TMR0_STFLR_CMFB_POS (16U)
  8850. #define TMR0_STFLR_CMFB (0x00010000UL)
  8851. #define TMR0_STFLR_OVFB_POS (17U)
  8852. #define TMR0_STFLR_OVFB (0x00020000UL)
  8853. #define TMR0_STFLR_ICPB_POS (18U)
  8854. #define TMR0_STFLR_ICPB (0x00040000UL)
  8855. /*******************************************************************************
  8856. Bit definition for Peripheral TMR4
  8857. *******************************************************************************/
  8858. /* Bit definition for TMR4_OCCRUH register */
  8859. #define TMR4_OCCRUH (0xFFFFU)
  8860. /* Bit definition for TMR4_OCCRUL register */
  8861. #define TMR4_OCCRUL (0xFFFFU)
  8862. /* Bit definition for TMR4_OCCRVH register */
  8863. #define TMR4_OCCRVH (0xFFFFU)
  8864. /* Bit definition for TMR4_OCCRVL register */
  8865. #define TMR4_OCCRVL (0xFFFFU)
  8866. /* Bit definition for TMR4_OCCRWH register */
  8867. #define TMR4_OCCRWH (0xFFFFU)
  8868. /* Bit definition for TMR4_OCCRWL register */
  8869. #define TMR4_OCCRWL (0xFFFFU)
  8870. /* Bit definition for TMR4_OCCRXH register */
  8871. #define TMR4_OCCRXH (0xFFFFU)
  8872. /* Bit definition for TMR4_OCCRXL register */
  8873. #define TMR4_OCCRXL (0xFFFFU)
  8874. /* Bit definition for TMR4_OCSR register */
  8875. #define TMR4_OCSR_OCEH_POS (0U)
  8876. #define TMR4_OCSR_OCEH (0x0001U)
  8877. #define TMR4_OCSR_OCEL_POS (1U)
  8878. #define TMR4_OCSR_OCEL (0x0002U)
  8879. #define TMR4_OCSR_OCPH_POS (2U)
  8880. #define TMR4_OCSR_OCPH (0x0004U)
  8881. #define TMR4_OCSR_OCPL_POS (3U)
  8882. #define TMR4_OCSR_OCPL (0x0008U)
  8883. #define TMR4_OCSR_OCIEH_POS (4U)
  8884. #define TMR4_OCSR_OCIEH (0x0010U)
  8885. #define TMR4_OCSR_OCIEL_POS (5U)
  8886. #define TMR4_OCSR_OCIEL (0x0020U)
  8887. #define TMR4_OCSR_OCFH_POS (6U)
  8888. #define TMR4_OCSR_OCFH (0x0040U)
  8889. #define TMR4_OCSR_OCFL_POS (7U)
  8890. #define TMR4_OCSR_OCFL (0x0080U)
  8891. /* Bit definition for TMR4_OCER register */
  8892. #define TMR4_OCER_CHBUFEN_POS (0U)
  8893. #define TMR4_OCER_CHBUFEN (0x0003U)
  8894. #define TMR4_OCER_CHBUFEN_0 (0x0001U)
  8895. #define TMR4_OCER_CHBUFEN_1 (0x0002U)
  8896. #define TMR4_OCER_CLBUFEN_POS (2U)
  8897. #define TMR4_OCER_CLBUFEN (0x000CU)
  8898. #define TMR4_OCER_CLBUFEN_0 (0x0004U)
  8899. #define TMR4_OCER_CLBUFEN_1 (0x0008U)
  8900. #define TMR4_OCER_MHBUFEN_POS (4U)
  8901. #define TMR4_OCER_MHBUFEN (0x0030U)
  8902. #define TMR4_OCER_MHBUFEN_0 (0x0010U)
  8903. #define TMR4_OCER_MHBUFEN_1 (0x0020U)
  8904. #define TMR4_OCER_MLBUFEN_POS (6U)
  8905. #define TMR4_OCER_MLBUFEN (0x00C0U)
  8906. #define TMR4_OCER_MLBUFEN_0 (0x0040U)
  8907. #define TMR4_OCER_MLBUFEN_1 (0x0080U)
  8908. #define TMR4_OCER_LMCH_POS (8U)
  8909. #define TMR4_OCER_LMCH (0x0100U)
  8910. #define TMR4_OCER_LMCL_POS (9U)
  8911. #define TMR4_OCER_LMCL (0x0200U)
  8912. #define TMR4_OCER_LMMH_POS (10U)
  8913. #define TMR4_OCER_LMMH (0x0400U)
  8914. #define TMR4_OCER_LMML_POS (11U)
  8915. #define TMR4_OCER_LMML (0x0800U)
  8916. #define TMR4_OCER_MCECH_POS (12U)
  8917. #define TMR4_OCER_MCECH (0x1000U)
  8918. #define TMR4_OCER_MCECL_POS (13U)
  8919. #define TMR4_OCER_MCECL (0x2000U)
  8920. /* Bit definition for TMR4_OCMRH register */
  8921. #define TMR4_OCMRH_OCFDCH_POS (0U)
  8922. #define TMR4_OCMRH_OCFDCH (0x0001U)
  8923. #define TMR4_OCMRH_OCFPKH_POS (1U)
  8924. #define TMR4_OCMRH_OCFPKH (0x0002U)
  8925. #define TMR4_OCMRH_OCFUCH_POS (2U)
  8926. #define TMR4_OCMRH_OCFUCH (0x0004U)
  8927. #define TMR4_OCMRH_OCFZRH_POS (3U)
  8928. #define TMR4_OCMRH_OCFZRH (0x0008U)
  8929. #define TMR4_OCMRH_OPDCH_POS (4U)
  8930. #define TMR4_OCMRH_OPDCH (0x0030U)
  8931. #define TMR4_OCMRH_OPDCH_0 (0x0010U)
  8932. #define TMR4_OCMRH_OPDCH_1 (0x0020U)
  8933. #define TMR4_OCMRH_OPPKH_POS (6U)
  8934. #define TMR4_OCMRH_OPPKH (0x00C0U)
  8935. #define TMR4_OCMRH_OPPKH_0 (0x0040U)
  8936. #define TMR4_OCMRH_OPPKH_1 (0x0080U)
  8937. #define TMR4_OCMRH_OPUCH_POS (8U)
  8938. #define TMR4_OCMRH_OPUCH (0x0300U)
  8939. #define TMR4_OCMRH_OPUCH_0 (0x0100U)
  8940. #define TMR4_OCMRH_OPUCH_1 (0x0200U)
  8941. #define TMR4_OCMRH_OPZRH_POS (10U)
  8942. #define TMR4_OCMRH_OPZRH (0x0C00U)
  8943. #define TMR4_OCMRH_OPZRH_0 (0x0400U)
  8944. #define TMR4_OCMRH_OPZRH_1 (0x0800U)
  8945. #define TMR4_OCMRH_OPNPKH_POS (12U)
  8946. #define TMR4_OCMRH_OPNPKH (0x3000U)
  8947. #define TMR4_OCMRH_OPNPKH_0 (0x1000U)
  8948. #define TMR4_OCMRH_OPNPKH_1 (0x2000U)
  8949. #define TMR4_OCMRH_OPNZRH_POS (14U)
  8950. #define TMR4_OCMRH_OPNZRH (0xC000U)
  8951. #define TMR4_OCMRH_OPNZRH_0 (0x4000U)
  8952. #define TMR4_OCMRH_OPNZRH_1 (0x8000U)
  8953. /* Bit definition for TMR4_OCMRL register */
  8954. #define TMR4_OCMRL_OCFDCL_POS (0U)
  8955. #define TMR4_OCMRL_OCFDCL (0x00000001UL)
  8956. #define TMR4_OCMRL_OCFPKL_POS (1U)
  8957. #define TMR4_OCMRL_OCFPKL (0x00000002UL)
  8958. #define TMR4_OCMRL_OCFUCL_POS (2U)
  8959. #define TMR4_OCMRL_OCFUCL (0x00000004UL)
  8960. #define TMR4_OCMRL_OCFZRL_POS (3U)
  8961. #define TMR4_OCMRL_OCFZRL (0x00000008UL)
  8962. #define TMR4_OCMRL_OPDCL_POS (4U)
  8963. #define TMR4_OCMRL_OPDCL (0x00000030UL)
  8964. #define TMR4_OCMRL_OPDCL_0 (0x00000010UL)
  8965. #define TMR4_OCMRL_OPDCL_1 (0x00000020UL)
  8966. #define TMR4_OCMRL_OPPKL_POS (6U)
  8967. #define TMR4_OCMRL_OPPKL (0x000000C0UL)
  8968. #define TMR4_OCMRL_OPPKL_0 (0x00000040UL)
  8969. #define TMR4_OCMRL_OPPKL_1 (0x00000080UL)
  8970. #define TMR4_OCMRL_OPUCL_POS (8U)
  8971. #define TMR4_OCMRL_OPUCL (0x00000300UL)
  8972. #define TMR4_OCMRL_OPUCL_0 (0x00000100UL)
  8973. #define TMR4_OCMRL_OPUCL_1 (0x00000200UL)
  8974. #define TMR4_OCMRL_OPZRL_POS (10U)
  8975. #define TMR4_OCMRL_OPZRL (0x00000C00UL)
  8976. #define TMR4_OCMRL_OPZRL_0 (0x00000400UL)
  8977. #define TMR4_OCMRL_OPZRL_1 (0x00000800UL)
  8978. #define TMR4_OCMRL_OPNPKL_POS (12U)
  8979. #define TMR4_OCMRL_OPNPKL (0x00003000UL)
  8980. #define TMR4_OCMRL_OPNPKL_0 (0x00001000UL)
  8981. #define TMR4_OCMRL_OPNPKL_1 (0x00002000UL)
  8982. #define TMR4_OCMRL_OPNZRL_POS (14U)
  8983. #define TMR4_OCMRL_OPNZRL (0x0000C000UL)
  8984. #define TMR4_OCMRL_OPNZRL_0 (0x00004000UL)
  8985. #define TMR4_OCMRL_OPNZRL_1 (0x00008000UL)
  8986. #define TMR4_OCMRL_EOPNDCL_POS (16U)
  8987. #define TMR4_OCMRL_EOPNDCL (0x00030000UL)
  8988. #define TMR4_OCMRL_EOPNDCL_0 (0x00010000UL)
  8989. #define TMR4_OCMRL_EOPNDCL_1 (0x00020000UL)
  8990. #define TMR4_OCMRL_EOPNUCL_POS (18U)
  8991. #define TMR4_OCMRL_EOPNUCL (0x000C0000UL)
  8992. #define TMR4_OCMRL_EOPNUCL_0 (0x00040000UL)
  8993. #define TMR4_OCMRL_EOPNUCL_1 (0x00080000UL)
  8994. #define TMR4_OCMRL_EOPDCL_POS (20U)
  8995. #define TMR4_OCMRL_EOPDCL (0x00300000UL)
  8996. #define TMR4_OCMRL_EOPDCL_0 (0x00100000UL)
  8997. #define TMR4_OCMRL_EOPDCL_1 (0x00200000UL)
  8998. #define TMR4_OCMRL_EOPPKL_POS (22U)
  8999. #define TMR4_OCMRL_EOPPKL (0x00C00000UL)
  9000. #define TMR4_OCMRL_EOPPKL_0 (0x00400000UL)
  9001. #define TMR4_OCMRL_EOPPKL_1 (0x00800000UL)
  9002. #define TMR4_OCMRL_EOPUCL_POS (24U)
  9003. #define TMR4_OCMRL_EOPUCL (0x03000000UL)
  9004. #define TMR4_OCMRL_EOPUCL_0 (0x01000000UL)
  9005. #define TMR4_OCMRL_EOPUCL_1 (0x02000000UL)
  9006. #define TMR4_OCMRL_EOPZRL_POS (26U)
  9007. #define TMR4_OCMRL_EOPZRL (0x0C000000UL)
  9008. #define TMR4_OCMRL_EOPZRL_0 (0x04000000UL)
  9009. #define TMR4_OCMRL_EOPZRL_1 (0x08000000UL)
  9010. #define TMR4_OCMRL_EOPNPKL_POS (28U)
  9011. #define TMR4_OCMRL_EOPNPKL (0x30000000UL)
  9012. #define TMR4_OCMRL_EOPNPKL_0 (0x10000000UL)
  9013. #define TMR4_OCMRL_EOPNPKL_1 (0x20000000UL)
  9014. #define TMR4_OCMRL_EOPNZRL_POS (30U)
  9015. #define TMR4_OCMRL_EOPNZRL (0xC0000000UL)
  9016. #define TMR4_OCMRL_EOPNZRL_0 (0x40000000UL)
  9017. #define TMR4_OCMRL_EOPNZRL_1 (0x80000000UL)
  9018. /* Bit definition for TMR4_CPSR register */
  9019. #define TMR4_CPSR (0xFFFFU)
  9020. /* Bit definition for TMR4_CNTR register */
  9021. #define TMR4_CNTR (0xFFFFU)
  9022. /* Bit definition for TMR4_CCSR register */
  9023. #define TMR4_CCSR_CKDIV_POS (0U)
  9024. #define TMR4_CCSR_CKDIV (0x000FU)
  9025. #define TMR4_CCSR_CLEAR_POS (4U)
  9026. #define TMR4_CCSR_CLEAR (0x0010U)
  9027. #define TMR4_CCSR_MODE_POS (5U)
  9028. #define TMR4_CCSR_MODE (0x0020U)
  9029. #define TMR4_CCSR_STOP_POS (6U)
  9030. #define TMR4_CCSR_STOP (0x0040U)
  9031. #define TMR4_CCSR_BUFEN_POS (7U)
  9032. #define TMR4_CCSR_BUFEN (0x0080U)
  9033. #define TMR4_CCSR_IRQPEN_POS (8U)
  9034. #define TMR4_CCSR_IRQPEN (0x0100U)
  9035. #define TMR4_CCSR_IRQPF_POS (9U)
  9036. #define TMR4_CCSR_IRQPF (0x0200U)
  9037. #define TMR4_CCSR_IRQZEN_POS (10U)
  9038. #define TMR4_CCSR_IRQZEN (0x0400U)
  9039. #define TMR4_CCSR_IRQZF_POS (11U)
  9040. #define TMR4_CCSR_IRQZF (0x0800U)
  9041. #define TMR4_CCSR_SYNST_POS (12U)
  9042. #define TMR4_CCSR_SYNST (0x1000U)
  9043. #define TMR4_CCSR_HST_POS (13U)
  9044. #define TMR4_CCSR_HST (0x2000U)
  9045. #define TMR4_CCSR_ECKEN_POS (15U)
  9046. #define TMR4_CCSR_ECKEN (0x8000U)
  9047. /* Bit definition for TMR4_CVPR register */
  9048. #define TMR4_CVPR_ZIM_POS (0U)
  9049. #define TMR4_CVPR_ZIM (0x000FU)
  9050. #define TMR4_CVPR_PIM_POS (4U)
  9051. #define TMR4_CVPR_PIM (0x00F0U)
  9052. #define TMR4_CVPR_ZIC_POS (8U)
  9053. #define TMR4_CVPR_ZIC (0x0F00U)
  9054. #define TMR4_CVPR_PIC_POS (12U)
  9055. #define TMR4_CVPR_PIC (0xF000U)
  9056. /* Bit definition for TMR4_PSCR register */
  9057. #define TMR4_PSCR_OEUH_POS (0U)
  9058. #define TMR4_PSCR_OEUH (0x00000001UL)
  9059. #define TMR4_PSCR_OEUL_POS (1U)
  9060. #define TMR4_PSCR_OEUL (0x00000002UL)
  9061. #define TMR4_PSCR_OEVH_POS (2U)
  9062. #define TMR4_PSCR_OEVH (0x00000004UL)
  9063. #define TMR4_PSCR_OEVL_POS (3U)
  9064. #define TMR4_PSCR_OEVL (0x00000008UL)
  9065. #define TMR4_PSCR_OEWH_POS (4U)
  9066. #define TMR4_PSCR_OEWH (0x00000010UL)
  9067. #define TMR4_PSCR_OEWL_POS (5U)
  9068. #define TMR4_PSCR_OEWL (0x00000020UL)
  9069. #define TMR4_PSCR_OEXH_POS (6U)
  9070. #define TMR4_PSCR_OEXH (0x00000040UL)
  9071. #define TMR4_PSCR_OEXL_POS (7U)
  9072. #define TMR4_PSCR_OEXL (0x00000080UL)
  9073. #define TMR4_PSCR_MOE_POS (8U)
  9074. #define TMR4_PSCR_MOE (0x00000100UL)
  9075. #define TMR4_PSCR_AOE_POS (9U)
  9076. #define TMR4_PSCR_AOE (0x00000200UL)
  9077. #define TMR4_PSCR_ODT_POS (10U)
  9078. #define TMR4_PSCR_ODT (0x00000C00UL)
  9079. #define TMR4_PSCR_ODT_0 (0x00000400UL)
  9080. #define TMR4_PSCR_ODT_1 (0x00000800UL)
  9081. #define TMR4_PSCR_OSUH_POS (16U)
  9082. #define TMR4_PSCR_OSUH (0x00030000UL)
  9083. #define TMR4_PSCR_OSUH_0 (0x00010000UL)
  9084. #define TMR4_PSCR_OSUH_1 (0x00020000UL)
  9085. #define TMR4_PSCR_OSUL_POS (18U)
  9086. #define TMR4_PSCR_OSUL (0x000C0000UL)
  9087. #define TMR4_PSCR_OSUL_0 (0x00040000UL)
  9088. #define TMR4_PSCR_OSUL_1 (0x00080000UL)
  9089. #define TMR4_PSCR_OSVH_POS (20U)
  9090. #define TMR4_PSCR_OSVH (0x00300000UL)
  9091. #define TMR4_PSCR_OSVH_0 (0x00100000UL)
  9092. #define TMR4_PSCR_OSVH_1 (0x00200000UL)
  9093. #define TMR4_PSCR_OSVL_POS (22U)
  9094. #define TMR4_PSCR_OSVL (0x00C00000UL)
  9095. #define TMR4_PSCR_OSVL_0 (0x00400000UL)
  9096. #define TMR4_PSCR_OSVL_1 (0x00800000UL)
  9097. #define TMR4_PSCR_OSWH_POS (24U)
  9098. #define TMR4_PSCR_OSWH (0x03000000UL)
  9099. #define TMR4_PSCR_OSWH_0 (0x01000000UL)
  9100. #define TMR4_PSCR_OSWH_1 (0x02000000UL)
  9101. #define TMR4_PSCR_OSWL_POS (26U)
  9102. #define TMR4_PSCR_OSWL (0x0C000000UL)
  9103. #define TMR4_PSCR_OSWL_0 (0x04000000UL)
  9104. #define TMR4_PSCR_OSWL_1 (0x08000000UL)
  9105. #define TMR4_PSCR_OSXH_POS (28U)
  9106. #define TMR4_PSCR_OSXH (0x30000000UL)
  9107. #define TMR4_PSCR_OSXH_0 (0x10000000UL)
  9108. #define TMR4_PSCR_OSXH_1 (0x20000000UL)
  9109. #define TMR4_PSCR_OSXL_POS (30U)
  9110. #define TMR4_PSCR_OSXL (0xC0000000UL)
  9111. #define TMR4_PSCR_OSXL_0 (0x40000000UL)
  9112. #define TMR4_PSCR_OSXL_1 (0x80000000UL)
  9113. /* Bit definition for TMR4_PFSRU register */
  9114. #define TMR4_PFSRU (0xFFFFU)
  9115. /* Bit definition for TMR4_PDARU register */
  9116. #define TMR4_PDARU (0xFFFFU)
  9117. /* Bit definition for TMR4_PDBRU register */
  9118. #define TMR4_PDBRU (0xFFFFU)
  9119. /* Bit definition for TMR4_PFSRV register */
  9120. #define TMR4_PFSRV (0xFFFFU)
  9121. /* Bit definition for TMR4_PDARV register */
  9122. #define TMR4_PDARV (0xFFFFU)
  9123. /* Bit definition for TMR4_PDBRV register */
  9124. #define TMR4_PDBRV (0xFFFFU)
  9125. /* Bit definition for TMR4_PFSRW register */
  9126. #define TMR4_PFSRW (0xFFFFU)
  9127. /* Bit definition for TMR4_PDARW register */
  9128. #define TMR4_PDARW (0xFFFFU)
  9129. /* Bit definition for TMR4_PDBRW register */
  9130. #define TMR4_PDBRW (0xFFFFU)
  9131. /* Bit definition for TMR4_PFSRX register */
  9132. #define TMR4_PFSRX (0xFFFFU)
  9133. /* Bit definition for TMR4_PDARX register */
  9134. #define TMR4_PDARX (0xFFFFU)
  9135. /* Bit definition for TMR4_PDBRX register */
  9136. #define TMR4_PDBRX (0xFFFFU)
  9137. /* Bit definition for TMR4_POCR register */
  9138. #define TMR4_POCR_DIVCK_POS (0U)
  9139. #define TMR4_POCR_DIVCK (0x0007U)
  9140. #define TMR4_POCR_PWMMD_POS (4U)
  9141. #define TMR4_POCR_PWMMD (0x0030U)
  9142. #define TMR4_POCR_PWMMD_0 (0x0010U)
  9143. #define TMR4_POCR_PWMMD_1 (0x0020U)
  9144. #define TMR4_POCR_LVLS_POS (6U)
  9145. #define TMR4_POCR_LVLS (0x00C0U)
  9146. #define TMR4_POCR_LVLS_0 (0x0040U)
  9147. #define TMR4_POCR_LVLS_1 (0x0080U)
  9148. /* Bit definition for TMR4_SCCRUH register */
  9149. #define TMR4_SCCRUH (0xFFFFU)
  9150. /* Bit definition for TMR4_SCCRUL register */
  9151. #define TMR4_SCCRUL (0xFFFFU)
  9152. /* Bit definition for TMR4_SCCRVH register */
  9153. #define TMR4_SCCRVH (0xFFFFU)
  9154. /* Bit definition for TMR4_SCCRVL register */
  9155. #define TMR4_SCCRVL (0xFFFFU)
  9156. /* Bit definition for TMR4_SCCRWH register */
  9157. #define TMR4_SCCRWH (0xFFFFU)
  9158. /* Bit definition for TMR4_SCCRWL register */
  9159. #define TMR4_SCCRWL (0xFFFFU)
  9160. /* Bit definition for TMR4_SCCRXH register */
  9161. #define TMR4_SCCRXH (0xFFFFU)
  9162. /* Bit definition for TMR4_SCCRXL register */
  9163. #define TMR4_SCCRXL (0xFFFFU)
  9164. /* Bit definition for TMR4_SCSR register */
  9165. #define TMR4_SCSR_BUFEN_POS (0U)
  9166. #define TMR4_SCSR_BUFEN (0x0003U)
  9167. #define TMR4_SCSR_BUFEN_0 (0x0001U)
  9168. #define TMR4_SCSR_BUFEN_1 (0x0002U)
  9169. #define TMR4_SCSR_EVTOS_POS (2U)
  9170. #define TMR4_SCSR_EVTOS (0x001CU)
  9171. #define TMR4_SCSR_EVTOS_0 (0x0004U)
  9172. #define TMR4_SCSR_EVTOS_1 (0x0008U)
  9173. #define TMR4_SCSR_EVTOS_2 (0x0010U)
  9174. #define TMR4_SCSR_LMC_POS (5U)
  9175. #define TMR4_SCSR_LMC (0x0020U)
  9176. #define TMR4_SCSR_EVTMS_POS (8U)
  9177. #define TMR4_SCSR_EVTMS (0x0100U)
  9178. #define TMR4_SCSR_EVTDS_POS (9U)
  9179. #define TMR4_SCSR_EVTDS (0x0200U)
  9180. #define TMR4_SCSR_DEN_POS (12U)
  9181. #define TMR4_SCSR_DEN (0x1000U)
  9182. #define TMR4_SCSR_PEN_POS (13U)
  9183. #define TMR4_SCSR_PEN (0x2000U)
  9184. #define TMR4_SCSR_UEN_POS (14U)
  9185. #define TMR4_SCSR_UEN (0x4000U)
  9186. #define TMR4_SCSR_ZEN_POS (15U)
  9187. #define TMR4_SCSR_ZEN (0x8000U)
  9188. /* Bit definition for TMR4_SCMR register */
  9189. #define TMR4_SCMR_AMC_POS (0U)
  9190. #define TMR4_SCMR_AMC (0x000FU)
  9191. #define TMR4_SCMR_MZCE_POS (6U)
  9192. #define TMR4_SCMR_MZCE (0x0040U)
  9193. #define TMR4_SCMR_MPCE_POS (7U)
  9194. #define TMR4_SCMR_MPCE (0x0080U)
  9195. /* Bit definition for TMR4_SCER register */
  9196. #define TMR4_SCER_EVTRS_POS (0U)
  9197. #define TMR4_SCER_EVTRS (0x000FU)
  9198. #define TMR4_SCER_EVTRS_0 (0x0001U)
  9199. #define TMR4_SCER_EVTRS_1 (0x0002U)
  9200. #define TMR4_SCER_EVTRS_2 (0x0004U)
  9201. #define TMR4_SCER_EVTRS_3 (0x0008U)
  9202. #define TMR4_SCER_PCTS_POS (8U)
  9203. #define TMR4_SCER_PCTS (0x0100U)
  9204. /* Bit definition for TMR4_RCSR register */
  9205. #define TMR4_RCSR_RTIDU_POS (0U)
  9206. #define TMR4_RCSR_RTIDU (0x00000001UL)
  9207. #define TMR4_RCSR_RTIDV_POS (1U)
  9208. #define TMR4_RCSR_RTIDV (0x00000002UL)
  9209. #define TMR4_RCSR_RTIDW_POS (2U)
  9210. #define TMR4_RCSR_RTIDW (0x00000004UL)
  9211. #define TMR4_RCSR_RTIDX_POS (3U)
  9212. #define TMR4_RCSR_RTIDX (0x00000008UL)
  9213. #define TMR4_RCSR_RTIFU_POS (4U)
  9214. #define TMR4_RCSR_RTIFU (0x00000010UL)
  9215. #define TMR4_RCSR_RTICU_POS (5U)
  9216. #define TMR4_RCSR_RTICU (0x00000020UL)
  9217. #define TMR4_RCSR_RTEU_POS (6U)
  9218. #define TMR4_RCSR_RTEU (0x00000040UL)
  9219. #define TMR4_RCSR_RTSU_POS (7U)
  9220. #define TMR4_RCSR_RTSU (0x00000080UL)
  9221. #define TMR4_RCSR_RTIFV_POS (8U)
  9222. #define TMR4_RCSR_RTIFV (0x00000100UL)
  9223. #define TMR4_RCSR_RTICV_POS (9U)
  9224. #define TMR4_RCSR_RTICV (0x00000200UL)
  9225. #define TMR4_RCSR_RTEV_POS (10U)
  9226. #define TMR4_RCSR_RTEV (0x00000400UL)
  9227. #define TMR4_RCSR_RTSV_POS (11U)
  9228. #define TMR4_RCSR_RTSV (0x00000800UL)
  9229. #define TMR4_RCSR_RTIFW_POS (12U)
  9230. #define TMR4_RCSR_RTIFW (0x00001000UL)
  9231. #define TMR4_RCSR_RTICW_POS (13U)
  9232. #define TMR4_RCSR_RTICW (0x00002000UL)
  9233. #define TMR4_RCSR_RTEW_POS (14U)
  9234. #define TMR4_RCSR_RTEW (0x00004000UL)
  9235. #define TMR4_RCSR_RTSW_POS (15U)
  9236. #define TMR4_RCSR_RTSW (0x00008000UL)
  9237. #define TMR4_RCSR_RTIFX_POS (16U)
  9238. #define TMR4_RCSR_RTIFX (0x00010000UL)
  9239. #define TMR4_RCSR_RTICX_POS (17U)
  9240. #define TMR4_RCSR_RTICX (0x00020000UL)
  9241. #define TMR4_RCSR_RTEX_POS (18U)
  9242. #define TMR4_RCSR_RTEX (0x00040000UL)
  9243. #define TMR4_RCSR_RTSX_POS (19U)
  9244. #define TMR4_RCSR_RTSX (0x00080000UL)
  9245. /* Bit definition for TMR4_SCIR register */
  9246. #define TMR4_SCIR_ITENUH_POS (0U)
  9247. #define TMR4_SCIR_ITENUH (0x0001U)
  9248. #define TMR4_SCIR_ITENUL_POS (1U)
  9249. #define TMR4_SCIR_ITENUL (0x0002U)
  9250. #define TMR4_SCIR_ITENVH_POS (2U)
  9251. #define TMR4_SCIR_ITENVH (0x0004U)
  9252. #define TMR4_SCIR_ITENVL_POS (3U)
  9253. #define TMR4_SCIR_ITENVL (0x0008U)
  9254. #define TMR4_SCIR_ITENWH_POS (4U)
  9255. #define TMR4_SCIR_ITENWH (0x0010U)
  9256. #define TMR4_SCIR_ITENWL_POS (5U)
  9257. #define TMR4_SCIR_ITENWL (0x0020U)
  9258. #define TMR4_SCIR_ITENXH_POS (6U)
  9259. #define TMR4_SCIR_ITENXH (0x0040U)
  9260. #define TMR4_SCIR_ITENXL_POS (7U)
  9261. #define TMR4_SCIR_ITENXL (0x0080U)
  9262. /* Bit definition for TMR4_SCFR register */
  9263. #define TMR4_SCFR_SFUH_POS (0U)
  9264. #define TMR4_SCFR_SFUH (0x0001U)
  9265. #define TMR4_SCFR_SFUL_POS (1U)
  9266. #define TMR4_SCFR_SFUL (0x0002U)
  9267. #define TMR4_SCFR_SFVH_POS (2U)
  9268. #define TMR4_SCFR_SFVH (0x0004U)
  9269. #define TMR4_SCFR_SFVL_POS (3U)
  9270. #define TMR4_SCFR_SFVL (0x0008U)
  9271. #define TMR4_SCFR_SFWH_POS (4U)
  9272. #define TMR4_SCFR_SFWH (0x0010U)
  9273. #define TMR4_SCFR_SFWL_POS (5U)
  9274. #define TMR4_SCFR_SFWL (0x0020U)
  9275. #define TMR4_SCFR_SFXH_POS (6U)
  9276. #define TMR4_SCFR_SFXH (0x0040U)
  9277. #define TMR4_SCFR_SFXL_POS (7U)
  9278. #define TMR4_SCFR_SFXL (0x0080U)
  9279. /*******************************************************************************
  9280. Bit definition for Peripheral TMR6
  9281. *******************************************************************************/
  9282. /* Bit definition for TMR6_CNTER register */
  9283. #define TMR6_CNTER_CNT (0x0000FFFFUL)
  9284. /* Bit definition for TMR6_UPDAR register */
  9285. #define TMR6_UPDAR_UPDA (0x0000FFFFUL)
  9286. /* Bit definition for TMR6_PERAR register */
  9287. #define TMR6_PERAR_PERA (0x0000FFFFUL)
  9288. /* Bit definition for TMR6_PERBR register */
  9289. #define TMR6_PERBR_PERB (0x0000FFFFUL)
  9290. /* Bit definition for TMR6_PERCR register */
  9291. #define TMR6_PERCR_PERC (0x0000FFFFUL)
  9292. /* Bit definition for TMR6_GCMAR register */
  9293. #define TMR6_GCMAR_GCMA (0x0000FFFFUL)
  9294. /* Bit definition for TMR6_GCMBR register */
  9295. #define TMR6_GCMBR_GCMB (0x0000FFFFUL)
  9296. /* Bit definition for TMR6_GCMCR register */
  9297. #define TMR6_GCMCR_GCMC (0x0000FFFFUL)
  9298. /* Bit definition for TMR6_GCMDR register */
  9299. #define TMR6_GCMDR_GCMD (0x0000FFFFUL)
  9300. /* Bit definition for TMR6_GCMER register */
  9301. #define TMR6_GCMER_GCME (0x0000FFFFUL)
  9302. /* Bit definition for TMR6_GCMFR register */
  9303. #define TMR6_GCMFR_GCMF (0x0000FFFFUL)
  9304. /* Bit definition for TMR6_SCMAR register */
  9305. #define TMR6_SCMAR_SCMA (0x0000FFFFUL)
  9306. /* Bit definition for TMR6_SCMBR register */
  9307. #define TMR6_SCMBR_SCMB (0x0000FFFFUL)
  9308. /* Bit definition for TMR6_SCMCR register */
  9309. #define TMR6_SCMCR_SCMC (0x0000FFFFUL)
  9310. /* Bit definition for TMR6_SCMDR register */
  9311. #define TMR6_SCMDR_SCMD (0x0000FFFFUL)
  9312. /* Bit definition for TMR6_SCMER register */
  9313. #define TMR6_SCMER_SCME (0x0000FFFFUL)
  9314. /* Bit definition for TMR6_SCMFR register */
  9315. #define TMR6_SCMFR_SCMF (0x0000FFFFUL)
  9316. /* Bit definition for TMR6_DTUAR register */
  9317. #define TMR6_DTUAR_DTUA (0x0000FFFFUL)
  9318. /* Bit definition for TMR6_DTDAR register */
  9319. #define TMR6_DTDAR_DTDA (0x0000FFFFUL)
  9320. /* Bit definition for TMR6_DTUBR register */
  9321. #define TMR6_DTUBR_DTUB (0x0000FFFFUL)
  9322. /* Bit definition for TMR6_DTDBR register */
  9323. #define TMR6_DTDBR_DTDB (0x0000FFFFUL)
  9324. /* Bit definition for TMR6_GCONR register */
  9325. #define TMR6_GCONR_START_POS (0U)
  9326. #define TMR6_GCONR_START (0x00000001UL)
  9327. #define TMR6_GCONR_DIR_POS (1U)
  9328. #define TMR6_GCONR_DIR (0x00000002UL)
  9329. #define TMR6_GCONR_MODE_POS (2U)
  9330. #define TMR6_GCONR_MODE (0x00000004UL)
  9331. #define TMR6_GCONR_CKDIV_POS (4U)
  9332. #define TMR6_GCONR_CKDIV (0x000000F0UL)
  9333. #define TMR6_GCONR_OVSTP_POS (8U)
  9334. #define TMR6_GCONR_OVSTP (0x00000100UL)
  9335. #define TMR6_GCONR_ZMSKREV_POS (16U)
  9336. #define TMR6_GCONR_ZMSKREV (0x00010000UL)
  9337. #define TMR6_GCONR_ZMSKPOS_POS (17U)
  9338. #define TMR6_GCONR_ZMSKPOS (0x00020000UL)
  9339. #define TMR6_GCONR_ZMSKVAL_POS (18U)
  9340. #define TMR6_GCONR_ZMSKVAL (0x000C0000UL)
  9341. #define TMR6_GCONR_ZMSKVAL_0 (0x00040000UL)
  9342. #define TMR6_GCONR_ZMSKVAL_1 (0x00080000UL)
  9343. /* Bit definition for TMR6_ICONR register */
  9344. #define TMR6_ICONR_INTENA_POS (0U)
  9345. #define TMR6_ICONR_INTENA (0x00000001UL)
  9346. #define TMR6_ICONR_INTENB_POS (1U)
  9347. #define TMR6_ICONR_INTENB (0x00000002UL)
  9348. #define TMR6_ICONR_INTENC_POS (2U)
  9349. #define TMR6_ICONR_INTENC (0x00000004UL)
  9350. #define TMR6_ICONR_INTEND_POS (3U)
  9351. #define TMR6_ICONR_INTEND (0x00000008UL)
  9352. #define TMR6_ICONR_INTENE_POS (4U)
  9353. #define TMR6_ICONR_INTENE (0x00000010UL)
  9354. #define TMR6_ICONR_INTENF_POS (5U)
  9355. #define TMR6_ICONR_INTENF (0x00000020UL)
  9356. #define TMR6_ICONR_INTENOVF_POS (6U)
  9357. #define TMR6_ICONR_INTENOVF (0x00000040UL)
  9358. #define TMR6_ICONR_INTENUDF_POS (7U)
  9359. #define TMR6_ICONR_INTENUDF (0x00000080UL)
  9360. #define TMR6_ICONR_INTENDTE_POS (8U)
  9361. #define TMR6_ICONR_INTENDTE (0x00000100UL)
  9362. #define TMR6_ICONR_INTENSAU_POS (16U)
  9363. #define TMR6_ICONR_INTENSAU (0x00010000UL)
  9364. #define TMR6_ICONR_INTENSAD_POS (17U)
  9365. #define TMR6_ICONR_INTENSAD (0x00020000UL)
  9366. #define TMR6_ICONR_INTENSBU_POS (18U)
  9367. #define TMR6_ICONR_INTENSBU (0x00040000UL)
  9368. #define TMR6_ICONR_INTENSBD_POS (19U)
  9369. #define TMR6_ICONR_INTENSBD (0x00080000UL)
  9370. /* Bit definition for TMR6_BCONR register */
  9371. #define TMR6_BCONR_BENA_POS (0U)
  9372. #define TMR6_BCONR_BENA (0x00000001UL)
  9373. #define TMR6_BCONR_BSEA_POS (1U)
  9374. #define TMR6_BCONR_BSEA (0x00000002UL)
  9375. #define TMR6_BCONR_BTRUA_POS (2U)
  9376. #define TMR6_BCONR_BTRUA (0x00000004UL)
  9377. #define TMR6_BCONR_BTRDA_POS (3U)
  9378. #define TMR6_BCONR_BTRDA (0x00000008UL)
  9379. #define TMR6_BCONR_BENB_POS (4U)
  9380. #define TMR6_BCONR_BENB (0x00000010UL)
  9381. #define TMR6_BCONR_BSEB_POS (5U)
  9382. #define TMR6_BCONR_BSEB (0x00000020UL)
  9383. #define TMR6_BCONR_BTRUB_POS (6U)
  9384. #define TMR6_BCONR_BTRUB (0x00000040UL)
  9385. #define TMR6_BCONR_BTRDB_POS (7U)
  9386. #define TMR6_BCONR_BTRDB (0x00000080UL)
  9387. #define TMR6_BCONR_BENP_POS (8U)
  9388. #define TMR6_BCONR_BENP (0x00000100UL)
  9389. #define TMR6_BCONR_BSEP_POS (9U)
  9390. #define TMR6_BCONR_BSEP (0x00000200UL)
  9391. #define TMR6_BCONR_BTRUP_POS (10U)
  9392. #define TMR6_BCONR_BTRUP (0x00000400UL)
  9393. #define TMR6_BCONR_BTRDP_POS (11U)
  9394. #define TMR6_BCONR_BTRDP (0x00000800UL)
  9395. #define TMR6_BCONR_BENSPA_POS (16U)
  9396. #define TMR6_BCONR_BENSPA (0x00010000UL)
  9397. #define TMR6_BCONR_BSESPA_POS (17U)
  9398. #define TMR6_BCONR_BSESPA (0x00020000UL)
  9399. #define TMR6_BCONR_BTRUSPA_POS (18U)
  9400. #define TMR6_BCONR_BTRUSPA (0x00040000UL)
  9401. #define TMR6_BCONR_BTRDSPA_POS (19U)
  9402. #define TMR6_BCONR_BTRDSPA (0x00080000UL)
  9403. #define TMR6_BCONR_BENSPB_POS (20U)
  9404. #define TMR6_BCONR_BENSPB (0x00100000UL)
  9405. #define TMR6_BCONR_BSESPB_POS (21U)
  9406. #define TMR6_BCONR_BSESPB (0x00200000UL)
  9407. #define TMR6_BCONR_BTRUSPB_POS (22U)
  9408. #define TMR6_BCONR_BTRUSPB (0x00400000UL)
  9409. #define TMR6_BCONR_BTRDSPB_POS (23U)
  9410. #define TMR6_BCONR_BTRDSPB (0x00800000UL)
  9411. /* Bit definition for TMR6_DCONR register */
  9412. #define TMR6_DCONR_DTCEN_POS (0U)
  9413. #define TMR6_DCONR_DTCEN (0x00000001UL)
  9414. #define TMR6_DCONR_SEPA_POS (1U)
  9415. #define TMR6_DCONR_SEPA (0x00000002UL)
  9416. #define TMR6_DCONR_DTBENU_POS (4U)
  9417. #define TMR6_DCONR_DTBENU (0x00000010UL)
  9418. #define TMR6_DCONR_DTBEND_POS (5U)
  9419. #define TMR6_DCONR_DTBEND (0x00000020UL)
  9420. #define TMR6_DCONR_DTBTRU_POS (6U)
  9421. #define TMR6_DCONR_DTBTRU (0x00000040UL)
  9422. #define TMR6_DCONR_DTBTRD_POS (7U)
  9423. #define TMR6_DCONR_DTBTRD (0x00000080UL)
  9424. /* Bit definition for TMR6_PCNAR register */
  9425. #define TMR6_PCNAR_STACA_POS (0U)
  9426. #define TMR6_PCNAR_STACA (0x00000003UL)
  9427. #define TMR6_PCNAR_STACA_0 (0x00000001UL)
  9428. #define TMR6_PCNAR_STACA_1 (0x00000002UL)
  9429. #define TMR6_PCNAR_STPCA_POS (2U)
  9430. #define TMR6_PCNAR_STPCA (0x0000000CUL)
  9431. #define TMR6_PCNAR_STPCA_0 (0x00000004UL)
  9432. #define TMR6_PCNAR_STPCA_1 (0x00000008UL)
  9433. #define TMR6_PCNAR_OVFCA_POS (4U)
  9434. #define TMR6_PCNAR_OVFCA (0x00000030UL)
  9435. #define TMR6_PCNAR_OVFCA_0 (0x00000010UL)
  9436. #define TMR6_PCNAR_OVFCA_1 (0x00000020UL)
  9437. #define TMR6_PCNAR_UDFCA_POS (6U)
  9438. #define TMR6_PCNAR_UDFCA (0x000000C0UL)
  9439. #define TMR6_PCNAR_UDFCA_0 (0x00000040UL)
  9440. #define TMR6_PCNAR_UDFCA_1 (0x00000080UL)
  9441. #define TMR6_PCNAR_CMAUCA_POS (8U)
  9442. #define TMR6_PCNAR_CMAUCA (0x00000300UL)
  9443. #define TMR6_PCNAR_CMAUCA_0 (0x00000100UL)
  9444. #define TMR6_PCNAR_CMAUCA_1 (0x00000200UL)
  9445. #define TMR6_PCNAR_CMADCA_POS (10U)
  9446. #define TMR6_PCNAR_CMADCA (0x00000C00UL)
  9447. #define TMR6_PCNAR_CMADCA_0 (0x00000400UL)
  9448. #define TMR6_PCNAR_CMADCA_1 (0x00000800UL)
  9449. #define TMR6_PCNAR_CMBUCA_POS (12U)
  9450. #define TMR6_PCNAR_CMBUCA (0x00003000UL)
  9451. #define TMR6_PCNAR_CMBUCA_0 (0x00001000UL)
  9452. #define TMR6_PCNAR_CMBUCA_1 (0x00002000UL)
  9453. #define TMR6_PCNAR_CMBDCA_POS (14U)
  9454. #define TMR6_PCNAR_CMBDCA (0x0000C000UL)
  9455. #define TMR6_PCNAR_CMBDCA_0 (0x00004000UL)
  9456. #define TMR6_PCNAR_CMBDCA_1 (0x00008000UL)
  9457. #define TMR6_PCNAR_FORCA_POS (16U)
  9458. #define TMR6_PCNAR_FORCA (0x00030000UL)
  9459. #define TMR6_PCNAR_FORCA_0 (0x00010000UL)
  9460. #define TMR6_PCNAR_FORCA_1 (0x00020000UL)
  9461. #define TMR6_PCNAR_EMBCA_POS (20U)
  9462. #define TMR6_PCNAR_EMBCA (0x00300000UL)
  9463. #define TMR6_PCNAR_EMBCA_0 (0x00100000UL)
  9464. #define TMR6_PCNAR_EMBCA_1 (0x00200000UL)
  9465. #define TMR6_PCNAR_EMBRA_POS (22U)
  9466. #define TMR6_PCNAR_EMBRA (0x00C00000UL)
  9467. #define TMR6_PCNAR_EMBRA_0 (0x00400000UL)
  9468. #define TMR6_PCNAR_EMBRA_1 (0x00800000UL)
  9469. #define TMR6_PCNAR_EMBSA_POS (24U)
  9470. #define TMR6_PCNAR_EMBSA (0x03000000UL)
  9471. #define TMR6_PCNAR_EMBSA_0 (0x01000000UL)
  9472. #define TMR6_PCNAR_EMBSA_1 (0x02000000UL)
  9473. #define TMR6_PCNAR_OUTENA_POS (28U)
  9474. #define TMR6_PCNAR_OUTENA (0x10000000UL)
  9475. #define TMR6_PCNAR_CAPMDA_POS (31U)
  9476. #define TMR6_PCNAR_CAPMDA (0x80000000UL)
  9477. /* Bit definition for TMR6_PCNBR register */
  9478. #define TMR6_PCNBR_STACB_POS (0U)
  9479. #define TMR6_PCNBR_STACB (0x00000003UL)
  9480. #define TMR6_PCNBR_STACB_0 (0x00000001UL)
  9481. #define TMR6_PCNBR_STACB_1 (0x00000002UL)
  9482. #define TMR6_PCNBR_STPCB_POS (2U)
  9483. #define TMR6_PCNBR_STPCB (0x0000000CUL)
  9484. #define TMR6_PCNBR_STPCB_0 (0x00000004UL)
  9485. #define TMR6_PCNBR_STPCB_1 (0x00000008UL)
  9486. #define TMR6_PCNBR_OVFCB_POS (4U)
  9487. #define TMR6_PCNBR_OVFCB (0x00000030UL)
  9488. #define TMR6_PCNBR_OVFCB_0 (0x00000010UL)
  9489. #define TMR6_PCNBR_OVFCB_1 (0x00000020UL)
  9490. #define TMR6_PCNBR_UDFCB_POS (6U)
  9491. #define TMR6_PCNBR_UDFCB (0x000000C0UL)
  9492. #define TMR6_PCNBR_UDFCB_0 (0x00000040UL)
  9493. #define TMR6_PCNBR_UDFCB_1 (0x00000080UL)
  9494. #define TMR6_PCNBR_CMAUCB_POS (8U)
  9495. #define TMR6_PCNBR_CMAUCB (0x00000300UL)
  9496. #define TMR6_PCNBR_CMAUCB_0 (0x00000100UL)
  9497. #define TMR6_PCNBR_CMAUCB_1 (0x00000200UL)
  9498. #define TMR6_PCNBR_CMADCB_POS (10U)
  9499. #define TMR6_PCNBR_CMADCB (0x00000C00UL)
  9500. #define TMR6_PCNBR_CMADCB_0 (0x00000400UL)
  9501. #define TMR6_PCNBR_CMADCB_1 (0x00000800UL)
  9502. #define TMR6_PCNBR_CMBUCB_POS (12U)
  9503. #define TMR6_PCNBR_CMBUCB (0x00003000UL)
  9504. #define TMR6_PCNBR_CMBUCB_0 (0x00001000UL)
  9505. #define TMR6_PCNBR_CMBUCB_1 (0x00002000UL)
  9506. #define TMR6_PCNBR_CMBDCB_POS (14U)
  9507. #define TMR6_PCNBR_CMBDCB (0x0000C000UL)
  9508. #define TMR6_PCNBR_CMBDCB_0 (0x00004000UL)
  9509. #define TMR6_PCNBR_CMBDCB_1 (0x00008000UL)
  9510. #define TMR6_PCNBR_FORCB_POS (16U)
  9511. #define TMR6_PCNBR_FORCB (0x00030000UL)
  9512. #define TMR6_PCNBR_FORCB_0 (0x00010000UL)
  9513. #define TMR6_PCNBR_FORCB_1 (0x00020000UL)
  9514. #define TMR6_PCNBR_EMBCB_POS (20U)
  9515. #define TMR6_PCNBR_EMBCB (0x00300000UL)
  9516. #define TMR6_PCNBR_EMBCB_0 (0x00100000UL)
  9517. #define TMR6_PCNBR_EMBCB_1 (0x00200000UL)
  9518. #define TMR6_PCNBR_EMBRB_POS (22U)
  9519. #define TMR6_PCNBR_EMBRB (0x00C00000UL)
  9520. #define TMR6_PCNBR_EMBRB_0 (0x00400000UL)
  9521. #define TMR6_PCNBR_EMBRB_1 (0x00800000UL)
  9522. #define TMR6_PCNBR_EMBSB_POS (24U)
  9523. #define TMR6_PCNBR_EMBSB (0x03000000UL)
  9524. #define TMR6_PCNBR_EMBSB_0 (0x01000000UL)
  9525. #define TMR6_PCNBR_EMBSB_1 (0x02000000UL)
  9526. #define TMR6_PCNBR_OUTENB_POS (28U)
  9527. #define TMR6_PCNBR_OUTENB (0x10000000UL)
  9528. #define TMR6_PCNBR_CAPMDB_POS (31U)
  9529. #define TMR6_PCNBR_CAPMDB (0x80000000UL)
  9530. /* Bit definition for TMR6_FCNGR register */
  9531. #define TMR6_FCNGR_NOFIENGA_POS (0U)
  9532. #define TMR6_FCNGR_NOFIENGA (0x00000001UL)
  9533. #define TMR6_FCNGR_NOFICKGA_POS (1U)
  9534. #define TMR6_FCNGR_NOFICKGA (0x00000006UL)
  9535. #define TMR6_FCNGR_NOFICKGA_0 (0x00000002UL)
  9536. #define TMR6_FCNGR_NOFICKGA_1 (0x00000004UL)
  9537. #define TMR6_FCNGR_NOFIENGB_POS (4U)
  9538. #define TMR6_FCNGR_NOFIENGB (0x00000010UL)
  9539. #define TMR6_FCNGR_NOFICKGB_POS (5U)
  9540. #define TMR6_FCNGR_NOFICKGB (0x00000060UL)
  9541. #define TMR6_FCNGR_NOFICKGB_0 (0x00000020UL)
  9542. #define TMR6_FCNGR_NOFICKGB_1 (0x00000040UL)
  9543. /* Bit definition for TMR6_VPERR register */
  9544. #define TMR6_VPERR_SPPERIA_POS (8U)
  9545. #define TMR6_VPERR_SPPERIA (0x00000100UL)
  9546. #define TMR6_VPERR_SPPERIB_POS (9U)
  9547. #define TMR6_VPERR_SPPERIB (0x00000200UL)
  9548. #define TMR6_VPERR_PCNTE_POS (16U)
  9549. #define TMR6_VPERR_PCNTE (0x00030000UL)
  9550. #define TMR6_VPERR_PCNTE_0 (0x00010000UL)
  9551. #define TMR6_VPERR_PCNTE_1 (0x00020000UL)
  9552. #define TMR6_VPERR_PCNTS_POS (18U)
  9553. #define TMR6_VPERR_PCNTS (0x001C0000UL)
  9554. /* Bit definition for TMR6_STFLR register */
  9555. #define TMR6_STFLR_CMAF_POS (0U)
  9556. #define TMR6_STFLR_CMAF (0x00000001UL)
  9557. #define TMR6_STFLR_CMBF_POS (1U)
  9558. #define TMR6_STFLR_CMBF (0x00000002UL)
  9559. #define TMR6_STFLR_CMCF_POS (2U)
  9560. #define TMR6_STFLR_CMCF (0x00000004UL)
  9561. #define TMR6_STFLR_CMDF_POS (3U)
  9562. #define TMR6_STFLR_CMDF (0x00000008UL)
  9563. #define TMR6_STFLR_CMEF_POS (4U)
  9564. #define TMR6_STFLR_CMEF (0x00000010UL)
  9565. #define TMR6_STFLR_CMFF_POS (5U)
  9566. #define TMR6_STFLR_CMFF (0x00000020UL)
  9567. #define TMR6_STFLR_OVFF_POS (6U)
  9568. #define TMR6_STFLR_OVFF (0x00000040UL)
  9569. #define TMR6_STFLR_UDFF_POS (7U)
  9570. #define TMR6_STFLR_UDFF (0x00000080UL)
  9571. #define TMR6_STFLR_DTEF_POS (8U)
  9572. #define TMR6_STFLR_DTEF (0x00000100UL)
  9573. #define TMR6_STFLR_CMSAUF_POS (9U)
  9574. #define TMR6_STFLR_CMSAUF (0x00000200UL)
  9575. #define TMR6_STFLR_CMSADF_POS (10U)
  9576. #define TMR6_STFLR_CMSADF (0x00000400UL)
  9577. #define TMR6_STFLR_CMSBUF_POS (11U)
  9578. #define TMR6_STFLR_CMSBUF (0x00000800UL)
  9579. #define TMR6_STFLR_CMSBDF_POS (12U)
  9580. #define TMR6_STFLR_CMSBDF (0x00001000UL)
  9581. #define TMR6_STFLR_VPERNUM_POS (21U)
  9582. #define TMR6_STFLR_VPERNUM (0x00E00000UL)
  9583. #define TMR6_STFLR_CMAF2_POS (26U)
  9584. #define TMR6_STFLR_CMAF2 (0x04000000UL)
  9585. #define TMR6_STFLR_CMBF2_POS (27U)
  9586. #define TMR6_STFLR_CMBF2 (0x08000000UL)
  9587. #define TMR6_STFLR_DIRF_POS (31U)
  9588. #define TMR6_STFLR_DIRF (0x80000000UL)
  9589. /* Bit definition for TMR6_HSTAR register */
  9590. #define TMR6_HSTAR_HSTA0_POS (0U)
  9591. #define TMR6_HSTAR_HSTA0 (0x00000001UL)
  9592. #define TMR6_HSTAR_HSTA1_POS (1U)
  9593. #define TMR6_HSTAR_HSTA1 (0x00000002UL)
  9594. #define TMR6_HSTAR_HSTA2_POS (2U)
  9595. #define TMR6_HSTAR_HSTA2 (0x00000004UL)
  9596. #define TMR6_HSTAR_HSTA3_POS (3U)
  9597. #define TMR6_HSTAR_HSTA3 (0x00000008UL)
  9598. #define TMR6_HSTAR_STAS_POS (7U)
  9599. #define TMR6_HSTAR_STAS (0x00000080UL)
  9600. #define TMR6_HSTAR_HSTA8_POS (8U)
  9601. #define TMR6_HSTAR_HSTA8 (0x00000100UL)
  9602. #define TMR6_HSTAR_HSTA9_POS (9U)
  9603. #define TMR6_HSTAR_HSTA9 (0x00000200UL)
  9604. #define TMR6_HSTAR_HSTA16_POS (16U)
  9605. #define TMR6_HSTAR_HSTA16 (0x00010000UL)
  9606. #define TMR6_HSTAR_HSTA17_POS (17U)
  9607. #define TMR6_HSTAR_HSTA17 (0x00020000UL)
  9608. #define TMR6_HSTAR_HSTA18_POS (18U)
  9609. #define TMR6_HSTAR_HSTA18 (0x00040000UL)
  9610. #define TMR6_HSTAR_HSTA19_POS (19U)
  9611. #define TMR6_HSTAR_HSTA19 (0x00080000UL)
  9612. /* Bit definition for TMR6_HSTPR register */
  9613. #define TMR6_HSTPR_HSTP0_POS (0U)
  9614. #define TMR6_HSTPR_HSTP0 (0x00000001UL)
  9615. #define TMR6_HSTPR_HSTP1_POS (1U)
  9616. #define TMR6_HSTPR_HSTP1 (0x00000002UL)
  9617. #define TMR6_HSTPR_HSTP2_POS (2U)
  9618. #define TMR6_HSTPR_HSTP2 (0x00000004UL)
  9619. #define TMR6_HSTPR_HSTP3_POS (3U)
  9620. #define TMR6_HSTPR_HSTP3 (0x00000008UL)
  9621. #define TMR6_HSTPR_STPS_POS (7U)
  9622. #define TMR6_HSTPR_STPS (0x00000080UL)
  9623. #define TMR6_HSTPR_HSTP8_POS (8U)
  9624. #define TMR6_HSTPR_HSTP8 (0x00000100UL)
  9625. #define TMR6_HSTPR_HSTP9_POS (9U)
  9626. #define TMR6_HSTPR_HSTP9 (0x00000200UL)
  9627. #define TMR6_HSTPR_HSTP16_POS (16U)
  9628. #define TMR6_HSTPR_HSTP16 (0x00010000UL)
  9629. #define TMR6_HSTPR_HSTP17_POS (17U)
  9630. #define TMR6_HSTPR_HSTP17 (0x00020000UL)
  9631. #define TMR6_HSTPR_HSTP18_POS (18U)
  9632. #define TMR6_HSTPR_HSTP18 (0x00040000UL)
  9633. #define TMR6_HSTPR_HSTP19_POS (19U)
  9634. #define TMR6_HSTPR_HSTP19 (0x00080000UL)
  9635. /* Bit definition for TMR6_HCLRR register */
  9636. #define TMR6_HCLRR_HCLE0_POS (0U)
  9637. #define TMR6_HCLRR_HCLE0 (0x00000001UL)
  9638. #define TMR6_HCLRR_HCLE1_POS (1U)
  9639. #define TMR6_HCLRR_HCLE1 (0x00000002UL)
  9640. #define TMR6_HCLRR_HCLE2_POS (2U)
  9641. #define TMR6_HCLRR_HCLE2 (0x00000004UL)
  9642. #define TMR6_HCLRR_HCLE3_POS (3U)
  9643. #define TMR6_HCLRR_HCLE3 (0x00000008UL)
  9644. #define TMR6_HCLRR_CLES_POS (7U)
  9645. #define TMR6_HCLRR_CLES (0x00000080UL)
  9646. #define TMR6_HCLRR_HCLE8_POS (8U)
  9647. #define TMR6_HCLRR_HCLE8 (0x00000100UL)
  9648. #define TMR6_HCLRR_HCLE9_POS (9U)
  9649. #define TMR6_HCLRR_HCLE9 (0x00000200UL)
  9650. #define TMR6_HCLRR_HCLE16_POS (16U)
  9651. #define TMR6_HCLRR_HCLE16 (0x00010000UL)
  9652. #define TMR6_HCLRR_HCLE17_POS (17U)
  9653. #define TMR6_HCLRR_HCLE17 (0x00020000UL)
  9654. #define TMR6_HCLRR_HCLE18_POS (18U)
  9655. #define TMR6_HCLRR_HCLE18 (0x00040000UL)
  9656. #define TMR6_HCLRR_HCLE19_POS (19U)
  9657. #define TMR6_HCLRR_HCLE19 (0x00080000UL)
  9658. /* Bit definition for TMR6_HUPDR register */
  9659. #define TMR6_HUPDR_HUPD0_POS (0U)
  9660. #define TMR6_HUPDR_HUPD0 (0x00000001UL)
  9661. #define TMR6_HUPDR_HUPD1_POS (1U)
  9662. #define TMR6_HUPDR_HUPD1 (0x00000002UL)
  9663. #define TMR6_HUPDR_HUPD2_POS (2U)
  9664. #define TMR6_HUPDR_HUPD2 (0x00000004UL)
  9665. #define TMR6_HUPDR_HUPD3_POS (3U)
  9666. #define TMR6_HUPDR_HUPD3 (0x00000008UL)
  9667. #define TMR6_HUPDR_UPDS_POS (7U)
  9668. #define TMR6_HUPDR_UPDS (0x00000080UL)
  9669. #define TMR6_HUPDR_HUPD8_POS (8U)
  9670. #define TMR6_HUPDR_HUPD8 (0x00000100UL)
  9671. #define TMR6_HUPDR_HUPD9_POS (9U)
  9672. #define TMR6_HUPDR_HUPD9 (0x00000200UL)
  9673. #define TMR6_HUPDR_HUPD16_POS (16U)
  9674. #define TMR6_HUPDR_HUPD16 (0x00010000UL)
  9675. #define TMR6_HUPDR_HUPD17_POS (17U)
  9676. #define TMR6_HUPDR_HUPD17 (0x00020000UL)
  9677. #define TMR6_HUPDR_HUPD18_POS (18U)
  9678. #define TMR6_HUPDR_HUPD18 (0x00040000UL)
  9679. #define TMR6_HUPDR_HUPD19_POS (19U)
  9680. #define TMR6_HUPDR_HUPD19 (0x00080000UL)
  9681. /* Bit definition for TMR6_HCPAR register */
  9682. #define TMR6_HCPAR_HCPA0_POS (0U)
  9683. #define TMR6_HCPAR_HCPA0 (0x00000001UL)
  9684. #define TMR6_HCPAR_HCPA1_POS (1U)
  9685. #define TMR6_HCPAR_HCPA1 (0x00000002UL)
  9686. #define TMR6_HCPAR_HCPA2_POS (2U)
  9687. #define TMR6_HCPAR_HCPA2 (0x00000004UL)
  9688. #define TMR6_HCPAR_HCPA3_POS (3U)
  9689. #define TMR6_HCPAR_HCPA3 (0x00000008UL)
  9690. #define TMR6_HCPAR_HCPA8_POS (8U)
  9691. #define TMR6_HCPAR_HCPA8 (0x00000100UL)
  9692. #define TMR6_HCPAR_HCPA9_POS (9U)
  9693. #define TMR6_HCPAR_HCPA9 (0x00000200UL)
  9694. #define TMR6_HCPAR_HCPA16_POS (16U)
  9695. #define TMR6_HCPAR_HCPA16 (0x00010000UL)
  9696. #define TMR6_HCPAR_HCPA17_POS (17U)
  9697. #define TMR6_HCPAR_HCPA17 (0x00020000UL)
  9698. #define TMR6_HCPAR_HCPA18_POS (18U)
  9699. #define TMR6_HCPAR_HCPA18 (0x00040000UL)
  9700. #define TMR6_HCPAR_HCPA19_POS (19U)
  9701. #define TMR6_HCPAR_HCPA19 (0x00080000UL)
  9702. #define TMR6_HCPAR_HCPA24_POS (24U)
  9703. #define TMR6_HCPAR_HCPA24 (0x01000000UL)
  9704. #define TMR6_HCPAR_HCPA25_POS (25U)
  9705. #define TMR6_HCPAR_HCPA25 (0x02000000UL)
  9706. /* Bit definition for TMR6_HCPBR register */
  9707. #define TMR6_HCPBR_HCPB0_POS (0U)
  9708. #define TMR6_HCPBR_HCPB0 (0x00000001UL)
  9709. #define TMR6_HCPBR_HCPB1_POS (1U)
  9710. #define TMR6_HCPBR_HCPB1 (0x00000002UL)
  9711. #define TMR6_HCPBR_HCPB2_POS (2U)
  9712. #define TMR6_HCPBR_HCPB2 (0x00000004UL)
  9713. #define TMR6_HCPBR_HCPB3_POS (3U)
  9714. #define TMR6_HCPBR_HCPB3 (0x00000008UL)
  9715. #define TMR6_HCPBR_HCPB8_POS (8U)
  9716. #define TMR6_HCPBR_HCPB8 (0x00000100UL)
  9717. #define TMR6_HCPBR_HCPB9_POS (9U)
  9718. #define TMR6_HCPBR_HCPB9 (0x00000200UL)
  9719. #define TMR6_HCPBR_HCPB16_POS (16U)
  9720. #define TMR6_HCPBR_HCPB16 (0x00010000UL)
  9721. #define TMR6_HCPBR_HCPB17_POS (17U)
  9722. #define TMR6_HCPBR_HCPB17 (0x00020000UL)
  9723. #define TMR6_HCPBR_HCPB18_POS (18U)
  9724. #define TMR6_HCPBR_HCPB18 (0x00040000UL)
  9725. #define TMR6_HCPBR_HCPB19_POS (19U)
  9726. #define TMR6_HCPBR_HCPB19 (0x00080000UL)
  9727. #define TMR6_HCPBR_HCPB24_POS (24U)
  9728. #define TMR6_HCPBR_HCPB24 (0x01000000UL)
  9729. #define TMR6_HCPBR_HCPB25_POS (25U)
  9730. #define TMR6_HCPBR_HCPB25 (0x02000000UL)
  9731. /* Bit definition for TMR6_HCUPR register */
  9732. #define TMR6_HCUPR_HCUP0_POS (0U)
  9733. #define TMR6_HCUPR_HCUP0 (0x00000001UL)
  9734. #define TMR6_HCUPR_HCUP1_POS (1U)
  9735. #define TMR6_HCUPR_HCUP1 (0x00000002UL)
  9736. #define TMR6_HCUPR_HCUP2_POS (2U)
  9737. #define TMR6_HCUPR_HCUP2 (0x00000004UL)
  9738. #define TMR6_HCUPR_HCUP3_POS (3U)
  9739. #define TMR6_HCUPR_HCUP3 (0x00000008UL)
  9740. #define TMR6_HCUPR_HCUP4_POS (4U)
  9741. #define TMR6_HCUPR_HCUP4 (0x00000010UL)
  9742. #define TMR6_HCUPR_HCUP5_POS (5U)
  9743. #define TMR6_HCUPR_HCUP5 (0x00000020UL)
  9744. #define TMR6_HCUPR_HCUP6_POS (6U)
  9745. #define TMR6_HCUPR_HCUP6 (0x00000040UL)
  9746. #define TMR6_HCUPR_HCUP7_POS (7U)
  9747. #define TMR6_HCUPR_HCUP7 (0x00000080UL)
  9748. #define TMR6_HCUPR_HCUP8_POS (8U)
  9749. #define TMR6_HCUPR_HCUP8 (0x00000100UL)
  9750. #define TMR6_HCUPR_HCUP9_POS (9U)
  9751. #define TMR6_HCUPR_HCUP9 (0x00000200UL)
  9752. #define TMR6_HCUPR_HCUP16_POS (16U)
  9753. #define TMR6_HCUPR_HCUP16 (0x00010000UL)
  9754. #define TMR6_HCUPR_HCUP17_POS (17U)
  9755. #define TMR6_HCUPR_HCUP17 (0x00020000UL)
  9756. #define TMR6_HCUPR_HCUP18_POS (18U)
  9757. #define TMR6_HCUPR_HCUP18 (0x00040000UL)
  9758. #define TMR6_HCUPR_HCUP19_POS (19U)
  9759. #define TMR6_HCUPR_HCUP19 (0x00080000UL)
  9760. /* Bit definition for TMR6_HCDOR register */
  9761. #define TMR6_HCDOR_HCDO0_POS (0U)
  9762. #define TMR6_HCDOR_HCDO0 (0x00000001UL)
  9763. #define TMR6_HCDOR_HCDO1_POS (1U)
  9764. #define TMR6_HCDOR_HCDO1 (0x00000002UL)
  9765. #define TMR6_HCDOR_HCDO2_POS (2U)
  9766. #define TMR6_HCDOR_HCDO2 (0x00000004UL)
  9767. #define TMR6_HCDOR_HCDO3_POS (3U)
  9768. #define TMR6_HCDOR_HCDO3 (0x00000008UL)
  9769. #define TMR6_HCDOR_HCDO4_POS (4U)
  9770. #define TMR6_HCDOR_HCDO4 (0x00000010UL)
  9771. #define TMR6_HCDOR_HCDO5_POS (5U)
  9772. #define TMR6_HCDOR_HCDO5 (0x00000020UL)
  9773. #define TMR6_HCDOR_HCDO6_POS (6U)
  9774. #define TMR6_HCDOR_HCDO6 (0x00000040UL)
  9775. #define TMR6_HCDOR_HCDO7_POS (7U)
  9776. #define TMR6_HCDOR_HCDO7 (0x00000080UL)
  9777. #define TMR6_HCDOR_HCDO8_POS (8U)
  9778. #define TMR6_HCDOR_HCDO8 (0x00000100UL)
  9779. #define TMR6_HCDOR_HCDO9_POS (9U)
  9780. #define TMR6_HCDOR_HCDO9 (0x00000200UL)
  9781. #define TMR6_HCDOR_HCDO16_POS (16U)
  9782. #define TMR6_HCDOR_HCDO16 (0x00010000UL)
  9783. #define TMR6_HCDOR_HCDO17_POS (17U)
  9784. #define TMR6_HCDOR_HCDO17 (0x00020000UL)
  9785. #define TMR6_HCDOR_HCDO18_POS (18U)
  9786. #define TMR6_HCDOR_HCDO18 (0x00040000UL)
  9787. #define TMR6_HCDOR_HCDO19_POS (19U)
  9788. #define TMR6_HCDOR_HCDO19 (0x00080000UL)
  9789. /*******************************************************************************
  9790. Bit definition for Peripheral TMR6CR
  9791. *******************************************************************************/
  9792. /* Bit definition for TMR6CR_FCNTR register */
  9793. #define TMR6CR_FCNTR_NOFIENTA_POS (0U)
  9794. #define TMR6CR_FCNTR_NOFIENTA (0x00000001UL)
  9795. #define TMR6CR_FCNTR_NOFICKTA_POS (1U)
  9796. #define TMR6CR_FCNTR_NOFICKTA (0x00000006UL)
  9797. #define TMR6CR_FCNTR_NOFICKTA_0 (0x00000002UL)
  9798. #define TMR6CR_FCNTR_NOFICKTA_1 (0x00000004UL)
  9799. #define TMR6CR_FCNTR_NOFIENTB_POS (4U)
  9800. #define TMR6CR_FCNTR_NOFIENTB (0x00000010UL)
  9801. #define TMR6CR_FCNTR_NOFICKTB_POS (5U)
  9802. #define TMR6CR_FCNTR_NOFICKTB (0x00000060UL)
  9803. #define TMR6CR_FCNTR_NOFICKTB_0 (0x00000020UL)
  9804. #define TMR6CR_FCNTR_NOFICKTB_1 (0x00000040UL)
  9805. /* Bit definition for TMR6CR_SSTAR register */
  9806. #define TMR6CR_SSTAR_SSTA1_POS (0U)
  9807. #define TMR6CR_SSTAR_SSTA1 (0x00000001UL)
  9808. #define TMR6CR_SSTAR_SSTA2_POS (1U)
  9809. #define TMR6CR_SSTAR_SSTA2 (0x00000002UL)
  9810. /* Bit definition for TMR6CR_SSTPR register */
  9811. #define TMR6CR_SSTPR_SSTP1_POS (0U)
  9812. #define TMR6CR_SSTPR_SSTP1 (0x00000001UL)
  9813. #define TMR6CR_SSTPR_SSTP2_POS (1U)
  9814. #define TMR6CR_SSTPR_SSTP2 (0x00000002UL)
  9815. /* Bit definition for TMR6CR_SCLRR register */
  9816. #define TMR6CR_SCLRR_SCLE1_POS (0U)
  9817. #define TMR6CR_SCLRR_SCLE1 (0x00000001UL)
  9818. #define TMR6CR_SCLRR_SCLE2_POS (1U)
  9819. #define TMR6CR_SCLRR_SCLE2 (0x00000002UL)
  9820. /* Bit definition for TMR6CR_SUPDR register */
  9821. #define TMR6CR_SUPDR_SUPD1_POS (0U)
  9822. #define TMR6CR_SUPDR_SUPD1 (0x00000001UL)
  9823. #define TMR6CR_SUPDR_SUPD2_POS (1U)
  9824. #define TMR6CR_SUPDR_SUPD2 (0x00000002UL)
  9825. /*******************************************************************************
  9826. Bit definition for Peripheral TMRA
  9827. *******************************************************************************/
  9828. /* Bit definition for TMRA_CNTER register */
  9829. #define TMRA_CNTER_CNT (0xFFFFFFFFUL)
  9830. /* Bit definition for TMRA_PERAR register */
  9831. #define TMRA_PERAR_PER (0xFFFFFFFFUL)
  9832. /* Bit definition for TMRA_CMPAR register */
  9833. #define TMRA_CMPAR_CMP (0xFFFFFFFFUL)
  9834. /* Bit definition for TMRA_BCSTR register */
  9835. #define TMRA_BCSTR_START_POS (0U)
  9836. #define TMRA_BCSTR_START (0x0001U)
  9837. #define TMRA_BCSTR_DIR_POS (1U)
  9838. #define TMRA_BCSTR_DIR (0x0002U)
  9839. #define TMRA_BCSTR_MODE_POS (2U)
  9840. #define TMRA_BCSTR_MODE (0x0004U)
  9841. #define TMRA_BCSTR_SYNST_POS (3U)
  9842. #define TMRA_BCSTR_SYNST (0x0008U)
  9843. #define TMRA_BCSTR_CKDIV_POS (4U)
  9844. #define TMRA_BCSTR_CKDIV (0x00F0U)
  9845. #define TMRA_BCSTR_OVSTP_POS (8U)
  9846. #define TMRA_BCSTR_OVSTP (0x0100U)
  9847. #define TMRA_BCSTR_ITENOVF_POS (12U)
  9848. #define TMRA_BCSTR_ITENOVF (0x1000U)
  9849. #define TMRA_BCSTR_ITENUDF_POS (13U)
  9850. #define TMRA_BCSTR_ITENUDF (0x2000U)
  9851. #define TMRA_BCSTR_OVFF_POS (14U)
  9852. #define TMRA_BCSTR_OVFF (0x4000U)
  9853. #define TMRA_BCSTR_UDFF_POS (15U)
  9854. #define TMRA_BCSTR_UDFF (0x8000U)
  9855. /* Bit definition for TMRA_HCONR register */
  9856. #define TMRA_HCONR_HSTA0_POS (0U)
  9857. #define TMRA_HCONR_HSTA0 (0x0001U)
  9858. #define TMRA_HCONR_HSTA1_POS (1U)
  9859. #define TMRA_HCONR_HSTA1 (0x0002U)
  9860. #define TMRA_HCONR_HSTA2_POS (2U)
  9861. #define TMRA_HCONR_HSTA2 (0x0004U)
  9862. #define TMRA_HCONR_HSTP0_POS (4U)
  9863. #define TMRA_HCONR_HSTP0 (0x0010U)
  9864. #define TMRA_HCONR_HSTP1_POS (5U)
  9865. #define TMRA_HCONR_HSTP1 (0x0020U)
  9866. #define TMRA_HCONR_HSTP2_POS (6U)
  9867. #define TMRA_HCONR_HSTP2 (0x0040U)
  9868. #define TMRA_HCONR_HCLE0_POS (8U)
  9869. #define TMRA_HCONR_HCLE0 (0x0100U)
  9870. #define TMRA_HCONR_HCLE1_POS (9U)
  9871. #define TMRA_HCONR_HCLE1 (0x0200U)
  9872. #define TMRA_HCONR_HCLE2_POS (10U)
  9873. #define TMRA_HCONR_HCLE2 (0x0400U)
  9874. #define TMRA_HCONR_HCLE3_POS (12U)
  9875. #define TMRA_HCONR_HCLE3 (0x1000U)
  9876. #define TMRA_HCONR_HCLE4_POS (13U)
  9877. #define TMRA_HCONR_HCLE4 (0x2000U)
  9878. #define TMRA_HCONR_HCLE5_POS (14U)
  9879. #define TMRA_HCONR_HCLE5 (0x4000U)
  9880. #define TMRA_HCONR_HCLE6_POS (15U)
  9881. #define TMRA_HCONR_HCLE6 (0x8000U)
  9882. /* Bit definition for TMRA_HCUPR register */
  9883. #define TMRA_HCUPR_HCUP0_POS (0U)
  9884. #define TMRA_HCUPR_HCUP0 (0x0001U)
  9885. #define TMRA_HCUPR_HCUP1_POS (1U)
  9886. #define TMRA_HCUPR_HCUP1 (0x0002U)
  9887. #define TMRA_HCUPR_HCUP2_POS (2U)
  9888. #define TMRA_HCUPR_HCUP2 (0x0004U)
  9889. #define TMRA_HCUPR_HCUP3_POS (3U)
  9890. #define TMRA_HCUPR_HCUP3 (0x0008U)
  9891. #define TMRA_HCUPR_HCUP4_POS (4U)
  9892. #define TMRA_HCUPR_HCUP4 (0x0010U)
  9893. #define TMRA_HCUPR_HCUP5_POS (5U)
  9894. #define TMRA_HCUPR_HCUP5 (0x0020U)
  9895. #define TMRA_HCUPR_HCUP6_POS (6U)
  9896. #define TMRA_HCUPR_HCUP6 (0x0040U)
  9897. #define TMRA_HCUPR_HCUP7_POS (7U)
  9898. #define TMRA_HCUPR_HCUP7 (0x0080U)
  9899. #define TMRA_HCUPR_HCUP8_POS (8U)
  9900. #define TMRA_HCUPR_HCUP8 (0x0100U)
  9901. #define TMRA_HCUPR_HCUP9_POS (9U)
  9902. #define TMRA_HCUPR_HCUP9 (0x0200U)
  9903. #define TMRA_HCUPR_HCUP10_POS (10U)
  9904. #define TMRA_HCUPR_HCUP10 (0x0400U)
  9905. #define TMRA_HCUPR_HCUP11_POS (11U)
  9906. #define TMRA_HCUPR_HCUP11 (0x0800U)
  9907. #define TMRA_HCUPR_HCUP12_POS (12U)
  9908. #define TMRA_HCUPR_HCUP12 (0x1000U)
  9909. /* Bit definition for TMRA_HCDOR register */
  9910. #define TMRA_HCDOR_HCDO0_POS (0U)
  9911. #define TMRA_HCDOR_HCDO0 (0x0001U)
  9912. #define TMRA_HCDOR_HCDO1_POS (1U)
  9913. #define TMRA_HCDOR_HCDO1 (0x0002U)
  9914. #define TMRA_HCDOR_HCDO2_POS (2U)
  9915. #define TMRA_HCDOR_HCDO2 (0x0004U)
  9916. #define TMRA_HCDOR_HCDO3_POS (3U)
  9917. #define TMRA_HCDOR_HCDO3 (0x0008U)
  9918. #define TMRA_HCDOR_HCDO4_POS (4U)
  9919. #define TMRA_HCDOR_HCDO4 (0x0010U)
  9920. #define TMRA_HCDOR_HCDO5_POS (5U)
  9921. #define TMRA_HCDOR_HCDO5 (0x0020U)
  9922. #define TMRA_HCDOR_HCDO6_POS (6U)
  9923. #define TMRA_HCDOR_HCDO6 (0x0040U)
  9924. #define TMRA_HCDOR_HCDO7_POS (7U)
  9925. #define TMRA_HCDOR_HCDO7 (0x0080U)
  9926. #define TMRA_HCDOR_HCDO8_POS (8U)
  9927. #define TMRA_HCDOR_HCDO8 (0x0100U)
  9928. #define TMRA_HCDOR_HCDO9_POS (9U)
  9929. #define TMRA_HCDOR_HCDO9 (0x0200U)
  9930. #define TMRA_HCDOR_HCDO10_POS (10U)
  9931. #define TMRA_HCDOR_HCDO10 (0x0400U)
  9932. #define TMRA_HCDOR_HCDO11_POS (11U)
  9933. #define TMRA_HCDOR_HCDO11 (0x0800U)
  9934. #define TMRA_HCDOR_HCDO12_POS (12U)
  9935. #define TMRA_HCDOR_HCDO12 (0x1000U)
  9936. /* Bit definition for TMRA_ICONR register */
  9937. #define TMRA_ICONR_ITEN1_POS (0U)
  9938. #define TMRA_ICONR_ITEN1 (0x0001U)
  9939. #define TMRA_ICONR_ITEN2_POS (1U)
  9940. #define TMRA_ICONR_ITEN2 (0x0002U)
  9941. #define TMRA_ICONR_ITEN3_POS (2U)
  9942. #define TMRA_ICONR_ITEN3 (0x0004U)
  9943. #define TMRA_ICONR_ITEN4_POS (3U)
  9944. #define TMRA_ICONR_ITEN4 (0x0008U)
  9945. #define TMRA_ICONR_ITEN5_POS (4U)
  9946. #define TMRA_ICONR_ITEN5 (0x0010U)
  9947. #define TMRA_ICONR_ITEN6_POS (5U)
  9948. #define TMRA_ICONR_ITEN6 (0x0020U)
  9949. #define TMRA_ICONR_ITEN7_POS (6U)
  9950. #define TMRA_ICONR_ITEN7 (0x0040U)
  9951. #define TMRA_ICONR_ITEN8_POS (7U)
  9952. #define TMRA_ICONR_ITEN8 (0x0080U)
  9953. /* Bit definition for TMRA_ECONR register */
  9954. #define TMRA_ECONR_ETEN1_POS (0U)
  9955. #define TMRA_ECONR_ETEN1 (0x0001U)
  9956. #define TMRA_ECONR_ETEN2_POS (1U)
  9957. #define TMRA_ECONR_ETEN2 (0x0002U)
  9958. #define TMRA_ECONR_ETEN3_POS (2U)
  9959. #define TMRA_ECONR_ETEN3 (0x0004U)
  9960. #define TMRA_ECONR_ETEN4_POS (3U)
  9961. #define TMRA_ECONR_ETEN4 (0x0008U)
  9962. #define TMRA_ECONR_ETEN5_POS (4U)
  9963. #define TMRA_ECONR_ETEN5 (0x0010U)
  9964. #define TMRA_ECONR_ETEN6_POS (5U)
  9965. #define TMRA_ECONR_ETEN6 (0x0020U)
  9966. #define TMRA_ECONR_ETEN7_POS (6U)
  9967. #define TMRA_ECONR_ETEN7 (0x0040U)
  9968. #define TMRA_ECONR_ETEN8_POS (7U)
  9969. #define TMRA_ECONR_ETEN8 (0x0080U)
  9970. /* Bit definition for TMRA_FCONR register */
  9971. #define TMRA_FCONR_NOFIENTG_POS (0U)
  9972. #define TMRA_FCONR_NOFIENTG (0x0001U)
  9973. #define TMRA_FCONR_NOFICKTG_POS (1U)
  9974. #define TMRA_FCONR_NOFICKTG (0x0006U)
  9975. #define TMRA_FCONR_NOFIENCA_POS (8U)
  9976. #define TMRA_FCONR_NOFIENCA (0x0100U)
  9977. #define TMRA_FCONR_NOFICKCA_POS (9U)
  9978. #define TMRA_FCONR_NOFICKCA (0x0600U)
  9979. #define TMRA_FCONR_NOFIENCB_POS (12U)
  9980. #define TMRA_FCONR_NOFIENCB (0x1000U)
  9981. #define TMRA_FCONR_NOFICKCB_POS (13U)
  9982. #define TMRA_FCONR_NOFICKCB (0x6000U)
  9983. /* Bit definition for TMRA_STFLR register */
  9984. #define TMRA_STFLR_CMPF1_POS (0U)
  9985. #define TMRA_STFLR_CMPF1 (0x0001U)
  9986. #define TMRA_STFLR_CMPF2_POS (1U)
  9987. #define TMRA_STFLR_CMPF2 (0x0002U)
  9988. #define TMRA_STFLR_CMPF3_POS (2U)
  9989. #define TMRA_STFLR_CMPF3 (0x0004U)
  9990. #define TMRA_STFLR_CMPF4_POS (3U)
  9991. #define TMRA_STFLR_CMPF4 (0x0008U)
  9992. #define TMRA_STFLR_CMPF5_POS (4U)
  9993. #define TMRA_STFLR_CMPF5 (0x0010U)
  9994. #define TMRA_STFLR_CMPF6_POS (5U)
  9995. #define TMRA_STFLR_CMPF6 (0x0020U)
  9996. #define TMRA_STFLR_CMPF7_POS (6U)
  9997. #define TMRA_STFLR_CMPF7 (0x0040U)
  9998. #define TMRA_STFLR_CMPF8_POS (7U)
  9999. #define TMRA_STFLR_CMPF8 (0x0080U)
  10000. #define TMRA_STFLR_ICPF1_POS (8U)
  10001. #define TMRA_STFLR_ICPF1 (0x0100U)
  10002. #define TMRA_STFLR_ICPF2_POS (9U)
  10003. #define TMRA_STFLR_ICPF2 (0x0200U)
  10004. #define TMRA_STFLR_ICPF3_POS (10U)
  10005. #define TMRA_STFLR_ICPF3 (0x0400U)
  10006. #define TMRA_STFLR_ICPF4_POS (11U)
  10007. #define TMRA_STFLR_ICPF4 (0x0800U)
  10008. #define TMRA_STFLR_ICPF5_POS (12U)
  10009. #define TMRA_STFLR_ICPF5 (0x1000U)
  10010. #define TMRA_STFLR_ICPF6_POS (13U)
  10011. #define TMRA_STFLR_ICPF6 (0x2000U)
  10012. #define TMRA_STFLR_ICPF7_POS (14U)
  10013. #define TMRA_STFLR_ICPF7 (0x4000U)
  10014. #define TMRA_STFLR_ICPF8_POS (15U)
  10015. #define TMRA_STFLR_ICPF8 (0x8000U)
  10016. /* Bit definition for TMRA_BCONR register */
  10017. #define TMRA_BCONR_BEN_POS (0U)
  10018. #define TMRA_BCONR_BEN (0x0001U)
  10019. #define TMRA_BCONR_BSE0_POS (1U)
  10020. #define TMRA_BCONR_BSE0 (0x0002U)
  10021. #define TMRA_BCONR_BSE1_POS (2U)
  10022. #define TMRA_BCONR_BSE1 (0x0004U)
  10023. /* Bit definition for TMRA_CCONR register */
  10024. #define TMRA_CCONR_CAPMD_POS (0U)
  10025. #define TMRA_CCONR_CAPMD (0x0001U)
  10026. #define TMRA_CCONR_HICP0_POS (4U)
  10027. #define TMRA_CCONR_HICP0 (0x0010U)
  10028. #define TMRA_CCONR_HICP1_POS (5U)
  10029. #define TMRA_CCONR_HICP1 (0x0020U)
  10030. #define TMRA_CCONR_HICP2_POS (6U)
  10031. #define TMRA_CCONR_HICP2 (0x0040U)
  10032. #define TMRA_CCONR_HICP3_POS (8U)
  10033. #define TMRA_CCONR_HICP3 (0x0100U)
  10034. #define TMRA_CCONR_HICP4_POS (9U)
  10035. #define TMRA_CCONR_HICP4 (0x0200U)
  10036. #define TMRA_CCONR_HICP5_POS (10U)
  10037. #define TMRA_CCONR_HICP5 (0x0400U)
  10038. #define TMRA_CCONR_HICP6_POS (11U)
  10039. #define TMRA_CCONR_HICP6 (0x0800U)
  10040. #define TMRA_CCONR_NOFIENCP_POS (12U)
  10041. #define TMRA_CCONR_NOFIENCP (0x1000U)
  10042. #define TMRA_CCONR_NOFICKCP_POS (13U)
  10043. #define TMRA_CCONR_NOFICKCP (0x6000U)
  10044. #define TMRA_CCONR_NOFICKCP_0 (0x2000U)
  10045. #define TMRA_CCONR_NOFICKCP_1 (0x4000U)
  10046. /* Bit definition for TMRA_PCONR register */
  10047. #define TMRA_PCONR_STAC_POS (0U)
  10048. #define TMRA_PCONR_STAC (0x0003U)
  10049. #define TMRA_PCONR_STAC_0 (0x0001U)
  10050. #define TMRA_PCONR_STAC_1 (0x0002U)
  10051. #define TMRA_PCONR_STPC_POS (2U)
  10052. #define TMRA_PCONR_STPC (0x000CU)
  10053. #define TMRA_PCONR_STPC_0 (0x0004U)
  10054. #define TMRA_PCONR_STPC_1 (0x0008U)
  10055. #define TMRA_PCONR_CMPC_POS (4U)
  10056. #define TMRA_PCONR_CMPC (0x0030U)
  10057. #define TMRA_PCONR_CMPC_0 (0x0010U)
  10058. #define TMRA_PCONR_CMPC_1 (0x0020U)
  10059. #define TMRA_PCONR_PERC_POS (6U)
  10060. #define TMRA_PCONR_PERC (0x00C0U)
  10061. #define TMRA_PCONR_PERC_0 (0x0040U)
  10062. #define TMRA_PCONR_PERC_1 (0x0080U)
  10063. #define TMRA_PCONR_FORC_POS (8U)
  10064. #define TMRA_PCONR_FORC (0x0300U)
  10065. #define TMRA_PCONR_FORC_0 (0x0100U)
  10066. #define TMRA_PCONR_FORC_1 (0x0200U)
  10067. #define TMRA_PCONR_OUTEN_POS (12U)
  10068. #define TMRA_PCONR_OUTEN (0x1000U)
  10069. /*******************************************************************************
  10070. Bit definition for Peripheral TRNG
  10071. *******************************************************************************/
  10072. /* Bit definition for TRNG_CR register */
  10073. #define TRNG_CR_END_POS (0U)
  10074. #define TRNG_CR_END (0x00000001UL)
  10075. #define TRNG_CR_RUN_POS (1U)
  10076. #define TRNG_CR_RUN (0x00000002UL)
  10077. /* Bit definition for TRNG_MR register */
  10078. #define TRNG_MR_LOAD_POS (0U)
  10079. #define TRNG_MR_LOAD (0x00000001UL)
  10080. #define TRNG_MR_CNT_POS (2U)
  10081. #define TRNG_MR_CNT (0x0000001CUL)
  10082. /* Bit definition for TRNG_DR0 register */
  10083. #define TRNG_DR0 (0xFFFFFFFFUL)
  10084. /* Bit definition for TRNG_DR1 register */
  10085. #define TRNG_DR1 (0xFFFFFFFFUL)
  10086. /*******************************************************************************
  10087. Bit definition for Peripheral USART
  10088. *******************************************************************************/
  10089. /* Bit definition for USART_SR register */
  10090. #define USART_SR_PE_POS (0U)
  10091. #define USART_SR_PE (0x00000001UL)
  10092. #define USART_SR_FE_POS (1U)
  10093. #define USART_SR_FE (0x00000002UL)
  10094. #define USART_SR_ORE_POS (3U)
  10095. #define USART_SR_ORE (0x00000008UL)
  10096. #define USART_SR_BE_POS (4U)
  10097. #define USART_SR_BE (0x00000010UL)
  10098. #define USART_SR_RXNE_POS (5U)
  10099. #define USART_SR_RXNE (0x00000020UL)
  10100. #define USART_SR_TC_POS (6U)
  10101. #define USART_SR_TC (0x00000040UL)
  10102. #define USART_SR_TXE_POS (7U)
  10103. #define USART_SR_TXE (0x00000080UL)
  10104. #define USART_SR_RTOF_POS (8U)
  10105. #define USART_SR_RTOF (0x00000100UL)
  10106. #define USART_SR_WKUP_POS (9U)
  10107. #define USART_SR_WKUP (0x00000200UL)
  10108. #define USART_SR_LBD_POS (10U)
  10109. #define USART_SR_LBD (0x00000400UL)
  10110. #define USART_SR_TEND_POS (11U)
  10111. #define USART_SR_TEND (0x00000800UL)
  10112. #define USART_SR_MPB_POS (16U)
  10113. #define USART_SR_MPB (0x00010000UL)
  10114. /* Bit definition for USART_DR register */
  10115. #define USART_DR_TDR_POS (0U)
  10116. #define USART_DR_TDR (0x000001FFUL)
  10117. #define USART_DR_MPID_POS (9U)
  10118. #define USART_DR_MPID (0x00000200UL)
  10119. #define USART_DR_RDR_POS (16U)
  10120. #define USART_DR_RDR (0x01FF0000UL)
  10121. /* Bit definition for USART_BRR register */
  10122. #define USART_BRR_DIV_FRACTION_POS (0U)
  10123. #define USART_BRR_DIV_FRACTION (0x0000007FUL)
  10124. #define USART_BRR_DIV_INTEGER_POS (8U)
  10125. #define USART_BRR_DIV_INTEGER (0x0000FF00UL)
  10126. /* Bit definition for USART_CR1 register */
  10127. #define USART_CR1_RTOE_POS (0U)
  10128. #define USART_CR1_RTOE (0x00000001UL)
  10129. #define USART_CR1_RTOIE_POS (1U)
  10130. #define USART_CR1_RTOIE (0x00000002UL)
  10131. #define USART_CR1_RE_POS (2U)
  10132. #define USART_CR1_RE (0x00000004UL)
  10133. #define USART_CR1_TE_POS (3U)
  10134. #define USART_CR1_TE (0x00000008UL)
  10135. #define USART_CR1_SLME_POS (4U)
  10136. #define USART_CR1_SLME (0x00000010UL)
  10137. #define USART_CR1_RIE_POS (5U)
  10138. #define USART_CR1_RIE (0x00000020UL)
  10139. #define USART_CR1_TCIE_POS (6U)
  10140. #define USART_CR1_TCIE (0x00000040UL)
  10141. #define USART_CR1_TXEIE_POS (7U)
  10142. #define USART_CR1_TXEIE (0x00000080UL)
  10143. #define USART_CR1_TENDIE_POS (8U)
  10144. #define USART_CR1_TENDIE (0x00000100UL)
  10145. #define USART_CR1_PS_POS (9U)
  10146. #define USART_CR1_PS (0x00000200UL)
  10147. #define USART_CR1_PCE_POS (10U)
  10148. #define USART_CR1_PCE (0x00000400UL)
  10149. #define USART_CR1_M_POS (12U)
  10150. #define USART_CR1_M (0x00001000UL)
  10151. #define USART_CR1_OVER8_POS (15U)
  10152. #define USART_CR1_OVER8 (0x00008000UL)
  10153. #define USART_CR1_CPE_POS (16U)
  10154. #define USART_CR1_CPE (0x00010000UL)
  10155. #define USART_CR1_CFE_POS (17U)
  10156. #define USART_CR1_CFE (0x00020000UL)
  10157. #define USART_CR1_CORE_POS (19U)
  10158. #define USART_CR1_CORE (0x00080000UL)
  10159. #define USART_CR1_CRTOF_POS (20U)
  10160. #define USART_CR1_CRTOF (0x00100000UL)
  10161. #define USART_CR1_CBE_POS (21U)
  10162. #define USART_CR1_CBE (0x00200000UL)
  10163. #define USART_CR1_CWKUP_POS (22U)
  10164. #define USART_CR1_CWKUP (0x00400000UL)
  10165. #define USART_CR1_CLBD_POS (23U)
  10166. #define USART_CR1_CLBD (0x00800000UL)
  10167. #define USART_CR1_MS_POS (24U)
  10168. #define USART_CR1_MS (0x01000000UL)
  10169. #define USART_CR1_CTEND_POS (25U)
  10170. #define USART_CR1_CTEND (0x02000000UL)
  10171. #define USART_CR1_ML_POS (28U)
  10172. #define USART_CR1_ML (0x10000000UL)
  10173. #define USART_CR1_FBME_POS (29U)
  10174. #define USART_CR1_FBME (0x20000000UL)
  10175. #define USART_CR1_NFE_POS (30U)
  10176. #define USART_CR1_NFE (0x40000000UL)
  10177. #define USART_CR1_SBS_POS (31U)
  10178. #define USART_CR1_SBS (0x80000000UL)
  10179. /* Bit definition for USART_CR2 register */
  10180. #define USART_CR2_MPE_POS (0U)
  10181. #define USART_CR2_MPE (0x00000001UL)
  10182. #define USART_CR2_WKUPIE_POS (1U)
  10183. #define USART_CR2_WKUPIE (0x00000002UL)
  10184. #define USART_CR2_BEIE_POS (2U)
  10185. #define USART_CR2_BEIE (0x00000004UL)
  10186. #define USART_CR2_BEE_POS (3U)
  10187. #define USART_CR2_BEE (0x00000008UL)
  10188. #define USART_CR2_LBDIE_POS (4U)
  10189. #define USART_CR2_LBDIE (0x00000010UL)
  10190. #define USART_CR2_LBDL_POS (5U)
  10191. #define USART_CR2_LBDL (0x00000020UL)
  10192. #define USART_CR2_SBKL_POS (6U)
  10193. #define USART_CR2_SBKL (0x000000C0UL)
  10194. #define USART_CR2_SBKL_0 (0x00000040UL)
  10195. #define USART_CR2_SBKL_1 (0x00000080UL)
  10196. #define USART_CR2_WKUPE_POS (8U)
  10197. #define USART_CR2_WKUPE (0x00000100UL)
  10198. #define USART_CR2_CLKC_POS (11U)
  10199. #define USART_CR2_CLKC (0x00001800UL)
  10200. #define USART_CR2_CLKC_0 (0x00000800UL)
  10201. #define USART_CR2_CLKC_1 (0x00001000UL)
  10202. #define USART_CR2_STOP_POS (13U)
  10203. #define USART_CR2_STOP (0x00002000UL)
  10204. #define USART_CR2_LINEN_POS (14U)
  10205. #define USART_CR2_LINEN (0x00004000UL)
  10206. #define USART_CR2_SBK_POS (16U)
  10207. #define USART_CR2_SBK (0x00010000UL)
  10208. #define USART_CR2_SBKM_POS (17U)
  10209. #define USART_CR2_SBKM (0x00020000UL)
  10210. /* Bit definition for USART_CR3 register */
  10211. #define USART_CR3_HDSEL_POS (3U)
  10212. #define USART_CR3_HDSEL (0x00000008UL)
  10213. #define USART_CR3_LOOP_POS (4U)
  10214. #define USART_CR3_LOOP (0x00000010UL)
  10215. #define USART_CR3_SCEN_POS (5U)
  10216. #define USART_CR3_SCEN (0x00000020UL)
  10217. #define USART_CR3_RTSE_POS (8U)
  10218. #define USART_CR3_RTSE (0x00000100UL)
  10219. #define USART_CR3_CTSE_POS (9U)
  10220. #define USART_CR3_CTSE (0x00000200UL)
  10221. #define USART_CR3_BCN_POS (21U)
  10222. #define USART_CR3_BCN (0x00E00000UL)
  10223. #define USART_CR3_BCN_0 (0x00200000UL)
  10224. #define USART_CR3_BCN_1 (0x00400000UL)
  10225. #define USART_CR3_BCN_2 (0x00800000UL)
  10226. /* Bit definition for USART_PR register */
  10227. #define USART_PR_PSC_POS (0U)
  10228. #define USART_PR_PSC (0x00000003UL)
  10229. #define USART_PR_PSC_0 (0x00000001UL)
  10230. #define USART_PR_PSC_1 (0x00000002UL)
  10231. #define USART_PR_LBMPSC_POS (2U)
  10232. #define USART_PR_LBMPSC (0x0000000CUL)
  10233. #define USART_PR_LBMPSC_0 (0x00000004UL)
  10234. #define USART_PR_LBMPSC_1 (0x00000008UL)
  10235. #define USART_PR_ULBREN_POS (4U)
  10236. #define USART_PR_ULBREN (0x00000010UL)
  10237. /* Bit definition for USART_LBMC register */
  10238. #define USART_LBMC_LBMC (0x0000FFFFUL)
  10239. #define USART_LBMC_LBMC_0 (0x00000001UL)
  10240. #define USART_LBMC_LBMC_1 (0x00000002UL)
  10241. #define USART_LBMC_LBMC_2 (0x00000004UL)
  10242. #define USART_LBMC_LBMC_3 (0x00000008UL)
  10243. #define USART_LBMC_LBMC_4 (0x00000010UL)
  10244. #define USART_LBMC_LBMC_5 (0x00000020UL)
  10245. #define USART_LBMC_LBMC_6 (0x00000040UL)
  10246. #define USART_LBMC_LBMC_7 (0x00000080UL)
  10247. #define USART_LBMC_LBMC_8 (0x00000100UL)
  10248. #define USART_LBMC_LBMC_9 (0x00000200UL)
  10249. #define USART_LBMC_LBMC_10 (0x00000400UL)
  10250. #define USART_LBMC_LBMC_11 (0x00000800UL)
  10251. #define USART_LBMC_LBMC_12 (0x00001000UL)
  10252. #define USART_LBMC_LBMC_13 (0x00002000UL)
  10253. #define USART_LBMC_LBMC_14 (0x00004000UL)
  10254. #define USART_LBMC_LBMC_15 (0x00008000UL)
  10255. /*******************************************************************************
  10256. Bit definition for Peripheral WDT
  10257. *******************************************************************************/
  10258. /* Bit definition for WDT_CR register */
  10259. #define WDT_CR_PERI_POS (0U)
  10260. #define WDT_CR_PERI (0x00000003UL)
  10261. #define WDT_CR_PERI_0 (0x00000001UL)
  10262. #define WDT_CR_PERI_1 (0x00000002UL)
  10263. #define WDT_CR_CKS_POS (4U)
  10264. #define WDT_CR_CKS (0x000000F0UL)
  10265. #define WDT_CR_CKS_0 (0x00000010UL)
  10266. #define WDT_CR_CKS_1 (0x00000020UL)
  10267. #define WDT_CR_CKS_2 (0x00000040UL)
  10268. #define WDT_CR_CKS_3 (0x00000080UL)
  10269. #define WDT_CR_WDPT_POS (8U)
  10270. #define WDT_CR_WDPT (0x00000F00UL)
  10271. #define WDT_CR_WDPT_0 (0x00000100UL)
  10272. #define WDT_CR_WDPT_1 (0x00000200UL)
  10273. #define WDT_CR_WDPT_2 (0x00000400UL)
  10274. #define WDT_CR_WDPT_3 (0x00000800UL)
  10275. #define WDT_CR_SLPOFF_POS (16U)
  10276. #define WDT_CR_SLPOFF (0x00010000UL)
  10277. #define WDT_CR_ITS_POS (31U)
  10278. #define WDT_CR_ITS (0x80000000UL)
  10279. /* Bit definition for WDT_SR register */
  10280. #define WDT_SR_CNT_POS (0U)
  10281. #define WDT_SR_CNT (0x0000FFFFUL)
  10282. #define WDT_SR_CNT_0 (0x00000001UL)
  10283. #define WDT_SR_CNT_1 (0x00000002UL)
  10284. #define WDT_SR_CNT_2 (0x00000004UL)
  10285. #define WDT_SR_CNT_3 (0x00000008UL)
  10286. #define WDT_SR_CNT_4 (0x00000010UL)
  10287. #define WDT_SR_CNT_5 (0x00000020UL)
  10288. #define WDT_SR_CNT_6 (0x00000040UL)
  10289. #define WDT_SR_CNT_7 (0x00000080UL)
  10290. #define WDT_SR_CNT_8 (0x00000100UL)
  10291. #define WDT_SR_CNT_9 (0x00000200UL)
  10292. #define WDT_SR_CNT_10 (0x00000400UL)
  10293. #define WDT_SR_CNT_11 (0x00000800UL)
  10294. #define WDT_SR_CNT_12 (0x00001000UL)
  10295. #define WDT_SR_CNT_13 (0x00002000UL)
  10296. #define WDT_SR_CNT_14 (0x00004000UL)
  10297. #define WDT_SR_CNT_15 (0x00008000UL)
  10298. #define WDT_SR_UDF_POS (16U)
  10299. #define WDT_SR_UDF (0x00010000UL)
  10300. #define WDT_SR_REF_POS (17U)
  10301. #define WDT_SR_REF (0x00020000UL)
  10302. /* Bit definition for WDT_RR register */
  10303. #define WDT_RR_RF (0x0000FFFFUL)
  10304. #define WDT_RR_RF_0 (0x00000001UL)
  10305. #define WDT_RR_RF_1 (0x00000002UL)
  10306. #define WDT_RR_RF_2 (0x00000004UL)
  10307. #define WDT_RR_RF_3 (0x00000008UL)
  10308. #define WDT_RR_RF_4 (0x00000010UL)
  10309. #define WDT_RR_RF_5 (0x00000020UL)
  10310. #define WDT_RR_RF_6 (0x00000040UL)
  10311. #define WDT_RR_RF_7 (0x00000080UL)
  10312. #define WDT_RR_RF_8 (0x00000100UL)
  10313. #define WDT_RR_RF_9 (0x00000200UL)
  10314. #define WDT_RR_RF_10 (0x00000400UL)
  10315. #define WDT_RR_RF_11 (0x00000800UL)
  10316. #define WDT_RR_RF_12 (0x00001000UL)
  10317. #define WDT_RR_RF_13 (0x00002000UL)
  10318. #define WDT_RR_RF_14 (0x00004000UL)
  10319. #define WDT_RR_RF_15 (0x00008000UL)
  10320. /******************************************************************************/
  10321. /* Device Specific Registers bit_band structure */
  10322. /******************************************************************************/
  10323. typedef struct {
  10324. __IO uint32_t STRT;
  10325. uint32_t RESERVED0[7];
  10326. } stc_adc_str_bit_t;
  10327. typedef struct {
  10328. uint32_t RESERVED0[4];
  10329. __IO uint32_t ACCSEL0;
  10330. __IO uint32_t ACCSEL1;
  10331. __IO uint32_t CLREN;
  10332. __IO uint32_t DFMT;
  10333. uint32_t RESERVED1[8];
  10334. } stc_adc_cr0_bit_t;
  10335. typedef struct {
  10336. uint32_t RESERVED0[2];
  10337. __IO uint32_t RSCHSEL;
  10338. uint32_t RESERVED1[13];
  10339. } stc_adc_cr1_bit_t;
  10340. typedef struct {
  10341. uint32_t RESERVED0[12];
  10342. __IO uint32_t OVSMOD;
  10343. uint32_t RESERVED1[3];
  10344. } stc_adc_cr2_bit_t;
  10345. typedef struct {
  10346. __IO uint32_t TRGSELA0;
  10347. __IO uint32_t TRGSELA1;
  10348. uint32_t RESERVED0[5];
  10349. __IO uint32_t TRGENA;
  10350. __IO uint32_t TRGSELB0;
  10351. __IO uint32_t TRGSELB1;
  10352. uint32_t RESERVED1[5];
  10353. __IO uint32_t TRGENB;
  10354. } stc_adc_trgsr_bit_t;
  10355. typedef struct {
  10356. __IO uint32_t EXCHSEL;
  10357. uint32_t RESERVED0[7];
  10358. } stc_adc_exchselr_bit_t;
  10359. typedef struct {
  10360. __I uint32_t EOCAF;
  10361. __I uint32_t EOCBF;
  10362. uint32_t RESERVED0[2];
  10363. __I uint32_t SASTPDF;
  10364. uint32_t RESERVED1[3];
  10365. } stc_adc_isr_bit_t;
  10366. typedef struct {
  10367. __IO uint32_t EOCAIEN;
  10368. __IO uint32_t EOCBIEN;
  10369. uint32_t RESERVED0[6];
  10370. } stc_adc_icr_bit_t;
  10371. typedef struct {
  10372. __O uint32_t CLREOCAF;
  10373. __O uint32_t CLREOCBF;
  10374. uint32_t RESERVED0[2];
  10375. __O uint32_t CLRSASTPDF;
  10376. uint32_t RESERVED1[3];
  10377. } stc_adc_isclrr_bit_t;
  10378. typedef struct {
  10379. __IO uint32_t SYNCEN;
  10380. uint32_t RESERVED0[15];
  10381. } stc_adc_synccr_bit_t;
  10382. typedef struct {
  10383. __IO uint32_t AWD0EN;
  10384. __IO uint32_t AWD0IEN;
  10385. __IO uint32_t AWD0MD;
  10386. uint32_t RESERVED0[1];
  10387. __IO uint32_t AWD1EN;
  10388. __IO uint32_t AWD1IEN;
  10389. __IO uint32_t AWD1MD;
  10390. uint32_t RESERVED1[1];
  10391. __IO uint32_t AWDCM0;
  10392. __IO uint32_t AWDCM1;
  10393. uint32_t RESERVED2[6];
  10394. } stc_adc_awdcr_bit_t;
  10395. typedef struct {
  10396. __I uint32_t AWD0F;
  10397. __I uint32_t AWD1F;
  10398. uint32_t RESERVED0[2];
  10399. __I uint32_t AWDCMF;
  10400. uint32_t RESERVED1[3];
  10401. } stc_adc_awdsr_bit_t;
  10402. typedef struct {
  10403. __O uint32_t CLRAWD0F;
  10404. __O uint32_t CLRAWD1F;
  10405. uint32_t RESERVED0[2];
  10406. __O uint32_t CLRAWDCMF;
  10407. uint32_t RESERVED1[3];
  10408. } stc_adc_awdsclrr_bit_t;
  10409. typedef struct {
  10410. __IO uint32_t START;
  10411. __IO uint32_t MODE;
  10412. uint32_t RESERVED0[30];
  10413. } stc_aes_cr_bit_t;
  10414. typedef struct {
  10415. __O uint32_t STRG;
  10416. uint32_t RESERVED0[31];
  10417. } stc_aos_intsfttrg_bit_t;
  10418. typedef struct {
  10419. uint32_t RESERVED0[30];
  10420. __IO uint32_t COMEN0;
  10421. __IO uint32_t COMEN1;
  10422. } stc_aos_dcu_trgsel_bit_t;
  10423. typedef struct {
  10424. uint32_t RESERVED0[30];
  10425. __IO uint32_t COMEN0;
  10426. __IO uint32_t COMEN1;
  10427. } stc_aos_dma1_trgsel_bit_t;
  10428. typedef struct {
  10429. uint32_t RESERVED0[30];
  10430. __IO uint32_t COMEN0;
  10431. __IO uint32_t COMEN1;
  10432. } stc_aos_dma2_trgsel_bit_t;
  10433. typedef struct {
  10434. uint32_t RESERVED0[30];
  10435. __IO uint32_t COMEN0;
  10436. __IO uint32_t COMEN1;
  10437. } stc_aos_dma_trgselrc_bit_t;
  10438. typedef struct {
  10439. uint32_t RESERVED0[30];
  10440. __IO uint32_t COMEN0;
  10441. __IO uint32_t COMEN1;
  10442. } stc_aos_tmr6_htssr_bit_t;
  10443. typedef struct {
  10444. uint32_t RESERVED0[30];
  10445. __IO uint32_t COMEN0;
  10446. __IO uint32_t COMEN1;
  10447. } stc_aos_tmr4_htssr_bit_t;
  10448. typedef struct {
  10449. uint32_t RESERVED0[30];
  10450. __IO uint32_t COMEN0;
  10451. __IO uint32_t COMEN1;
  10452. } stc_aos_pevnttrgsr12_bit_t;
  10453. typedef struct {
  10454. uint32_t RESERVED0[30];
  10455. __IO uint32_t COMEN0;
  10456. __IO uint32_t COMEN1;
  10457. } stc_aos_pevnttrgsr34_bit_t;
  10458. typedef struct {
  10459. uint32_t RESERVED0[30];
  10460. __IO uint32_t COMEN0;
  10461. __IO uint32_t COMEN1;
  10462. } stc_aos_tmr0_htssr_bit_t;
  10463. typedef struct {
  10464. uint32_t RESERVED0[30];
  10465. __IO uint32_t COMEN0;
  10466. __IO uint32_t COMEN1;
  10467. } stc_aos_tmra_htssr_bit_t;
  10468. typedef struct {
  10469. uint32_t RESERVED0[30];
  10470. __IO uint32_t COMEN0;
  10471. __IO uint32_t COMEN1;
  10472. } stc_aos_adc1_itrgselr_bit_t;
  10473. typedef struct {
  10474. uint32_t RESERVED0[30];
  10475. __IO uint32_t COMEN0;
  10476. __IO uint32_t COMEN1;
  10477. } stc_aos_adc2_itrgselr_bit_t;
  10478. typedef struct {
  10479. uint32_t RESERVED0[30];
  10480. __IO uint32_t COMEN0;
  10481. __IO uint32_t COMEN1;
  10482. } stc_aos_adc3_itrgselr_bit_t;
  10483. typedef struct {
  10484. __IO uint32_t NFEN1;
  10485. uint32_t RESERVED0[7];
  10486. __IO uint32_t NFEN2;
  10487. uint32_t RESERVED1[7];
  10488. __IO uint32_t NFEN3;
  10489. uint32_t RESERVED2[7];
  10490. __IO uint32_t NFEN4;
  10491. uint32_t RESERVED3[7];
  10492. } stc_aos_pevntnfcr_bit_t;
  10493. typedef struct {
  10494. __IO uint32_t CENA;
  10495. __IO uint32_t CWDE;
  10496. __IO uint32_t CSMD0;
  10497. __IO uint32_t CSMD1;
  10498. __IO uint32_t CSST;
  10499. uint32_t RESERVED0[2];
  10500. __I uint32_t CMON;
  10501. } stc_cmp_mdr_bit_t;
  10502. typedef struct {
  10503. uint32_t RESERVED0[3];
  10504. __IO uint32_t CIEN;
  10505. __IO uint32_t EDGS0;
  10506. __IO uint32_t EDGS1;
  10507. __IO uint32_t CFF;
  10508. __IO uint32_t CRF;
  10509. } stc_cmp_fir_bit_t;
  10510. typedef struct {
  10511. __IO uint32_t COEN;
  10512. __IO uint32_t COPS;
  10513. __IO uint32_t CPOE;
  10514. uint32_t RESERVED0[1];
  10515. __IO uint32_t BWEN;
  10516. __IO uint32_t BWMD;
  10517. __IO uint32_t BWOL0;
  10518. __IO uint32_t BWOL1;
  10519. } stc_cmp_ocr_bit_t;
  10520. typedef struct {
  10521. __IO uint32_t RVSL0;
  10522. __IO uint32_t RVSL1;
  10523. __IO uint32_t RVSL2;
  10524. __IO uint32_t RVSL3;
  10525. uint32_t RESERVED0[12];
  10526. __IO uint32_t CVSL0;
  10527. __IO uint32_t CVSL1;
  10528. __IO uint32_t CVSL2;
  10529. __IO uint32_t CVSL3;
  10530. uint32_t RESERVED1[12];
  10531. } stc_cmp_pmsr_bit_t;
  10532. typedef struct {
  10533. __IO uint32_t CTWS0;
  10534. __IO uint32_t CTWS1;
  10535. __IO uint32_t CTWS2;
  10536. __IO uint32_t CTWS3;
  10537. __IO uint32_t CTWS4;
  10538. __IO uint32_t CTWS5;
  10539. __IO uint32_t CTWS6;
  10540. __IO uint32_t CTWS7;
  10541. __IO uint32_t CTWS8;
  10542. __IO uint32_t CTWS9;
  10543. __IO uint32_t CTWS10;
  10544. __IO uint32_t CTWS11;
  10545. __IO uint32_t CTWS12;
  10546. __IO uint32_t CTWS13;
  10547. __IO uint32_t CTWS14;
  10548. __IO uint32_t CTWS15;
  10549. __IO uint32_t CTWP0;
  10550. __IO uint32_t CTWP1;
  10551. __IO uint32_t CTWP2;
  10552. __IO uint32_t CTWP3;
  10553. __IO uint32_t CTWP4;
  10554. __IO uint32_t CTWP5;
  10555. __IO uint32_t CTWP6;
  10556. __IO uint32_t CTWP7;
  10557. __IO uint32_t CTWP8;
  10558. __IO uint32_t CTWP9;
  10559. __IO uint32_t CTWP10;
  10560. __IO uint32_t CTWP11;
  10561. __IO uint32_t CTWP12;
  10562. __IO uint32_t CTWP13;
  10563. __IO uint32_t CTWP14;
  10564. __IO uint32_t CTWP15;
  10565. } stc_cmp_bwsr1_bit_t;
  10566. typedef struct {
  10567. uint32_t RESERVED0[8];
  10568. __IO uint32_t TWEG0;
  10569. __IO uint32_t TWEG1;
  10570. uint32_t RESERVED1[6];
  10571. } stc_cmp_bwsr2_bit_t;
  10572. typedef struct {
  10573. __IO uint32_t FRADIVEN;
  10574. uint32_t RESERVED0[31];
  10575. } stc_cmu_xtaldivcr_bit_t;
  10576. typedef struct {
  10577. uint32_t RESERVED0[4];
  10578. __IO uint32_t XTALDRV0;
  10579. __IO uint32_t XTALDRV1;
  10580. __IO uint32_t XTALMS;
  10581. uint32_t RESERVED1[1];
  10582. } stc_cmu_xtalcfgr_bit_t;
  10583. typedef struct {
  10584. __IO uint32_t XTAL32STP;
  10585. uint32_t RESERVED0[7];
  10586. } stc_cmu_xtal32cr_bit_t;
  10587. typedef struct {
  10588. __IO uint32_t XTAL32NF0;
  10589. __IO uint32_t XTAL32NF1;
  10590. uint32_t RESERVED0[6];
  10591. } stc_cmu_xtal32nfr_bit_t;
  10592. typedef struct {
  10593. __IO uint32_t LRCSTP;
  10594. uint32_t RESERVED0[7];
  10595. } stc_cmu_lrccr_bit_t;
  10596. typedef struct {
  10597. __IO uint32_t PLLHOFF;
  10598. uint32_t RESERVED0[7];
  10599. } stc_cmu_pllhcr_bit_t;
  10600. typedef struct {
  10601. __IO uint32_t XTALSTP;
  10602. uint32_t RESERVED0[7];
  10603. } stc_cmu_xtalcr_bit_t;
  10604. typedef struct {
  10605. __IO uint32_t HRCSTP;
  10606. uint32_t RESERVED0[7];
  10607. } stc_cmu_hrccr_bit_t;
  10608. typedef struct {
  10609. __IO uint32_t MRCSTP;
  10610. uint32_t RESERVED0[7];
  10611. } stc_cmu_mrccr_bit_t;
  10612. typedef struct {
  10613. __IO uint32_t HRCSTBF;
  10614. uint32_t RESERVED0[2];
  10615. __IO uint32_t XTALSTBF;
  10616. uint32_t RESERVED1[1];
  10617. __IO uint32_t PLLHSTBF;
  10618. uint32_t RESERVED2[2];
  10619. } stc_cmu_oscstbsr_bit_t;
  10620. typedef struct {
  10621. uint32_t RESERVED0[7];
  10622. __IO uint32_t MCOEN;
  10623. } stc_cmu_mcocfgr_bit_t;
  10624. typedef struct {
  10625. __IO uint32_t TPIUCKS0;
  10626. __IO uint32_t TPIUCKS1;
  10627. uint32_t RESERVED0[5];
  10628. __IO uint32_t TPIUCKOE;
  10629. } stc_cmu_tpiuckcfgr_bit_t;
  10630. typedef struct {
  10631. __IO uint32_t XTALSTDIE;
  10632. __IO uint32_t XTALSTDRE;
  10633. __IO uint32_t XTALSTDRIS;
  10634. uint32_t RESERVED0[4];
  10635. __IO uint32_t XTALSTDE;
  10636. } stc_cmu_xtalstdcr_bit_t;
  10637. typedef struct {
  10638. __IO uint32_t XTALSTDF;
  10639. uint32_t RESERVED0[7];
  10640. } stc_cmu_xtalstdsr_bit_t;
  10641. typedef struct {
  10642. __IO uint32_t PLLHM0;
  10643. __IO uint32_t PLLHM1;
  10644. uint32_t RESERVED0[5];
  10645. __IO uint32_t PLLSRC;
  10646. uint32_t RESERVED1[24];
  10647. } stc_cmu_pllhcfgr_bit_t;
  10648. typedef struct {
  10649. __IO uint32_t CR;
  10650. __I uint32_t FLAG;
  10651. uint32_t RESERVED0[30];
  10652. } stc_crc_cr_bit_t;
  10653. typedef struct {
  10654. __IO uint32_t REFPSC0;
  10655. __IO uint32_t REFPSC1;
  10656. __IO uint32_t REFPSC2;
  10657. uint32_t RESERVED0[1];
  10658. __IO uint32_t REFCKS0;
  10659. __IO uint32_t REFCKS1;
  10660. __IO uint32_t ERRIE;
  10661. __IO uint32_t CTCEN;
  10662. uint32_t RESERVED1[4];
  10663. __IO uint32_t REFEDG0;
  10664. __IO uint32_t REFEDG1;
  10665. uint32_t RESERVED2[18];
  10666. } stc_ctc_cr1_bit_t;
  10667. typedef struct {
  10668. __I uint32_t TRIMOK;
  10669. __I uint32_t TRMOVF;
  10670. __I uint32_t TRMUDF;
  10671. __I uint32_t CTCBSY;
  10672. uint32_t RESERVED0[28];
  10673. } stc_ctc_str_bit_t;
  10674. typedef struct {
  10675. __IO uint32_t DR0;
  10676. __IO uint32_t DR1;
  10677. __IO uint32_t DR2;
  10678. __IO uint32_t DR3;
  10679. __IO uint32_t DL0R4;
  10680. __IO uint32_t DL1R5;
  10681. __IO uint32_t DL2R6;
  10682. __IO uint32_t DL3R7;
  10683. __IO uint32_t DL4R8;
  10684. __IO uint32_t DL5R9;
  10685. __IO uint32_t DL6R10;
  10686. __IO uint32_t DL7R11;
  10687. __IO uint32_t DL8;
  10688. __IO uint32_t DL9;
  10689. __IO uint32_t DL10;
  10690. __IO uint32_t DL11;
  10691. } stc_dac_dadr1_bit_t;
  10692. typedef struct {
  10693. __IO uint32_t DR0;
  10694. __IO uint32_t DR1;
  10695. __IO uint32_t DR2;
  10696. __IO uint32_t DR3;
  10697. __IO uint32_t DL0R4;
  10698. __IO uint32_t DL1R5;
  10699. __IO uint32_t DL2R6;
  10700. __IO uint32_t DL3R7;
  10701. __IO uint32_t DL4R8;
  10702. __IO uint32_t DL5R9;
  10703. __IO uint32_t DL6R10;
  10704. __IO uint32_t DL7R11;
  10705. __IO uint32_t DL8;
  10706. __IO uint32_t DL9;
  10707. __IO uint32_t DL10;
  10708. __IO uint32_t DL11;
  10709. } stc_dac_dadr2_bit_t;
  10710. typedef struct {
  10711. __IO uint32_t DAE;
  10712. __IO uint32_t DA1E;
  10713. __IO uint32_t DA2E;
  10714. uint32_t RESERVED0[5];
  10715. __IO uint32_t DPSEL;
  10716. __IO uint32_t DAAMP1;
  10717. __IO uint32_t DAAMP2;
  10718. __IO uint32_t EXTDSL1;
  10719. __IO uint32_t EXTDSL2;
  10720. uint32_t RESERVED1[3];
  10721. } stc_dac_dacr_bit_t;
  10722. typedef struct {
  10723. __IO uint32_t ADCSL1;
  10724. __IO uint32_t ADCSL2;
  10725. __IO uint32_t ADCSL3;
  10726. uint32_t RESERVED0[5];
  10727. __I uint32_t DA1SF;
  10728. __I uint32_t DA2SF;
  10729. uint32_t RESERVED1[5];
  10730. __IO uint32_t ADPEN;
  10731. } stc_dac_daadpcr_bit_t;
  10732. typedef struct {
  10733. uint32_t RESERVED0[14];
  10734. __IO uint32_t DAODIS1;
  10735. __IO uint32_t DAODIS2;
  10736. } stc_dac_daocr_bit_t;
  10737. typedef struct {
  10738. uint32_t RESERVED0[4];
  10739. __IO uint32_t DATASIZE0;
  10740. __IO uint32_t DATASIZE1;
  10741. uint32_t RESERVED1[2];
  10742. __IO uint32_t COMP_TRG;
  10743. uint32_t RESERVED2[22];
  10744. __IO uint32_t INTEN;
  10745. } stc_dcu_ctl_bit_t;
  10746. typedef struct {
  10747. __I uint32_t FLAG_OP;
  10748. __I uint32_t FLAG_LS2;
  10749. __I uint32_t FLAG_EQ2;
  10750. __I uint32_t FLAG_GT2;
  10751. __I uint32_t FLAG_LS1;
  10752. __I uint32_t FLAG_EQ1;
  10753. __I uint32_t FLAG_GT1;
  10754. uint32_t RESERVED0[2];
  10755. __I uint32_t FLAG_RLD;
  10756. __I uint32_t FLAG_BTM;
  10757. __I uint32_t FLAG_TOP;
  10758. uint32_t RESERVED1[20];
  10759. } stc_dcu_flag_bit_t;
  10760. typedef struct {
  10761. __O uint32_t CLR_OP;
  10762. __O uint32_t CLR_LS2;
  10763. __O uint32_t CLR_EQ2;
  10764. __O uint32_t CLR_GT2;
  10765. __O uint32_t CLR_LS1;
  10766. __O uint32_t CLR_EQ1;
  10767. __O uint32_t CLR_GT1;
  10768. uint32_t RESERVED0[2];
  10769. __O uint32_t CLR_RLD;
  10770. __O uint32_t CLR_BTM;
  10771. __O uint32_t CLR_TOP;
  10772. uint32_t RESERVED1[20];
  10773. } stc_dcu_flagclr_bit_t;
  10774. typedef struct {
  10775. __IO uint32_t SEL_OP;
  10776. __IO uint32_t SEL_LS2;
  10777. __IO uint32_t SEL_EQ2;
  10778. __IO uint32_t SEL_GT2;
  10779. __IO uint32_t SEL_LS1;
  10780. __IO uint32_t SEL_EQ1;
  10781. __IO uint32_t SEL_GT1;
  10782. __IO uint32_t SEL_WIN0;
  10783. __IO uint32_t SEL_WIN1;
  10784. __IO uint32_t SEL_RLD;
  10785. __IO uint32_t SEL_BTM;
  10786. __IO uint32_t SEL_TOP;
  10787. uint32_t RESERVED0[20];
  10788. } stc_dcu_intevtsel_bit_t;
  10789. typedef struct {
  10790. __IO uint32_t EN;
  10791. uint32_t RESERVED0[31];
  10792. } stc_dma_en_bit_t;
  10793. typedef struct {
  10794. __I uint32_t TRNERR0;
  10795. __I uint32_t TRNERR1;
  10796. __I uint32_t TRNERR2;
  10797. __I uint32_t TRNERR3;
  10798. __I uint32_t TRNERR4;
  10799. __I uint32_t TRNERR5;
  10800. uint32_t RESERVED0[10];
  10801. __I uint32_t REQERR0;
  10802. __I uint32_t REQERR1;
  10803. __I uint32_t REQERR2;
  10804. __I uint32_t REQERR3;
  10805. __I uint32_t REQERR4;
  10806. __I uint32_t REQERR5;
  10807. uint32_t RESERVED1[10];
  10808. } stc_dma_intstat0_bit_t;
  10809. typedef struct {
  10810. __I uint32_t TC0;
  10811. __I uint32_t TC1;
  10812. __I uint32_t TC2;
  10813. __I uint32_t TC3;
  10814. __I uint32_t TC4;
  10815. __I uint32_t TC5;
  10816. uint32_t RESERVED0[10];
  10817. __I uint32_t BTC0;
  10818. __I uint32_t BTC1;
  10819. __I uint32_t BTC2;
  10820. __I uint32_t BTC3;
  10821. __I uint32_t BTC4;
  10822. __I uint32_t BTC5;
  10823. uint32_t RESERVED1[10];
  10824. } stc_dma_intstat1_bit_t;
  10825. typedef struct {
  10826. __IO uint32_t MSKTRNERR0;
  10827. __IO uint32_t MSKTRNERR1;
  10828. __IO uint32_t MSKTRNERR2;
  10829. __IO uint32_t MSKTRNERR3;
  10830. __IO uint32_t MSKTRNERR4;
  10831. __IO uint32_t MSKTRNERR5;
  10832. uint32_t RESERVED0[10];
  10833. __IO uint32_t MSKREQERR0;
  10834. __IO uint32_t MSKREQERR1;
  10835. __IO uint32_t MSKREQERR2;
  10836. __IO uint32_t MSKREQERR3;
  10837. __IO uint32_t MSKREQERR4;
  10838. __IO uint32_t MSKREQERR5;
  10839. uint32_t RESERVED1[10];
  10840. } stc_dma_intmask0_bit_t;
  10841. typedef struct {
  10842. __IO uint32_t MSKTC0;
  10843. __IO uint32_t MSKTC1;
  10844. __IO uint32_t MSKTC2;
  10845. __IO uint32_t MSKTC3;
  10846. __IO uint32_t MSKTC4;
  10847. __IO uint32_t MSKTC5;
  10848. uint32_t RESERVED0[10];
  10849. __IO uint32_t MSKBTC0;
  10850. __IO uint32_t MSKBTC1;
  10851. __IO uint32_t MSKBTC2;
  10852. __IO uint32_t MSKBTC3;
  10853. __IO uint32_t MSKBTC4;
  10854. __IO uint32_t MSKBTC5;
  10855. uint32_t RESERVED1[10];
  10856. } stc_dma_intmask1_bit_t;
  10857. typedef struct {
  10858. __O uint32_t CLRTRNERR0;
  10859. __O uint32_t CLRTRNERR1;
  10860. __O uint32_t CLRTRNERR2;
  10861. __O uint32_t CLRTRNERR3;
  10862. __O uint32_t CLRTRNERR4;
  10863. __O uint32_t CLRTRNERR5;
  10864. uint32_t RESERVED0[10];
  10865. __O uint32_t CLRREQERR0;
  10866. __O uint32_t CLRREQERR1;
  10867. __O uint32_t CLRREQERR2;
  10868. __O uint32_t CLRREQERR3;
  10869. __O uint32_t CLRREQERR4;
  10870. __O uint32_t CLRREQERR5;
  10871. uint32_t RESERVED1[10];
  10872. } stc_dma_intclr0_bit_t;
  10873. typedef struct {
  10874. __O uint32_t CLRTC0;
  10875. __O uint32_t CLRTC1;
  10876. __O uint32_t CLRTC2;
  10877. __O uint32_t CLRTC3;
  10878. __O uint32_t CLRTC4;
  10879. __O uint32_t CLRTC5;
  10880. uint32_t RESERVED0[10];
  10881. __O uint32_t CLRBTC0;
  10882. __O uint32_t CLRBTC1;
  10883. __O uint32_t CLRBTC2;
  10884. __O uint32_t CLRBTC3;
  10885. __O uint32_t CLRBTC4;
  10886. __O uint32_t CLRBTC5;
  10887. uint32_t RESERVED1[10];
  10888. } stc_dma_intclr1_bit_t;
  10889. typedef struct {
  10890. __IO uint32_t CHEN0;
  10891. __IO uint32_t CHEN1;
  10892. __IO uint32_t CHEN2;
  10893. __IO uint32_t CHEN3;
  10894. __IO uint32_t CHEN4;
  10895. __IO uint32_t CHEN5;
  10896. uint32_t RESERVED0[26];
  10897. } stc_dma_chen_bit_t;
  10898. typedef struct {
  10899. __I uint32_t CHREQ0;
  10900. __I uint32_t CHREQ1;
  10901. __I uint32_t CHREQ2;
  10902. __I uint32_t CHREQ3;
  10903. __I uint32_t CHREQ4;
  10904. __I uint32_t CHREQ5;
  10905. uint32_t RESERVED0[9];
  10906. __I uint32_t RCFGREQ;
  10907. uint32_t RESERVED1[16];
  10908. } stc_dma_reqstat_bit_t;
  10909. typedef struct {
  10910. __I uint32_t DMAACT;
  10911. __I uint32_t RCFGACT;
  10912. uint32_t RESERVED0[14];
  10913. __I uint32_t CHACT0;
  10914. __I uint32_t CHACT1;
  10915. __I uint32_t CHACT2;
  10916. __I uint32_t CHACT3;
  10917. __I uint32_t CHACT4;
  10918. __I uint32_t CHACT5;
  10919. uint32_t RESERVED1[10];
  10920. } stc_dma_chstat_bit_t;
  10921. typedef struct {
  10922. __IO uint32_t RCFGEN;
  10923. __IO uint32_t RCFGLLP;
  10924. uint32_t RESERVED0[14];
  10925. __IO uint32_t SARMD0;
  10926. __IO uint32_t SARMD1;
  10927. __IO uint32_t DARMD0;
  10928. __IO uint32_t DARMD1;
  10929. __IO uint32_t CNTMD0;
  10930. __IO uint32_t CNTMD1;
  10931. uint32_t RESERVED1[10];
  10932. } stc_dma_rcfgctl_bit_t;
  10933. typedef struct {
  10934. __O uint32_t CHENCLR0;
  10935. __O uint32_t CHENCLR1;
  10936. __O uint32_t CHENCLR2;
  10937. __O uint32_t CHENCLR3;
  10938. __O uint32_t CHENCLR4;
  10939. __O uint32_t CHENCLR5;
  10940. uint32_t RESERVED0[26];
  10941. } stc_dma_chenclr_bit_t;
  10942. typedef struct {
  10943. __IO uint32_t SINC0;
  10944. __IO uint32_t SINC1;
  10945. __IO uint32_t DINC0;
  10946. __IO uint32_t DINC1;
  10947. __IO uint32_t SRPTEN;
  10948. __IO uint32_t DRPTEN;
  10949. __IO uint32_t SNSEQEN;
  10950. __IO uint32_t DNSEQEN;
  10951. __IO uint32_t HSIZE0;
  10952. __IO uint32_t HSIZE1;
  10953. __IO uint32_t LLPEN;
  10954. __IO uint32_t LLPRUN;
  10955. __IO uint32_t IE;
  10956. uint32_t RESERVED0[19];
  10957. } stc_dma_chctl_bit_t;
  10958. typedef struct {
  10959. __IO uint32_t FSTP;
  10960. uint32_t RESERVED0[31];
  10961. } stc_efm_fstp_bit_t;
  10962. typedef struct {
  10963. uint32_t RESERVED0[8];
  10964. __IO uint32_t LVM;
  10965. uint32_t RESERVED1[7];
  10966. __IO uint32_t ICACHE;
  10967. __IO uint32_t DCACHE;
  10968. __IO uint32_t PREFETE;
  10969. __IO uint32_t CRST;
  10970. uint32_t RESERVED2[12];
  10971. } stc_efm_frmc_bit_t;
  10972. typedef struct {
  10973. uint32_t RESERVED0[8];
  10974. __IO uint32_t BUSHLDCTL;
  10975. uint32_t RESERVED1[7];
  10976. __IO uint32_t KEY1LOCK;
  10977. __IO uint32_t KEY2LOCK;
  10978. uint32_t RESERVED2[14];
  10979. } stc_efm_fwmc_bit_t;
  10980. typedef struct {
  10981. __I uint32_t OTPWERR;
  10982. __I uint32_t PRTWERR;
  10983. __I uint32_t PGSZERR;
  10984. __I uint32_t MISMTCH;
  10985. __I uint32_t OPTEND;
  10986. __I uint32_t COLERR;
  10987. uint32_t RESERVED0[2];
  10988. __I uint32_t RDY;
  10989. uint32_t RESERVED1[23];
  10990. } stc_efm_fsr_bit_t;
  10991. typedef struct {
  10992. __IO uint32_t OTPWERRCLR;
  10993. __IO uint32_t PRTWERRCLR;
  10994. __IO uint32_t PGSZERRCLR;
  10995. __IO uint32_t MISMTCHCLR;
  10996. __IO uint32_t OPTENDCLR;
  10997. __IO uint32_t COLERRCLR;
  10998. uint32_t RESERVED0[26];
  10999. } stc_efm_fsclr_bit_t;
  11000. typedef struct {
  11001. __IO uint32_t PEERRITE;
  11002. __IO uint32_t OPTENDITE;
  11003. __IO uint32_t COLERRITE;
  11004. uint32_t RESERVED0[29];
  11005. } stc_efm_fite_bit_t;
  11006. typedef struct {
  11007. __I uint32_t FSWP;
  11008. uint32_t RESERVED0[31];
  11009. } stc_efm_fswp_bit_t;
  11010. typedef struct {
  11011. uint32_t RESERVED0[31];
  11012. __IO uint32_t EN;
  11013. } stc_efm_mmf_remcr_bit_t;
  11014. typedef struct {
  11015. uint32_t RESERVED0[31];
  11016. __IO uint32_t EN;
  11017. } stc_efm_mmf_remcr1_bit_t;
  11018. typedef struct {
  11019. __IO uint32_t WLOCK0;
  11020. uint32_t RESERVED0[31];
  11021. } stc_efm_wlock_bit_t;
  11022. typedef struct {
  11023. __IO uint32_t F0NWPRT0;
  11024. __IO uint32_t F0NWPRT1;
  11025. __IO uint32_t F0NWPRT2;
  11026. __IO uint32_t F0NWPRT3;
  11027. __IO uint32_t F0NWPRT4;
  11028. __IO uint32_t F0NWPRT5;
  11029. __IO uint32_t F0NWPRT6;
  11030. __IO uint32_t F0NWPRT7;
  11031. __IO uint32_t F0NWPRT8;
  11032. __IO uint32_t F0NWPRT9;
  11033. __IO uint32_t F0NWPRT10;
  11034. __IO uint32_t F0NWPRT11;
  11035. __IO uint32_t F0NWPRT12;
  11036. __IO uint32_t F0NWPRT13;
  11037. __IO uint32_t F0NWPRT14;
  11038. __IO uint32_t F0NWPRT15;
  11039. __IO uint32_t F0NWPRT16;
  11040. __IO uint32_t F0NWPRT17;
  11041. __IO uint32_t F0NWPRT18;
  11042. __IO uint32_t F0NWPRT19;
  11043. __IO uint32_t F0NWPRT20;
  11044. __IO uint32_t F0NWPRT21;
  11045. __IO uint32_t F0NWPRT22;
  11046. __IO uint32_t F0NWPRT23;
  11047. __IO uint32_t F0NWPRT24;
  11048. __IO uint32_t F0NWPRT25;
  11049. __IO uint32_t F0NWPRT26;
  11050. __IO uint32_t F0NWPRT27;
  11051. __IO uint32_t F0NWPRT28;
  11052. __IO uint32_t F0NWPRT29;
  11053. __IO uint32_t F0NWPRT30;
  11054. __IO uint32_t F0NWPRT31;
  11055. } stc_efm_f0nwprt_bit_t;
  11056. typedef struct {
  11057. __IO uint32_t CMPEN0;
  11058. __IO uint32_t CMPEN1;
  11059. __IO uint32_t CMPEN2;
  11060. __IO uint32_t CMPEN3;
  11061. __IO uint32_t SYSEN;
  11062. __IO uint32_t PWMSEN0;
  11063. __IO uint32_t PWMSEN1;
  11064. __IO uint32_t PWMSEN2;
  11065. __IO uint32_t PWMSEN3;
  11066. uint32_t RESERVED0[7];
  11067. __IO uint32_t PORTINEN1;
  11068. __IO uint32_t PORTINEN2;
  11069. __IO uint32_t PORTINEN3;
  11070. __IO uint32_t PORTINEN4;
  11071. uint32_t RESERVED1[2];
  11072. __IO uint32_t INVSEL1;
  11073. __IO uint32_t INVSEL2;
  11074. __IO uint32_t INVSEL3;
  11075. __IO uint32_t INVSEL4;
  11076. uint32_t RESERVED2[1];
  11077. __IO uint32_t OSCSTPEN;
  11078. __IO uint32_t SRAMERREN;
  11079. __IO uint32_t SRAMPYERREN;
  11080. __IO uint32_t LOCKUPEN;
  11081. __IO uint32_t PVDEN;
  11082. } stc_emb_ctl1_bit_t;
  11083. typedef struct {
  11084. __IO uint32_t PWMLV0;
  11085. __IO uint32_t PWMLV1;
  11086. __IO uint32_t PWMLV2;
  11087. __IO uint32_t PWMLV3;
  11088. uint32_t RESERVED0[14];
  11089. __IO uint32_t NFEN1;
  11090. uint32_t RESERVED1[2];
  11091. __IO uint32_t NFEN2;
  11092. uint32_t RESERVED2[2];
  11093. __IO uint32_t NFEN3;
  11094. uint32_t RESERVED3[2];
  11095. __IO uint32_t NFEN4;
  11096. uint32_t RESERVED4[4];
  11097. } stc_emb_ctl2_bit_t;
  11098. typedef struct {
  11099. __IO uint32_t SOE;
  11100. uint32_t RESERVED0[31];
  11101. } stc_emb_soe_bit_t;
  11102. typedef struct {
  11103. uint32_t RESERVED0[1];
  11104. __I uint32_t PWMSF;
  11105. __I uint32_t CMPF;
  11106. __I uint32_t SYSF;
  11107. uint32_t RESERVED1[1];
  11108. __I uint32_t PWMST;
  11109. __I uint32_t CMPST;
  11110. __I uint32_t SYSST;
  11111. __I uint32_t PORTINF1;
  11112. __I uint32_t PORTINF2;
  11113. __I uint32_t PORTINF3;
  11114. __I uint32_t PORTINF4;
  11115. uint32_t RESERVED2[2];
  11116. __I uint32_t PORTINST1;
  11117. __I uint32_t PORTINST2;
  11118. __I uint32_t PORTINST3;
  11119. __I uint32_t PORTINST4;
  11120. uint32_t RESERVED3[14];
  11121. } stc_emb_stat_bit_t;
  11122. typedef struct {
  11123. uint32_t RESERVED0[1];
  11124. __O uint32_t PWMSFCLR;
  11125. __O uint32_t CMPFCLR;
  11126. __O uint32_t SYSFCLR;
  11127. uint32_t RESERVED1[4];
  11128. __O uint32_t PORTINFCLR1;
  11129. __O uint32_t PORTINFCLR2;
  11130. __O uint32_t PORTINFCLR3;
  11131. __O uint32_t PORTINFCLR4;
  11132. uint32_t RESERVED2[20];
  11133. } stc_emb_statclr_bit_t;
  11134. typedef struct {
  11135. uint32_t RESERVED0[1];
  11136. __IO uint32_t PWMSINTEN;
  11137. __IO uint32_t CMPINTEN;
  11138. __IO uint32_t SYSINTEN;
  11139. uint32_t RESERVED1[4];
  11140. __IO uint32_t PORTININTEN1;
  11141. __IO uint32_t PORTININTEN2;
  11142. __IO uint32_t PORTININTEN3;
  11143. __IO uint32_t PORTININTEN4;
  11144. uint32_t RESERVED2[20];
  11145. } stc_emb_inten_bit_t;
  11146. typedef struct {
  11147. uint32_t RESERVED0[1];
  11148. __IO uint32_t PWMRSEL;
  11149. __IO uint32_t CMPRSEL;
  11150. __IO uint32_t SYSRSEL;
  11151. uint32_t RESERVED1[4];
  11152. __IO uint32_t PORTINRSEL1;
  11153. __IO uint32_t PORTINRSEL2;
  11154. __IO uint32_t PORTINRSEL3;
  11155. __IO uint32_t PORTINRSEL4;
  11156. uint32_t RESERVED2[20];
  11157. } stc_emb_rlssel_bit_t;
  11158. typedef struct {
  11159. __IO uint32_t START;
  11160. uint32_t RESERVED0[31];
  11161. } stc_fcm_str_bit_t;
  11162. typedef struct {
  11163. __IO uint32_t MDIVS0;
  11164. __IO uint32_t MDIVS1;
  11165. uint32_t RESERVED0[30];
  11166. } stc_fcm_mccr_bit_t;
  11167. typedef struct {
  11168. __IO uint32_t RDIVS0;
  11169. __IO uint32_t RDIVS1;
  11170. uint32_t RESERVED0[5];
  11171. __IO uint32_t INEXS;
  11172. __IO uint32_t DNFS0;
  11173. __IO uint32_t DNFS1;
  11174. uint32_t RESERVED1[2];
  11175. __IO uint32_t EDGES0;
  11176. __IO uint32_t EDGES1;
  11177. uint32_t RESERVED2[1];
  11178. __IO uint32_t EXREFE;
  11179. uint32_t RESERVED3[16];
  11180. } stc_fcm_rccr_bit_t;
  11181. typedef struct {
  11182. __IO uint32_t ERRIE;
  11183. __IO uint32_t MENDIE;
  11184. __IO uint32_t OVFIE;
  11185. uint32_t RESERVED0[1];
  11186. __IO uint32_t ERRINTRS;
  11187. uint32_t RESERVED1[2];
  11188. __IO uint32_t ERRE;
  11189. uint32_t RESERVED2[24];
  11190. } stc_fcm_rier_bit_t;
  11191. typedef struct {
  11192. __I uint32_t ERRF;
  11193. __I uint32_t MENDF;
  11194. __I uint32_t OVF;
  11195. uint32_t RESERVED0[29];
  11196. } stc_fcm_sr_bit_t;
  11197. typedef struct {
  11198. __O uint32_t ERRFCLR;
  11199. __O uint32_t MENDFCLR;
  11200. __O uint32_t OVFCLR;
  11201. uint32_t RESERVED0[29];
  11202. } stc_fcm_clr_bit_t;
  11203. typedef struct {
  11204. __I uint32_t PIN00;
  11205. __I uint32_t PIN01;
  11206. __I uint32_t PIN02;
  11207. __I uint32_t PIN03;
  11208. __I uint32_t PIN04;
  11209. __I uint32_t PIN05;
  11210. __I uint32_t PIN06;
  11211. __I uint32_t PIN07;
  11212. __I uint32_t PIN08;
  11213. __I uint32_t PIN09;
  11214. __I uint32_t PIN10;
  11215. __I uint32_t PIN11;
  11216. __I uint32_t PIN12;
  11217. __I uint32_t PIN13;
  11218. __I uint32_t PIN14;
  11219. __I uint32_t PIN15;
  11220. } stc_gpio_pidr_bit_t;
  11221. typedef struct {
  11222. __IO uint32_t POUT00;
  11223. __IO uint32_t POUT01;
  11224. __IO uint32_t POUT02;
  11225. __IO uint32_t POUT03;
  11226. __IO uint32_t POUT04;
  11227. __IO uint32_t POUT05;
  11228. __IO uint32_t POUT06;
  11229. __IO uint32_t POUT07;
  11230. __IO uint32_t POUT08;
  11231. __IO uint32_t POUT09;
  11232. __IO uint32_t POUT10;
  11233. __IO uint32_t POUT11;
  11234. __IO uint32_t POUT12;
  11235. __IO uint32_t POUT13;
  11236. __IO uint32_t POUT14;
  11237. __IO uint32_t POUT15;
  11238. } stc_gpio_podr_bit_t;
  11239. typedef struct {
  11240. __IO uint32_t POUTE00;
  11241. __IO uint32_t POUTE01;
  11242. __IO uint32_t POUTE02;
  11243. __IO uint32_t POUTE03;
  11244. __IO uint32_t POUTE04;
  11245. __IO uint32_t POUTE05;
  11246. __IO uint32_t POUTE06;
  11247. __IO uint32_t POUTE07;
  11248. __IO uint32_t POUTE08;
  11249. __IO uint32_t POUTE09;
  11250. __IO uint32_t POUTE10;
  11251. __IO uint32_t POUTE11;
  11252. __IO uint32_t POUTE12;
  11253. __IO uint32_t POUTE13;
  11254. __IO uint32_t POUTE14;
  11255. __IO uint32_t POUTE15;
  11256. } stc_gpio_poer_bit_t;
  11257. typedef struct {
  11258. __IO uint32_t POS00;
  11259. __IO uint32_t POS01;
  11260. __IO uint32_t POS02;
  11261. __IO uint32_t POS03;
  11262. __IO uint32_t POS04;
  11263. __IO uint32_t POS05;
  11264. __IO uint32_t POS06;
  11265. __IO uint32_t POS07;
  11266. __IO uint32_t POS08;
  11267. __IO uint32_t POS09;
  11268. __IO uint32_t POS10;
  11269. __IO uint32_t POS11;
  11270. __IO uint32_t POS12;
  11271. __IO uint32_t POS13;
  11272. __IO uint32_t POS14;
  11273. __IO uint32_t POS15;
  11274. } stc_gpio_posr_bit_t;
  11275. typedef struct {
  11276. __IO uint32_t POR00;
  11277. __IO uint32_t POR01;
  11278. __IO uint32_t POR02;
  11279. __IO uint32_t POR03;
  11280. __IO uint32_t POR04;
  11281. __IO uint32_t POR05;
  11282. __IO uint32_t POR06;
  11283. __IO uint32_t POR07;
  11284. __IO uint32_t POR08;
  11285. __IO uint32_t POR09;
  11286. __IO uint32_t POR10;
  11287. __IO uint32_t POR11;
  11288. __IO uint32_t POR12;
  11289. __IO uint32_t POR13;
  11290. __IO uint32_t POR14;
  11291. __IO uint32_t POR15;
  11292. } stc_gpio_porr_bit_t;
  11293. typedef struct {
  11294. __IO uint32_t POT00;
  11295. __IO uint32_t POT01;
  11296. __IO uint32_t POT02;
  11297. __IO uint32_t POT03;
  11298. __IO uint32_t POT04;
  11299. __IO uint32_t POT05;
  11300. __IO uint32_t POT06;
  11301. __IO uint32_t POT07;
  11302. __IO uint32_t POT08;
  11303. __IO uint32_t POT09;
  11304. __IO uint32_t POT10;
  11305. __IO uint32_t POT11;
  11306. __IO uint32_t POT12;
  11307. __IO uint32_t POT13;
  11308. __IO uint32_t POT14;
  11309. __IO uint32_t POT15;
  11310. } stc_gpio_potr_bit_t;
  11311. typedef struct {
  11312. __IO uint32_t SPFE0;
  11313. __IO uint32_t SPFE1;
  11314. __IO uint32_t SPFE2;
  11315. __IO uint32_t SPFE3;
  11316. __IO uint32_t SPFE4;
  11317. uint32_t RESERVED0[11];
  11318. } stc_gpio_pspcr_bit_t;
  11319. typedef struct {
  11320. __IO uint32_t BFSEL0;
  11321. __IO uint32_t BFSEL1;
  11322. __IO uint32_t BFSEL2;
  11323. __IO uint32_t BFSEL3;
  11324. __IO uint32_t BFSEL4;
  11325. __IO uint32_t BFSEL5;
  11326. uint32_t RESERVED0[6];
  11327. __IO uint32_t RDWT0;
  11328. __IO uint32_t RDWT1;
  11329. __IO uint32_t RDWT2;
  11330. uint32_t RESERVED1[1];
  11331. } stc_gpio_pccr_bit_t;
  11332. typedef struct {
  11333. __IO uint32_t WE;
  11334. uint32_t RESERVED0[7];
  11335. __O uint32_t WP0;
  11336. __O uint32_t WP1;
  11337. __O uint32_t WP2;
  11338. __O uint32_t WP3;
  11339. __O uint32_t WP4;
  11340. __O uint32_t WP5;
  11341. __O uint32_t WP6;
  11342. __O uint32_t WP7;
  11343. } stc_gpio_pwpr_bit_t;
  11344. typedef struct {
  11345. __IO uint32_t POUT;
  11346. __IO uint32_t POUTE;
  11347. __IO uint32_t NOD;
  11348. uint32_t RESERVED0[1];
  11349. __IO uint32_t DRV0;
  11350. __IO uint32_t DRV1;
  11351. __IO uint32_t PUU;
  11352. __IO uint32_t PUD;
  11353. __I uint32_t PIN;
  11354. __IO uint32_t INVE;
  11355. __IO uint32_t CINSEL;
  11356. uint32_t RESERVED1[1];
  11357. __IO uint32_t INTE;
  11358. __IO uint32_t PINAE;
  11359. __IO uint32_t LTE;
  11360. __IO uint32_t DDIS;
  11361. } stc_gpio_pcr_bit_t;
  11362. typedef struct {
  11363. __IO uint32_t FSEL0;
  11364. __IO uint32_t FSEL1;
  11365. __IO uint32_t FSEL2;
  11366. __IO uint32_t FSEL3;
  11367. __IO uint32_t FSEL4;
  11368. __IO uint32_t FSEL5;
  11369. uint32_t RESERVED0[2];
  11370. __IO uint32_t BFE;
  11371. uint32_t RESERVED1[7];
  11372. } stc_gpio_pfsr_bit_t;
  11373. typedef struct {
  11374. __IO uint32_t START;
  11375. __IO uint32_t FST_GRP;
  11376. uint32_t RESERVED0[30];
  11377. } stc_hash_cr_bit_t;
  11378. typedef struct {
  11379. __IO uint32_t PE;
  11380. __IO uint32_t SMBUS;
  11381. __IO uint32_t SMBALRTEN;
  11382. __IO uint32_t SMBDEFAULTEN;
  11383. __IO uint32_t SMBHOSTEN;
  11384. uint32_t RESERVED0[1];
  11385. __IO uint32_t ENGC;
  11386. __IO uint32_t RESTART;
  11387. __IO uint32_t START;
  11388. __IO uint32_t STOP;
  11389. __IO uint32_t ACK;
  11390. uint32_t RESERVED1[4];
  11391. __IO uint32_t SWRST;
  11392. uint32_t RESERVED2[16];
  11393. } stc_i2c_cr1_bit_t;
  11394. typedef struct {
  11395. __IO uint32_t STARTIE;
  11396. __IO uint32_t SLADDR0IE;
  11397. __IO uint32_t SLADDR1IE;
  11398. __IO uint32_t TENDIE;
  11399. __IO uint32_t STOPIE;
  11400. uint32_t RESERVED0[1];
  11401. __IO uint32_t RFULLIE;
  11402. __IO uint32_t TEMPTYIE;
  11403. uint32_t RESERVED1[1];
  11404. __IO uint32_t ARLOIE;
  11405. uint32_t RESERVED2[1];
  11406. __IO uint32_t RFREQIE;
  11407. __IO uint32_t NACKIE;
  11408. uint32_t RESERVED3[1];
  11409. __IO uint32_t TMOUTIE;
  11410. uint32_t RESERVED4[5];
  11411. __IO uint32_t GENCALLIE;
  11412. __IO uint32_t SMBDEFAULTIE;
  11413. __IO uint32_t SMBHOSTIE;
  11414. __IO uint32_t SMBALRTIE;
  11415. uint32_t RESERVED5[8];
  11416. } stc_i2c_cr2_bit_t;
  11417. typedef struct {
  11418. __IO uint32_t TMOUTEN;
  11419. __IO uint32_t LTMOUT;
  11420. __IO uint32_t HTMOUT;
  11421. uint32_t RESERVED0[4];
  11422. __IO uint32_t FACKEN;
  11423. uint32_t RESERVED1[24];
  11424. } stc_i2c_cr3_bit_t;
  11425. typedef struct {
  11426. uint32_t RESERVED0[10];
  11427. __IO uint32_t BUSWAIT;
  11428. uint32_t RESERVED1[1];
  11429. __IO uint32_t BUSFREECLREN;
  11430. uint32_t RESERVED2[19];
  11431. } stc_i2c_cr4_bit_t;
  11432. typedef struct {
  11433. uint32_t RESERVED0[12];
  11434. __IO uint32_t SLADDR0EN;
  11435. uint32_t RESERVED1[2];
  11436. __IO uint32_t ADDRMOD0;
  11437. uint32_t RESERVED2[10];
  11438. __IO uint32_t MASKEN0;
  11439. uint32_t RESERVED3[5];
  11440. } stc_i2c_slr0_bit_t;
  11441. typedef struct {
  11442. uint32_t RESERVED0[12];
  11443. __IO uint32_t SLADDR1EN;
  11444. uint32_t RESERVED1[2];
  11445. __IO uint32_t ADDRMOD1;
  11446. uint32_t RESERVED2[10];
  11447. __IO uint32_t MASKEN1;
  11448. uint32_t RESERVED3[5];
  11449. } stc_i2c_slr1_bit_t;
  11450. typedef struct {
  11451. __IO uint32_t STARTF;
  11452. __IO uint32_t SLADDR0F;
  11453. __IO uint32_t SLADDR1F;
  11454. __IO uint32_t TENDF;
  11455. __IO uint32_t STOPF;
  11456. uint32_t RESERVED0[1];
  11457. __IO uint32_t RFULLF;
  11458. __IO uint32_t TEMPTYF;
  11459. uint32_t RESERVED1[1];
  11460. __IO uint32_t ARLOF;
  11461. __IO uint32_t ACKRF;
  11462. uint32_t RESERVED2[1];
  11463. __IO uint32_t NACKF;
  11464. uint32_t RESERVED3[1];
  11465. __IO uint32_t TMOUTF;
  11466. uint32_t RESERVED4[1];
  11467. __IO uint32_t MSL;
  11468. __IO uint32_t BUSY;
  11469. __IO uint32_t TRA;
  11470. uint32_t RESERVED5[1];
  11471. __IO uint32_t GENCALLF;
  11472. __IO uint32_t SMBDEFAULTF;
  11473. __IO uint32_t SMBHOSTF;
  11474. __IO uint32_t SMBALRTF;
  11475. __IO uint32_t TFEMPTY;
  11476. __IO uint32_t TFFULL;
  11477. __IO uint32_t RFEMPTY;
  11478. __IO uint32_t RFFULL;
  11479. __IO uint32_t TFST0;
  11480. __IO uint32_t TFST1;
  11481. uint32_t RESERVED6[1];
  11482. __IO uint32_t RFREQ;
  11483. } stc_i2c_sr_bit_t;
  11484. typedef struct {
  11485. __O uint32_t STARTFCLR;
  11486. __O uint32_t SLADDR0FCLR;
  11487. __O uint32_t SLADDR1FCLR;
  11488. __O uint32_t TENDFCLR;
  11489. __O uint32_t STOPFCLR;
  11490. uint32_t RESERVED0[1];
  11491. __O uint32_t RFULLFCLR;
  11492. __O uint32_t TEMPTYFCLR;
  11493. uint32_t RESERVED1[1];
  11494. __O uint32_t ARLOFCLR;
  11495. __O uint32_t RFREQCLR;
  11496. uint32_t RESERVED2[1];
  11497. __O uint32_t NACKFCLR;
  11498. uint32_t RESERVED3[1];
  11499. __O uint32_t TMOUTFCLR;
  11500. uint32_t RESERVED4[5];
  11501. __O uint32_t GENCALLFCLR;
  11502. __O uint32_t SMBDEFAULTFCLR;
  11503. __O uint32_t SMBHOSTFCLR;
  11504. __O uint32_t SMBALRTFCLR;
  11505. uint32_t RESERVED5[8];
  11506. } stc_i2c_clr_bit_t;
  11507. typedef struct {
  11508. uint32_t RESERVED0[23];
  11509. __IO uint32_t FMPLUSEN;
  11510. uint32_t RESERVED1[8];
  11511. } stc_i2c_ccr_bit_t;
  11512. typedef struct {
  11513. uint32_t RESERVED0[4];
  11514. __IO uint32_t DNFEN;
  11515. __IO uint32_t ANFEN;
  11516. uint32_t RESERVED1[26];
  11517. } stc_i2c_fltr_bit_t;
  11518. typedef struct {
  11519. __IO uint32_t FEN;
  11520. __IO uint32_t TFFLUSH;
  11521. __IO uint32_t RFFLUSH;
  11522. __IO uint32_t NACKTFFLUSH;
  11523. __IO uint32_t TFST0;
  11524. __IO uint32_t TFST1;
  11525. __IO uint32_t RFST0;
  11526. __IO uint32_t RFST1;
  11527. uint32_t RESERVED0[24];
  11528. } stc_i2c_fstr_bit_t;
  11529. typedef struct {
  11530. __I uint32_t SWDTAUTS;
  11531. __I uint32_t SWDTITS;
  11532. __I uint32_t SWDTPERI0;
  11533. __I uint32_t SWDTPERI1;
  11534. uint32_t RESERVED0[8];
  11535. __I uint32_t SWDTSLPOFF;
  11536. uint32_t RESERVED1[3];
  11537. __I uint32_t WDTAUTS;
  11538. __I uint32_t WDTITS;
  11539. __I uint32_t WDTPERI0;
  11540. __I uint32_t WDTPERI1;
  11541. uint32_t RESERVED2[8];
  11542. __I uint32_t WDTSLPOFF;
  11543. uint32_t RESERVED3[3];
  11544. } stc_icg_icg0_bit_t;
  11545. typedef struct {
  11546. __I uint32_t HRCFREQSEL;
  11547. uint32_t RESERVED0[7];
  11548. __I uint32_t HRCSTOP;
  11549. uint32_t RESERVED1[7];
  11550. __I uint32_t BOR_LEV0;
  11551. __I uint32_t BOR_LEV1;
  11552. __I uint32_t BORDIS;
  11553. uint32_t RESERVED2[13];
  11554. } stc_icg_icg1_bit_t;
  11555. typedef struct {
  11556. uint32_t RESERVED0[1];
  11557. __IO uint32_t SWDTEN;
  11558. __IO uint32_t PVD1EN;
  11559. __IO uint32_t PVD2EN;
  11560. uint32_t RESERVED1[1];
  11561. __IO uint32_t XTALSTPEN;
  11562. uint32_t RESERVED2[2];
  11563. __IO uint32_t RPARERREN;
  11564. __IO uint32_t RECCERREN;
  11565. __IO uint32_t BUSERREN;
  11566. __IO uint32_t WDTEN;
  11567. uint32_t RESERVED3[20];
  11568. } stc_intc_nmier_bit_t;
  11569. typedef struct {
  11570. uint32_t RESERVED0[1];
  11571. __IO uint32_t SWDTF;
  11572. __IO uint32_t PVD1F;
  11573. __IO uint32_t PVD2F;
  11574. uint32_t RESERVED1[1];
  11575. __IO uint32_t XTALSTPF;
  11576. uint32_t RESERVED2[2];
  11577. __IO uint32_t RPARERRF;
  11578. __IO uint32_t RECCERRF;
  11579. __IO uint32_t BUSERRF;
  11580. __IO uint32_t WDTF;
  11581. uint32_t RESERVED3[20];
  11582. } stc_intc_nmifr_bit_t;
  11583. typedef struct {
  11584. uint32_t RESERVED0[1];
  11585. __IO uint32_t SWDTFCLR;
  11586. __IO uint32_t PVD1FCLR;
  11587. __IO uint32_t PVD2FCLR;
  11588. uint32_t RESERVED1[1];
  11589. __IO uint32_t XTALSTPFCLR;
  11590. uint32_t RESERVED2[2];
  11591. __IO uint32_t RPARERRFCLR;
  11592. __IO uint32_t RECCERRFCLR;
  11593. __IO uint32_t BUSERRFCLR;
  11594. __IO uint32_t WDTFCLR;
  11595. uint32_t RESERVED3[20];
  11596. } stc_intc_nmifcr_bit_t;
  11597. typedef struct {
  11598. __IO uint32_t EIRQTRG0;
  11599. __IO uint32_t EIRQTRG1;
  11600. uint32_t RESERVED0[2];
  11601. __IO uint32_t EISMPCLK0;
  11602. __IO uint32_t EISMPCLK1;
  11603. uint32_t RESERVED1[1];
  11604. __IO uint32_t EFEN;
  11605. uint32_t RESERVED2[4];
  11606. __IO uint32_t NOCSEL0;
  11607. __IO uint32_t NOCSEL1;
  11608. uint32_t RESERVED3[1];
  11609. __IO uint32_t NOCEN;
  11610. uint32_t RESERVED4[16];
  11611. } stc_intc_eirqcr_bit_t;
  11612. typedef struct {
  11613. __IO uint32_t EIRQWKEN0;
  11614. __IO uint32_t EIRQWKEN1;
  11615. __IO uint32_t EIRQWKEN2;
  11616. __IO uint32_t EIRQWKEN3;
  11617. __IO uint32_t EIRQWKEN4;
  11618. __IO uint32_t EIRQWKEN5;
  11619. __IO uint32_t EIRQWKEN6;
  11620. __IO uint32_t EIRQWKEN7;
  11621. __IO uint32_t EIRQWKEN8;
  11622. __IO uint32_t EIRQWKEN9;
  11623. __IO uint32_t EIRQWKEN10;
  11624. __IO uint32_t EIRQWKEN11;
  11625. __IO uint32_t EIRQWKEN12;
  11626. __IO uint32_t EIRQWKEN13;
  11627. __IO uint32_t EIRQWKEN14;
  11628. __IO uint32_t EIRQWKEN15;
  11629. __IO uint32_t SWDTWKEN;
  11630. __IO uint32_t PVD1WKEN;
  11631. __IO uint32_t PVD2WKEN;
  11632. __IO uint32_t CMP1WKEN;
  11633. __IO uint32_t WKTMWKEN;
  11634. __IO uint32_t RTCALMWKEN;
  11635. __IO uint32_t RTCPRDWKEN;
  11636. __IO uint32_t TMR0CMPWKEN;
  11637. uint32_t RESERVED0[2];
  11638. __IO uint32_t RXWKEN;
  11639. uint32_t RESERVED1[2];
  11640. __IO uint32_t CMP2WKEN;
  11641. __IO uint32_t CMP3WKEN;
  11642. __IO uint32_t CMP4WKEN;
  11643. } stc_intc_wken_bit_t;
  11644. typedef struct {
  11645. __IO uint32_t EIF0;
  11646. __IO uint32_t EIF1;
  11647. __IO uint32_t EIF2;
  11648. __IO uint32_t EIF3;
  11649. __IO uint32_t EIF4;
  11650. __IO uint32_t EIF5;
  11651. __IO uint32_t EIF6;
  11652. __IO uint32_t EIF7;
  11653. __IO uint32_t EIF8;
  11654. __IO uint32_t EIF9;
  11655. __IO uint32_t EIF10;
  11656. __IO uint32_t EIF11;
  11657. __IO uint32_t EIF12;
  11658. __IO uint32_t EIF13;
  11659. __IO uint32_t EIF14;
  11660. __IO uint32_t EIF15;
  11661. uint32_t RESERVED0[16];
  11662. } stc_intc_eifr_bit_t;
  11663. typedef struct {
  11664. __IO uint32_t EIFCLR0;
  11665. __IO uint32_t EIFCLR1;
  11666. __IO uint32_t EIFCLR2;
  11667. __IO uint32_t EIFCLR3;
  11668. __IO uint32_t EIFCLR4;
  11669. __IO uint32_t EIFCLR5;
  11670. __IO uint32_t EIFCLR6;
  11671. __IO uint32_t EIFCLR7;
  11672. __IO uint32_t EIFCLR8;
  11673. __IO uint32_t EIFCLR9;
  11674. __IO uint32_t EIFCLR10;
  11675. __IO uint32_t EIFCLR11;
  11676. __IO uint32_t EIFCLR12;
  11677. __IO uint32_t EIFCLR13;
  11678. __IO uint32_t EIFCLR14;
  11679. __IO uint32_t EIFCLR15;
  11680. uint32_t RESERVED0[16];
  11681. } stc_intc_eifcr_bit_t;
  11682. typedef struct {
  11683. __IO uint32_t INTMSK0;
  11684. __IO uint32_t INTMSK1;
  11685. __IO uint32_t INTMSK2;
  11686. __IO uint32_t INTMSK3;
  11687. __IO uint32_t INTMSK4;
  11688. __IO uint32_t INTMSK5;
  11689. __IO uint32_t INTMSK6;
  11690. __IO uint32_t INTMSK7;
  11691. __IO uint32_t INTMSK8;
  11692. __IO uint32_t INTMSK9;
  11693. __IO uint32_t INTMSK10;
  11694. __IO uint32_t INTMSK11;
  11695. __IO uint32_t INTMSK12;
  11696. __IO uint32_t INTMSK13;
  11697. __IO uint32_t INTMSK14;
  11698. __IO uint32_t INTMSK15;
  11699. __IO uint32_t INTMSK16;
  11700. __IO uint32_t INTMSK17;
  11701. __IO uint32_t INTMSK18;
  11702. __IO uint32_t INTMSK19;
  11703. __IO uint32_t INTMSK20;
  11704. __IO uint32_t INTMSK21;
  11705. __IO uint32_t INTMSK22;
  11706. __IO uint32_t INTMSK23;
  11707. __IO uint32_t INTMSK24;
  11708. __IO uint32_t INTMSK25;
  11709. __IO uint32_t INTMSK26;
  11710. __IO uint32_t INTMSK27;
  11711. __IO uint32_t INTMSK28;
  11712. __IO uint32_t INTMSK29;
  11713. __IO uint32_t INTMSK30;
  11714. __IO uint32_t INTMSK31;
  11715. } stc_intc_intmsk0_bit_t;
  11716. typedef struct {
  11717. __IO uint32_t INTMSK32;
  11718. __IO uint32_t INTMSK33;
  11719. __IO uint32_t INTMSK34;
  11720. __IO uint32_t INTMSK35;
  11721. __IO uint32_t INTMSK36;
  11722. __IO uint32_t INTMSK37;
  11723. __IO uint32_t INTMSK38;
  11724. __IO uint32_t INTMSK39;
  11725. __IO uint32_t INTMSK40;
  11726. __IO uint32_t INTMSK41;
  11727. __IO uint32_t INTMSK42;
  11728. __IO uint32_t INTMSK43;
  11729. __IO uint32_t INTMSK44;
  11730. __IO uint32_t INTMSK45;
  11731. __IO uint32_t INTMSK46;
  11732. __IO uint32_t INTMSK47;
  11733. __IO uint32_t INTMSK48;
  11734. __IO uint32_t INTMSK49;
  11735. __IO uint32_t INTMSK50;
  11736. __IO uint32_t INTMSK51;
  11737. __IO uint32_t INTMSK52;
  11738. __IO uint32_t INTMSK53;
  11739. __IO uint32_t INTMSK54;
  11740. __IO uint32_t INTMSK55;
  11741. __IO uint32_t INTMSK56;
  11742. __IO uint32_t INTMSK57;
  11743. __IO uint32_t INTMSK58;
  11744. __IO uint32_t INTMSK59;
  11745. __IO uint32_t INTMSK60;
  11746. __IO uint32_t INTMSK61;
  11747. __IO uint32_t INTMSK62;
  11748. __IO uint32_t INTMSK63;
  11749. } stc_intc_intmsk1_bit_t;
  11750. typedef struct {
  11751. __IO uint32_t INTMSK64;
  11752. __IO uint32_t INTMSK65;
  11753. __IO uint32_t INTMSK66;
  11754. __IO uint32_t INTMSK67;
  11755. __IO uint32_t INTMSK68;
  11756. __IO uint32_t INTMSK69;
  11757. __IO uint32_t INTMSK70;
  11758. __IO uint32_t INTMSK71;
  11759. __IO uint32_t INTMSK72;
  11760. __IO uint32_t INTMSK73;
  11761. __IO uint32_t INTMSK74;
  11762. __IO uint32_t INTMSK75;
  11763. __IO uint32_t INTMSK76;
  11764. __IO uint32_t INTMSK77;
  11765. __IO uint32_t INTMSK78;
  11766. __IO uint32_t INTMSK79;
  11767. __IO uint32_t INTMSK80;
  11768. __IO uint32_t INTMSK81;
  11769. __IO uint32_t INTMSK82;
  11770. __IO uint32_t INTMSK83;
  11771. __IO uint32_t INTMSK84;
  11772. __IO uint32_t INTMSK85;
  11773. __IO uint32_t INTMSK86;
  11774. __IO uint32_t INTMSK87;
  11775. __IO uint32_t INTMSK88;
  11776. __IO uint32_t INTMSK89;
  11777. __IO uint32_t INTMSK90;
  11778. __IO uint32_t INTMSK91;
  11779. __IO uint32_t INTMSK92;
  11780. __IO uint32_t INTMSK93;
  11781. __IO uint32_t INTMSK94;
  11782. __IO uint32_t INTMSK95;
  11783. } stc_intc_intmsk2_bit_t;
  11784. typedef struct {
  11785. __IO uint32_t INTMSK96;
  11786. __IO uint32_t INTMSK97;
  11787. __IO uint32_t INTMSK98;
  11788. __IO uint32_t INTMSK99;
  11789. __IO uint32_t INTMSK100;
  11790. __IO uint32_t INTMSK101;
  11791. __IO uint32_t INTMSK102;
  11792. __IO uint32_t INTMSK103;
  11793. __IO uint32_t INTMSK104;
  11794. __IO uint32_t INTMSK105;
  11795. __IO uint32_t INTMSK106;
  11796. __IO uint32_t INTMSK107;
  11797. __IO uint32_t INTMSK108;
  11798. __IO uint32_t INTMSK109;
  11799. __IO uint32_t INTMSK110;
  11800. __IO uint32_t INTMSK111;
  11801. __IO uint32_t INTMSK112;
  11802. __IO uint32_t INTMSK113;
  11803. __IO uint32_t INTMSK114;
  11804. __IO uint32_t INTMSK115;
  11805. __IO uint32_t INTMSK116;
  11806. __IO uint32_t INTMSK117;
  11807. __IO uint32_t INTMSK118;
  11808. __IO uint32_t INTMSK119;
  11809. __IO uint32_t INTMSK120;
  11810. __IO uint32_t INTMSK121;
  11811. __IO uint32_t INTMSK122;
  11812. __IO uint32_t INTMSK123;
  11813. __IO uint32_t INTMSK124;
  11814. __IO uint32_t INTMSK125;
  11815. __IO uint32_t INTMSK126;
  11816. __IO uint32_t INTMSK127;
  11817. } stc_intc_intmsk3_bit_t;
  11818. typedef struct {
  11819. __IO uint32_t INTMSK128;
  11820. __IO uint32_t INTMSK129;
  11821. __IO uint32_t INTMSK130;
  11822. __IO uint32_t INTMSK131;
  11823. __IO uint32_t INTMSK132;
  11824. __IO uint32_t INTMSK133;
  11825. __IO uint32_t INTMSK134;
  11826. __IO uint32_t INTMSK135;
  11827. __IO uint32_t INTMSK136;
  11828. __IO uint32_t INTMSK137;
  11829. __IO uint32_t INTMSK138;
  11830. __IO uint32_t INTMSK139;
  11831. __IO uint32_t INTMSK140;
  11832. __IO uint32_t INTMSK141;
  11833. __IO uint32_t INTMSK142;
  11834. __IO uint32_t INTMSK143;
  11835. __IO uint32_t INTMSK144;
  11836. __IO uint32_t INTMSK145;
  11837. __IO uint32_t INTMSK146;
  11838. __IO uint32_t INTMSK147;
  11839. __IO uint32_t INTMSK148;
  11840. __IO uint32_t INTMSK149;
  11841. __IO uint32_t INTMSK150;
  11842. __IO uint32_t INTMSK151;
  11843. __IO uint32_t INTMSK152;
  11844. __IO uint32_t INTMSK153;
  11845. __IO uint32_t INTMSK154;
  11846. __IO uint32_t INTMSK155;
  11847. __IO uint32_t INTMSK156;
  11848. __IO uint32_t INTMSK157;
  11849. __IO uint32_t INTMSK158;
  11850. __IO uint32_t INTMSK159;
  11851. } stc_intc_intmsk4_bit_t;
  11852. typedef struct {
  11853. __IO uint32_t INTMSK260;
  11854. __IO uint32_t INTMSK261;
  11855. __IO uint32_t INTMSK262;
  11856. __IO uint32_t INTMSK263;
  11857. __IO uint32_t INTMSK264;
  11858. __IO uint32_t INTMSK265;
  11859. __IO uint32_t INTMSK266;
  11860. __IO uint32_t INTMSK267;
  11861. __IO uint32_t INTMSK268;
  11862. __IO uint32_t INTMSK269;
  11863. __IO uint32_t INTMSK270;
  11864. __IO uint32_t INTMSK271;
  11865. __IO uint32_t INTMSK272;
  11866. __IO uint32_t INTMSK273;
  11867. __IO uint32_t INTMSK274;
  11868. __IO uint32_t INTMSK275;
  11869. __IO uint32_t INTMSK276;
  11870. __IO uint32_t INTMSK277;
  11871. __IO uint32_t INTMSK278;
  11872. __IO uint32_t INTMSK279;
  11873. __IO uint32_t INTMSK280;
  11874. __IO uint32_t INTMSK281;
  11875. __IO uint32_t INTMSK282;
  11876. __IO uint32_t INTMSK283;
  11877. __IO uint32_t INTMSK284;
  11878. __IO uint32_t INTMSK285;
  11879. __IO uint32_t INTMSK286;
  11880. __IO uint32_t INTMSK287;
  11881. __IO uint32_t INTMSK288;
  11882. __IO uint32_t INTMSK289;
  11883. __IO uint32_t INTMSK290;
  11884. __IO uint32_t INTMSK291;
  11885. } stc_intc_intmsk5_bit_t;
  11886. typedef struct {
  11887. __IO uint32_t INTMSK192;
  11888. __IO uint32_t INTMSK193;
  11889. __IO uint32_t INTMSK194;
  11890. __IO uint32_t INTMSK195;
  11891. __IO uint32_t INTMSK196;
  11892. __IO uint32_t INTMSK197;
  11893. __IO uint32_t INTMSK198;
  11894. __IO uint32_t INTMSK199;
  11895. __IO uint32_t INTMSK200;
  11896. __IO uint32_t INTMSK201;
  11897. __IO uint32_t INTMSK202;
  11898. __IO uint32_t INTMSK203;
  11899. __IO uint32_t INTMSK204;
  11900. __IO uint32_t INTMSK205;
  11901. __IO uint32_t INTMSK206;
  11902. __IO uint32_t INTMSK207;
  11903. __IO uint32_t INTMSK208;
  11904. __IO uint32_t INTMSK209;
  11905. __IO uint32_t INTMSK210;
  11906. __IO uint32_t INTMSK211;
  11907. __IO uint32_t INTMSK212;
  11908. __IO uint32_t INTMSK213;
  11909. __IO uint32_t INTMSK214;
  11910. __IO uint32_t INTMSK215;
  11911. __IO uint32_t INTMSK216;
  11912. __IO uint32_t INTMSK217;
  11913. __IO uint32_t INTMSK218;
  11914. __IO uint32_t INTMSK219;
  11915. __IO uint32_t INTMSK220;
  11916. __IO uint32_t INTMSK221;
  11917. __IO uint32_t INTMSK222;
  11918. __IO uint32_t INTMSK223;
  11919. } stc_intc_intmsk6_bit_t;
  11920. typedef struct {
  11921. __IO uint32_t INTMSK224;
  11922. __IO uint32_t INTMSK225;
  11923. __IO uint32_t INTMSK226;
  11924. __IO uint32_t INTMSK227;
  11925. __IO uint32_t INTMSK228;
  11926. __IO uint32_t INTMSK229;
  11927. __IO uint32_t INTMSK230;
  11928. __IO uint32_t INTMSK231;
  11929. __IO uint32_t INTMSK232;
  11930. __IO uint32_t INTMSK233;
  11931. __IO uint32_t INTMSK234;
  11932. __IO uint32_t INTMSK235;
  11933. __IO uint32_t INTMSK236;
  11934. __IO uint32_t INTMSK237;
  11935. __IO uint32_t INTMSK238;
  11936. __IO uint32_t INTMSK239;
  11937. __IO uint32_t INTMSK240;
  11938. __IO uint32_t INTMSK241;
  11939. __IO uint32_t INTMSK242;
  11940. __IO uint32_t INTMSK243;
  11941. __IO uint32_t INTMSK244;
  11942. __IO uint32_t INTMSK245;
  11943. __IO uint32_t INTMSK246;
  11944. __IO uint32_t INTMSK247;
  11945. __IO uint32_t INTMSK248;
  11946. __IO uint32_t INTMSK249;
  11947. __IO uint32_t INTMSK250;
  11948. __IO uint32_t INTMSK251;
  11949. __IO uint32_t INTMSK252;
  11950. __IO uint32_t INTMSK253;
  11951. __IO uint32_t INTMSK254;
  11952. __IO uint32_t INTMSK255;
  11953. } stc_intc_intmsk7_bit_t;
  11954. typedef struct {
  11955. __IO uint32_t INTMSK256;
  11956. __IO uint32_t INTMSK257;
  11957. __IO uint32_t INTMSK258;
  11958. __IO uint32_t INTMSK259;
  11959. __IO uint32_t INTMSK260;
  11960. __IO uint32_t INTMSK261;
  11961. __IO uint32_t INTMSK262;
  11962. __IO uint32_t INTMSK263;
  11963. __IO uint32_t INTMSK264;
  11964. __IO uint32_t INTMSK265;
  11965. __IO uint32_t INTMSK266;
  11966. __IO uint32_t INTMSK267;
  11967. __IO uint32_t INTMSK268;
  11968. __IO uint32_t INTMSK269;
  11969. __IO uint32_t INTMSK270;
  11970. __IO uint32_t INTMSK271;
  11971. __IO uint32_t INTMSK272;
  11972. __IO uint32_t INTMSK273;
  11973. __IO uint32_t INTMSK274;
  11974. __IO uint32_t INTMSK275;
  11975. __IO uint32_t INTMSK276;
  11976. __IO uint32_t INTMSK277;
  11977. __IO uint32_t INTMSK278;
  11978. __IO uint32_t INTMSK279;
  11979. __IO uint32_t INTMSK280;
  11980. __IO uint32_t INTMSK281;
  11981. __IO uint32_t INTMSK282;
  11982. __IO uint32_t INTMSK283;
  11983. __IO uint32_t INTMSK284;
  11984. __IO uint32_t INTMSK285;
  11985. __IO uint32_t INTMSK286;
  11986. __IO uint32_t INTMSK287;
  11987. } stc_intc_intmsk8_bit_t;
  11988. typedef struct {
  11989. __IO uint32_t INTMSK288;
  11990. __IO uint32_t INTMSK289;
  11991. __IO uint32_t INTMSK290;
  11992. __IO uint32_t INTMSK291;
  11993. __IO uint32_t INTMSK292;
  11994. __IO uint32_t INTMSK293;
  11995. __IO uint32_t INTMSK294;
  11996. __IO uint32_t INTMSK295;
  11997. __IO uint32_t INTMSK296;
  11998. __IO uint32_t INTMSK297;
  11999. __IO uint32_t INTMSK298;
  12000. __IO uint32_t INTMSK299;
  12001. __IO uint32_t INTMSK300;
  12002. __IO uint32_t INTMSK301;
  12003. __IO uint32_t INTMSK302;
  12004. __IO uint32_t INTMSK303;
  12005. __IO uint32_t INTMSK304;
  12006. __IO uint32_t INTMSK305;
  12007. __IO uint32_t INTMSK306;
  12008. __IO uint32_t INTMSK307;
  12009. __IO uint32_t INTMSK308;
  12010. __IO uint32_t INTMSK309;
  12011. __IO uint32_t INTMSK310;
  12012. __IO uint32_t INTMSK311;
  12013. __IO uint32_t INTMSK312;
  12014. __IO uint32_t INTMSK313;
  12015. __IO uint32_t INTMSK314;
  12016. __IO uint32_t INTMSK315;
  12017. __IO uint32_t INTMSK316;
  12018. __IO uint32_t INTMSK317;
  12019. __IO uint32_t INTMSK318;
  12020. __IO uint32_t INTMSK319;
  12021. } stc_intc_intmsk9_bit_t;
  12022. typedef struct {
  12023. __IO uint32_t INTMSK320;
  12024. __IO uint32_t INTMSK321;
  12025. __IO uint32_t INTMSK322;
  12026. __IO uint32_t INTMSK323;
  12027. __IO uint32_t INTMSK324;
  12028. __IO uint32_t INTMSK325;
  12029. __IO uint32_t INTMSK326;
  12030. __IO uint32_t INTMSK327;
  12031. __IO uint32_t INTMSK328;
  12032. __IO uint32_t INTMSK329;
  12033. __IO uint32_t INTMSK330;
  12034. __IO uint32_t INTMSK331;
  12035. __IO uint32_t INTMSK332;
  12036. __IO uint32_t INTMSK333;
  12037. __IO uint32_t INTMSK334;
  12038. __IO uint32_t INTMSK335;
  12039. __IO uint32_t INTMSK336;
  12040. __IO uint32_t INTMSK337;
  12041. __IO uint32_t INTMSK338;
  12042. __IO uint32_t INTMSK339;
  12043. __IO uint32_t INTMSK340;
  12044. __IO uint32_t INTMSK341;
  12045. __IO uint32_t INTMSK342;
  12046. __IO uint32_t INTMSK343;
  12047. __IO uint32_t INTMSK344;
  12048. __IO uint32_t INTMSK345;
  12049. __IO uint32_t INTMSK346;
  12050. __IO uint32_t INTMSK347;
  12051. __IO uint32_t INTMSK348;
  12052. __IO uint32_t INTMSK349;
  12053. __IO uint32_t INTMSK350;
  12054. __IO uint32_t INTMSK351;
  12055. } stc_intc_intmsk10_bit_t;
  12056. typedef struct {
  12057. __IO uint32_t INTMSK352;
  12058. __IO uint32_t INTMSK353;
  12059. __IO uint32_t INTMSK354;
  12060. __IO uint32_t INTMSK355;
  12061. __IO uint32_t INTMSK356;
  12062. __IO uint32_t INTMSK357;
  12063. __IO uint32_t INTMSK358;
  12064. __IO uint32_t INTMSK359;
  12065. __IO uint32_t INTMSK360;
  12066. __IO uint32_t INTMSK361;
  12067. __IO uint32_t INTMSK362;
  12068. __IO uint32_t INTMSK363;
  12069. __IO uint32_t INTMSK364;
  12070. __IO uint32_t INTMSK365;
  12071. __IO uint32_t INTMSK366;
  12072. __IO uint32_t INTMSK367;
  12073. __IO uint32_t INTMSK368;
  12074. __IO uint32_t INTMSK369;
  12075. __IO uint32_t INTMSK370;
  12076. __IO uint32_t INTMSK371;
  12077. __IO uint32_t INTMSK372;
  12078. __IO uint32_t INTMSK373;
  12079. __IO uint32_t INTMSK374;
  12080. __IO uint32_t INTMSK375;
  12081. __IO uint32_t INTMSK376;
  12082. __IO uint32_t INTMSK377;
  12083. __IO uint32_t INTMSK378;
  12084. __IO uint32_t INTMSK379;
  12085. __IO uint32_t INTMSK380;
  12086. __IO uint32_t INTMSK381;
  12087. __IO uint32_t INTMSK382;
  12088. __IO uint32_t INTMSK383;
  12089. } stc_intc_intmsk11_bit_t;
  12090. typedef struct {
  12091. __IO uint32_t INTMSK384;
  12092. __IO uint32_t INTMSK385;
  12093. __IO uint32_t INTMSK386;
  12094. __IO uint32_t INTMSK387;
  12095. __IO uint32_t INTMSK388;
  12096. __IO uint32_t INTMSK389;
  12097. __IO uint32_t INTMSK390;
  12098. __IO uint32_t INTMSK391;
  12099. __IO uint32_t INTMSK392;
  12100. __IO uint32_t INTMSK393;
  12101. __IO uint32_t INTMSK394;
  12102. __IO uint32_t INTMSK395;
  12103. __IO uint32_t INTMSK396;
  12104. __IO uint32_t INTMSK397;
  12105. __IO uint32_t INTMSK398;
  12106. __IO uint32_t INTMSK399;
  12107. __IO uint32_t INTMSK400;
  12108. __IO uint32_t INTMSK401;
  12109. __IO uint32_t INTMSK402;
  12110. __IO uint32_t INTMSK403;
  12111. __IO uint32_t INTMSK404;
  12112. __IO uint32_t INTMSK405;
  12113. __IO uint32_t INTMSK406;
  12114. __IO uint32_t INTMSK407;
  12115. __IO uint32_t INTMSK408;
  12116. __IO uint32_t INTMSK409;
  12117. __IO uint32_t INTMSK410;
  12118. __IO uint32_t INTMSK411;
  12119. __IO uint32_t INTMSK412;
  12120. __IO uint32_t INTMSK413;
  12121. __IO uint32_t INTMSK414;
  12122. __IO uint32_t INTMSK415;
  12123. } stc_intc_intmsk12_bit_t;
  12124. typedef struct {
  12125. __IO uint32_t INTMSK416;
  12126. __IO uint32_t INTMSK417;
  12127. __IO uint32_t INTMSK418;
  12128. __IO uint32_t INTMSK419;
  12129. __IO uint32_t INTMSK420;
  12130. __IO uint32_t INTMSK421;
  12131. __IO uint32_t INTMSK422;
  12132. __IO uint32_t INTMSK423;
  12133. __IO uint32_t INTMSK424;
  12134. __IO uint32_t INTMSK425;
  12135. __IO uint32_t INTMSK426;
  12136. __IO uint32_t INTMSK427;
  12137. __IO uint32_t INTMSK428;
  12138. __IO uint32_t INTMSK429;
  12139. __IO uint32_t INTMSK430;
  12140. __IO uint32_t INTMSK431;
  12141. __IO uint32_t INTMSK432;
  12142. __IO uint32_t INTMSK433;
  12143. __IO uint32_t INTMSK434;
  12144. __IO uint32_t INTMSK435;
  12145. __IO uint32_t INTMSK436;
  12146. __IO uint32_t INTMSK437;
  12147. __IO uint32_t INTMSK438;
  12148. __IO uint32_t INTMSK439;
  12149. __IO uint32_t INTMSK440;
  12150. __IO uint32_t INTMSK441;
  12151. __IO uint32_t INTMSK442;
  12152. __IO uint32_t INTMSK443;
  12153. __IO uint32_t INTMSK444;
  12154. __IO uint32_t INTMSK445;
  12155. __IO uint32_t INTMSK446;
  12156. __IO uint32_t INTMSK447;
  12157. } stc_intc_intmsk13_bit_t;
  12158. typedef struct {
  12159. __IO uint32_t INTMSK448;
  12160. __IO uint32_t INTMSK449;
  12161. __IO uint32_t INTMSK450;
  12162. __IO uint32_t INTMSK451;
  12163. __IO uint32_t INTMSK452;
  12164. __IO uint32_t INTMSK453;
  12165. __IO uint32_t INTMSK454;
  12166. __IO uint32_t INTMSK455;
  12167. __IO uint32_t INTMSK456;
  12168. __IO uint32_t INTMSK457;
  12169. __IO uint32_t INTMSK458;
  12170. __IO uint32_t INTMSK459;
  12171. __IO uint32_t INTMSK460;
  12172. __IO uint32_t INTMSK461;
  12173. __IO uint32_t INTMSK462;
  12174. __IO uint32_t INTMSK463;
  12175. __IO uint32_t INTMSK464;
  12176. __IO uint32_t INTMSK465;
  12177. __IO uint32_t INTMSK466;
  12178. __IO uint32_t INTMSK467;
  12179. __IO uint32_t INTMSK468;
  12180. __IO uint32_t INTMSK469;
  12181. __IO uint32_t INTMSK470;
  12182. __IO uint32_t INTMSK471;
  12183. __IO uint32_t INTMSK472;
  12184. __IO uint32_t INTMSK473;
  12185. __IO uint32_t INTMSK474;
  12186. __IO uint32_t INTMSK475;
  12187. __IO uint32_t INTMSK476;
  12188. __IO uint32_t INTMSK477;
  12189. __IO uint32_t INTMSK478;
  12190. __IO uint32_t INTMSK479;
  12191. } stc_intc_intmsk14_bit_t;
  12192. typedef struct {
  12193. __IO uint32_t INTMSK480;
  12194. __IO uint32_t INTMSK481;
  12195. __IO uint32_t INTMSK482;
  12196. __IO uint32_t INTMSK483;
  12197. __IO uint32_t INTMSK484;
  12198. __IO uint32_t INTMSK485;
  12199. __IO uint32_t INTMSK486;
  12200. __IO uint32_t INTMSK487;
  12201. __IO uint32_t INTMSK488;
  12202. __IO uint32_t INTMSK489;
  12203. __IO uint32_t INTMSK490;
  12204. __IO uint32_t INTMSK491;
  12205. __IO uint32_t INTMSK492;
  12206. __IO uint32_t INTMSK493;
  12207. __IO uint32_t INTMSK494;
  12208. __IO uint32_t INTMSK495;
  12209. __IO uint32_t INTMSK496;
  12210. __IO uint32_t INTMSK497;
  12211. __IO uint32_t INTMSK498;
  12212. __IO uint32_t INTMSK499;
  12213. __IO uint32_t INTMSK500;
  12214. __IO uint32_t INTMSK501;
  12215. __IO uint32_t INTMSK502;
  12216. __IO uint32_t INTMSK503;
  12217. __IO uint32_t INTMSK504;
  12218. __IO uint32_t INTMSK505;
  12219. __IO uint32_t INTMSK506;
  12220. __IO uint32_t INTMSK507;
  12221. __IO uint32_t INTMSK508;
  12222. __IO uint32_t INTMSK509;
  12223. __IO uint32_t INTMSK510;
  12224. __IO uint32_t INTMSK511;
  12225. } stc_intc_intmsk15_bit_t;
  12226. typedef struct {
  12227. __IO uint32_t SWIE0;
  12228. __IO uint32_t SWIE1;
  12229. __IO uint32_t SWIE2;
  12230. __IO uint32_t SWIE3;
  12231. __IO uint32_t SWIE4;
  12232. __IO uint32_t SWIE5;
  12233. __IO uint32_t SWIE6;
  12234. __IO uint32_t SWIE7;
  12235. __IO uint32_t SWIE8;
  12236. __IO uint32_t SWIE9;
  12237. __IO uint32_t SWIE10;
  12238. __IO uint32_t SWIE11;
  12239. __IO uint32_t SWIE12;
  12240. __IO uint32_t SWIE13;
  12241. __IO uint32_t SWIE14;
  12242. __IO uint32_t SWIE15;
  12243. __IO uint32_t SWIE16;
  12244. __IO uint32_t SWIE17;
  12245. __IO uint32_t SWIE18;
  12246. __IO uint32_t SWIE19;
  12247. __IO uint32_t SWIE20;
  12248. __IO uint32_t SWIE21;
  12249. __IO uint32_t SWIE22;
  12250. __IO uint32_t SWIE23;
  12251. __IO uint32_t SWIE24;
  12252. __IO uint32_t SWIE25;
  12253. __IO uint32_t SWIE26;
  12254. __IO uint32_t SWIE27;
  12255. __IO uint32_t SWIE28;
  12256. __IO uint32_t SWIE29;
  12257. __IO uint32_t SWIE30;
  12258. __IO uint32_t SWIE31;
  12259. } stc_intc_swier_bit_t;
  12260. typedef struct {
  12261. __IO uint32_t EVTE0;
  12262. __IO uint32_t EVTE1;
  12263. __IO uint32_t EVTE2;
  12264. __IO uint32_t EVTE3;
  12265. __IO uint32_t EVTE4;
  12266. __IO uint32_t EVTE5;
  12267. __IO uint32_t EVTE6;
  12268. __IO uint32_t EVTE7;
  12269. __IO uint32_t EVTE8;
  12270. __IO uint32_t EVTE9;
  12271. __IO uint32_t EVTE10;
  12272. __IO uint32_t EVTE11;
  12273. __IO uint32_t EVTE12;
  12274. __IO uint32_t EVTE13;
  12275. __IO uint32_t EVTE14;
  12276. __IO uint32_t EVTE15;
  12277. __IO uint32_t EVTE16;
  12278. __IO uint32_t EVTE17;
  12279. __IO uint32_t EVTE18;
  12280. __IO uint32_t EVTE19;
  12281. __IO uint32_t EVTE20;
  12282. __IO uint32_t EVTE21;
  12283. __IO uint32_t EVTE22;
  12284. __IO uint32_t EVTE23;
  12285. __IO uint32_t EVTE24;
  12286. __IO uint32_t EVTE25;
  12287. __IO uint32_t EVTE26;
  12288. __IO uint32_t EVTE27;
  12289. __IO uint32_t EVTE28;
  12290. __IO uint32_t EVTE29;
  12291. __IO uint32_t EVTE30;
  12292. __IO uint32_t EVTE31;
  12293. } stc_intc_evter_bit_t;
  12294. typedef struct {
  12295. __IO uint32_t IEN0;
  12296. __IO uint32_t IEN1;
  12297. __IO uint32_t IEN2;
  12298. __IO uint32_t IEN3;
  12299. __IO uint32_t IEN4;
  12300. __IO uint32_t IEN5;
  12301. __IO uint32_t IEN6;
  12302. __IO uint32_t IEN7;
  12303. __IO uint32_t IEN8;
  12304. __IO uint32_t IEN9;
  12305. __IO uint32_t IEN10;
  12306. __IO uint32_t IEN11;
  12307. __IO uint32_t IEN12;
  12308. __IO uint32_t IEN13;
  12309. __IO uint32_t IEN14;
  12310. __IO uint32_t IEN15;
  12311. __IO uint32_t IEN16;
  12312. __IO uint32_t IEN17;
  12313. __IO uint32_t IEN18;
  12314. __IO uint32_t IEN19;
  12315. __IO uint32_t IEN20;
  12316. __IO uint32_t IEN21;
  12317. __IO uint32_t IEN22;
  12318. __IO uint32_t IEN23;
  12319. __IO uint32_t IEN24;
  12320. __IO uint32_t IEN25;
  12321. __IO uint32_t IEN26;
  12322. __IO uint32_t IEN27;
  12323. __IO uint32_t IEN28;
  12324. __IO uint32_t IEN29;
  12325. __IO uint32_t IEN30;
  12326. __IO uint32_t IEN31;
  12327. } stc_intc_ier_bit_t;
  12328. typedef struct {
  12329. __IO uint32_t KEYINSEL0;
  12330. __IO uint32_t KEYINSEL1;
  12331. __IO uint32_t KEYINSEL2;
  12332. __IO uint32_t KEYINSEL3;
  12333. __IO uint32_t KEYINSEL4;
  12334. __IO uint32_t KEYINSEL5;
  12335. __IO uint32_t KEYINSEL6;
  12336. __IO uint32_t KEYINSEL7;
  12337. __IO uint32_t KEYINSEL8;
  12338. __IO uint32_t KEYINSEL9;
  12339. __IO uint32_t KEYINSEL10;
  12340. __IO uint32_t KEYINSEL11;
  12341. __IO uint32_t KEYINSEL12;
  12342. __IO uint32_t KEYINSEL13;
  12343. __IO uint32_t KEYINSEL14;
  12344. __IO uint32_t KEYINSEL15;
  12345. uint32_t RESERVED0[4];
  12346. __IO uint32_t CKSEL0;
  12347. __IO uint32_t CKSEL1;
  12348. uint32_t RESERVED1[10];
  12349. } stc_keyscan_scr_bit_t;
  12350. typedef struct {
  12351. __IO uint32_t SEN;
  12352. uint32_t RESERVED0[31];
  12353. } stc_keyscan_ser_bit_t;
  12354. typedef struct {
  12355. uint32_t RESERVED0[23];
  12356. __IO uint32_t TDC;
  12357. uint32_t RESERVED1[8];
  12358. } stc_mcan_dbtp_bit_t;
  12359. typedef struct {
  12360. uint32_t RESERVED0[4];
  12361. __IO uint32_t LBCK;
  12362. __IO uint32_t TX0;
  12363. __IO uint32_t TX1;
  12364. __I uint32_t RX;
  12365. uint32_t RESERVED1[5];
  12366. __I uint32_t PVAL;
  12367. uint32_t RESERVED2[7];
  12368. __I uint32_t SVAL;
  12369. uint32_t RESERVED3[10];
  12370. } stc_mcan_test_bit_t;
  12371. typedef struct {
  12372. __IO uint32_t INIT;
  12373. __IO uint32_t CCE;
  12374. __IO uint32_t ASM;
  12375. __I uint32_t CSA;
  12376. __IO uint32_t CSR;
  12377. __IO uint32_t MON;
  12378. __IO uint32_t DAR;
  12379. __IO uint32_t TEST;
  12380. __IO uint32_t FDOE;
  12381. __IO uint32_t BRSE;
  12382. __IO uint32_t UTSU;
  12383. __IO uint32_t WMM;
  12384. __IO uint32_t PXHD;
  12385. __IO uint32_t EFBI;
  12386. __IO uint32_t TXP;
  12387. __IO uint32_t NISO;
  12388. uint32_t RESERVED0[16];
  12389. } stc_mcan_cccr_bit_t;
  12390. typedef struct {
  12391. __IO uint32_t TSS0;
  12392. __IO uint32_t TSS1;
  12393. uint32_t RESERVED0[30];
  12394. } stc_mcan_tscc_bit_t;
  12395. typedef struct {
  12396. __IO uint32_t ETOC;
  12397. __IO uint32_t TOS0;
  12398. __IO uint32_t TOS1;
  12399. uint32_t RESERVED0[29];
  12400. } stc_mcan_tocc_bit_t;
  12401. typedef struct {
  12402. uint32_t RESERVED0[15];
  12403. __I uint32_t RP;
  12404. uint32_t RESERVED1[16];
  12405. } stc_mcan_ecr_bit_t;
  12406. typedef struct {
  12407. uint32_t RESERVED0[3];
  12408. __I uint32_t ACT0;
  12409. __I uint32_t ACT1;
  12410. __I uint32_t EP;
  12411. __I uint32_t EW;
  12412. __I uint32_t BO;
  12413. uint32_t RESERVED1[3];
  12414. __I uint32_t RESI;
  12415. __I uint32_t RBRS;
  12416. __I uint32_t RFDF;
  12417. __I uint32_t PXE;
  12418. uint32_t RESERVED2[17];
  12419. } stc_mcan_psr_bit_t;
  12420. typedef struct {
  12421. __IO uint32_t RF0N;
  12422. __IO uint32_t RF0W;
  12423. __IO uint32_t RF0F;
  12424. __IO uint32_t RF0L;
  12425. __IO uint32_t RF1N;
  12426. __IO uint32_t RF1W;
  12427. __IO uint32_t RF1F;
  12428. __IO uint32_t RF1L;
  12429. __IO uint32_t HPM;
  12430. __IO uint32_t TC;
  12431. __IO uint32_t TCF;
  12432. __IO uint32_t TFE;
  12433. __IO uint32_t TEFN;
  12434. __IO uint32_t TEFW;
  12435. __IO uint32_t TEFF;
  12436. __IO uint32_t TEFL;
  12437. __IO uint32_t TSW;
  12438. __IO uint32_t MRAF;
  12439. __IO uint32_t TOO;
  12440. __IO uint32_t DRX;
  12441. __IO uint32_t BEC;
  12442. __IO uint32_t BEU;
  12443. __IO uint32_t ELO;
  12444. __IO uint32_t EP;
  12445. __IO uint32_t EW;
  12446. __IO uint32_t BO;
  12447. __IO uint32_t WDI;
  12448. __IO uint32_t PEA;
  12449. __IO uint32_t PED;
  12450. __IO uint32_t ARA;
  12451. uint32_t RESERVED0[2];
  12452. } stc_mcan_ir_bit_t;
  12453. typedef struct {
  12454. __IO uint32_t RF0NE;
  12455. __IO uint32_t RF0WE;
  12456. __IO uint32_t RF0FE;
  12457. __IO uint32_t RF0LE;
  12458. __IO uint32_t RF1NE;
  12459. __IO uint32_t RF1WE;
  12460. __IO uint32_t RF1FE;
  12461. __IO uint32_t RF1LE;
  12462. __IO uint32_t HPME;
  12463. __IO uint32_t TCE;
  12464. __IO uint32_t TCFE;
  12465. __IO uint32_t TFEE;
  12466. __IO uint32_t TEFNE;
  12467. __IO uint32_t TEFWE;
  12468. __IO uint32_t TEFFE;
  12469. __IO uint32_t TEFLE;
  12470. __IO uint32_t TSWE;
  12471. __IO uint32_t MRAFE;
  12472. __IO uint32_t TOOE;
  12473. __IO uint32_t DRXE;
  12474. __IO uint32_t BECE;
  12475. __IO uint32_t BEUE;
  12476. __IO uint32_t ELOE;
  12477. __IO uint32_t EPE;
  12478. __IO uint32_t EWE;
  12479. __IO uint32_t BOE;
  12480. __IO uint32_t WDIE;
  12481. __IO uint32_t PEAE;
  12482. __IO uint32_t PEDE;
  12483. __IO uint32_t ARAE;
  12484. uint32_t RESERVED0[2];
  12485. } stc_mcan_ie_bit_t;
  12486. typedef struct {
  12487. __IO uint32_t RF0NL;
  12488. __IO uint32_t RF0WL;
  12489. __IO uint32_t RF0FL;
  12490. __IO uint32_t RF0LL;
  12491. __IO uint32_t RF1NL;
  12492. __IO uint32_t RF1WL;
  12493. __IO uint32_t RF1FL;
  12494. __IO uint32_t RF1LL;
  12495. __IO uint32_t HPML;
  12496. __IO uint32_t TCL;
  12497. __IO uint32_t TCFL;
  12498. __IO uint32_t TFEL;
  12499. __IO uint32_t TEFNL;
  12500. __IO uint32_t TEFWL;
  12501. __IO uint32_t TEFFL;
  12502. __IO uint32_t TEFLL;
  12503. __IO uint32_t TSWL;
  12504. __IO uint32_t MRAFL;
  12505. __IO uint32_t TOOL;
  12506. __IO uint32_t DRXL;
  12507. __IO uint32_t BECL;
  12508. __IO uint32_t BEUL;
  12509. __IO uint32_t ELOL;
  12510. __IO uint32_t EPL;
  12511. __IO uint32_t EWL;
  12512. __IO uint32_t BOL;
  12513. __IO uint32_t WDIL;
  12514. __IO uint32_t PEAL;
  12515. __IO uint32_t PEDL;
  12516. __IO uint32_t ARAL;
  12517. uint32_t RESERVED0[2];
  12518. } stc_mcan_ils_bit_t;
  12519. typedef struct {
  12520. __IO uint32_t EINT0;
  12521. __IO uint32_t EINT1;
  12522. uint32_t RESERVED0[30];
  12523. } stc_mcan_ile_bit_t;
  12524. typedef struct {
  12525. __IO uint32_t RRFE;
  12526. __IO uint32_t RRFS;
  12527. __IO uint32_t ANFE0;
  12528. __IO uint32_t ANFE1;
  12529. __IO uint32_t ANFS0;
  12530. __IO uint32_t ANFS1;
  12531. uint32_t RESERVED0[26];
  12532. } stc_mcan_gfc_bit_t;
  12533. typedef struct {
  12534. uint32_t RESERVED0[6];
  12535. __I uint32_t MSI0;
  12536. __I uint32_t MSI1;
  12537. uint32_t RESERVED1[7];
  12538. __I uint32_t FLST;
  12539. uint32_t RESERVED2[16];
  12540. } stc_mcan_hpms_bit_t;
  12541. typedef struct {
  12542. __IO uint32_t ND0;
  12543. __IO uint32_t ND1;
  12544. __IO uint32_t ND2;
  12545. __IO uint32_t ND3;
  12546. __IO uint32_t ND4;
  12547. __IO uint32_t ND5;
  12548. __IO uint32_t ND6;
  12549. __IO uint32_t ND7;
  12550. __IO uint32_t ND8;
  12551. __IO uint32_t ND9;
  12552. __IO uint32_t ND10;
  12553. __IO uint32_t ND11;
  12554. __IO uint32_t ND12;
  12555. __IO uint32_t ND13;
  12556. __IO uint32_t ND14;
  12557. __IO uint32_t ND15;
  12558. __IO uint32_t ND16;
  12559. __IO uint32_t ND17;
  12560. __IO uint32_t ND18;
  12561. __IO uint32_t ND19;
  12562. __IO uint32_t ND20;
  12563. __IO uint32_t ND21;
  12564. __IO uint32_t ND22;
  12565. __IO uint32_t ND23;
  12566. __IO uint32_t ND24;
  12567. __IO uint32_t ND25;
  12568. __IO uint32_t ND26;
  12569. __IO uint32_t ND27;
  12570. __IO uint32_t ND28;
  12571. __IO uint32_t ND29;
  12572. __IO uint32_t ND30;
  12573. __IO uint32_t ND31;
  12574. } stc_mcan_ndat1_bit_t;
  12575. typedef struct {
  12576. __IO uint32_t ND32;
  12577. __IO uint32_t ND33;
  12578. __IO uint32_t ND34;
  12579. __IO uint32_t ND35;
  12580. __IO uint32_t ND36;
  12581. __IO uint32_t ND37;
  12582. __IO uint32_t ND38;
  12583. __IO uint32_t ND39;
  12584. __IO uint32_t ND40;
  12585. __IO uint32_t ND41;
  12586. __IO uint32_t ND42;
  12587. __IO uint32_t ND43;
  12588. __IO uint32_t ND44;
  12589. __IO uint32_t ND45;
  12590. __IO uint32_t ND46;
  12591. __IO uint32_t ND47;
  12592. __IO uint32_t ND48;
  12593. __IO uint32_t ND49;
  12594. __IO uint32_t ND50;
  12595. __IO uint32_t ND51;
  12596. __IO uint32_t ND52;
  12597. __IO uint32_t ND53;
  12598. __IO uint32_t ND54;
  12599. __IO uint32_t ND55;
  12600. __IO uint32_t ND56;
  12601. __IO uint32_t ND57;
  12602. __IO uint32_t ND58;
  12603. __IO uint32_t ND59;
  12604. __IO uint32_t ND60;
  12605. __IO uint32_t ND61;
  12606. __IO uint32_t ND62;
  12607. __IO uint32_t ND63;
  12608. } stc_mcan_ndat2_bit_t;
  12609. typedef struct {
  12610. uint32_t RESERVED0[31];
  12611. __IO uint32_t F0OM;
  12612. } stc_mcan_rxf0c_bit_t;
  12613. typedef struct {
  12614. uint32_t RESERVED0[24];
  12615. __I uint32_t F0F;
  12616. __I uint32_t RF0L;
  12617. uint32_t RESERVED1[6];
  12618. } stc_mcan_rxf0s_bit_t;
  12619. typedef struct {
  12620. uint32_t RESERVED0[31];
  12621. __IO uint32_t F1OM;
  12622. } stc_mcan_rxf1c_bit_t;
  12623. typedef struct {
  12624. uint32_t RESERVED0[24];
  12625. __I uint32_t F1F;
  12626. __I uint32_t RF1L;
  12627. uint32_t RESERVED1[4];
  12628. __I uint32_t DMS0;
  12629. __I uint32_t DMS1;
  12630. } stc_mcan_rxf1s_bit_t;
  12631. typedef struct {
  12632. __IO uint32_t F0DS0;
  12633. __IO uint32_t F0DS1;
  12634. __IO uint32_t F0DS2;
  12635. uint32_t RESERVED0[1];
  12636. __IO uint32_t F1DS0;
  12637. __IO uint32_t F1DS1;
  12638. __IO uint32_t F1DS2;
  12639. uint32_t RESERVED1[1];
  12640. __IO uint32_t RBDS0;
  12641. __IO uint32_t RBDS1;
  12642. __IO uint32_t RBDS2;
  12643. uint32_t RESERVED2[21];
  12644. } stc_mcan_rxesc_bit_t;
  12645. typedef struct {
  12646. uint32_t RESERVED0[30];
  12647. __IO uint32_t TFQM;
  12648. uint32_t RESERVED1[1];
  12649. } stc_mcan_txbc_bit_t;
  12650. typedef struct {
  12651. uint32_t RESERVED0[21];
  12652. __I uint32_t TFQF;
  12653. uint32_t RESERVED1[10];
  12654. } stc_mcan_txfqs_bit_t;
  12655. typedef struct {
  12656. __I uint32_t TRP0;
  12657. __I uint32_t TRP1;
  12658. __I uint32_t TRP2;
  12659. __I uint32_t TRP3;
  12660. __I uint32_t TRP4;
  12661. __I uint32_t TRP5;
  12662. __I uint32_t TRP6;
  12663. __I uint32_t TRP7;
  12664. __I uint32_t TRP8;
  12665. __I uint32_t TRP9;
  12666. __I uint32_t TRP10;
  12667. __I uint32_t TRP11;
  12668. __I uint32_t TRP12;
  12669. __I uint32_t TRP13;
  12670. __I uint32_t TRP14;
  12671. __I uint32_t TRP15;
  12672. __I uint32_t TRP16;
  12673. __I uint32_t TRP17;
  12674. __I uint32_t TRP18;
  12675. __I uint32_t TRP19;
  12676. __I uint32_t TRP20;
  12677. __I uint32_t TRP21;
  12678. __I uint32_t TRP22;
  12679. __I uint32_t TRP23;
  12680. __I uint32_t TRP24;
  12681. __I uint32_t TRP25;
  12682. __I uint32_t TRP26;
  12683. __I uint32_t TRP27;
  12684. __I uint32_t TRP28;
  12685. __I uint32_t TRP29;
  12686. __I uint32_t TRP30;
  12687. __I uint32_t TRP31;
  12688. } stc_mcan_txbrp_bit_t;
  12689. typedef struct {
  12690. __IO uint32_t AR0;
  12691. __IO uint32_t AR1;
  12692. __IO uint32_t AR2;
  12693. __IO uint32_t AR3;
  12694. __IO uint32_t AR4;
  12695. __IO uint32_t AR5;
  12696. __IO uint32_t AR6;
  12697. __IO uint32_t AR7;
  12698. __IO uint32_t AR8;
  12699. __IO uint32_t AR9;
  12700. __IO uint32_t AR10;
  12701. __IO uint32_t AR11;
  12702. __IO uint32_t AR12;
  12703. __IO uint32_t AR13;
  12704. __IO uint32_t AR14;
  12705. __IO uint32_t AR15;
  12706. __IO uint32_t AR16;
  12707. __IO uint32_t AR17;
  12708. __IO uint32_t AR18;
  12709. __IO uint32_t AR19;
  12710. __IO uint32_t AR20;
  12711. __IO uint32_t AR21;
  12712. __IO uint32_t AR22;
  12713. __IO uint32_t AR23;
  12714. __IO uint32_t AR24;
  12715. __IO uint32_t AR25;
  12716. __IO uint32_t AR26;
  12717. __IO uint32_t AR27;
  12718. __IO uint32_t AR28;
  12719. __IO uint32_t AR29;
  12720. __IO uint32_t AR30;
  12721. __IO uint32_t AR31;
  12722. } stc_mcan_txbar_bit_t;
  12723. typedef struct {
  12724. __IO uint32_t CR0;
  12725. __IO uint32_t CR1;
  12726. __IO uint32_t CR2;
  12727. __IO uint32_t CR3;
  12728. __IO uint32_t CR4;
  12729. __IO uint32_t CR5;
  12730. __IO uint32_t CR6;
  12731. __IO uint32_t CR7;
  12732. __IO uint32_t CR8;
  12733. __IO uint32_t CR9;
  12734. __IO uint32_t CR10;
  12735. __IO uint32_t CR11;
  12736. __IO uint32_t CR12;
  12737. __IO uint32_t CR13;
  12738. __IO uint32_t CR14;
  12739. __IO uint32_t CR15;
  12740. __IO uint32_t CR16;
  12741. __IO uint32_t CR17;
  12742. __IO uint32_t CR18;
  12743. __IO uint32_t CR19;
  12744. __IO uint32_t CR20;
  12745. __IO uint32_t CR21;
  12746. __IO uint32_t CR22;
  12747. __IO uint32_t CR23;
  12748. __IO uint32_t CR24;
  12749. __IO uint32_t CR25;
  12750. __IO uint32_t CR26;
  12751. __IO uint32_t CR27;
  12752. __IO uint32_t CR28;
  12753. __IO uint32_t CR29;
  12754. __IO uint32_t CR30;
  12755. __IO uint32_t CR31;
  12756. } stc_mcan_txbcr_bit_t;
  12757. typedef struct {
  12758. __I uint32_t TO0;
  12759. __I uint32_t TO1;
  12760. __I uint32_t TO2;
  12761. __I uint32_t TO3;
  12762. __I uint32_t TO4;
  12763. __I uint32_t TO5;
  12764. __I uint32_t TO6;
  12765. __I uint32_t TO7;
  12766. __I uint32_t TO8;
  12767. __I uint32_t TO9;
  12768. __I uint32_t TO10;
  12769. __I uint32_t TO11;
  12770. __I uint32_t TO12;
  12771. __I uint32_t TO13;
  12772. __I uint32_t TO14;
  12773. __I uint32_t TO15;
  12774. __I uint32_t TO16;
  12775. __I uint32_t TO17;
  12776. __I uint32_t TO18;
  12777. __I uint32_t TO19;
  12778. __I uint32_t TO20;
  12779. __I uint32_t TO21;
  12780. __I uint32_t TO22;
  12781. __I uint32_t TO23;
  12782. __I uint32_t TO24;
  12783. __I uint32_t TO25;
  12784. __I uint32_t TO26;
  12785. __I uint32_t TO27;
  12786. __I uint32_t TO28;
  12787. __I uint32_t TO29;
  12788. __I uint32_t TO30;
  12789. __I uint32_t TO31;
  12790. } stc_mcan_txbto_bit_t;
  12791. typedef struct {
  12792. __I uint32_t CF0;
  12793. __I uint32_t CF1;
  12794. __I uint32_t CF2;
  12795. __I uint32_t CF3;
  12796. __I uint32_t CF4;
  12797. __I uint32_t CF5;
  12798. __I uint32_t CF6;
  12799. __I uint32_t CF7;
  12800. __I uint32_t CF8;
  12801. __I uint32_t CF9;
  12802. __I uint32_t CF10;
  12803. __I uint32_t CF11;
  12804. __I uint32_t CF12;
  12805. __I uint32_t CF13;
  12806. __I uint32_t CF14;
  12807. __I uint32_t CF15;
  12808. __I uint32_t CF16;
  12809. __I uint32_t CF17;
  12810. __I uint32_t CF18;
  12811. __I uint32_t CF19;
  12812. __I uint32_t CF20;
  12813. __I uint32_t CF21;
  12814. __I uint32_t CF22;
  12815. __I uint32_t CF23;
  12816. __I uint32_t CF24;
  12817. __I uint32_t CF25;
  12818. __I uint32_t CF26;
  12819. __I uint32_t CF27;
  12820. __I uint32_t CF28;
  12821. __I uint32_t CF29;
  12822. __I uint32_t CF30;
  12823. __I uint32_t CF31;
  12824. } stc_mcan_txbcf_bit_t;
  12825. typedef struct {
  12826. __IO uint32_t TIE0;
  12827. __IO uint32_t TIE1;
  12828. __IO uint32_t TIE2;
  12829. __IO uint32_t TIE3;
  12830. __IO uint32_t TIE4;
  12831. __IO uint32_t TIE5;
  12832. __IO uint32_t TIE6;
  12833. __IO uint32_t TIE7;
  12834. __IO uint32_t TIE8;
  12835. __IO uint32_t TIE9;
  12836. __IO uint32_t TIE10;
  12837. __IO uint32_t TIE11;
  12838. __IO uint32_t TIE12;
  12839. __IO uint32_t TIE13;
  12840. __IO uint32_t TIE14;
  12841. __IO uint32_t TIE15;
  12842. __IO uint32_t TIE16;
  12843. __IO uint32_t TIE17;
  12844. __IO uint32_t TIE18;
  12845. __IO uint32_t TIE19;
  12846. __IO uint32_t TIE20;
  12847. __IO uint32_t TIE21;
  12848. __IO uint32_t TIE22;
  12849. __IO uint32_t TIE23;
  12850. __IO uint32_t TIE24;
  12851. __IO uint32_t TIE25;
  12852. __IO uint32_t TIE26;
  12853. __IO uint32_t TIE27;
  12854. __IO uint32_t TIE28;
  12855. __IO uint32_t TIE29;
  12856. __IO uint32_t TIE30;
  12857. __IO uint32_t TIE31;
  12858. } stc_mcan_txbtie_bit_t;
  12859. typedef struct {
  12860. __IO uint32_t CFIE0;
  12861. __IO uint32_t CFIE1;
  12862. __IO uint32_t CFIE2;
  12863. __IO uint32_t CFIE3;
  12864. __IO uint32_t CFIE4;
  12865. __IO uint32_t CFIE5;
  12866. __IO uint32_t CFIE6;
  12867. __IO uint32_t CFIE7;
  12868. __IO uint32_t CFIE8;
  12869. __IO uint32_t CFIE9;
  12870. __IO uint32_t CFIE10;
  12871. __IO uint32_t CFIE11;
  12872. __IO uint32_t CFIE12;
  12873. __IO uint32_t CFIE13;
  12874. __IO uint32_t CFIE14;
  12875. __IO uint32_t CFIE15;
  12876. __IO uint32_t CFIE16;
  12877. __IO uint32_t CFIE17;
  12878. __IO uint32_t CFIE18;
  12879. __IO uint32_t CFIE19;
  12880. __IO uint32_t CFIE20;
  12881. __IO uint32_t CFIE21;
  12882. __IO uint32_t CFIE22;
  12883. __IO uint32_t CFIE23;
  12884. __IO uint32_t CFIE24;
  12885. __IO uint32_t CFIE25;
  12886. __IO uint32_t CFIE26;
  12887. __IO uint32_t CFIE27;
  12888. __IO uint32_t CFIE28;
  12889. __IO uint32_t CFIE29;
  12890. __IO uint32_t CFIE30;
  12891. __IO uint32_t CFIE31;
  12892. } stc_mcan_txbcie_bit_t;
  12893. typedef struct {
  12894. uint32_t RESERVED0[24];
  12895. __I uint32_t EFF;
  12896. __I uint32_t TEFL;
  12897. uint32_t RESERVED1[6];
  12898. } stc_mcan_txefs_bit_t;
  12899. typedef struct {
  12900. __I uint32_t SMPU1EAF;
  12901. __I uint32_t SMPU2EAF;
  12902. __I uint32_t PSPEF;
  12903. __I uint32_t MSPEF;
  12904. uint32_t RESERVED0[28];
  12905. } stc_mpu_sr_bit_t;
  12906. typedef struct {
  12907. __O uint32_t SMPU1ECLR;
  12908. __O uint32_t SMPU2ECLR;
  12909. __O uint32_t PSPECLR;
  12910. __O uint32_t MSPECLR;
  12911. uint32_t RESERVED0[28];
  12912. } stc_mpu_eclr_bit_t;
  12913. typedef struct {
  12914. __IO uint32_t MPUWE;
  12915. uint32_t RESERVED0[31];
  12916. } stc_mpu_wp_bit_t;
  12917. typedef struct {
  12918. __IO uint32_t AESRDP;
  12919. __IO uint32_t AESWRP;
  12920. __IO uint32_t HASHRDP;
  12921. __IO uint32_t HASHWRP;
  12922. __IO uint32_t TRNGRDP;
  12923. __IO uint32_t TRNGWRP;
  12924. __IO uint32_t CRCRDP;
  12925. __IO uint32_t CRCWRP;
  12926. __IO uint32_t EFMRDP;
  12927. __IO uint32_t EFMWRP;
  12928. uint32_t RESERVED0[2];
  12929. __IO uint32_t WDTRDP;
  12930. __IO uint32_t WDTWRP;
  12931. __IO uint32_t SWDTRDP;
  12932. __IO uint32_t SWDTWRP;
  12933. __IO uint32_t BKSRAMRDP;
  12934. __IO uint32_t BKSRAMWRP;
  12935. __IO uint32_t RTCRDP;
  12936. __IO uint32_t RTCWRP;
  12937. __IO uint32_t DMPURDP;
  12938. __IO uint32_t DMPUWRP;
  12939. __IO uint32_t SRAMCRDP;
  12940. __IO uint32_t SRAMCWRP;
  12941. __IO uint32_t INTCRDP;
  12942. __IO uint32_t INTCWRP;
  12943. __IO uint32_t SYSCRDP;
  12944. __IO uint32_t SYSCWRP;
  12945. __IO uint32_t MSTPRDP;
  12946. __IO uint32_t MSPTWRP;
  12947. uint32_t RESERVED1[1];
  12948. __IO uint32_t BUSERRE;
  12949. } stc_mpu_ippr_bit_t;
  12950. typedef struct {
  12951. uint32_t RESERVED0[30];
  12952. __IO uint32_t MSPPACT;
  12953. __IO uint32_t MSPPE;
  12954. } stc_mpu_msppctl_bit_t;
  12955. typedef struct {
  12956. uint32_t RESERVED0[30];
  12957. __IO uint32_t PSPPACT;
  12958. __IO uint32_t PSPPE;
  12959. } stc_mpu_psppctl_bit_t;
  12960. typedef struct {
  12961. __IO uint32_t RG0E;
  12962. __IO uint32_t RG1E;
  12963. __IO uint32_t RG2E;
  12964. __IO uint32_t RG3E;
  12965. __IO uint32_t RG4E;
  12966. __IO uint32_t RG5E;
  12967. __IO uint32_t RG6E;
  12968. __IO uint32_t RG7E;
  12969. __IO uint32_t RG8E;
  12970. __IO uint32_t RG9E;
  12971. __IO uint32_t RG10E;
  12972. __IO uint32_t RG11E;
  12973. __IO uint32_t RG12E;
  12974. __IO uint32_t RG13E;
  12975. __IO uint32_t RG14E;
  12976. __IO uint32_t RG15E;
  12977. uint32_t RESERVED0[16];
  12978. } stc_mpu_srge_bit_t;
  12979. typedef struct {
  12980. __IO uint32_t RG0WP;
  12981. __IO uint32_t RG1WP;
  12982. __IO uint32_t RG2WP;
  12983. __IO uint32_t RG3WP;
  12984. __IO uint32_t RG4WP;
  12985. __IO uint32_t RG5WP;
  12986. __IO uint32_t RG6WP;
  12987. __IO uint32_t RG7WP;
  12988. __IO uint32_t RG8WP;
  12989. __IO uint32_t RG9WP;
  12990. __IO uint32_t RG10WP;
  12991. __IO uint32_t RG11WP;
  12992. __IO uint32_t RG12WP;
  12993. __IO uint32_t RG13WP;
  12994. __IO uint32_t RG14WP;
  12995. __IO uint32_t RG15WP;
  12996. uint32_t RESERVED0[16];
  12997. } stc_mpu_srgwp_bit_t;
  12998. typedef struct {
  12999. __IO uint32_t RG0RP;
  13000. __IO uint32_t RG1RP;
  13001. __IO uint32_t RG2RP;
  13002. __IO uint32_t RG3RP;
  13003. __IO uint32_t RG4RP;
  13004. __IO uint32_t RG5RP;
  13005. __IO uint32_t RG6RP;
  13006. __IO uint32_t RG7RP;
  13007. __IO uint32_t RG8RP;
  13008. __IO uint32_t RG9RP;
  13009. __IO uint32_t RG10RP;
  13010. __IO uint32_t RG11RP;
  13011. __IO uint32_t RG12RP;
  13012. __IO uint32_t RG13RP;
  13013. __IO uint32_t RG14RP;
  13014. __IO uint32_t RG15RP;
  13015. uint32_t RESERVED0[16];
  13016. } stc_mpu_srgrp_bit_t;
  13017. typedef struct {
  13018. __IO uint32_t SMPUBRP;
  13019. __IO uint32_t SMPUBWP;
  13020. __IO uint32_t SMPUACT0;
  13021. __IO uint32_t SMPUACT1;
  13022. uint32_t RESERVED0[3];
  13023. __IO uint32_t SMPUE;
  13024. uint32_t RESERVED1[24];
  13025. } stc_mpu_scr_bit_t;
  13026. typedef struct {
  13027. uint32_t RESERVED0[1];
  13028. __IO uint32_t SMCEN;
  13029. uint32_t RESERVED1[30];
  13030. } stc_peric_smc_enar_bit_t;
  13031. typedef struct {
  13032. __IO uint32_t TMR0U1A;
  13033. __IO uint32_t TMR0U1B;
  13034. __IO uint32_t TMR0U2A;
  13035. __IO uint32_t TMR0U2B;
  13036. __IO uint32_t TMR4U1;
  13037. __IO uint32_t TMR4U2;
  13038. __IO uint32_t TMR4U3;
  13039. uint32_t RESERVED0[1];
  13040. __IO uint32_t TMR6U1;
  13041. __IO uint32_t TMR6U2;
  13042. __IO uint32_t TMRAU1;
  13043. __IO uint32_t TMRAU2;
  13044. __IO uint32_t TMRAU3;
  13045. __IO uint32_t TMRAU4;
  13046. __IO uint32_t TMRAU5;
  13047. uint32_t RESERVED1[17];
  13048. } stc_peric_tmr_synenr_bit_t;
  13049. typedef struct {
  13050. __IO uint32_t USASRT1_NFS0;
  13051. __IO uint32_t USASRT1_NFS1;
  13052. __IO uint32_t USART1_NFE;
  13053. uint32_t RESERVED0[29];
  13054. } stc_peric_usart1_nfc_bit_t;
  13055. typedef struct {
  13056. __IO uint32_t SRAMH;
  13057. uint32_t RESERVED0[3];
  13058. __IO uint32_t SRAM0;
  13059. uint32_t RESERVED1[5];
  13060. __IO uint32_t SRAMB;
  13061. uint32_t RESERVED2[2];
  13062. __IO uint32_t KEY;
  13063. __IO uint32_t DMA1;
  13064. __IO uint32_t DMA2;
  13065. __IO uint32_t FCM;
  13066. __IO uint32_t AOS;
  13067. __IO uint32_t CTC;
  13068. uint32_t RESERVED3[1];
  13069. __IO uint32_t AES;
  13070. __IO uint32_t HASH;
  13071. __IO uint32_t TRNG;
  13072. __IO uint32_t CRC;
  13073. __IO uint32_t DCU1;
  13074. __IO uint32_t DCU2;
  13075. __IO uint32_t DCU3;
  13076. __IO uint32_t DCU4;
  13077. uint32_t RESERVED4[4];
  13078. } stc_pwc_fcg0_bit_t;
  13079. typedef struct {
  13080. __IO uint32_t MCAN1;
  13081. __IO uint32_t MCAN2;
  13082. uint32_t RESERVED0[1];
  13083. __IO uint32_t QSPI;
  13084. __IO uint32_t I2C1;
  13085. __IO uint32_t I2C2;
  13086. uint32_t RESERVED1[10];
  13087. __IO uint32_t SPI1;
  13088. __IO uint32_t SPI2;
  13089. __IO uint32_t SPI3;
  13090. uint32_t RESERVED2[13];
  13091. } stc_pwc_fcg1_bit_t;
  13092. typedef struct {
  13093. __IO uint32_t TMR6_1;
  13094. __IO uint32_t TMR6_2;
  13095. uint32_t RESERVED0[7];
  13096. __IO uint32_t TMR4_1;
  13097. __IO uint32_t TMR4_2;
  13098. __IO uint32_t TMR4_3;
  13099. __IO uint32_t TMR0_1;
  13100. __IO uint32_t TMR0_2;
  13101. uint32_t RESERVED1[1];
  13102. __IO uint32_t EMB;
  13103. uint32_t RESERVED2[4];
  13104. __IO uint32_t TMRA_1;
  13105. __IO uint32_t TMRA_2;
  13106. __IO uint32_t TMRA_3;
  13107. __IO uint32_t TMRA_4;
  13108. __IO uint32_t TMRA_5;
  13109. uint32_t RESERVED3[7];
  13110. } stc_pwc_fcg2_bit_t;
  13111. typedef struct {
  13112. __IO uint32_t ADC1;
  13113. __IO uint32_t ADC2;
  13114. __IO uint32_t ADC3;
  13115. uint32_t RESERVED0[1];
  13116. __IO uint32_t DAC;
  13117. uint32_t RESERVED1[3];
  13118. __IO uint32_t CMP12;
  13119. __IO uint32_t CMP34;
  13120. uint32_t RESERVED2[6];
  13121. __IO uint32_t SMC;
  13122. uint32_t RESERVED3[3];
  13123. __IO uint32_t USART1;
  13124. __IO uint32_t USART2;
  13125. __IO uint32_t USART3;
  13126. __IO uint32_t USART4;
  13127. __IO uint32_t USART5;
  13128. __IO uint32_t USART6;
  13129. uint32_t RESERVED4[6];
  13130. } stc_pwc_fcg3_bit_t;
  13131. typedef struct {
  13132. __IO uint32_t PRT0;
  13133. uint32_t RESERVED0[31];
  13134. } stc_pwc_fcg0pc_bit_t;
  13135. typedef struct {
  13136. uint32_t RESERVED0[12];
  13137. __IO uint32_t WKOVF;
  13138. __IO uint32_t WKCKS0;
  13139. __IO uint32_t WKCKS1;
  13140. __IO uint32_t WKTCE;
  13141. } stc_pwc_wktcr_bit_t;
  13142. typedef struct {
  13143. __IO uint32_t PDMDS0;
  13144. __IO uint32_t PDMDS1;
  13145. uint32_t RESERVED0[2];
  13146. __IO uint32_t IORTN0;
  13147. __IO uint32_t IORTN1;
  13148. uint32_t RESERVED1[1];
  13149. __IO uint32_t PWDN;
  13150. } stc_pwc_pwrc0_bit_t;
  13151. typedef struct {
  13152. __IO uint32_t VPLLSD0;
  13153. __IO uint32_t VPLLSD1;
  13154. __IO uint32_t VHRCSD;
  13155. __IO uint32_t PDTS;
  13156. uint32_t RESERVED0[2];
  13157. __IO uint32_t STPDAS0;
  13158. __IO uint32_t STPDAS1;
  13159. } stc_pwc_pwrc1_bit_t;
  13160. typedef struct {
  13161. uint32_t RESERVED0[4];
  13162. __IO uint32_t DVS0;
  13163. __IO uint32_t DVS1;
  13164. uint32_t RESERVED1[2];
  13165. } stc_pwc_pwrc2_bit_t;
  13166. typedef struct {
  13167. uint32_t RESERVED0[7];
  13168. __IO uint32_t ADBUFE;
  13169. } stc_pwc_pwrc4_bit_t;
  13170. typedef struct {
  13171. __IO uint32_t EXVCCINEN;
  13172. uint32_t RESERVED0[4];
  13173. __IO uint32_t PVD1EN;
  13174. __IO uint32_t PVD2EN;
  13175. uint32_t RESERVED1[1];
  13176. } stc_pwc_pvdcr0_bit_t;
  13177. typedef struct {
  13178. __IO uint32_t PVD1IRE;
  13179. __IO uint32_t PVD1IRS;
  13180. __IO uint32_t PVD1CMPOE;
  13181. uint32_t RESERVED0[1];
  13182. __IO uint32_t PVD2IRE;
  13183. __IO uint32_t PVD2IRS;
  13184. __IO uint32_t PVD2CMPOE;
  13185. uint32_t RESERVED1[1];
  13186. } stc_pwc_pvdcr1_bit_t;
  13187. typedef struct {
  13188. __IO uint32_t PVD1NFDIS;
  13189. __IO uint32_t PVD1NFCKS0;
  13190. __IO uint32_t PVD1NFCKS1;
  13191. uint32_t RESERVED0[1];
  13192. __IO uint32_t PVD2NFDIS;
  13193. __IO uint32_t PVD2NFCKS0;
  13194. __IO uint32_t PVD2NFCKS1;
  13195. uint32_t RESERVED1[1];
  13196. } stc_pwc_pvdfcr_bit_t;
  13197. typedef struct {
  13198. __IO uint32_t WKE00;
  13199. __IO uint32_t WKE01;
  13200. __IO uint32_t WKE02;
  13201. __IO uint32_t WKE03;
  13202. __IO uint32_t WKE10;
  13203. __IO uint32_t WKE11;
  13204. __IO uint32_t WKE12;
  13205. __IO uint32_t WKE13;
  13206. } stc_pwc_pdwke0_bit_t;
  13207. typedef struct {
  13208. __IO uint32_t WKE20;
  13209. __IO uint32_t WKE21;
  13210. __IO uint32_t WKE22;
  13211. __IO uint32_t WKE23;
  13212. __IO uint32_t WKE30;
  13213. __IO uint32_t WKE31;
  13214. __IO uint32_t WKE32;
  13215. __IO uint32_t WKE33;
  13216. } stc_pwc_pdwke1_bit_t;
  13217. typedef struct {
  13218. __IO uint32_t VD1WKE;
  13219. __IO uint32_t VD2WKE;
  13220. uint32_t RESERVED0[2];
  13221. __IO uint32_t RTCPRDWKE;
  13222. __IO uint32_t RTCALMWKE;
  13223. uint32_t RESERVED1[1];
  13224. __IO uint32_t WKTMWKE;
  13225. } stc_pwc_pdwke2_bit_t;
  13226. typedef struct {
  13227. __IO uint32_t WK0EGS;
  13228. __IO uint32_t WK1EGS;
  13229. __IO uint32_t WK2EGS;
  13230. __IO uint32_t WK3EGS;
  13231. __IO uint32_t VD1EGS;
  13232. __IO uint32_t VD2EGS;
  13233. uint32_t RESERVED0[2];
  13234. } stc_pwc_pdwkes_bit_t;
  13235. typedef struct {
  13236. __IO uint32_t PTWK0F;
  13237. __IO uint32_t PTWK1F;
  13238. __IO uint32_t PTWK2F;
  13239. __IO uint32_t PTWK3F;
  13240. __IO uint32_t VD1WKF;
  13241. __IO uint32_t VD2WKF;
  13242. uint32_t RESERVED0[2];
  13243. } stc_pwc_pdwkf0_bit_t;
  13244. typedef struct {
  13245. uint32_t RESERVED0[3];
  13246. __IO uint32_t RXD0WKF;
  13247. __IO uint32_t RTCPRDWKF;
  13248. __IO uint32_t RTCALMWKF;
  13249. uint32_t RESERVED1[1];
  13250. __IO uint32_t WKTMWKF;
  13251. } stc_pwc_pdwkf1_bit_t;
  13252. typedef struct {
  13253. __IO uint32_t VVDRSD;
  13254. __IO uint32_t SRAMBSD;
  13255. uint32_t RESERVED0[5];
  13256. __IO uint32_t CSDIS;
  13257. } stc_pwc_pwrc5_bit_t;
  13258. typedef struct {
  13259. __IO uint32_t RTCCKSEL0;
  13260. __IO uint32_t RTCCKSEL1;
  13261. __IO uint32_t SWRIOCLR;
  13262. __IO uint32_t WDRIOCLR;
  13263. __IO uint32_t SWRDAC;
  13264. __IO uint32_t WDRDAC;
  13265. __IO uint32_t SWRTNE;
  13266. __IO uint32_t WDRTNE;
  13267. } stc_pwc_pwrc6_bit_t;
  13268. typedef struct {
  13269. __IO uint32_t PVD1NMIS;
  13270. __IO uint32_t PVD1EDGS0;
  13271. __IO uint32_t PVD1EDGS1;
  13272. uint32_t RESERVED0[1];
  13273. __IO uint32_t PVD2NMIS;
  13274. __IO uint32_t PVD2EDGS0;
  13275. __IO uint32_t PVD2EDGS1;
  13276. uint32_t RESERVED1[1];
  13277. } stc_pwc_pvdicr_bit_t;
  13278. typedef struct {
  13279. __IO uint32_t PVD1MON;
  13280. __IO uint32_t PVD1DETFLG;
  13281. uint32_t RESERVED0[2];
  13282. __IO uint32_t PVD2MON;
  13283. __IO uint32_t PVD2DETFLG;
  13284. uint32_t RESERVED1[2];
  13285. } stc_pwc_pvddsr_bit_t;
  13286. typedef struct {
  13287. __IO uint32_t RAMPDC0;
  13288. uint32_t RESERVED0[9];
  13289. __IO uint32_t RAMPDC10;
  13290. uint32_t RESERVED1[21];
  13291. } stc_pwc_rampc0_bit_t;
  13292. typedef struct {
  13293. __IO uint32_t PRAMPDC0;
  13294. uint32_t RESERVED0[2];
  13295. __IO uint32_t PRAMPDC3;
  13296. uint32_t RESERVED1[28];
  13297. } stc_pwc_pramlpc_bit_t;
  13298. typedef struct {
  13299. __IO uint32_t FLNWT;
  13300. __IO uint32_t CKSMRC;
  13301. uint32_t RESERVED0[12];
  13302. __IO uint32_t EXBUSOE;
  13303. __IO uint32_t STOP;
  13304. } stc_pwc_stpmcr_bit_t;
  13305. typedef struct {
  13306. __IO uint32_t FPRCB0;
  13307. __IO uint32_t FPRCB1;
  13308. __IO uint32_t FPRCB2;
  13309. __IO uint32_t FPRCB3;
  13310. uint32_t RESERVED0[12];
  13311. } stc_pwc_fprc_bit_t;
  13312. typedef struct {
  13313. uint32_t RESERVED0[13];
  13314. __IO uint32_t KEY;
  13315. __IO uint32_t DMA1;
  13316. __IO uint32_t DMA2;
  13317. __IO uint32_t FCM;
  13318. __IO uint32_t AOS;
  13319. __IO uint32_t CTC;
  13320. uint32_t RESERVED1[1];
  13321. __IO uint32_t AES;
  13322. __IO uint32_t HASH;
  13323. __IO uint32_t TRNG;
  13324. __IO uint32_t CRC;
  13325. __IO uint32_t DCU1;
  13326. __IO uint32_t DCU2;
  13327. __IO uint32_t DCU3;
  13328. __IO uint32_t DCU4;
  13329. uint32_t RESERVED2[4];
  13330. } stc_rmu_frst0_bit_t;
  13331. typedef struct {
  13332. uint32_t RESERVED0[3];
  13333. __IO uint32_t QSPI;
  13334. uint32_t RESERVED1[12];
  13335. __IO uint32_t SPI1;
  13336. __IO uint32_t SPI2;
  13337. __IO uint32_t SPI3;
  13338. uint32_t RESERVED2[13];
  13339. } stc_rmu_frst1_bit_t;
  13340. typedef struct {
  13341. __IO uint32_t TIMER6;
  13342. uint32_t RESERVED0[9];
  13343. __IO uint32_t TIMER4;
  13344. uint32_t RESERVED1[1];
  13345. __IO uint32_t TIMER0;
  13346. uint32_t RESERVED2[2];
  13347. __IO uint32_t EMB;
  13348. uint32_t RESERVED3[4];
  13349. __IO uint32_t TIMERA;
  13350. uint32_t RESERVED4[11];
  13351. } stc_rmu_frst2_bit_t;
  13352. typedef struct {
  13353. __IO uint32_t ADC1;
  13354. __IO uint32_t ADC2;
  13355. __IO uint32_t ADC3;
  13356. uint32_t RESERVED0[1];
  13357. __IO uint32_t DAC;
  13358. uint32_t RESERVED1[3];
  13359. __IO uint32_t CMP12;
  13360. __IO uint32_t CMP34;
  13361. uint32_t RESERVED2[6];
  13362. __IO uint32_t EXMC_SMC;
  13363. uint32_t RESERVED3[3];
  13364. __IO uint32_t USART1;
  13365. __IO uint32_t USART2;
  13366. __IO uint32_t USART3;
  13367. __IO uint32_t USART4;
  13368. __IO uint32_t USART5;
  13369. __IO uint32_t USART6;
  13370. uint32_t RESERVED4[6];
  13371. } stc_rmu_frst3_bit_t;
  13372. typedef struct {
  13373. uint32_t RESERVED0[5];
  13374. __IO uint32_t LKUPREN;
  13375. uint32_t RESERVED1[2];
  13376. } stc_rmu_prstcr0_bit_t;
  13377. typedef struct {
  13378. __IO uint32_t PORF;
  13379. __IO uint32_t PINRF;
  13380. __IO uint32_t BORF;
  13381. __IO uint32_t PVD1RF;
  13382. __IO uint32_t PVD2RF;
  13383. __IO uint32_t WDRF;
  13384. __IO uint32_t SWDRF;
  13385. __IO uint32_t PDRF;
  13386. __IO uint32_t SWRF;
  13387. __IO uint32_t MPUERF;
  13388. __IO uint32_t RAPERF;
  13389. __IO uint32_t RAECRF;
  13390. __IO uint32_t CKFERF;
  13391. __IO uint32_t XTALERF;
  13392. __IO uint32_t LKUPRF;
  13393. uint32_t RESERVED0[15];
  13394. __IO uint32_t MULTIRF;
  13395. __IO uint32_t CLRF;
  13396. } stc_rmu_rstf0_bit_t;
  13397. typedef struct {
  13398. __IO uint32_t RESET;
  13399. uint32_t RESERVED0[7];
  13400. } stc_rtc_cr0_bit_t;
  13401. typedef struct {
  13402. __IO uint32_t PRDS0;
  13403. __IO uint32_t PRDS1;
  13404. __IO uint32_t PRDS2;
  13405. __IO uint32_t AMPM;
  13406. uint32_t RESERVED0[1];
  13407. __IO uint32_t ONEHZOE;
  13408. __IO uint32_t ONEHZSEL;
  13409. __IO uint32_t START;
  13410. } stc_rtc_cr1_bit_t;
  13411. typedef struct {
  13412. __IO uint32_t RWREQ;
  13413. __IO uint32_t RWEN;
  13414. __IO uint32_t PRDF;
  13415. __IO uint32_t ALMF;
  13416. uint32_t RESERVED0[1];
  13417. __IO uint32_t PRDIE;
  13418. __IO uint32_t ALMIE;
  13419. __IO uint32_t ALME;
  13420. } stc_rtc_cr2_bit_t;
  13421. typedef struct {
  13422. uint32_t RESERVED0[4];
  13423. __IO uint32_t LRCEN;
  13424. uint32_t RESERVED1[2];
  13425. __IO uint32_t RCKSEL;
  13426. } stc_rtc_cr3_bit_t;
  13427. typedef struct {
  13428. __IO uint32_t HOURU0;
  13429. __IO uint32_t HOURU1;
  13430. __IO uint32_t HOURU2;
  13431. __IO uint32_t HOURU3;
  13432. __IO uint32_t HOURD0;
  13433. __IO uint32_t HOURD1;
  13434. uint32_t RESERVED0[2];
  13435. } stc_rtc_hour_bit_t;
  13436. typedef struct {
  13437. __IO uint32_t ALMHOURU0;
  13438. __IO uint32_t ALMHOURU1;
  13439. __IO uint32_t ALMHOURU2;
  13440. __IO uint32_t ALMHOURU3;
  13441. __IO uint32_t ALMHOURD0;
  13442. __IO uint32_t ALMHOURD1;
  13443. uint32_t RESERVED0[2];
  13444. } stc_rtc_almhour_bit_t;
  13445. typedef struct {
  13446. __IO uint32_t ALMWEEK0;
  13447. __IO uint32_t ALMWEEK1;
  13448. __IO uint32_t ALMWEEK2;
  13449. __IO uint32_t ALMWEEK3;
  13450. __IO uint32_t ALMWEEK4;
  13451. __IO uint32_t ALMWEEK5;
  13452. __IO uint32_t ALMWEEK6;
  13453. uint32_t RESERVED0[1];
  13454. } stc_rtc_almweek_bit_t;
  13455. typedef struct {
  13456. __IO uint32_t COMP8;
  13457. uint32_t RESERVED0[6];
  13458. __IO uint32_t COMPEN;
  13459. } stc_rtc_errcrh_bit_t;
  13460. typedef struct {
  13461. __IO uint32_t SPIMDS;
  13462. __IO uint32_t TXMDS;
  13463. uint32_t RESERVED0[1];
  13464. __IO uint32_t MSTR;
  13465. __IO uint32_t SPLPBK;
  13466. __IO uint32_t SPLPBK2;
  13467. __IO uint32_t SPE;
  13468. __IO uint32_t CSUSPE;
  13469. __IO uint32_t EIE;
  13470. __IO uint32_t TXIE;
  13471. __IO uint32_t RXIE;
  13472. __IO uint32_t IDIE;
  13473. __IO uint32_t MODFE;
  13474. __IO uint32_t PATE;
  13475. __IO uint32_t PAOE;
  13476. __IO uint32_t PAE;
  13477. uint32_t RESERVED1[16];
  13478. } stc_spi_cr_bit_t;
  13479. typedef struct {
  13480. __IO uint32_t FTHLV0;
  13481. __IO uint32_t FTHLV1;
  13482. __IO uint32_t CTMDS;
  13483. uint32_t RESERVED0[3];
  13484. __IO uint32_t SPRDTD;
  13485. uint32_t RESERVED1[1];
  13486. __IO uint32_t SS0PV;
  13487. __IO uint32_t SS1PV;
  13488. __IO uint32_t SS2PV;
  13489. __IO uint32_t SS3PV;
  13490. __IO uint32_t CLKDIV0;
  13491. __IO uint32_t CLKDIV1;
  13492. __IO uint32_t CLKDIV2;
  13493. __IO uint32_t CLKDIV3;
  13494. uint32_t RESERVED2[4];
  13495. __IO uint32_t MSSI0;
  13496. __IO uint32_t MSSI1;
  13497. __IO uint32_t MSSI2;
  13498. uint32_t RESERVED3[1];
  13499. __IO uint32_t MSSDL0;
  13500. __IO uint32_t MSSDL1;
  13501. __IO uint32_t MSSDL2;
  13502. uint32_t RESERVED4[1];
  13503. __IO uint32_t MIDI0;
  13504. __IO uint32_t MIDI1;
  13505. __IO uint32_t MIDI2;
  13506. uint32_t RESERVED5[1];
  13507. } stc_spi_cfg1_bit_t;
  13508. typedef struct {
  13509. __IO uint32_t OVRERF;
  13510. __I uint32_t IDLNF;
  13511. __IO uint32_t MODFERF;
  13512. __IO uint32_t PERF;
  13513. __IO uint32_t UDRERF;
  13514. __I uint32_t TDEF;
  13515. uint32_t RESERVED0[1];
  13516. __I uint32_t RDFF;
  13517. uint32_t RESERVED1[24];
  13518. } stc_spi_sr_bit_t;
  13519. typedef struct {
  13520. __IO uint32_t CPHA;
  13521. __IO uint32_t CPOL;
  13522. __IO uint32_t MBR0;
  13523. __IO uint32_t MBR1;
  13524. uint32_t RESERVED0[1];
  13525. __IO uint32_t SSA0;
  13526. __IO uint32_t SSA1;
  13527. __IO uint32_t SSA2;
  13528. __IO uint32_t DSIZE0;
  13529. __IO uint32_t DSIZE1;
  13530. __IO uint32_t DSIZE2;
  13531. __IO uint32_t DSIZE3;
  13532. __IO uint32_t LSBF;
  13533. __IO uint32_t MIDIE;
  13534. __IO uint32_t MSSDLE;
  13535. __IO uint32_t MSSIE;
  13536. uint32_t RESERVED1[16];
  13537. } stc_spi_cfg2_bit_t;
  13538. typedef struct {
  13539. __IO uint32_t SRAM0RWT0;
  13540. __IO uint32_t SRAM0RWT1;
  13541. __IO uint32_t SRAM0RWT2;
  13542. uint32_t RESERVED0[1];
  13543. __IO uint32_t SRAM0WWT0;
  13544. __IO uint32_t SRAM0WWT1;
  13545. __IO uint32_t SRAM0WWT2;
  13546. uint32_t RESERVED1[9];
  13547. __IO uint32_t SRAMHRWT0;
  13548. __IO uint32_t SRAMHRWT1;
  13549. __IO uint32_t SRAMHRWT2;
  13550. uint32_t RESERVED2[1];
  13551. __IO uint32_t SRAMHWWT0;
  13552. __IO uint32_t SRAMHWWT1;
  13553. __IO uint32_t SRAMHWWT2;
  13554. uint32_t RESERVED3[1];
  13555. __IO uint32_t SRAMBRWT0;
  13556. __IO uint32_t SRAMBRWT1;
  13557. __IO uint32_t SRAMBRWT2;
  13558. uint32_t RESERVED4[1];
  13559. __IO uint32_t SRAMBWWT0;
  13560. __IO uint32_t SRAMBWWT1;
  13561. __IO uint32_t SRAMBWWT2;
  13562. uint32_t RESERVED5[1];
  13563. } stc_sramc_wtcr_bit_t;
  13564. typedef struct {
  13565. __IO uint32_t WTPRC;
  13566. __IO uint32_t WTPRKW0;
  13567. __IO uint32_t WTPRKW1;
  13568. __IO uint32_t WTPRKW2;
  13569. __IO uint32_t WTPRKW3;
  13570. __IO uint32_t WTPRKW4;
  13571. __IO uint32_t WTPRKW5;
  13572. __IO uint32_t WTPRKW6;
  13573. uint32_t RESERVED0[24];
  13574. } stc_sramc_wtpr_bit_t;
  13575. typedef struct {
  13576. __IO uint32_t PYOAD;
  13577. uint32_t RESERVED0[15];
  13578. __IO uint32_t ECCOAD;
  13579. __IO uint32_t BECCOAD;
  13580. uint32_t RESERVED1[6];
  13581. __IO uint32_t ECCMOD0;
  13582. __IO uint32_t ECCMOD1;
  13583. __IO uint32_t BECCMOD0;
  13584. __IO uint32_t BECCMOD1;
  13585. uint32_t RESERVED2[4];
  13586. } stc_sramc_ckcr_bit_t;
  13587. typedef struct {
  13588. __IO uint32_t CKPRC;
  13589. __IO uint32_t CKPRKW0;
  13590. __IO uint32_t CKPRKW1;
  13591. __IO uint32_t CKPRKW2;
  13592. __IO uint32_t CKPRKW3;
  13593. __IO uint32_t CKPRKW4;
  13594. __IO uint32_t CKPRKW5;
  13595. __IO uint32_t CKPRKW6;
  13596. uint32_t RESERVED0[24];
  13597. } stc_sramc_ckpr_bit_t;
  13598. typedef struct {
  13599. uint32_t RESERVED0[3];
  13600. __IO uint32_t SRAMH_PYERR;
  13601. __IO uint32_t SRAM0_1ERR;
  13602. __IO uint32_t SRAM0_2ERR;
  13603. __IO uint32_t SRAMB_1ERR;
  13604. __IO uint32_t SRAMB_2ERR;
  13605. __IO uint32_t CACHE_PYERR;
  13606. uint32_t RESERVED1[23];
  13607. } stc_sramc_cksr_bit_t;
  13608. typedef struct {
  13609. __IO uint32_t EIEN;
  13610. uint32_t RESERVED0[31];
  13611. } stc_sramc_sram0_eien_bit_t;
  13612. typedef struct {
  13613. __IO uint32_t EIBIT0;
  13614. __IO uint32_t EIBIT1;
  13615. __IO uint32_t EIBIT2;
  13616. __IO uint32_t EIBIT3;
  13617. __IO uint32_t EIBIT4;
  13618. __IO uint32_t EIBIT5;
  13619. __IO uint32_t EIBIT6;
  13620. uint32_t RESERVED0[25];
  13621. } stc_sramc_sram0_eibit1_bit_t;
  13622. typedef struct {
  13623. __IO uint32_t ECCERRADDR0;
  13624. __IO uint32_t ECCERRADDR1;
  13625. __IO uint32_t ECCERRADDR2;
  13626. __IO uint32_t ECCERRADDR3;
  13627. __IO uint32_t ECCERRADDR4;
  13628. __IO uint32_t ECCERRADDR5;
  13629. __IO uint32_t ECCERRADDR6;
  13630. __IO uint32_t ECCERRADDR7;
  13631. __IO uint32_t ECCERRADDR8;
  13632. __IO uint32_t ECCERRADDR9;
  13633. __IO uint32_t ECCERRADDR10;
  13634. __IO uint32_t ECCERRADDR11;
  13635. __IO uint32_t ECCERRADDR12;
  13636. __IO uint32_t ECCERRADDR13;
  13637. __IO uint32_t ECCERRADDR14;
  13638. uint32_t RESERVED0[17];
  13639. } stc_sramc_sram0_eccerraddr_bit_t;
  13640. typedef struct {
  13641. __IO uint32_t EIEN;
  13642. uint32_t RESERVED0[31];
  13643. } stc_sramc_sramb_eien_bit_t;
  13644. typedef struct {
  13645. __IO uint32_t EIBIT0;
  13646. __IO uint32_t EIBIT1;
  13647. __IO uint32_t EIBIT2;
  13648. __IO uint32_t EIBIT3;
  13649. __IO uint32_t EIBIT4;
  13650. __IO uint32_t EIBIT5;
  13651. __IO uint32_t EIBIT6;
  13652. uint32_t RESERVED0[25];
  13653. } stc_sramc_sramb_eibit1_bit_t;
  13654. typedef struct {
  13655. __IO uint32_t ECCERRADDR0;
  13656. __IO uint32_t ECCERRADDR1;
  13657. __IO uint32_t ECCERRADDR2;
  13658. __IO uint32_t ECCERRADDR3;
  13659. __IO uint32_t ECCERRADDR4;
  13660. __IO uint32_t ECCERRADDR5;
  13661. __IO uint32_t ECCERRADDR6;
  13662. __IO uint32_t ECCERRADDR7;
  13663. __IO uint32_t ECCERRADDR8;
  13664. __IO uint32_t ECCERRADDR9;
  13665. __IO uint32_t ECCERRADDR10;
  13666. __IO uint32_t ECCERRADDR11;
  13667. uint32_t RESERVED0[20];
  13668. } stc_sramc_sramb_eccerraddr_bit_t;
  13669. typedef struct {
  13670. __IO uint32_t PERI0;
  13671. __IO uint32_t PERI1;
  13672. uint32_t RESERVED0[2];
  13673. __IO uint32_t CKS0;
  13674. __IO uint32_t CKS1;
  13675. __IO uint32_t CKS2;
  13676. __IO uint32_t CKS3;
  13677. __IO uint32_t WDPT0;
  13678. __IO uint32_t WDPT1;
  13679. __IO uint32_t WDPT2;
  13680. __IO uint32_t WDPT3;
  13681. uint32_t RESERVED1[4];
  13682. __IO uint32_t SLPOFF;
  13683. uint32_t RESERVED2[14];
  13684. __IO uint32_t ITS;
  13685. } stc_swdt_cr_bit_t;
  13686. typedef struct {
  13687. __I uint32_t CNT0;
  13688. __I uint32_t CNT1;
  13689. __I uint32_t CNT2;
  13690. __I uint32_t CNT3;
  13691. __I uint32_t CNT4;
  13692. __I uint32_t CNT5;
  13693. __I uint32_t CNT6;
  13694. __I uint32_t CNT7;
  13695. __I uint32_t CNT8;
  13696. __I uint32_t CNT9;
  13697. __I uint32_t CNT10;
  13698. __I uint32_t CNT11;
  13699. __I uint32_t CNT12;
  13700. __I uint32_t CNT13;
  13701. __I uint32_t CNT14;
  13702. __I uint32_t CNT15;
  13703. __IO uint32_t UDF;
  13704. __IO uint32_t REF;
  13705. uint32_t RESERVED0[14];
  13706. } stc_swdt_sr_bit_t;
  13707. typedef struct {
  13708. __IO uint32_t RF0;
  13709. __IO uint32_t RF1;
  13710. __IO uint32_t RF2;
  13711. __IO uint32_t RF3;
  13712. __IO uint32_t RF4;
  13713. __IO uint32_t RF5;
  13714. __IO uint32_t RF6;
  13715. __IO uint32_t RF7;
  13716. __IO uint32_t RF8;
  13717. __IO uint32_t RF9;
  13718. __IO uint32_t RF10;
  13719. __IO uint32_t RF11;
  13720. __IO uint32_t RF12;
  13721. __IO uint32_t RF13;
  13722. __IO uint32_t RF14;
  13723. __IO uint32_t RF15;
  13724. uint32_t RESERVED0[16];
  13725. } stc_swdt_rr_bit_t;
  13726. typedef struct {
  13727. __IO uint32_t CSTA;
  13728. __IO uint32_t CAPMDA;
  13729. __IO uint32_t CMENA;
  13730. __IO uint32_t OVENA;
  13731. uint32_t RESERVED0[4];
  13732. __IO uint32_t SYNSA;
  13733. __IO uint32_t SYNCLKA;
  13734. __IO uint32_t ASYNCLKA;
  13735. uint32_t RESERVED1[1];
  13736. __IO uint32_t HSTAA;
  13737. __IO uint32_t HSTPA;
  13738. __IO uint32_t HCLEA;
  13739. __IO uint32_t HICPA;
  13740. __IO uint32_t CSTB;
  13741. __IO uint32_t CAPMDB;
  13742. __IO uint32_t CMENB;
  13743. __IO uint32_t OVENB;
  13744. uint32_t RESERVED2[4];
  13745. __IO uint32_t SYNSB;
  13746. __IO uint32_t SYNCLKB;
  13747. __IO uint32_t ASYNCLKB;
  13748. uint32_t RESERVED3[1];
  13749. __IO uint32_t HSTAB;
  13750. __IO uint32_t HSTPB;
  13751. __IO uint32_t HCLEB;
  13752. __IO uint32_t HICPB;
  13753. } stc_tmr0_bconr_bit_t;
  13754. typedef struct {
  13755. __IO uint32_t CMFA;
  13756. __IO uint32_t OVFA;
  13757. __IO uint32_t ICPA;
  13758. uint32_t RESERVED0[13];
  13759. __IO uint32_t CMFB;
  13760. __IO uint32_t OVFB;
  13761. __IO uint32_t ICPB;
  13762. uint32_t RESERVED1[13];
  13763. } stc_tmr0_stflr_bit_t;
  13764. typedef struct {
  13765. __IO uint32_t OCEH;
  13766. __IO uint32_t OCEL;
  13767. __IO uint32_t OCPH;
  13768. __IO uint32_t OCPL;
  13769. __IO uint32_t OCIEH;
  13770. __IO uint32_t OCIEL;
  13771. __IO uint32_t OCFH;
  13772. __IO uint32_t OCFL;
  13773. uint32_t RESERVED0[8];
  13774. } stc_tmr4_ocsr_bit_t;
  13775. typedef struct {
  13776. __IO uint32_t CHBUFEN0;
  13777. __IO uint32_t CHBUFEN1;
  13778. __IO uint32_t CLBUFEN0;
  13779. __IO uint32_t CLBUFEN1;
  13780. __IO uint32_t MHBUFEN0;
  13781. __IO uint32_t MHBUFEN1;
  13782. __IO uint32_t MLBUFEN0;
  13783. __IO uint32_t MLBUFEN1;
  13784. __IO uint32_t LMCH;
  13785. __IO uint32_t LMCL;
  13786. __IO uint32_t LMMH;
  13787. __IO uint32_t LMML;
  13788. __IO uint32_t MCECH;
  13789. __IO uint32_t MCECL;
  13790. uint32_t RESERVED0[2];
  13791. } stc_tmr4_ocer_bit_t;
  13792. typedef struct {
  13793. __IO uint32_t OCFDCH;
  13794. __IO uint32_t OCFPKH;
  13795. __IO uint32_t OCFUCH;
  13796. __IO uint32_t OCFZRH;
  13797. __IO uint32_t OPDCH0;
  13798. __IO uint32_t OPDCH1;
  13799. __IO uint32_t OPPKH0;
  13800. __IO uint32_t OPPKH1;
  13801. __IO uint32_t OPUCH0;
  13802. __IO uint32_t OPUCH1;
  13803. __IO uint32_t OPZRH0;
  13804. __IO uint32_t OPZRH1;
  13805. __IO uint32_t OPNPKH0;
  13806. __IO uint32_t OPNPKH1;
  13807. __IO uint32_t OPNZRH0;
  13808. __IO uint32_t OPNZRH1;
  13809. } stc_tmr4_ocmrh_bit_t;
  13810. typedef struct {
  13811. __IO uint32_t OCFDCL;
  13812. __IO uint32_t OCFPKL;
  13813. __IO uint32_t OCFUCL;
  13814. __IO uint32_t OCFZRL;
  13815. __IO uint32_t OPDCL0;
  13816. __IO uint32_t OPDCL1;
  13817. __IO uint32_t OPPKL0;
  13818. __IO uint32_t OPPKL1;
  13819. __IO uint32_t OPUCL0;
  13820. __IO uint32_t OPUCL1;
  13821. __IO uint32_t OPZRL0;
  13822. __IO uint32_t OPZRL1;
  13823. __IO uint32_t OPNPKL0;
  13824. __IO uint32_t OPNPKL1;
  13825. __IO uint32_t OPNZRL0;
  13826. __IO uint32_t OPNZRL1;
  13827. __IO uint32_t EOPNDCL0;
  13828. __IO uint32_t EOPNDCL1;
  13829. __IO uint32_t EOPNUCL0;
  13830. __IO uint32_t EOPNUCL1;
  13831. __IO uint32_t EOPDCL0;
  13832. __IO uint32_t EOPDCL1;
  13833. __IO uint32_t EOPPKL0;
  13834. __IO uint32_t EOPPKL1;
  13835. __IO uint32_t EOPUCL0;
  13836. __IO uint32_t EOPUCL1;
  13837. __IO uint32_t EOPZRL0;
  13838. __IO uint32_t EOPZRL1;
  13839. __IO uint32_t EOPNPKL0;
  13840. __IO uint32_t EOPNPKL1;
  13841. __IO uint32_t EOPNZRL0;
  13842. __IO uint32_t EOPNZRL1;
  13843. } stc_tmr4_ocmrl_bit_t;
  13844. typedef struct {
  13845. uint32_t RESERVED0[4];
  13846. __IO uint32_t CLEAR;
  13847. __IO uint32_t MODE;
  13848. __IO uint32_t STOP;
  13849. __IO uint32_t BUFEN;
  13850. __IO uint32_t IRQPEN;
  13851. __IO uint32_t IRQPF;
  13852. __IO uint32_t IRQZEN;
  13853. __IO uint32_t IRQZF;
  13854. __IO uint32_t SYNST;
  13855. __IO uint32_t HST;
  13856. uint32_t RESERVED1[1];
  13857. __IO uint32_t ECKEN;
  13858. } stc_tmr4_ccsr_bit_t;
  13859. typedef struct {
  13860. __IO uint32_t OEUH;
  13861. __IO uint32_t OEUL;
  13862. __IO uint32_t OEVH;
  13863. __IO uint32_t OEVL;
  13864. __IO uint32_t OEWH;
  13865. __IO uint32_t OEWL;
  13866. __IO uint32_t OEXH;
  13867. __IO uint32_t OEXL;
  13868. __IO uint32_t MOE;
  13869. __IO uint32_t AOE;
  13870. __IO uint32_t ODT0;
  13871. __IO uint32_t ODT1;
  13872. uint32_t RESERVED0[4];
  13873. __IO uint32_t OSUH0;
  13874. __IO uint32_t OSUH1;
  13875. __IO uint32_t OSUL0;
  13876. __IO uint32_t OSUL1;
  13877. __IO uint32_t OSVH0;
  13878. __IO uint32_t OSVH1;
  13879. __IO uint32_t OSVL0;
  13880. __IO uint32_t OSVL1;
  13881. __IO uint32_t OSWH0;
  13882. __IO uint32_t OSWH1;
  13883. __IO uint32_t OSWL0;
  13884. __IO uint32_t OSWL1;
  13885. __IO uint32_t OSXH0;
  13886. __IO uint32_t OSXH1;
  13887. __IO uint32_t OSXL0;
  13888. __IO uint32_t OSXL1;
  13889. } stc_tmr4_pscr_bit_t;
  13890. typedef struct {
  13891. uint32_t RESERVED0[4];
  13892. __IO uint32_t PWMMD0;
  13893. __IO uint32_t PWMMD1;
  13894. __IO uint32_t LVLS0;
  13895. __IO uint32_t LVLS1;
  13896. uint32_t RESERVED1[8];
  13897. } stc_tmr4_pocr_bit_t;
  13898. typedef struct {
  13899. __IO uint32_t BUFEN0;
  13900. __IO uint32_t BUFEN1;
  13901. __IO uint32_t EVTOS0;
  13902. __IO uint32_t EVTOS1;
  13903. __IO uint32_t EVTOS2;
  13904. __IO uint32_t LMC;
  13905. uint32_t RESERVED0[2];
  13906. __IO uint32_t EVTMS;
  13907. __IO uint32_t EVTDS;
  13908. uint32_t RESERVED1[2];
  13909. __IO uint32_t DEN;
  13910. __IO uint32_t PEN;
  13911. __IO uint32_t UEN;
  13912. __IO uint32_t ZEN;
  13913. } stc_tmr4_scsr_bit_t;
  13914. typedef struct {
  13915. uint32_t RESERVED0[6];
  13916. __IO uint32_t MZCE;
  13917. __IO uint32_t MPCE;
  13918. uint32_t RESERVED1[8];
  13919. } stc_tmr4_scmr_bit_t;
  13920. typedef struct {
  13921. __IO uint32_t EVTRS0;
  13922. __IO uint32_t EVTRS1;
  13923. __IO uint32_t EVTRS2;
  13924. __IO uint32_t EVTRS3;
  13925. uint32_t RESERVED0[4];
  13926. __IO uint32_t PCTS;
  13927. uint32_t RESERVED1[7];
  13928. } stc_tmr4_scer_bit_t;
  13929. typedef struct {
  13930. __IO uint32_t RTIDU;
  13931. __IO uint32_t RTIDV;
  13932. __IO uint32_t RTIDW;
  13933. __IO uint32_t RTIDX;
  13934. __I uint32_t RTIFU;
  13935. __IO uint32_t RTICU;
  13936. __IO uint32_t RTEU;
  13937. __IO uint32_t RTSU;
  13938. __I uint32_t RTIFV;
  13939. __IO uint32_t RTICV;
  13940. __IO uint32_t RTEV;
  13941. __IO uint32_t RTSV;
  13942. __I uint32_t RTIFW;
  13943. __IO uint32_t RTICW;
  13944. __IO uint32_t RTEW;
  13945. __IO uint32_t RTSW;
  13946. __I uint32_t RTIFX;
  13947. __IO uint32_t RTICX;
  13948. __IO uint32_t RTEX;
  13949. __IO uint32_t RTSX;
  13950. uint32_t RESERVED0[12];
  13951. } stc_tmr4_rcsr_bit_t;
  13952. typedef struct {
  13953. __IO uint32_t ITENUH;
  13954. __IO uint32_t ITENUL;
  13955. __IO uint32_t ITENVH;
  13956. __IO uint32_t ITENVL;
  13957. __IO uint32_t ITENWH;
  13958. __IO uint32_t ITENWL;
  13959. __IO uint32_t ITENXH;
  13960. __IO uint32_t ITENXL;
  13961. uint32_t RESERVED0[8];
  13962. } stc_tmr4_scir_bit_t;
  13963. typedef struct {
  13964. __IO uint32_t SFUH;
  13965. __IO uint32_t SFUL;
  13966. __IO uint32_t SFVH;
  13967. __IO uint32_t SFVL;
  13968. __IO uint32_t SFWH;
  13969. __IO uint32_t SFWL;
  13970. __IO uint32_t SFXH;
  13971. __IO uint32_t SFXL;
  13972. uint32_t RESERVED0[8];
  13973. } stc_tmr4_scfr_bit_t;
  13974. typedef struct {
  13975. __IO uint32_t START;
  13976. __IO uint32_t DIR;
  13977. __IO uint32_t MODE;
  13978. uint32_t RESERVED0[5];
  13979. __IO uint32_t OVSTP;
  13980. uint32_t RESERVED1[7];
  13981. __IO uint32_t ZMSKREV;
  13982. __IO uint32_t ZMSKPOS;
  13983. __IO uint32_t ZMSKVAL0;
  13984. __IO uint32_t ZMSKVAL1;
  13985. uint32_t RESERVED2[12];
  13986. } stc_tmr6_gconr_bit_t;
  13987. typedef struct {
  13988. __IO uint32_t INTENA;
  13989. __IO uint32_t INTENB;
  13990. __IO uint32_t INTENC;
  13991. __IO uint32_t INTEND;
  13992. __IO uint32_t INTENE;
  13993. __IO uint32_t INTENF;
  13994. __IO uint32_t INTENOVF;
  13995. __IO uint32_t INTENUDF;
  13996. __IO uint32_t INTENDTE;
  13997. uint32_t RESERVED0[7];
  13998. __IO uint32_t INTENSAU;
  13999. __IO uint32_t INTENSAD;
  14000. __IO uint32_t INTENSBU;
  14001. __IO uint32_t INTENSBD;
  14002. uint32_t RESERVED1[12];
  14003. } stc_tmr6_iconr_bit_t;
  14004. typedef struct {
  14005. __IO uint32_t BENA;
  14006. __IO uint32_t BSEA;
  14007. __IO uint32_t BTRUA;
  14008. __IO uint32_t BTRDA;
  14009. __IO uint32_t BENB;
  14010. __IO uint32_t BSEB;
  14011. __IO uint32_t BTRUB;
  14012. __IO uint32_t BTRDB;
  14013. __IO uint32_t BENP;
  14014. __IO uint32_t BSEP;
  14015. __IO uint32_t BTRUP;
  14016. __IO uint32_t BTRDP;
  14017. uint32_t RESERVED0[4];
  14018. __IO uint32_t BENSPA;
  14019. __IO uint32_t BSESPA;
  14020. __IO uint32_t BTRUSPA;
  14021. __IO uint32_t BTRDSPA;
  14022. __IO uint32_t BENSPB;
  14023. __IO uint32_t BSESPB;
  14024. __IO uint32_t BTRUSPB;
  14025. __IO uint32_t BTRDSPB;
  14026. uint32_t RESERVED1[8];
  14027. } stc_tmr6_bconr_bit_t;
  14028. typedef struct {
  14029. __IO uint32_t DTCEN;
  14030. __IO uint32_t SEPA;
  14031. uint32_t RESERVED0[2];
  14032. __IO uint32_t DTBENU;
  14033. __IO uint32_t DTBEND;
  14034. __IO uint32_t DTBTRU;
  14035. __IO uint32_t DTBTRD;
  14036. uint32_t RESERVED1[24];
  14037. } stc_tmr6_dconr_bit_t;
  14038. typedef struct {
  14039. __IO uint32_t STACA0;
  14040. __IO uint32_t STACA1;
  14041. __IO uint32_t STPCA0;
  14042. __IO uint32_t STPCA1;
  14043. __IO uint32_t OVFCA0;
  14044. __IO uint32_t OVFCA1;
  14045. __IO uint32_t UDFCA0;
  14046. __IO uint32_t UDFCA1;
  14047. __IO uint32_t CMAUCA0;
  14048. __IO uint32_t CMAUCA1;
  14049. __IO uint32_t CMADCA0;
  14050. __IO uint32_t CMADCA1;
  14051. __IO uint32_t CMBUCA0;
  14052. __IO uint32_t CMBUCA1;
  14053. __IO uint32_t CMBDCA0;
  14054. __IO uint32_t CMBDCA1;
  14055. __IO uint32_t FORCA0;
  14056. __IO uint32_t FORCA1;
  14057. uint32_t RESERVED0[2];
  14058. __IO uint32_t EMBCA0;
  14059. __IO uint32_t EMBCA1;
  14060. __IO uint32_t EMBRA0;
  14061. __IO uint32_t EMBRA1;
  14062. __IO uint32_t EMBSA0;
  14063. __IO uint32_t EMBSA1;
  14064. uint32_t RESERVED1[2];
  14065. __IO uint32_t OUTENA;
  14066. uint32_t RESERVED2[2];
  14067. __IO uint32_t CAPMDA;
  14068. } stc_tmr6_pcnar_bit_t;
  14069. typedef struct {
  14070. __IO uint32_t STACB0;
  14071. __IO uint32_t STACB1;
  14072. __IO uint32_t STPCB0;
  14073. __IO uint32_t STPCB1;
  14074. __IO uint32_t OVFCB0;
  14075. __IO uint32_t OVFCB1;
  14076. __IO uint32_t UDFCB0;
  14077. __IO uint32_t UDFCB1;
  14078. __IO uint32_t CMAUCB0;
  14079. __IO uint32_t CMAUCB1;
  14080. __IO uint32_t CMADCB0;
  14081. __IO uint32_t CMADCB1;
  14082. __IO uint32_t CMBUCB0;
  14083. __IO uint32_t CMBUCB1;
  14084. __IO uint32_t CMBDCB0;
  14085. __IO uint32_t CMBDCB1;
  14086. __IO uint32_t FORCB0;
  14087. __IO uint32_t FORCB1;
  14088. uint32_t RESERVED0[2];
  14089. __IO uint32_t EMBCB0;
  14090. __IO uint32_t EMBCB1;
  14091. __IO uint32_t EMBRB0;
  14092. __IO uint32_t EMBRB1;
  14093. __IO uint32_t EMBSB0;
  14094. __IO uint32_t EMBSB1;
  14095. uint32_t RESERVED1[2];
  14096. __IO uint32_t OUTENB;
  14097. uint32_t RESERVED2[2];
  14098. __IO uint32_t CAPMDB;
  14099. } stc_tmr6_pcnbr_bit_t;
  14100. typedef struct {
  14101. __IO uint32_t NOFIENGA;
  14102. __IO uint32_t NOFICKGA0;
  14103. __IO uint32_t NOFICKGA1;
  14104. uint32_t RESERVED0[1];
  14105. __IO uint32_t NOFIENGB;
  14106. __IO uint32_t NOFICKGB0;
  14107. __IO uint32_t NOFICKGB1;
  14108. uint32_t RESERVED1[25];
  14109. } stc_tmr6_fcngr_bit_t;
  14110. typedef struct {
  14111. uint32_t RESERVED0[8];
  14112. __IO uint32_t SPPERIA;
  14113. __IO uint32_t SPPERIB;
  14114. uint32_t RESERVED1[6];
  14115. __IO uint32_t PCNTE0;
  14116. __IO uint32_t PCNTE1;
  14117. uint32_t RESERVED2[14];
  14118. } stc_tmr6_vperr_bit_t;
  14119. typedef struct {
  14120. __IO uint32_t CMAF;
  14121. __IO uint32_t CMBF;
  14122. __IO uint32_t CMCF;
  14123. __IO uint32_t CMDF;
  14124. __IO uint32_t CMEF;
  14125. __IO uint32_t CMFF;
  14126. __IO uint32_t OVFF;
  14127. __IO uint32_t UDFF;
  14128. __I uint32_t DTEF;
  14129. __IO uint32_t CMSAUF;
  14130. __IO uint32_t CMSADF;
  14131. __IO uint32_t CMSBUF;
  14132. __IO uint32_t CMSBDF;
  14133. uint32_t RESERVED0[13];
  14134. __IO uint32_t CMAF2;
  14135. __IO uint32_t CMBF2;
  14136. uint32_t RESERVED1[3];
  14137. __I uint32_t DIRF;
  14138. } stc_tmr6_stflr_bit_t;
  14139. typedef struct {
  14140. __IO uint32_t HSTA0;
  14141. __IO uint32_t HSTA1;
  14142. __IO uint32_t HSTA2;
  14143. __IO uint32_t HSTA3;
  14144. uint32_t RESERVED0[3];
  14145. __IO uint32_t STAS;
  14146. __IO uint32_t HSTA8;
  14147. __IO uint32_t HSTA9;
  14148. uint32_t RESERVED1[6];
  14149. __IO uint32_t HSTA16;
  14150. __IO uint32_t HSTA17;
  14151. __IO uint32_t HSTA18;
  14152. __IO uint32_t HSTA19;
  14153. uint32_t RESERVED2[12];
  14154. } stc_tmr6_hstar_bit_t;
  14155. typedef struct {
  14156. __IO uint32_t HSTP0;
  14157. __IO uint32_t HSTP1;
  14158. __IO uint32_t HSTP2;
  14159. __IO uint32_t HSTP3;
  14160. uint32_t RESERVED0[3];
  14161. __IO uint32_t STPS;
  14162. __IO uint32_t HSTP8;
  14163. __IO uint32_t HSTP9;
  14164. uint32_t RESERVED1[6];
  14165. __IO uint32_t HSTP16;
  14166. __IO uint32_t HSTP17;
  14167. __IO uint32_t HSTP18;
  14168. __IO uint32_t HSTP19;
  14169. uint32_t RESERVED2[12];
  14170. } stc_tmr6_hstpr_bit_t;
  14171. typedef struct {
  14172. __IO uint32_t HCLE0;
  14173. __IO uint32_t HCLE1;
  14174. __IO uint32_t HCLE2;
  14175. __IO uint32_t HCLE3;
  14176. uint32_t RESERVED0[3];
  14177. __IO uint32_t CLES;
  14178. __IO uint32_t HCLE8;
  14179. __IO uint32_t HCLE9;
  14180. uint32_t RESERVED1[6];
  14181. __IO uint32_t HCLE16;
  14182. __IO uint32_t HCLE17;
  14183. __IO uint32_t HCLE18;
  14184. __IO uint32_t HCLE19;
  14185. uint32_t RESERVED2[12];
  14186. } stc_tmr6_hclrr_bit_t;
  14187. typedef struct {
  14188. __IO uint32_t HUPD0;
  14189. __IO uint32_t HUPD1;
  14190. __IO uint32_t HUPD2;
  14191. __IO uint32_t HUPD3;
  14192. uint32_t RESERVED0[3];
  14193. __IO uint32_t UPDS;
  14194. __IO uint32_t HUPD8;
  14195. __IO uint32_t HUPD9;
  14196. uint32_t RESERVED1[6];
  14197. __IO uint32_t HUPD16;
  14198. __IO uint32_t HUPD17;
  14199. __IO uint32_t HUPD18;
  14200. __IO uint32_t HUPD19;
  14201. uint32_t RESERVED2[12];
  14202. } stc_tmr6_hupdr_bit_t;
  14203. typedef struct {
  14204. __IO uint32_t HCPA0;
  14205. __IO uint32_t HCPA1;
  14206. __IO uint32_t HCPA2;
  14207. __IO uint32_t HCPA3;
  14208. uint32_t RESERVED0[4];
  14209. __IO uint32_t HCPA8;
  14210. __IO uint32_t HCPA9;
  14211. uint32_t RESERVED1[6];
  14212. __IO uint32_t HCPA16;
  14213. __IO uint32_t HCPA17;
  14214. __IO uint32_t HCPA18;
  14215. __IO uint32_t HCPA19;
  14216. uint32_t RESERVED2[4];
  14217. __IO uint32_t HCPA24;
  14218. __IO uint32_t HCPA25;
  14219. uint32_t RESERVED3[6];
  14220. } stc_tmr6_hcpar_bit_t;
  14221. typedef struct {
  14222. __IO uint32_t HCPB0;
  14223. __IO uint32_t HCPB1;
  14224. __IO uint32_t HCPB2;
  14225. __IO uint32_t HCPB3;
  14226. uint32_t RESERVED0[4];
  14227. __IO uint32_t HCPB8;
  14228. __IO uint32_t HCPB9;
  14229. uint32_t RESERVED1[6];
  14230. __IO uint32_t HCPB16;
  14231. __IO uint32_t HCPB17;
  14232. __IO uint32_t HCPB18;
  14233. __IO uint32_t HCPB19;
  14234. uint32_t RESERVED2[4];
  14235. __IO uint32_t HCPB24;
  14236. __IO uint32_t HCPB25;
  14237. uint32_t RESERVED3[6];
  14238. } stc_tmr6_hcpbr_bit_t;
  14239. typedef struct {
  14240. __IO uint32_t HCUP0;
  14241. __IO uint32_t HCUP1;
  14242. __IO uint32_t HCUP2;
  14243. __IO uint32_t HCUP3;
  14244. __IO uint32_t HCUP4;
  14245. __IO uint32_t HCUP5;
  14246. __IO uint32_t HCUP6;
  14247. __IO uint32_t HCUP7;
  14248. __IO uint32_t HCUP8;
  14249. __IO uint32_t HCUP9;
  14250. uint32_t RESERVED0[6];
  14251. __IO uint32_t HCUP16;
  14252. __IO uint32_t HCUP17;
  14253. __IO uint32_t HCUP18;
  14254. __IO uint32_t HCUP19;
  14255. uint32_t RESERVED1[12];
  14256. } stc_tmr6_hcupr_bit_t;
  14257. typedef struct {
  14258. __IO uint32_t HCDO0;
  14259. __IO uint32_t HCDO1;
  14260. __IO uint32_t HCDO2;
  14261. __IO uint32_t HCDO3;
  14262. __IO uint32_t HCDO4;
  14263. __IO uint32_t HCDO5;
  14264. __IO uint32_t HCDO6;
  14265. __IO uint32_t HCDO7;
  14266. __IO uint32_t HCDO8;
  14267. __IO uint32_t HCDO9;
  14268. uint32_t RESERVED0[6];
  14269. __IO uint32_t HCDO16;
  14270. __IO uint32_t HCDO17;
  14271. __IO uint32_t HCDO18;
  14272. __IO uint32_t HCDO19;
  14273. uint32_t RESERVED1[12];
  14274. } stc_tmr6_hcdor_bit_t;
  14275. typedef struct {
  14276. __IO uint32_t NOFIENTA;
  14277. __IO uint32_t NOFICKTA0;
  14278. __IO uint32_t NOFICKTA1;
  14279. uint32_t RESERVED0[1];
  14280. __IO uint32_t NOFIENTB;
  14281. __IO uint32_t NOFICKTB0;
  14282. __IO uint32_t NOFICKTB1;
  14283. uint32_t RESERVED1[25];
  14284. } stc_tmr6cr_fcntr_bit_t;
  14285. typedef struct {
  14286. __IO uint32_t SSTA1;
  14287. __IO uint32_t SSTA2;
  14288. uint32_t RESERVED0[30];
  14289. } stc_tmr6cr_sstar_bit_t;
  14290. typedef struct {
  14291. __IO uint32_t SSTP1;
  14292. __IO uint32_t SSTP2;
  14293. uint32_t RESERVED0[30];
  14294. } stc_tmr6cr_sstpr_bit_t;
  14295. typedef struct {
  14296. __IO uint32_t SCLE1;
  14297. __IO uint32_t SCLE2;
  14298. uint32_t RESERVED0[30];
  14299. } stc_tmr6cr_sclrr_bit_t;
  14300. typedef struct {
  14301. __IO uint32_t SUPD1;
  14302. __IO uint32_t SUPD2;
  14303. uint32_t RESERVED0[30];
  14304. } stc_tmr6cr_supdr_bit_t;
  14305. typedef struct {
  14306. __IO uint32_t START;
  14307. __IO uint32_t DIR;
  14308. __IO uint32_t MODE;
  14309. __IO uint32_t SYNST;
  14310. uint32_t RESERVED0[4];
  14311. __IO uint32_t OVSTP;
  14312. uint32_t RESERVED1[3];
  14313. __IO uint32_t ITENOVF;
  14314. __IO uint32_t ITENUDF;
  14315. __IO uint32_t OVFF;
  14316. __IO uint32_t UDFF;
  14317. } stc_tmra_bcstr_bit_t;
  14318. typedef struct {
  14319. __IO uint32_t HSTA0;
  14320. __IO uint32_t HSTA1;
  14321. __IO uint32_t HSTA2;
  14322. uint32_t RESERVED0[1];
  14323. __IO uint32_t HSTP0;
  14324. __IO uint32_t HSTP1;
  14325. __IO uint32_t HSTP2;
  14326. uint32_t RESERVED1[1];
  14327. __IO uint32_t HCLE0;
  14328. __IO uint32_t HCLE1;
  14329. __IO uint32_t HCLE2;
  14330. uint32_t RESERVED2[1];
  14331. __IO uint32_t HCLE3;
  14332. __IO uint32_t HCLE4;
  14333. __IO uint32_t HCLE5;
  14334. __IO uint32_t HCLE6;
  14335. } stc_tmra_hconr_bit_t;
  14336. typedef struct {
  14337. __IO uint32_t HCUP0;
  14338. __IO uint32_t HCUP1;
  14339. __IO uint32_t HCUP2;
  14340. __IO uint32_t HCUP3;
  14341. __IO uint32_t HCUP4;
  14342. __IO uint32_t HCUP5;
  14343. __IO uint32_t HCUP6;
  14344. __IO uint32_t HCUP7;
  14345. __IO uint32_t HCUP8;
  14346. __IO uint32_t HCUP9;
  14347. __IO uint32_t HCUP10;
  14348. __IO uint32_t HCUP11;
  14349. __IO uint32_t HCUP12;
  14350. uint32_t RESERVED0[3];
  14351. } stc_tmra_hcupr_bit_t;
  14352. typedef struct {
  14353. __IO uint32_t HCDO0;
  14354. __IO uint32_t HCDO1;
  14355. __IO uint32_t HCDO2;
  14356. __IO uint32_t HCDO3;
  14357. __IO uint32_t HCDO4;
  14358. __IO uint32_t HCDO5;
  14359. __IO uint32_t HCDO6;
  14360. __IO uint32_t HCDO7;
  14361. __IO uint32_t HCDO8;
  14362. __IO uint32_t HCDO9;
  14363. __IO uint32_t HCDO10;
  14364. __IO uint32_t HCDO11;
  14365. __IO uint32_t HCDO12;
  14366. uint32_t RESERVED0[3];
  14367. } stc_tmra_hcdor_bit_t;
  14368. typedef struct {
  14369. __IO uint32_t ITEN1;
  14370. __IO uint32_t ITEN2;
  14371. __IO uint32_t ITEN3;
  14372. __IO uint32_t ITEN4;
  14373. __IO uint32_t ITEN5;
  14374. __IO uint32_t ITEN6;
  14375. __IO uint32_t ITEN7;
  14376. __IO uint32_t ITEN8;
  14377. uint32_t RESERVED0[8];
  14378. } stc_tmra_iconr_bit_t;
  14379. typedef struct {
  14380. __IO uint32_t ETEN1;
  14381. __IO uint32_t ETEN2;
  14382. __IO uint32_t ETEN3;
  14383. __IO uint32_t ETEN4;
  14384. __IO uint32_t ETEN5;
  14385. __IO uint32_t ETEN6;
  14386. __IO uint32_t ETEN7;
  14387. __IO uint32_t ETEN8;
  14388. uint32_t RESERVED0[8];
  14389. } stc_tmra_econr_bit_t;
  14390. typedef struct {
  14391. __IO uint32_t NOFIENTG;
  14392. uint32_t RESERVED0[7];
  14393. __IO uint32_t NOFIENCA;
  14394. uint32_t RESERVED1[3];
  14395. __IO uint32_t NOFIENCB;
  14396. uint32_t RESERVED2[3];
  14397. } stc_tmra_fconr_bit_t;
  14398. typedef struct {
  14399. __IO uint32_t CMPF1;
  14400. __IO uint32_t CMPF2;
  14401. __IO uint32_t CMPF3;
  14402. __IO uint32_t CMPF4;
  14403. __IO uint32_t CMPF5;
  14404. __IO uint32_t CMPF6;
  14405. __IO uint32_t CMPF7;
  14406. __IO uint32_t CMPF8;
  14407. __IO uint32_t ICPF1;
  14408. __IO uint32_t ICPF2;
  14409. __IO uint32_t ICPF3;
  14410. __IO uint32_t ICPF4;
  14411. __IO uint32_t ICPF5;
  14412. __IO uint32_t ICPF6;
  14413. __IO uint32_t ICPF7;
  14414. __IO uint32_t ICPF8;
  14415. } stc_tmra_stflr_bit_t;
  14416. typedef struct {
  14417. __IO uint32_t BEN;
  14418. __IO uint32_t BSE0;
  14419. __IO uint32_t BSE1;
  14420. uint32_t RESERVED0[13];
  14421. } stc_tmra_bconr_bit_t;
  14422. typedef struct {
  14423. __IO uint32_t CAPMD;
  14424. uint32_t RESERVED0[3];
  14425. __IO uint32_t HICP0;
  14426. __IO uint32_t HICP1;
  14427. __IO uint32_t HICP2;
  14428. uint32_t RESERVED1[1];
  14429. __IO uint32_t HICP3;
  14430. __IO uint32_t HICP4;
  14431. __IO uint32_t HICP5;
  14432. __IO uint32_t HICP6;
  14433. __IO uint32_t NOFIENCP;
  14434. __IO uint32_t NOFICKCP0;
  14435. __IO uint32_t NOFICKCP1;
  14436. uint32_t RESERVED2[1];
  14437. } stc_tmra_cconr_bit_t;
  14438. typedef struct {
  14439. __IO uint32_t STAC0;
  14440. __IO uint32_t STAC1;
  14441. __IO uint32_t STPC0;
  14442. __IO uint32_t STPC1;
  14443. __IO uint32_t CMPC0;
  14444. __IO uint32_t CMPC1;
  14445. __IO uint32_t PERC0;
  14446. __IO uint32_t PERC1;
  14447. __IO uint32_t FORC0;
  14448. __IO uint32_t FORC1;
  14449. uint32_t RESERVED0[2];
  14450. __IO uint32_t OUTEN;
  14451. uint32_t RESERVED1[3];
  14452. } stc_tmra_pconr_bit_t;
  14453. typedef struct {
  14454. __IO uint32_t END;
  14455. __IO uint32_t RUN;
  14456. uint32_t RESERVED0[30];
  14457. } stc_trng_cr_bit_t;
  14458. typedef struct {
  14459. __IO uint32_t LOAD;
  14460. uint32_t RESERVED0[31];
  14461. } stc_trng_mr_bit_t;
  14462. typedef struct {
  14463. __I uint32_t PE;
  14464. __I uint32_t FE;
  14465. uint32_t RESERVED0[1];
  14466. __I uint32_t ORE;
  14467. __I uint32_t BE;
  14468. __I uint32_t RXNE;
  14469. __I uint32_t TC;
  14470. __I uint32_t TXE;
  14471. __I uint32_t RTOF;
  14472. __I uint32_t WKUP;
  14473. __I uint32_t LBD;
  14474. __I uint32_t TEND;
  14475. uint32_t RESERVED1[4];
  14476. __I uint32_t MPB;
  14477. uint32_t RESERVED2[15];
  14478. } stc_usart_sr_bit_t;
  14479. typedef struct {
  14480. uint32_t RESERVED0[9];
  14481. __IO uint32_t MPID;
  14482. uint32_t RESERVED1[22];
  14483. } stc_usart_dr_bit_t;
  14484. typedef struct {
  14485. __IO uint32_t RTOE;
  14486. __IO uint32_t RTOIE;
  14487. __IO uint32_t RE;
  14488. __IO uint32_t TE;
  14489. __IO uint32_t SLME;
  14490. __IO uint32_t RIE;
  14491. __IO uint32_t TCIE;
  14492. __IO uint32_t TXEIE;
  14493. __IO uint32_t TENDIE;
  14494. __IO uint32_t PS;
  14495. __IO uint32_t PCE;
  14496. uint32_t RESERVED0[1];
  14497. __IO uint32_t M;
  14498. uint32_t RESERVED1[2];
  14499. __IO uint32_t OVER8;
  14500. __IO uint32_t CPE;
  14501. __IO uint32_t CFE;
  14502. uint32_t RESERVED2[1];
  14503. __IO uint32_t CORE;
  14504. __IO uint32_t CRTOF;
  14505. __IO uint32_t CBE;
  14506. __IO uint32_t CWKUP;
  14507. __IO uint32_t CLBD;
  14508. __IO uint32_t MS;
  14509. __IO uint32_t CTEND;
  14510. uint32_t RESERVED3[2];
  14511. __IO uint32_t ML;
  14512. __IO uint32_t FBME;
  14513. __IO uint32_t NFE;
  14514. __IO uint32_t SBS;
  14515. } stc_usart_cr1_bit_t;
  14516. typedef struct {
  14517. __IO uint32_t MPE;
  14518. __IO uint32_t WKUPIE;
  14519. __IO uint32_t BEIE;
  14520. __IO uint32_t BEE;
  14521. __IO uint32_t LBDIE;
  14522. __IO uint32_t LBDL;
  14523. __IO uint32_t SBKL0;
  14524. __IO uint32_t SBKL1;
  14525. __IO uint32_t WKUPE;
  14526. uint32_t RESERVED0[2];
  14527. __IO uint32_t CLKC0;
  14528. __IO uint32_t CLKC1;
  14529. __IO uint32_t STOP;
  14530. __IO uint32_t LINEN;
  14531. uint32_t RESERVED1[1];
  14532. __IO uint32_t SBK;
  14533. __IO uint32_t SBKM;
  14534. uint32_t RESERVED2[14];
  14535. } stc_usart_cr2_bit_t;
  14536. typedef struct {
  14537. uint32_t RESERVED0[3];
  14538. __IO uint32_t HDSEL;
  14539. __IO uint32_t LOOP;
  14540. __IO uint32_t SCEN;
  14541. uint32_t RESERVED1[2];
  14542. __IO uint32_t RTSE;
  14543. __IO uint32_t CTSE;
  14544. uint32_t RESERVED2[11];
  14545. __IO uint32_t BCN0;
  14546. __IO uint32_t BCN1;
  14547. __IO uint32_t BCN2;
  14548. uint32_t RESERVED3[8];
  14549. } stc_usart_cr3_bit_t;
  14550. typedef struct {
  14551. __IO uint32_t PSC0;
  14552. __IO uint32_t PSC1;
  14553. __IO uint32_t LBMPSC0;
  14554. __IO uint32_t LBMPSC1;
  14555. __IO uint32_t ULBREN;
  14556. uint32_t RESERVED0[27];
  14557. } stc_usart_pr_bit_t;
  14558. typedef struct {
  14559. __I uint32_t LBMC0;
  14560. __I uint32_t LBMC1;
  14561. __I uint32_t LBMC2;
  14562. __I uint32_t LBMC3;
  14563. __I uint32_t LBMC4;
  14564. __I uint32_t LBMC5;
  14565. __I uint32_t LBMC6;
  14566. __I uint32_t LBMC7;
  14567. __I uint32_t LBMC8;
  14568. __I uint32_t LBMC9;
  14569. __I uint32_t LBMC10;
  14570. __I uint32_t LBMC11;
  14571. __I uint32_t LBMC12;
  14572. __I uint32_t LBMC13;
  14573. __I uint32_t LBMC14;
  14574. __I uint32_t LBMC15;
  14575. uint32_t RESERVED0[16];
  14576. } stc_usart_lbmc_bit_t;
  14577. typedef struct {
  14578. __IO uint32_t PERI0;
  14579. __IO uint32_t PERI1;
  14580. uint32_t RESERVED0[2];
  14581. __IO uint32_t CKS0;
  14582. __IO uint32_t CKS1;
  14583. __IO uint32_t CKS2;
  14584. __IO uint32_t CKS3;
  14585. __IO uint32_t WDPT0;
  14586. __IO uint32_t WDPT1;
  14587. __IO uint32_t WDPT2;
  14588. __IO uint32_t WDPT3;
  14589. uint32_t RESERVED1[4];
  14590. __IO uint32_t SLPOFF;
  14591. uint32_t RESERVED2[14];
  14592. __IO uint32_t ITS;
  14593. } stc_wdt_cr_bit_t;
  14594. typedef struct {
  14595. __I uint32_t CNT0;
  14596. __I uint32_t CNT1;
  14597. __I uint32_t CNT2;
  14598. __I uint32_t CNT3;
  14599. __I uint32_t CNT4;
  14600. __I uint32_t CNT5;
  14601. __I uint32_t CNT6;
  14602. __I uint32_t CNT7;
  14603. __I uint32_t CNT8;
  14604. __I uint32_t CNT9;
  14605. __I uint32_t CNT10;
  14606. __I uint32_t CNT11;
  14607. __I uint32_t CNT12;
  14608. __I uint32_t CNT13;
  14609. __I uint32_t CNT14;
  14610. __I uint32_t CNT15;
  14611. __IO uint32_t UDF;
  14612. __IO uint32_t REF;
  14613. uint32_t RESERVED0[14];
  14614. } stc_wdt_sr_bit_t;
  14615. typedef struct {
  14616. __IO uint32_t RF0;
  14617. __IO uint32_t RF1;
  14618. __IO uint32_t RF2;
  14619. __IO uint32_t RF3;
  14620. __IO uint32_t RF4;
  14621. __IO uint32_t RF5;
  14622. __IO uint32_t RF6;
  14623. __IO uint32_t RF7;
  14624. __IO uint32_t RF8;
  14625. __IO uint32_t RF9;
  14626. __IO uint32_t RF10;
  14627. __IO uint32_t RF11;
  14628. __IO uint32_t RF12;
  14629. __IO uint32_t RF13;
  14630. __IO uint32_t RF14;
  14631. __IO uint32_t RF15;
  14632. uint32_t RESERVED0[16];
  14633. } stc_wdt_rr_bit_t;
  14634. typedef struct {
  14635. stc_adc_str_bit_t STR_b;
  14636. uint32_t RESERVED0[8];
  14637. stc_adc_cr0_bit_t CR0_b;
  14638. stc_adc_cr1_bit_t CR1_b;
  14639. stc_adc_cr2_bit_t CR2_b;
  14640. uint32_t RESERVED1[16];
  14641. stc_adc_trgsr_bit_t TRGSR_b;
  14642. uint32_t RESERVED2[96];
  14643. stc_adc_exchselr_bit_t EXCHSELR_b;
  14644. uint32_t RESERVED3[344];
  14645. stc_adc_isr_bit_t ISR_b;
  14646. stc_adc_icr_bit_t ICR_b;
  14647. stc_adc_isclrr_bit_t ISCLRR_b;
  14648. uint32_t RESERVED4[40];
  14649. stc_adc_synccr_bit_t SYNCCR_b;
  14650. uint32_t RESERVED5[656];
  14651. stc_adc_awdcr_bit_t AWDCR_b;
  14652. stc_adc_awdsr_bit_t AWDSR_b;
  14653. stc_adc_awdsclrr_bit_t AWDSCLRR_b;
  14654. } bCM_ADC_TypeDef;
  14655. typedef struct {
  14656. stc_aes_cr_bit_t CR_b;
  14657. } bCM_AES_TypeDef;
  14658. typedef struct {
  14659. stc_aos_intsfttrg_bit_t INTSFTTRG_b;
  14660. stc_aos_dcu_trgsel_bit_t DCU_TRGSEL1_b;
  14661. stc_aos_dcu_trgsel_bit_t DCU_TRGSEL2_b;
  14662. stc_aos_dcu_trgsel_bit_t DCU_TRGSEL3_b;
  14663. stc_aos_dcu_trgsel_bit_t DCU_TRGSEL4_b;
  14664. stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL0_b;
  14665. stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL1_b;
  14666. stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL2_b;
  14667. stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL3_b;
  14668. stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL4_b;
  14669. stc_aos_dma1_trgsel_bit_t DMA1_TRGSEL5_b;
  14670. stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL0_b;
  14671. stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL1_b;
  14672. stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL2_b;
  14673. stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL3_b;
  14674. stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL4_b;
  14675. stc_aos_dma2_trgsel_bit_t DMA2_TRGSEL5_b;
  14676. stc_aos_dma_trgselrc_bit_t DMA_TRGSELRC_b;
  14677. stc_aos_tmr6_htssr_bit_t TMR6_HTSSR0_b;
  14678. stc_aos_tmr6_htssr_bit_t TMR6_HTSSR1_b;
  14679. stc_aos_tmr4_htssr_bit_t TMR4_HTSSR0_b;
  14680. stc_aos_tmr4_htssr_bit_t TMR4_HTSSR1_b;
  14681. stc_aos_tmr4_htssr_bit_t TMR4_HTSSR2_b;
  14682. stc_aos_pevnttrgsr12_bit_t PEVNTTRGSR12_b;
  14683. stc_aos_pevnttrgsr34_bit_t PEVNTTRGSR34_b;
  14684. stc_aos_tmr0_htssr_bit_t TMR0_HTSSR_b;
  14685. stc_aos_tmra_htssr_bit_t TMRA_HTSSR0_b;
  14686. stc_aos_tmra_htssr_bit_t TMRA_HTSSR1_b;
  14687. stc_aos_tmra_htssr_bit_t TMRA_HTSSR2_b;
  14688. stc_aos_tmra_htssr_bit_t TMRA_HTSSR3_b;
  14689. stc_aos_adc1_itrgselr_bit_t ADC1_ITRGSELR0_b;
  14690. stc_aos_adc1_itrgselr_bit_t ADC1_ITRGSELR1_b;
  14691. stc_aos_adc2_itrgselr_bit_t ADC2_ITRGSELR0_b;
  14692. stc_aos_adc2_itrgselr_bit_t ADC2_ITRGSELR1_b;
  14693. stc_aos_adc3_itrgselr_bit_t ADC3_ITRGSELR0_b;
  14694. stc_aos_adc3_itrgselr_bit_t ADC3_ITRGSELR1_b;
  14695. uint32_t RESERVED0[1792];
  14696. stc_aos_pevntnfcr_bit_t PEVNTNFCR_b;
  14697. } bCM_AOS_TypeDef;
  14698. typedef struct {
  14699. stc_cmp_mdr_bit_t MDR_b;
  14700. stc_cmp_fir_bit_t FIR_b;
  14701. stc_cmp_ocr_bit_t OCR_b;
  14702. uint32_t RESERVED0[8];
  14703. stc_cmp_pmsr_bit_t PMSR_b;
  14704. uint32_t RESERVED1[64];
  14705. stc_cmp_bwsr1_bit_t BWSR1_b;
  14706. stc_cmp_bwsr2_bit_t BWSR2_b;
  14707. } bCM_CMP_TypeDef;
  14708. typedef struct {
  14709. uint32_t RESERVED0[224];
  14710. stc_cmu_xtaldivcr_bit_t XTALDIVCR_b;
  14711. uint32_t RESERVED1[156032];
  14712. stc_cmu_xtalcfgr_bit_t XTALCFGR_b;
  14713. uint32_t RESERVED2[24];
  14714. stc_cmu_xtal32cr_bit_t XTAL32CR_b;
  14715. uint32_t RESERVED3[152];
  14716. stc_cmu_xtal32nfr_bit_t XTAL32NFR_b;
  14717. uint32_t RESERVED4[24];
  14718. stc_cmu_lrccr_bit_t LRCCR_b;
  14719. uint32_t RESERVED5[237032];
  14720. stc_cmu_pllhcr_bit_t PLLHCR_b;
  14721. uint32_t RESERVED6[56];
  14722. stc_cmu_xtalcr_bit_t XTALCR_b;
  14723. uint32_t RESERVED7[24];
  14724. stc_cmu_hrccr_bit_t HRCCR_b;
  14725. uint32_t RESERVED8[8];
  14726. stc_cmu_mrccr_bit_t MRCCR_b;
  14727. uint32_t RESERVED9[24];
  14728. stc_cmu_oscstbsr_bit_t OSCSTBSR_b;
  14729. stc_cmu_mcocfgr_bit_t MCO1CFGR_b;
  14730. stc_cmu_mcocfgr_bit_t MCO2CFGR_b;
  14731. stc_cmu_tpiuckcfgr_bit_t TPIUCKCFGR_b;
  14732. stc_cmu_xtalstdcr_bit_t XTALSTDCR_b;
  14733. stc_cmu_xtalstdsr_bit_t XTALSTDSR_b;
  14734. uint32_t RESERVED10[1520];
  14735. stc_cmu_pllhcfgr_bit_t PLLHCFGR_b;
  14736. } bCM_CMU_TypeDef;
  14737. typedef struct {
  14738. stc_crc_cr_bit_t CR_b;
  14739. } bCM_CRC_TypeDef;
  14740. typedef struct {
  14741. stc_ctc_cr1_bit_t CR1_b;
  14742. uint32_t RESERVED0[32];
  14743. stc_ctc_str_bit_t STR_b;
  14744. } bCM_CTC_TypeDef;
  14745. typedef struct {
  14746. stc_dac_dadr1_bit_t DADR1_b;
  14747. stc_dac_dadr2_bit_t DADR2_b;
  14748. stc_dac_dacr_bit_t DACR_b;
  14749. stc_dac_daadpcr_bit_t DAADPCR_b;
  14750. uint32_t RESERVED0[160];
  14751. stc_dac_daocr_bit_t DAOCR_b;
  14752. } bCM_DAC_TypeDef;
  14753. typedef struct {
  14754. stc_dcu_ctl_bit_t CTL_b;
  14755. stc_dcu_flag_bit_t FLAG_b;
  14756. uint32_t RESERVED0[96];
  14757. stc_dcu_flagclr_bit_t FLAGCLR_b;
  14758. stc_dcu_intevtsel_bit_t INTEVTSEL_b;
  14759. } bCM_DCU_TypeDef;
  14760. typedef struct {
  14761. stc_dma_en_bit_t EN_b;
  14762. stc_dma_intstat0_bit_t INTSTAT0_b;
  14763. stc_dma_intstat1_bit_t INTSTAT1_b;
  14764. stc_dma_intmask0_bit_t INTMASK0_b;
  14765. stc_dma_intmask1_bit_t INTMASK1_b;
  14766. stc_dma_intclr0_bit_t INTCLR0_b;
  14767. stc_dma_intclr1_bit_t INTCLR1_b;
  14768. stc_dma_chen_bit_t CHEN_b;
  14769. stc_dma_reqstat_bit_t REQSTAT_b;
  14770. stc_dma_chstat_bit_t CHSTAT_b;
  14771. uint32_t RESERVED0[32];
  14772. stc_dma_rcfgctl_bit_t RCFGCTL_b;
  14773. uint32_t RESERVED1[32];
  14774. stc_dma_chenclr_bit_t CHENCLR_b;
  14775. uint32_t RESERVED2[288];
  14776. stc_dma_chctl_bit_t CHCTL0_b;
  14777. uint32_t RESERVED3[480];
  14778. stc_dma_chctl_bit_t CHCTL1_b;
  14779. uint32_t RESERVED4[480];
  14780. stc_dma_chctl_bit_t CHCTL2_b;
  14781. uint32_t RESERVED5[480];
  14782. stc_dma_chctl_bit_t CHCTL3_b;
  14783. uint32_t RESERVED6[480];
  14784. stc_dma_chctl_bit_t CHCTL4_b;
  14785. uint32_t RESERVED7[480];
  14786. stc_dma_chctl_bit_t CHCTL5_b;
  14787. } bCM_DMA_TypeDef;
  14788. typedef struct {
  14789. uint32_t RESERVED0[160];
  14790. stc_efm_fstp_bit_t FSTP_b;
  14791. stc_efm_frmc_bit_t FRMC_b;
  14792. stc_efm_fwmc_bit_t FWMC_b;
  14793. stc_efm_fsr_bit_t FSR_b;
  14794. stc_efm_fsclr_bit_t FSCLR_b;
  14795. stc_efm_fite_bit_t FITE_b;
  14796. stc_efm_fswp_bit_t FSWP_b;
  14797. uint32_t RESERVED1[1696];
  14798. stc_efm_mmf_remcr_bit_t MMF_REMCR0_b;
  14799. stc_efm_mmf_remcr1_bit_t MMF_REMCR1_b;
  14800. uint32_t RESERVED2[928];
  14801. stc_efm_wlock_bit_t WLOCK_b;
  14802. uint32_t RESERVED3[96];
  14803. stc_efm_f0nwprt_bit_t F0NWPRT_b;
  14804. } bCM_EFM_TypeDef;
  14805. typedef struct {
  14806. stc_emb_ctl1_bit_t CTL1_b;
  14807. stc_emb_ctl2_bit_t CTL2_b;
  14808. stc_emb_soe_bit_t SOE_b;
  14809. stc_emb_stat_bit_t STAT_b;
  14810. stc_emb_statclr_bit_t STATCLR_b;
  14811. stc_emb_inten_bit_t INTEN_b;
  14812. stc_emb_rlssel_bit_t RLSSEL_b;
  14813. } bCM_EMB_TypeDef;
  14814. typedef struct {
  14815. uint32_t RESERVED0[96];
  14816. stc_fcm_str_bit_t STR_b;
  14817. stc_fcm_mccr_bit_t MCCR_b;
  14818. stc_fcm_rccr_bit_t RCCR_b;
  14819. stc_fcm_rier_bit_t RIER_b;
  14820. stc_fcm_sr_bit_t SR_b;
  14821. stc_fcm_clr_bit_t CLR_b;
  14822. } bCM_FCM_TypeDef;
  14823. typedef struct {
  14824. stc_gpio_pidr_bit_t PIDRA_b;
  14825. uint32_t RESERVED0[16];
  14826. stc_gpio_podr_bit_t PODRA_b;
  14827. stc_gpio_poer_bit_t POERA_b;
  14828. stc_gpio_posr_bit_t POSRA_b;
  14829. stc_gpio_porr_bit_t PORRA_b;
  14830. stc_gpio_potr_bit_t POTRA_b;
  14831. uint32_t RESERVED1[16];
  14832. stc_gpio_pidr_bit_t PIDRB_b;
  14833. uint32_t RESERVED2[16];
  14834. stc_gpio_podr_bit_t PODRB_b;
  14835. stc_gpio_poer_bit_t POERB_b;
  14836. stc_gpio_posr_bit_t POSRB_b;
  14837. stc_gpio_porr_bit_t PORRB_b;
  14838. stc_gpio_potr_bit_t POTRB_b;
  14839. uint32_t RESERVED3[16];
  14840. stc_gpio_pidr_bit_t PIDRC_b;
  14841. uint32_t RESERVED4[16];
  14842. stc_gpio_podr_bit_t PODRC_b;
  14843. stc_gpio_poer_bit_t POERC_b;
  14844. stc_gpio_posr_bit_t POSRC_b;
  14845. stc_gpio_porr_bit_t PORRC_b;
  14846. stc_gpio_potr_bit_t POTRC_b;
  14847. uint32_t RESERVED5[16];
  14848. stc_gpio_pidr_bit_t PIDRD_b;
  14849. uint32_t RESERVED6[16];
  14850. stc_gpio_podr_bit_t PODRD_b;
  14851. stc_gpio_poer_bit_t POERD_b;
  14852. stc_gpio_posr_bit_t POSRD_b;
  14853. stc_gpio_porr_bit_t PORRD_b;
  14854. stc_gpio_potr_bit_t POTRD_b;
  14855. uint32_t RESERVED7[16];
  14856. stc_gpio_pidr_bit_t PIDRE_b;
  14857. uint32_t RESERVED8[16];
  14858. stc_gpio_podr_bit_t PODRE_b;
  14859. stc_gpio_poer_bit_t POERE_b;
  14860. stc_gpio_posr_bit_t POSRE_b;
  14861. stc_gpio_porr_bit_t PORRE_b;
  14862. stc_gpio_potr_bit_t POTRE_b;
  14863. uint32_t RESERVED9[16];
  14864. stc_gpio_pidr_bit_t PIDRH_b;
  14865. uint32_t RESERVED10[16];
  14866. stc_gpio_podr_bit_t PODRH_b;
  14867. stc_gpio_poer_bit_t POERH_b;
  14868. stc_gpio_posr_bit_t POSRH_b;
  14869. stc_gpio_porr_bit_t PORRH_b;
  14870. stc_gpio_potr_bit_t POTRH_b;
  14871. uint32_t RESERVED11[7344];
  14872. stc_gpio_pspcr_bit_t PSPCR_b;
  14873. uint32_t RESERVED12[16];
  14874. stc_gpio_pccr_bit_t PCCR_b;
  14875. uint32_t RESERVED13[16];
  14876. stc_gpio_pwpr_bit_t PWPR_b;
  14877. uint32_t RESERVED14[16];
  14878. stc_gpio_pcr_bit_t PCRA0_b;
  14879. stc_gpio_pfsr_bit_t PFSRA0_b;
  14880. stc_gpio_pcr_bit_t PCRA1_b;
  14881. stc_gpio_pfsr_bit_t PFSRA1_b;
  14882. stc_gpio_pcr_bit_t PCRA2_b;
  14883. stc_gpio_pfsr_bit_t PFSRA2_b;
  14884. stc_gpio_pcr_bit_t PCRA3_b;
  14885. stc_gpio_pfsr_bit_t PFSRA3_b;
  14886. stc_gpio_pcr_bit_t PCRA4_b;
  14887. stc_gpio_pfsr_bit_t PFSRA4_b;
  14888. stc_gpio_pcr_bit_t PCRA5_b;
  14889. stc_gpio_pfsr_bit_t PFSRA5_b;
  14890. stc_gpio_pcr_bit_t PCRA6_b;
  14891. stc_gpio_pfsr_bit_t PFSRA6_b;
  14892. stc_gpio_pcr_bit_t PCRA7_b;
  14893. stc_gpio_pfsr_bit_t PFSRA7_b;
  14894. stc_gpio_pcr_bit_t PCRA8_b;
  14895. stc_gpio_pfsr_bit_t PFSRA8_b;
  14896. stc_gpio_pcr_bit_t PCRA9_b;
  14897. stc_gpio_pfsr_bit_t PFSRA9_b;
  14898. stc_gpio_pcr_bit_t PCRA10_b;
  14899. stc_gpio_pfsr_bit_t PFSRA10_b;
  14900. stc_gpio_pcr_bit_t PCRA11_b;
  14901. stc_gpio_pfsr_bit_t PFSRA11_b;
  14902. stc_gpio_pcr_bit_t PCRA12_b;
  14903. stc_gpio_pfsr_bit_t PFSRA12_b;
  14904. stc_gpio_pcr_bit_t PCRA13_b;
  14905. stc_gpio_pfsr_bit_t PFSRA13_b;
  14906. stc_gpio_pcr_bit_t PCRA14_b;
  14907. stc_gpio_pfsr_bit_t PFSRA14_b;
  14908. stc_gpio_pcr_bit_t PCRA15_b;
  14909. stc_gpio_pfsr_bit_t PFSRA15_b;
  14910. stc_gpio_pcr_bit_t PCRB0_b;
  14911. stc_gpio_pfsr_bit_t PFSRB0_b;
  14912. stc_gpio_pcr_bit_t PCRB1_b;
  14913. stc_gpio_pfsr_bit_t PFSRB1_b;
  14914. stc_gpio_pcr_bit_t PCRB2_b;
  14915. stc_gpio_pfsr_bit_t PFSRB2_b;
  14916. stc_gpio_pcr_bit_t PCRB3_b;
  14917. stc_gpio_pfsr_bit_t PFSRB3_b;
  14918. stc_gpio_pcr_bit_t PCRB4_b;
  14919. stc_gpio_pfsr_bit_t PFSRB4_b;
  14920. stc_gpio_pcr_bit_t PCRB5_b;
  14921. stc_gpio_pfsr_bit_t PFSRB5_b;
  14922. stc_gpio_pcr_bit_t PCRB6_b;
  14923. stc_gpio_pfsr_bit_t PFSRB6_b;
  14924. stc_gpio_pcr_bit_t PCRB7_b;
  14925. stc_gpio_pfsr_bit_t PFSRB7_b;
  14926. stc_gpio_pcr_bit_t PCRB8_b;
  14927. stc_gpio_pfsr_bit_t PFSRB8_b;
  14928. stc_gpio_pcr_bit_t PCRB9_b;
  14929. stc_gpio_pfsr_bit_t PFSRB9_b;
  14930. stc_gpio_pcr_bit_t PCRB10_b;
  14931. stc_gpio_pfsr_bit_t PFSRB10_b;
  14932. stc_gpio_pcr_bit_t PCRB11_b;
  14933. stc_gpio_pfsr_bit_t PFSRB11_b;
  14934. stc_gpio_pcr_bit_t PCRB12_b;
  14935. stc_gpio_pfsr_bit_t PFSRB12_b;
  14936. stc_gpio_pcr_bit_t PCRB13_b;
  14937. stc_gpio_pfsr_bit_t PFSRB13_b;
  14938. stc_gpio_pcr_bit_t PCRB14_b;
  14939. stc_gpio_pfsr_bit_t PFSRB14_b;
  14940. stc_gpio_pcr_bit_t PCRB15_b;
  14941. stc_gpio_pfsr_bit_t PFSRB15_b;
  14942. stc_gpio_pcr_bit_t PCRC0_b;
  14943. stc_gpio_pfsr_bit_t PFSRC0_b;
  14944. stc_gpio_pcr_bit_t PCRC1_b;
  14945. stc_gpio_pfsr_bit_t PFSRC1_b;
  14946. stc_gpio_pcr_bit_t PCRC2_b;
  14947. stc_gpio_pfsr_bit_t PFSRC2_b;
  14948. stc_gpio_pcr_bit_t PCRC3_b;
  14949. stc_gpio_pfsr_bit_t PFSRC3_b;
  14950. stc_gpio_pcr_bit_t PCRC4_b;
  14951. stc_gpio_pfsr_bit_t PFSRC4_b;
  14952. stc_gpio_pcr_bit_t PCRC5_b;
  14953. stc_gpio_pfsr_bit_t PFSRC5_b;
  14954. stc_gpio_pcr_bit_t PCRC6_b;
  14955. stc_gpio_pfsr_bit_t PFSRC6_b;
  14956. stc_gpio_pcr_bit_t PCRC7_b;
  14957. stc_gpio_pfsr_bit_t PFSRC7_b;
  14958. stc_gpio_pcr_bit_t PCRC8_b;
  14959. stc_gpio_pfsr_bit_t PFSRC8_b;
  14960. stc_gpio_pcr_bit_t PCRC9_b;
  14961. stc_gpio_pfsr_bit_t PFSRC9_b;
  14962. stc_gpio_pcr_bit_t PCRC10_b;
  14963. stc_gpio_pfsr_bit_t PFSRC10_b;
  14964. stc_gpio_pcr_bit_t PCRC11_b;
  14965. stc_gpio_pfsr_bit_t PFSRC11_b;
  14966. stc_gpio_pcr_bit_t PCRC12_b;
  14967. stc_gpio_pfsr_bit_t PFSRC12_b;
  14968. stc_gpio_pcr_bit_t PCRC13_b;
  14969. stc_gpio_pfsr_bit_t PFSRC13_b;
  14970. stc_gpio_pcr_bit_t PCRC14_b;
  14971. stc_gpio_pfsr_bit_t PFSRC14_b;
  14972. stc_gpio_pcr_bit_t PCRC15_b;
  14973. stc_gpio_pfsr_bit_t PFSRC15_b;
  14974. stc_gpio_pcr_bit_t PCRD0_b;
  14975. stc_gpio_pfsr_bit_t PFSRD0_b;
  14976. stc_gpio_pcr_bit_t PCRD1_b;
  14977. stc_gpio_pfsr_bit_t PFSRD1_b;
  14978. stc_gpio_pcr_bit_t PCRD2_b;
  14979. stc_gpio_pfsr_bit_t PFSRD2_b;
  14980. stc_gpio_pcr_bit_t PCRD3_b;
  14981. stc_gpio_pfsr_bit_t PFSRD3_b;
  14982. stc_gpio_pcr_bit_t PCRD4_b;
  14983. stc_gpio_pfsr_bit_t PFSRD4_b;
  14984. stc_gpio_pcr_bit_t PCRD5_b;
  14985. stc_gpio_pfsr_bit_t PFSRD5_b;
  14986. stc_gpio_pcr_bit_t PCRD6_b;
  14987. stc_gpio_pfsr_bit_t PFSRD6_b;
  14988. stc_gpio_pcr_bit_t PCRD7_b;
  14989. stc_gpio_pfsr_bit_t PFSRD7_b;
  14990. stc_gpio_pcr_bit_t PCRD8_b;
  14991. stc_gpio_pfsr_bit_t PFSRD8_b;
  14992. stc_gpio_pcr_bit_t PCRD9_b;
  14993. stc_gpio_pfsr_bit_t PFSRD9_b;
  14994. stc_gpio_pcr_bit_t PCRD10_b;
  14995. stc_gpio_pfsr_bit_t PFSRD10_b;
  14996. stc_gpio_pcr_bit_t PCRD11_b;
  14997. stc_gpio_pfsr_bit_t PFSRD11_b;
  14998. stc_gpio_pcr_bit_t PCRD12_b;
  14999. stc_gpio_pfsr_bit_t PFSRD12_b;
  15000. stc_gpio_pcr_bit_t PCRD13_b;
  15001. stc_gpio_pfsr_bit_t PFSRD13_b;
  15002. stc_gpio_pcr_bit_t PCRD14_b;
  15003. stc_gpio_pfsr_bit_t PFSRD14_b;
  15004. stc_gpio_pcr_bit_t PCRD15_b;
  15005. stc_gpio_pfsr_bit_t PFSRD15_b;
  15006. stc_gpio_pcr_bit_t PCRE0_b;
  15007. stc_gpio_pfsr_bit_t PFSRE0_b;
  15008. stc_gpio_pcr_bit_t PCRE1_b;
  15009. stc_gpio_pfsr_bit_t PFSRE1_b;
  15010. stc_gpio_pcr_bit_t PCRE2_b;
  15011. stc_gpio_pfsr_bit_t PFSRE2_b;
  15012. stc_gpio_pcr_bit_t PCRE3_b;
  15013. stc_gpio_pfsr_bit_t PFSRE3_b;
  15014. stc_gpio_pcr_bit_t PCRE4_b;
  15015. stc_gpio_pfsr_bit_t PFSRE4_b;
  15016. stc_gpio_pcr_bit_t PCRE5_b;
  15017. stc_gpio_pfsr_bit_t PFSRE5_b;
  15018. stc_gpio_pcr_bit_t PCRE6_b;
  15019. stc_gpio_pfsr_bit_t PFSRE6_b;
  15020. stc_gpio_pcr_bit_t PCRE7_b;
  15021. stc_gpio_pfsr_bit_t PFSRE7_b;
  15022. stc_gpio_pcr_bit_t PCRE8_b;
  15023. stc_gpio_pfsr_bit_t PFSRE8_b;
  15024. stc_gpio_pcr_bit_t PCRE9_b;
  15025. stc_gpio_pfsr_bit_t PFSRE9_b;
  15026. stc_gpio_pcr_bit_t PCRE10_b;
  15027. stc_gpio_pfsr_bit_t PFSRE10_b;
  15028. stc_gpio_pcr_bit_t PCRE11_b;
  15029. stc_gpio_pfsr_bit_t PFSRE11_b;
  15030. stc_gpio_pcr_bit_t PCRE12_b;
  15031. stc_gpio_pfsr_bit_t PFSRE12_b;
  15032. stc_gpio_pcr_bit_t PCRE13_b;
  15033. stc_gpio_pfsr_bit_t PFSRE13_b;
  15034. stc_gpio_pcr_bit_t PCRE14_b;
  15035. stc_gpio_pfsr_bit_t PFSRE14_b;
  15036. stc_gpio_pcr_bit_t PCRE15_b;
  15037. stc_gpio_pfsr_bit_t PFSRE15_b;
  15038. stc_gpio_pcr_bit_t PCRH0_b;
  15039. stc_gpio_pfsr_bit_t PFSRH0_b;
  15040. stc_gpio_pcr_bit_t PCRH1_b;
  15041. stc_gpio_pfsr_bit_t PFSRH1_b;
  15042. stc_gpio_pcr_bit_t PCRH2_b;
  15043. stc_gpio_pfsr_bit_t PFSRH2_b;
  15044. stc_gpio_pcr_bit_t PCRH3_b;
  15045. stc_gpio_pfsr_bit_t PFSRH3_b;
  15046. stc_gpio_pcr_bit_t PCRH4_b;
  15047. stc_gpio_pfsr_bit_t PFSRH4_b;
  15048. stc_gpio_pcr_bit_t PCRH5_b;
  15049. stc_gpio_pfsr_bit_t PFSRH5_b;
  15050. stc_gpio_pcr_bit_t PCRH6_b;
  15051. stc_gpio_pfsr_bit_t PFSRH6_b;
  15052. stc_gpio_pcr_bit_t PCRH7_b;
  15053. stc_gpio_pfsr_bit_t PFSRH7_b;
  15054. stc_gpio_pcr_bit_t PCRH8_b;
  15055. stc_gpio_pfsr_bit_t PFSRH8_b;
  15056. stc_gpio_pcr_bit_t PCRH9_b;
  15057. stc_gpio_pfsr_bit_t PFSRH9_b;
  15058. stc_gpio_pcr_bit_t PCRH10_b;
  15059. stc_gpio_pfsr_bit_t PFSRH10_b;
  15060. stc_gpio_pcr_bit_t PCRH11_b;
  15061. stc_gpio_pfsr_bit_t PFSRH11_b;
  15062. stc_gpio_pcr_bit_t PCRH12_b;
  15063. stc_gpio_pfsr_bit_t PFSRH12_b;
  15064. stc_gpio_pcr_bit_t PCRH13_b;
  15065. stc_gpio_pfsr_bit_t PFSRH13_b;
  15066. stc_gpio_pcr_bit_t PCRH14_b;
  15067. stc_gpio_pfsr_bit_t PFSRH14_b;
  15068. stc_gpio_pcr_bit_t PCRH15_b;
  15069. stc_gpio_pfsr_bit_t PFSRH15_b;
  15070. } bCM_GPIO_TypeDef;
  15071. typedef struct {
  15072. stc_hash_cr_bit_t CR_b;
  15073. } bCM_HASH_TypeDef;
  15074. typedef struct {
  15075. stc_i2c_cr1_bit_t CR1_b;
  15076. stc_i2c_cr2_bit_t CR2_b;
  15077. stc_i2c_cr3_bit_t CR3_b;
  15078. stc_i2c_cr4_bit_t CR4_b;
  15079. stc_i2c_slr0_bit_t SLR0_b;
  15080. stc_i2c_slr1_bit_t SLR1_b;
  15081. uint32_t RESERVED0[32];
  15082. stc_i2c_sr_bit_t SR_b;
  15083. stc_i2c_clr_bit_t CLR_b;
  15084. uint32_t RESERVED1[64];
  15085. stc_i2c_ccr_bit_t CCR_b;
  15086. stc_i2c_fltr_bit_t FLTR_b;
  15087. stc_i2c_fstr_bit_t FSTR_b;
  15088. } bCM_I2C_TypeDef;
  15089. typedef struct {
  15090. stc_icg_icg0_bit_t ICG0_b;
  15091. stc_icg_icg1_bit_t ICG1_b;
  15092. } bCM_ICG_TypeDef;
  15093. typedef struct {
  15094. uint32_t RESERVED0[32];
  15095. stc_intc_nmier_bit_t NMIER_b;
  15096. stc_intc_nmifr_bit_t NMIFR_b;
  15097. stc_intc_nmifcr_bit_t NMIFCR_b;
  15098. stc_intc_eirqcr_bit_t EIRQCR0_b;
  15099. stc_intc_eirqcr_bit_t EIRQCR1_b;
  15100. stc_intc_eirqcr_bit_t EIRQCR2_b;
  15101. stc_intc_eirqcr_bit_t EIRQCR3_b;
  15102. stc_intc_eirqcr_bit_t EIRQCR4_b;
  15103. stc_intc_eirqcr_bit_t EIRQCR5_b;
  15104. stc_intc_eirqcr_bit_t EIRQCR6_b;
  15105. stc_intc_eirqcr_bit_t EIRQCR7_b;
  15106. stc_intc_eirqcr_bit_t EIRQCR8_b;
  15107. stc_intc_eirqcr_bit_t EIRQCR9_b;
  15108. stc_intc_eirqcr_bit_t EIRQCR10_b;
  15109. stc_intc_eirqcr_bit_t EIRQCR11_b;
  15110. stc_intc_eirqcr_bit_t EIRQCR12_b;
  15111. stc_intc_eirqcr_bit_t EIRQCR13_b;
  15112. stc_intc_eirqcr_bit_t EIRQCR14_b;
  15113. stc_intc_eirqcr_bit_t EIRQCR15_b;
  15114. stc_intc_wken_bit_t WKEN_b;
  15115. stc_intc_eifr_bit_t EIFR_b;
  15116. stc_intc_eifcr_bit_t EIFCR_b;
  15117. uint32_t RESERVED1[512];
  15118. stc_intc_intmsk0_bit_t INTMSK0_b;
  15119. stc_intc_intmsk1_bit_t INTMSK1_b;
  15120. stc_intc_intmsk2_bit_t INTMSK2_b;
  15121. stc_intc_intmsk3_bit_t INTMSK3_b;
  15122. stc_intc_intmsk4_bit_t INTMSK4_b;
  15123. stc_intc_intmsk5_bit_t INTMSK5_b;
  15124. stc_intc_intmsk6_bit_t INTMSK6_b;
  15125. stc_intc_intmsk7_bit_t INTMSK7_b;
  15126. stc_intc_intmsk8_bit_t INTMSK8_b;
  15127. stc_intc_intmsk9_bit_t INTMSK9_b;
  15128. stc_intc_intmsk10_bit_t INTMSK10_b;
  15129. stc_intc_intmsk11_bit_t INTMSK11_b;
  15130. stc_intc_intmsk12_bit_t INTMSK12_b;
  15131. stc_intc_intmsk13_bit_t INTMSK13_b;
  15132. stc_intc_intmsk14_bit_t INTMSK14_b;
  15133. stc_intc_intmsk15_bit_t INTMSK15_b;
  15134. stc_intc_swier_bit_t SWIER_b;
  15135. stc_intc_evter_bit_t EVTER_b;
  15136. stc_intc_ier_bit_t IER_b;
  15137. } bCM_INTC_TypeDef;
  15138. typedef struct {
  15139. stc_keyscan_scr_bit_t SCR_b;
  15140. stc_keyscan_ser_bit_t SER_b;
  15141. } bCM_KEYSCAN_TypeDef;
  15142. typedef struct {
  15143. uint32_t RESERVED0[96];
  15144. stc_mcan_dbtp_bit_t DBTP_b;
  15145. stc_mcan_test_bit_t TEST_b;
  15146. uint32_t RESERVED1[32];
  15147. stc_mcan_cccr_bit_t CCCR_b;
  15148. uint32_t RESERVED2[32];
  15149. stc_mcan_tscc_bit_t TSCC_b;
  15150. uint32_t RESERVED3[32];
  15151. stc_mcan_tocc_bit_t TOCC_b;
  15152. uint32_t RESERVED4[160];
  15153. stc_mcan_ecr_bit_t ECR_b;
  15154. stc_mcan_psr_bit_t PSR_b;
  15155. uint32_t RESERVED5[64];
  15156. stc_mcan_ir_bit_t IR_b;
  15157. stc_mcan_ie_bit_t IE_b;
  15158. stc_mcan_ils_bit_t ILS_b;
  15159. stc_mcan_ile_bit_t ILE_b;
  15160. uint32_t RESERVED6[256];
  15161. stc_mcan_gfc_bit_t GFC_b;
  15162. uint32_t RESERVED7[128];
  15163. stc_mcan_hpms_bit_t HPMS_b;
  15164. stc_mcan_ndat1_bit_t NDAT1_b;
  15165. stc_mcan_ndat2_bit_t NDAT2_b;
  15166. stc_mcan_rxf0c_bit_t RXF0C_b;
  15167. stc_mcan_rxf0s_bit_t RXF0S_b;
  15168. uint32_t RESERVED8[64];
  15169. stc_mcan_rxf1c_bit_t RXF1C_b;
  15170. stc_mcan_rxf1s_bit_t RXF1S_b;
  15171. uint32_t RESERVED9[32];
  15172. stc_mcan_rxesc_bit_t RXESC_b;
  15173. stc_mcan_txbc_bit_t TXBC_b;
  15174. stc_mcan_txfqs_bit_t TXFQS_b;
  15175. uint32_t RESERVED10[32];
  15176. stc_mcan_txbrp_bit_t TXBRP_b;
  15177. stc_mcan_txbar_bit_t TXBAR_b;
  15178. stc_mcan_txbcr_bit_t TXBCR_b;
  15179. stc_mcan_txbto_bit_t TXBTO_b;
  15180. stc_mcan_txbcf_bit_t TXBCF_b;
  15181. stc_mcan_txbtie_bit_t TXBTIE_b;
  15182. stc_mcan_txbcie_bit_t TXBCIE_b;
  15183. uint32_t RESERVED11[96];
  15184. stc_mcan_txefs_bit_t TXEFS_b;
  15185. } bCM_MCAN_TypeDef;
  15186. typedef struct {
  15187. uint32_t RESERVED0[512];
  15188. stc_mpu_sr_bit_t SR_b;
  15189. stc_mpu_eclr_bit_t ECLR_b;
  15190. stc_mpu_wp_bit_t WP_b;
  15191. stc_mpu_ippr_bit_t IPPR_b;
  15192. uint32_t RESERVED1[32];
  15193. stc_mpu_msppctl_bit_t MSPPCTL_b;
  15194. uint32_t RESERVED2[32];
  15195. stc_mpu_psppctl_bit_t PSPPCTL_b;
  15196. stc_mpu_srge_bit_t S1RGE_b;
  15197. stc_mpu_srgwp_bit_t S1RGWP_b;
  15198. stc_mpu_srgrp_bit_t S1RGRP_b;
  15199. stc_mpu_scr_bit_t S1CR_b;
  15200. stc_mpu_srge_bit_t S2RGE_b;
  15201. stc_mpu_srgwp_bit_t S2RGWP_b;
  15202. stc_mpu_srgrp_bit_t S2RGRP_b;
  15203. stc_mpu_scr_bit_t S2CR_b;
  15204. } bCM_MPU_TypeDef;
  15205. typedef struct {
  15206. uint32_t RESERVED0[96];
  15207. stc_peric_smc_enar_bit_t SMC_ENAR_b;
  15208. uint32_t RESERVED1[32];
  15209. stc_peric_tmr_synenr_bit_t TMR_SYNENR_b;
  15210. uint32_t RESERVED2[32];
  15211. stc_peric_usart1_nfc_bit_t USART1_NFC_b;
  15212. } bCM_PERIC_TypeDef;
  15213. typedef struct {
  15214. stc_pwc_fcg0_bit_t FCG0_b;
  15215. stc_pwc_fcg1_bit_t FCG1_b;
  15216. stc_pwc_fcg2_bit_t FCG2_b;
  15217. stc_pwc_fcg3_bit_t FCG3_b;
  15218. stc_pwc_fcg0pc_bit_t FCG0PC_b;
  15219. uint32_t RESERVED0[139104];
  15220. stc_pwc_wktcr_bit_t WKTCR_b;
  15221. uint32_t RESERVED1[16368];
  15222. stc_pwc_pwrc0_bit_t PWRC0_b;
  15223. uint32_t RESERVED2[24];
  15224. stc_pwc_pwrc1_bit_t PWRC1_b;
  15225. uint32_t RESERVED3[24];
  15226. stc_pwc_pwrc2_bit_t PWRC2_b;
  15227. uint32_t RESERVED4[56];
  15228. stc_pwc_pwrc4_bit_t PWRC4_b;
  15229. uint32_t RESERVED5[24];
  15230. stc_pwc_pvdcr0_bit_t PVDCR0_b;
  15231. uint32_t RESERVED6[24];
  15232. stc_pwc_pvdcr1_bit_t PVDCR1_b;
  15233. uint32_t RESERVED7[24];
  15234. stc_pwc_pvdfcr_bit_t PVDFCR_b;
  15235. uint32_t RESERVED8[88];
  15236. stc_pwc_pdwke0_bit_t PDWKE0_b;
  15237. uint32_t RESERVED9[24];
  15238. stc_pwc_pdwke1_bit_t PDWKE1_b;
  15239. uint32_t RESERVED10[24];
  15240. stc_pwc_pdwke2_bit_t PDWKE2_b;
  15241. uint32_t RESERVED11[24];
  15242. stc_pwc_pdwkes_bit_t PDWKES_b;
  15243. uint32_t RESERVED12[24];
  15244. stc_pwc_pdwkf0_bit_t PDWKF0_b;
  15245. uint32_t RESERVED13[24];
  15246. stc_pwc_pdwkf1_bit_t PDWKF1_b;
  15247. uint32_t RESERVED14[24];
  15248. stc_pwc_pwrc5_bit_t PWRC5_b;
  15249. uint32_t RESERVED15[24];
  15250. stc_pwc_pwrc6_bit_t PWRC6_b;
  15251. uint32_t RESERVED16[984];
  15252. stc_pwc_pvdicr_bit_t PVDICR_b;
  15253. uint32_t RESERVED17[24];
  15254. stc_pwc_pvddsr_bit_t PVDDSR_b;
  15255. uint32_t RESERVED18[24];
  15256. stc_pwc_rampc0_bit_t RAMPC0_b;
  15257. uint32_t RESERVED19[32];
  15258. stc_pwc_pramlpc_bit_t PRAMLPC_b;
  15259. uint32_t RESERVED20[235968];
  15260. stc_pwc_stpmcr_bit_t STPMCR_b;
  15261. uint32_t RESERVED21[8064];
  15262. stc_pwc_fprc_bit_t FPRC_b;
  15263. } bCM_PWC_TypeDef;
  15264. typedef struct {
  15265. stc_rmu_frst0_bit_t FRST0_b;
  15266. stc_rmu_frst1_bit_t FRST1_b;
  15267. stc_rmu_frst2_bit_t FRST2_b;
  15268. stc_rmu_frst3_bit_t FRST3_b;
  15269. stc_rmu_prstcr0_bit_t PRSTCR0_b;
  15270. uint32_t RESERVED0[24];
  15271. stc_rmu_rstf0_bit_t RSTF0_b;
  15272. } bCM_RMU_TypeDef;
  15273. typedef struct {
  15274. stc_rtc_cr0_bit_t CR0_b;
  15275. uint32_t RESERVED0[24];
  15276. stc_rtc_cr1_bit_t CR1_b;
  15277. uint32_t RESERVED1[24];
  15278. stc_rtc_cr2_bit_t CR2_b;
  15279. uint32_t RESERVED2[24];
  15280. stc_rtc_cr3_bit_t CR3_b;
  15281. uint32_t RESERVED3[88];
  15282. stc_rtc_hour_bit_t HOUR_b;
  15283. uint32_t RESERVED4[184];
  15284. stc_rtc_almhour_bit_t ALMHOUR_b;
  15285. uint32_t RESERVED5[24];
  15286. stc_rtc_almweek_bit_t ALMWEEK_b;
  15287. uint32_t RESERVED6[24];
  15288. stc_rtc_errcrh_bit_t ERRCRH_b;
  15289. } bCM_RTC_TypeDef;
  15290. typedef struct {
  15291. uint32_t RESERVED0[32];
  15292. stc_spi_cr_bit_t CR_b;
  15293. uint32_t RESERVED1[32];
  15294. stc_spi_cfg1_bit_t CFG1_b;
  15295. uint32_t RESERVED2[32];
  15296. stc_spi_sr_bit_t SR_b;
  15297. stc_spi_cfg2_bit_t CFG2_b;
  15298. } bCM_SPI_TypeDef;
  15299. typedef struct {
  15300. stc_sramc_wtcr_bit_t WTCR_b;
  15301. stc_sramc_wtpr_bit_t WTPR_b;
  15302. stc_sramc_ckcr_bit_t CKCR_b;
  15303. stc_sramc_ckpr_bit_t CKPR_b;
  15304. stc_sramc_cksr_bit_t CKSR_b;
  15305. stc_sramc_sram0_eien_bit_t SRAM0_EIEN_b;
  15306. uint32_t RESERVED0[32];
  15307. stc_sramc_sram0_eibit1_bit_t SRAM0_EIBIT1_b;
  15308. stc_sramc_sram0_eccerraddr_bit_t SRAM0_ECCERRADDR_b;
  15309. stc_sramc_sramb_eien_bit_t SRAMB_EIEN_b;
  15310. uint32_t RESERVED1[32];
  15311. stc_sramc_sramb_eibit1_bit_t SRAMB_EIBIT1_b;
  15312. stc_sramc_sramb_eccerraddr_bit_t SRAMB_ECCERRADDR_b;
  15313. } bCM_SRAMC_TypeDef;
  15314. typedef struct {
  15315. stc_swdt_cr_bit_t CR_b;
  15316. stc_swdt_sr_bit_t SR_b;
  15317. stc_swdt_rr_bit_t RR_b;
  15318. } bCM_SWDT_TypeDef;
  15319. typedef struct {
  15320. uint32_t RESERVED0[128];
  15321. stc_tmr0_bconr_bit_t BCONR_b;
  15322. stc_tmr0_stflr_bit_t STFLR_b;
  15323. } bCM_TMR0_TypeDef;
  15324. typedef struct {
  15325. uint32_t RESERVED0[256];
  15326. stc_tmr4_ocsr_bit_t OCSRU_b;
  15327. stc_tmr4_ocer_bit_t OCERU_b;
  15328. stc_tmr4_ocsr_bit_t OCSRV_b;
  15329. stc_tmr4_ocer_bit_t OCERV_b;
  15330. stc_tmr4_ocsr_bit_t OCSRW_b;
  15331. stc_tmr4_ocer_bit_t OCERW_b;
  15332. stc_tmr4_ocsr_bit_t OCSRX_b;
  15333. stc_tmr4_ocer_bit_t OCERX_b;
  15334. stc_tmr4_ocmrh_bit_t OCMRHUH_b;
  15335. uint32_t RESERVED1[16];
  15336. stc_tmr4_ocmrl_bit_t OCMRLUL_b;
  15337. stc_tmr4_ocmrh_bit_t OCMRHVH_b;
  15338. uint32_t RESERVED2[16];
  15339. stc_tmr4_ocmrl_bit_t OCMRLVL_b;
  15340. stc_tmr4_ocmrh_bit_t OCMRHWH_b;
  15341. uint32_t RESERVED3[16];
  15342. stc_tmr4_ocmrl_bit_t OCMRLWL_b;
  15343. stc_tmr4_ocmrh_bit_t OCMRHXH_b;
  15344. uint32_t RESERVED4[16];
  15345. stc_tmr4_ocmrl_bit_t OCMRLXL_b;
  15346. uint32_t RESERVED5[64];
  15347. stc_tmr4_ccsr_bit_t CCSR_b;
  15348. uint32_t RESERVED6[16];
  15349. stc_tmr4_pscr_bit_t PSCR_b;
  15350. uint32_t RESERVED7[512];
  15351. stc_tmr4_pocr_bit_t POCRU_b;
  15352. uint32_t RESERVED8[16];
  15353. stc_tmr4_pocr_bit_t POCRV_b;
  15354. uint32_t RESERVED9[16];
  15355. stc_tmr4_pocr_bit_t POCRW_b;
  15356. uint32_t RESERVED10[16];
  15357. stc_tmr4_pocr_bit_t POCRX_b;
  15358. uint32_t RESERVED11[272];
  15359. stc_tmr4_scsr_bit_t SCSRUH_b;
  15360. stc_tmr4_scmr_bit_t SCMRUH_b;
  15361. stc_tmr4_scsr_bit_t SCSRUL_b;
  15362. stc_tmr4_scmr_bit_t SCMRUL_b;
  15363. stc_tmr4_scsr_bit_t SCSRVH_b;
  15364. stc_tmr4_scmr_bit_t SCMRVH_b;
  15365. stc_tmr4_scsr_bit_t SCSRVL_b;
  15366. stc_tmr4_scmr_bit_t SCMRVL_b;
  15367. stc_tmr4_scsr_bit_t SCSRWH_b;
  15368. stc_tmr4_scmr_bit_t SCMRWH_b;
  15369. stc_tmr4_scsr_bit_t SCSRWL_b;
  15370. stc_tmr4_scmr_bit_t SCMRWL_b;
  15371. stc_tmr4_scsr_bit_t SCSRXH_b;
  15372. stc_tmr4_scmr_bit_t SCMRXH_b;
  15373. stc_tmr4_scsr_bit_t SCSRXL_b;
  15374. stc_tmr4_scmr_bit_t SCMRXL_b;
  15375. stc_tmr4_scer_bit_t SCER_b;
  15376. uint32_t RESERVED12[16];
  15377. stc_tmr4_rcsr_bit_t RCSR_b;
  15378. stc_tmr4_scir_bit_t SCIR_b;
  15379. uint32_t RESERVED13[16];
  15380. stc_tmr4_scfr_bit_t SCFR_b;
  15381. } bCM_TMR4_TypeDef;
  15382. typedef struct {
  15383. uint32_t RESERVED0[2560];
  15384. stc_tmr6_gconr_bit_t GCONR_b;
  15385. stc_tmr6_iconr_bit_t ICONR_b;
  15386. stc_tmr6_bconr_bit_t BCONR_b;
  15387. stc_tmr6_dconr_bit_t DCONR_b;
  15388. uint32_t RESERVED1[32];
  15389. stc_tmr6_pcnar_bit_t PCNAR_b;
  15390. stc_tmr6_pcnbr_bit_t PCNBR_b;
  15391. stc_tmr6_fcngr_bit_t FCNGR_b;
  15392. stc_tmr6_vperr_bit_t VPERR_b;
  15393. stc_tmr6_stflr_bit_t STFLR_b;
  15394. uint32_t RESERVED2[192];
  15395. stc_tmr6_hstar_bit_t HSTAR_b;
  15396. stc_tmr6_hstpr_bit_t HSTPR_b;
  15397. stc_tmr6_hclrr_bit_t HCLRR_b;
  15398. stc_tmr6_hupdr_bit_t HUPDR_b;
  15399. stc_tmr6_hcpar_bit_t HCPAR_b;
  15400. stc_tmr6_hcpbr_bit_t HCPBR_b;
  15401. stc_tmr6_hcupr_bit_t HCUPR_b;
  15402. stc_tmr6_hcdor_bit_t HCDOR_b;
  15403. } bCM_TMR6_TypeDef;
  15404. typedef struct {
  15405. uint32_t RESERVED0[8032];
  15406. stc_tmr6cr_fcntr_bit_t FCNTR_b;
  15407. stc_tmr6cr_sstar_bit_t SSTAR_b;
  15408. stc_tmr6cr_sstpr_bit_t SSTPR_b;
  15409. stc_tmr6cr_sclrr_bit_t SCLRR_b;
  15410. stc_tmr6cr_supdr_bit_t SUPDR_b;
  15411. } bCM_TMR6CR_TypeDef;
  15412. typedef struct {
  15413. uint32_t RESERVED0[1024];
  15414. stc_tmra_bcstr_bit_t BCSTR_b;
  15415. uint32_t RESERVED1[16];
  15416. stc_tmra_hconr_bit_t HCONR_b;
  15417. uint32_t RESERVED2[16];
  15418. stc_tmra_hcupr_bit_t HCUPR_b;
  15419. uint32_t RESERVED3[16];
  15420. stc_tmra_hcdor_bit_t HCDOR_b;
  15421. uint32_t RESERVED4[16];
  15422. stc_tmra_iconr_bit_t ICONR_b;
  15423. uint32_t RESERVED5[16];
  15424. stc_tmra_econr_bit_t ECONR_b;
  15425. uint32_t RESERVED6[16];
  15426. stc_tmra_fconr_bit_t FCONR_b;
  15427. uint32_t RESERVED7[16];
  15428. stc_tmra_stflr_bit_t STFLR_b;
  15429. uint32_t RESERVED8[272];
  15430. stc_tmra_bconr_bit_t BCONR1_b;
  15431. uint32_t RESERVED9[48];
  15432. stc_tmra_bconr_bit_t BCONR2_b;
  15433. uint32_t RESERVED10[48];
  15434. stc_tmra_bconr_bit_t BCONR3_b;
  15435. uint32_t RESERVED11[48];
  15436. stc_tmra_bconr_bit_t BCONR4_b;
  15437. uint32_t RESERVED12[304];
  15438. stc_tmra_cconr_bit_t CCONR1_b;
  15439. uint32_t RESERVED13[16];
  15440. stc_tmra_cconr_bit_t CCONR2_b;
  15441. uint32_t RESERVED14[16];
  15442. stc_tmra_cconr_bit_t CCONR3_b;
  15443. uint32_t RESERVED15[16];
  15444. stc_tmra_cconr_bit_t CCONR4_b;
  15445. uint32_t RESERVED16[16];
  15446. stc_tmra_cconr_bit_t CCONR5_b;
  15447. uint32_t RESERVED17[16];
  15448. stc_tmra_cconr_bit_t CCONR6_b;
  15449. uint32_t RESERVED18[16];
  15450. stc_tmra_cconr_bit_t CCONR7_b;
  15451. uint32_t RESERVED19[16];
  15452. stc_tmra_cconr_bit_t CCONR8_b;
  15453. uint32_t RESERVED20[272];
  15454. stc_tmra_pconr_bit_t PCONR1_b;
  15455. uint32_t RESERVED21[16];
  15456. stc_tmra_pconr_bit_t PCONR2_b;
  15457. uint32_t RESERVED22[16];
  15458. stc_tmra_pconr_bit_t PCONR3_b;
  15459. uint32_t RESERVED23[16];
  15460. stc_tmra_pconr_bit_t PCONR4_b;
  15461. uint32_t RESERVED24[16];
  15462. stc_tmra_pconr_bit_t PCONR5_b;
  15463. uint32_t RESERVED25[16];
  15464. stc_tmra_pconr_bit_t PCONR6_b;
  15465. uint32_t RESERVED26[16];
  15466. stc_tmra_pconr_bit_t PCONR7_b;
  15467. uint32_t RESERVED27[16];
  15468. stc_tmra_pconr_bit_t PCONR8_b;
  15469. } bCM_TMRA_TypeDef;
  15470. typedef struct {
  15471. stc_trng_cr_bit_t CR_b;
  15472. stc_trng_mr_bit_t MR_b;
  15473. } bCM_TRNG_TypeDef;
  15474. typedef struct {
  15475. stc_usart_sr_bit_t SR_b;
  15476. stc_usart_dr_bit_t DR_b;
  15477. uint32_t RESERVED0[32];
  15478. stc_usart_cr1_bit_t CR1_b;
  15479. stc_usart_cr2_bit_t CR2_b;
  15480. stc_usart_cr3_bit_t CR3_b;
  15481. stc_usart_pr_bit_t PR_b;
  15482. stc_usart_lbmc_bit_t LBMC_b;
  15483. } bCM_USART_TypeDef;
  15484. typedef struct {
  15485. stc_wdt_cr_bit_t CR_b;
  15486. stc_wdt_sr_bit_t SR_b;
  15487. stc_wdt_rr_bit_t RR_b;
  15488. } bCM_WDT_TypeDef;
  15489. /******************************************************************************/
  15490. /* Device Specific Peripheral bit_band declaration & memory map */
  15491. /******************************************************************************/
  15492. #define bCM_ADC1 ((bCM_ADC_TypeDef *)0x42800000UL)
  15493. #define bCM_ADC2 ((bCM_ADC_TypeDef *)0x42808000UL)
  15494. #define bCM_ADC3 ((bCM_ADC_TypeDef *)0x42810000UL)
  15495. #define bCM_AES ((bCM_AES_TypeDef *)0x42100000UL)
  15496. #define bCM_AOS ((bCM_AOS_TypeDef *)0x42210000UL)
  15497. #define bCM_CMP1 ((bCM_CMP_TypeDef *)0x42710000UL)
  15498. #define bCM_CMP2 ((bCM_CMP_TypeDef *)0x42712000UL)
  15499. #define bCM_CMP3 ((bCM_CMP_TypeDef *)0x42718000UL)
  15500. #define bCM_CMP4 ((bCM_CMP_TypeDef *)0x4271A000UL)
  15501. #define bCM_CMU ((bCM_CMU_TypeDef *)0x42900000UL)
  15502. #define bCM_CRC ((bCM_CRC_TypeDef *)0x42118000UL)
  15503. #define bCM_CTC ((bCM_CTC_TypeDef *)0x42938000UL)
  15504. #define bCM_DAC ((bCM_DAC_TypeDef *)0x42820000UL)
  15505. #define bCM_DCU1 ((bCM_DCU_TypeDef *)0x42AC0000UL)
  15506. #define bCM_DCU2 ((bCM_DCU_TypeDef *)0x42AC8000UL)
  15507. #define bCM_DCU3 ((bCM_DCU_TypeDef *)0x42AD0000UL)
  15508. #define bCM_DCU4 ((bCM_DCU_TypeDef *)0x42AD8000UL)
  15509. #define bCM_DMA1 ((bCM_DMA_TypeDef *)0x42A60000UL)
  15510. #define bCM_DMA2 ((bCM_DMA_TypeDef *)0x42A68000UL)
  15511. #define bCM_EFM ((bCM_EFM_TypeDef *)0x42208000UL)
  15512. #define bCM_EMB0 ((bCM_EMB_TypeDef *)0x422F8000UL)
  15513. #define bCM_EMB1 ((bCM_EMB_TypeDef *)0x422F8400UL)
  15514. #define bCM_EMB2 ((bCM_EMB_TypeDef *)0x422F8800UL)
  15515. #define bCM_EMB3 ((bCM_EMB_TypeDef *)0x422F8C00UL)
  15516. #define bCM_FCM ((bCM_FCM_TypeDef *)0x42908000UL)
  15517. #define bCM_GPIO ((bCM_GPIO_TypeDef *)0x42A70000UL)
  15518. #define bCM_HASH ((bCM_HASH_TypeDef *)0x42108000UL)
  15519. #define bCM_I2C1 ((bCM_I2C_TypeDef *)0x42768000UL)
  15520. #define bCM_I2C2 ((bCM_I2C_TypeDef *)0x42770000UL)
  15521. #define bCM_INTC ((bCM_INTC_TypeDef *)0x42A20000UL)
  15522. #define bCM_KEYSCAN ((bCM_KEYSCAN_TypeDef *)0x42A18000UL)
  15523. #define bCM_MCAN1 ((bCM_MCAN_TypeDef *)0x42520000UL)
  15524. #define bCM_MCAN2 ((bCM_MCAN_TypeDef *)0x42528000UL)
  15525. #define bCM_MPU ((bCM_MPU_TypeDef *)0x42A00000UL)
  15526. #define bCM_PERIC ((bCM_PERIC_TypeDef *)0x42AA8000UL)
  15527. #define bCM_PWC ((bCM_PWC_TypeDef *)0x42900000UL)
  15528. #define bCM_RMU ((bCM_RMU_TypeDef *)0x42999C00UL)
  15529. #define bCM_RTC ((bCM_RTC_TypeDef *)0x42980000UL)
  15530. #define bCM_SPI1 ((bCM_SPI_TypeDef *)0x42380000UL)
  15531. #define bCM_SPI2 ((bCM_SPI_TypeDef *)0x42388000UL)
  15532. #define bCM_SPI3 ((bCM_SPI_TypeDef *)0x42400000UL)
  15533. #define bCM_SRAMC ((bCM_SRAMC_TypeDef *)0x42A10000UL)
  15534. #define bCM_SWDT ((bCM_SWDT_TypeDef *)0x42928000UL)
  15535. #define bCM_TMR0_1 ((bCM_TMR0_TypeDef *)0x42480000UL)
  15536. #define bCM_TMR0_2 ((bCM_TMR0_TypeDef *)0x42488000UL)
  15537. #define bCM_TMR4_1 ((bCM_TMR4_TypeDef *)0x42700000UL)
  15538. #define bCM_TMR4_2 ((bCM_TMR4_TypeDef *)0x42708000UL)
  15539. #define bCM_TMR4_3 ((bCM_TMR4_TypeDef *)0x4271C000UL)
  15540. #define bCM_TMR6_1 ((bCM_TMR6_TypeDef *)0x42780000UL)
  15541. #define bCM_TMR6_2 ((bCM_TMR6_TypeDef *)0x42788000UL)
  15542. #define bCM_TMR6CR ((bCM_TMR6CR_TypeDef *)0x42780000UL)
  15543. #define bCM_TMRA_1 ((bCM_TMRA_TypeDef *)0x42740000UL)
  15544. #define bCM_TMRA_2 ((bCM_TMRA_TypeDef *)0x42748000UL)
  15545. #define bCM_TMRA_3 ((bCM_TMRA_TypeDef *)0x42750000UL)
  15546. #define bCM_TMRA_4 ((bCM_TMRA_TypeDef *)0x42758000UL)
  15547. #define bCM_TMRA_5 ((bCM_TMRA_TypeDef *)0x424C0000UL)
  15548. #define bCM_TRNG ((bCM_TRNG_TypeDef *)0x42840000UL)
  15549. #define bCM_USART1 ((bCM_USART_TypeDef *)0x42398000UL)
  15550. #define bCM_USART2 ((bCM_USART_TypeDef *)0x423A0000UL)
  15551. #define bCM_USART3 ((bCM_USART_TypeDef *)0x423A8000UL)
  15552. #define bCM_USART4 ((bCM_USART_TypeDef *)0x42418000UL)
  15553. #define bCM_USART5 ((bCM_USART_TypeDef *)0x42420000UL)
  15554. #define bCM_USART6 ((bCM_USART_TypeDef *)0x42428000UL)
  15555. #define bCM_WDT ((bCM_WDT_TypeDef *)0x42920000UL)
  15556. #ifdef __cplusplus
  15557. }
  15558. #endif
  15559. #endif /* __HC32F448_H__ */